Re: GtkEditable insert-text signal callback parameters contain GPointer
| From: | Christian Weiske | Date: | Sun, 03 Sep 2006 16:45:40 +0000 |
| Subject: | Re: GtkEditable insert-text signal callback parameters contain GPointer | ||
| References: | 1 2 3 4 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-3391@lists.php.net to get a copy of this message | ||
Andrei,
>> What about provinding a gpointer method getInteger() or so?
> How do we know internally that GPointer will point to an integer
> necessarily? We can't make that assumption.
Of course the user needs to sure that this is the case, the same as you
need to check your pointers in C by hand and have to know what they
refer to. This takes some of the security of PHP, but gives the ability
to get the content of some pointer types.
--
Regards/MfG,
Christian Weiske
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc