X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/3b10bbd3a88d6e16146414d91d06bb2f36347bfc..4f7cfa972623842e64e3a8468696f1f6f40fd202:/src/test.gob diff --git a/src/test.gob b/src/test.gob index 402f69c..8447a93 100644 --- a/src/test.gob +++ b/src/test.gob @@ -58,6 +58,9 @@ class Gtk:Weird:Button from Gtk:Button { destroywith gtk_object_unref; argument POINTER testingobj objectlink; + classwide int foo = 20; + argument INT foo link; + public Gtk:Object * testingobj2 destroy { if(VAR) @@ -167,7 +170,7 @@ class Gtk:Weird:Button from Gtk:Button { *zblunk*******//**//**/ signal first NONE (NONE) void bloh(self); - virtual void * bah(self, int h (check > 0)) onerror NULL { + virtual void * bah(self, int h (check > 0)) onerror NULL defreturn 0 { beh(self,h); return NULL; } @@ -273,10 +276,18 @@ class Gtk:Weird:Button from Gtk:Button { } public signal (NO_HOOKS) last INT (INT) - int testflags(self, int w (check > 0)) { + int testflags(self, int w (check > 0)) defreturn -99 { /*foo*/ return w; } + + /* testing NONE */ + signal BOOL (NONE) + gboolean + test_none_thing (self) + { + return FALSE; + } /* testing empty statements */ ; ;