Re: [fpc-pascal] Class Memory Table Size

2007-05-09 Thread Daniël Mantione
Op Wed, 9 May 2007, schreef Andrew Haines: > Daniël Mantione wrote: > > > > Op Tue, 8 May 2007, schreef Andrew Haines: > > > >> The reason for this is, I want to trick gtk into thinking that a TObject > >> is really a GObject. This is where the TypeID for GType's are stored. I > >> know this w

Re: [fpc-pascal] Class Memory Table Size

2007-05-09 Thread Andrew Haines
Daniël Mantione wrote: > > Op Tue, 8 May 2007, schreef Andrew Haines: > >> The reason for this is, I want to trick gtk into thinking that a TObject >> is really a GObject. This is where the TypeID for GType's are stored. I >> know this won't work for most GObject's, but I am only implementing thi

Re: [fpc-pascal] Class Memory Table Size

2007-05-07 Thread Daniël Mantione
Op Tue, 8 May 2007, schreef Andrew Haines: > Hi, > > In this page > http://www.freepascal.org/docs-html/prog/progsu139.html#x189-1950008.2.13 > in the VMT +0 is the "Size of object type data" and the same number in > the negative is stored at +4. How important is it that this number is > not ch

[fpc-pascal] Class Memory Table Size

2007-05-07 Thread Andrew Haines
Hi, In this page http://www.freepascal.org/docs-html/prog/progsu139.html#x189-1950008.2.13 in the VMT +0 is the "Size of object type data" and the same number in the negative is stored at +4. How important is it that this number is not changed after the object is created? I want to store a number