My GTK module happily compiles, making lots of fun classes and stuff.
sizeof(indices(___GTK)); Result: 943
But it contains no functions:
___GTK.parse_rc; Compiler Error: 1:Index 'parse_rc' not present in module '___GTK'. ___GTK.setup_gtk; Compiler Error: 1:Index 'setup_gtk' not present in module '___GTK'.
Constants and classes are fine, though... This makes GTK not including ___GTK and hard to use in general. It seems to be because GTK.so has become a program instead of a module,
___GTK()->parse_rc; (2) Result: object_program(___GTK)()->parse_rc
Any hints on something do to about it? Pike 7.5 from CVS now. I need GTK *right now*.
I changed the test to @module@.Widget, since it exists in the class. If this is erranous, please fix. / Mirar Previous text:
2003-10-02 19:44: Subject: gtk -------------------------------------------------------------------- My GTK module happily compiles, making lots of fun classes and stuff.
sizeof(indices(___GTK)); Result: 943
But it contains no functions:
___GTK.parse_rc; Compiler Error: 1:Index 'parse_rc' not present in module '___GTK'. ___GTK.setup_gtk; Compiler Error: 1:Index 'setup_gtk' not present in module '___GTK'.
Constants and classes are fine, though... This makes GTK not including ___GTK and hard to use in general.
It seems to be because GTK.so has become a program instead of a module,
___GTK()->parse_rc; (2) Result: object_program(___GTK)()->parse_rc
Any hints on something do to about it? Pike 7.5 from CVS now. I need GTK *right now*.
/ Mirar
participants (1)
-
Mirar @ Pike developers forum