X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/40647d7b7b7fbeae828e0a032a3c3a5f204cdfa8..6d0fe9d5f8c513045bf064ea256c822beac19037:/src/test.gob diff --git a/src/test.gob b/src/test.gob index b5b180e..ac4fa0b 100644 --- a/src/test.gob +++ b/src/test.gob @@ -5,6 +5,7 @@ the file itself. So you can this way select where the include file is at */ #include "gtk-weird-button.h" +#include "gtk-weird-button-private.h" static void jjjj(void); %} @@ -19,10 +20,10 @@ class Gtk:Weird:Button from Gtk:Button { private int j; public GtkWidget * h; public char *bleh; + public double array[23][18]; init(object) { - GtkWeirdButton *but = GTK_WEIRD_BUTTON(object); - but->i=0; + object->i=0; } class_init(klass); public GtkWidget * new(int j (check > 0)) { @@ -67,15 +68,36 @@ class Gtk:Weird:Button from Gtk:Button { signal first private NONE (NONE) void googlegoogle2(self) { + int array[5][8][9]={{{0}}}; puts("TEST2"); - testprivvirtual(self); + testprivvirtual(self,array); } virtual private - void testprivvirtual(self) + void testprivvirtual(self, int some_array[5][8][9]) { puts("TEST3"); googlegoogle(self); } + signal first NONE (POINTER) + void testarrsignal(self, long arr[8]) + { + puts("TEST2"); + } + + /* testing empty func */ + public void foofoofoo(self) {} + + override (Gtk:Widget) + int event(Gtk:Widget *self (check null type), + GdkEvent *event (check null)) onerror FALSE + { + int ret; + /* some code */ + ret = PARENT_HANDLER(self,event); + /* some code */ + return ret; + } + } %{