]> git.draconx.ca Git - gob-dx.git/blobdiff - examples/my-person.gob
Release 0.92.1
[gob-dx.git] / examples / my-person.gob
index abf1d0146b727b97e187c897ba0702ec520f8857..61bd6ddf2f964602ed6ba9f375af1b7abf3ec57b 100644 (file)
@@ -1,3 +1,5 @@
+require 0.92.1
+
 %{
 #include <time.h>
 #include "my-person.h"
@@ -11,7 +13,7 @@ class My:Person from Gtk:Object {
 
        private int rounds_in_shotgun; /* number of rounds in our shotgun */
 
-       argument POINTER name
+       argument POINTER (type char *) name
        get {
                if(self->name)
                        ARG = g_strdup(self->name);