X-Git-Url: https://git.decadent.org.uk/gitweb/?p=ion3-doc.git;a=blobdiff_plain;f=objectsimpl.tex;h=a224aa524c00e6fdaa96091d108375b1ae7c2638;hp=ccc440d5581edee1ac528e90260c1ead5da29028;hb=HEAD;hpb=6e84dc8312f2fdb5b8b7467a0279afd5b2df107f diff --git a/objectsimpl.tex b/objectsimpl.tex index ccc440d..a224aa5 100644 --- a/objectsimpl.tex +++ b/objectsimpl.tex @@ -1,14 +1,14 @@ \section{Object system implementation} First, to get things clear, what are considered objects here are C -structures containing a properly initialized \type\indextype{WObj} +structures containing a properly initialised \type\indextype{WObj} structure defined in \file{ioncore/obj.h} as the first element (or the first element of the structure which is the first element and so on which gives rise to inheritance). The \type{WObj} structure contains a pointer to a \type{WObjDescr}\indextype{WObjDescr} class type info structure and -a list of so called ''watches''. The \type{WObjDescr} structure simply +a list of so called ``watches''. The \type{WObjDescr} structure simply lists the class name, a table of dynamic functions and a pointer to -deinitialisation function (or ''destructor''). +deinitialisation function (or ``destructor''). Ion does not do any reference counting, garbage collecting or other fancy things related to automatic safe freeing of objects with its