]> git.draconx.ca Git - gob-dx.git/blobdiff - src/test.gob
Release 0.93.4
[gob-dx.git] / src / test.gob
index 402f69ccb839a18d959c8f2fe814875e436f0764..8447a9339b0cee51e47eb8dc827b799d40b7c828 100644 (file)
@@ -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 */
        ;
        ;