dev • api • name • gb_desc

GB_DESC

typedef struct { char *name; long val1; long val2; long val3; long val4; long val5; } GB_DESC;

This structure is used for describing a class.

A class description is an array of this structure.

Examples

GB_DESC MyClassDesc[] = {
  GB_DECLARE("MyClass", SizeOf(MyClassStruct)),
  ...
  GB_END_DECLARE
};

Do not fill this structure directly. Use the appropriate declaration macros.

See also