GB_BASE
typedef
struct {
GB_CLASS klass;
intptr_t ref;
}
GB_BASE;
This structure represents the base of every Gambas object.
It must be placed in the beginning of all object structure defined
in a component.
-
The klass field is the class of the object.
-
The ref field is its reference counter.
Do not touch them ! They are managed by the interpreter.
Examples
[gb.markdown].Markup.ProcessCode.1104: Cannot load component 'gb.highlight': cannot find component