_init

GB_STATIC_METHOD ( "_init" , NULL , MyClass_init , NULL )

The _init method is called when the class is loaded by the interpreter.

It takes no argument, and returns nothing. You can use this method to do class specific global initialization.

See also