X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/2255b3d84eeb947d4c065332f16e410ae4704c63..774037b15064dcc6e4995c0bba3b24abb1bde35f:/examples/my-person.gob diff --git a/examples/my-person.gob b/examples/my-person.gob index abf1d01..61bd6dd 100644 --- a/examples/my-person.gob +++ b/examples/my-person.gob @@ -1,3 +1,5 @@ +require 0.92.1 + %{ #include #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);