[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'Intuition' (#aros)


Boopsi Object structure


Source position: intuition.pas line 1857

type T_Object = record

  o_Node: TMinNode;


  o_Class: PIClass;


Class pointer



We have this, the instance data of the root class, PRECEDING the 'object'. This is so that Gadget objects are Gadget pointers, and so on. If this structure grows, it will always have o_Class at the end, so the macro OCLASS(o) will always have the same offset back from the pointer returned from NewObject().

Documentation generated on: 2017-01-10