Re: segv on mistaken bless
- From: Kevin Ryde <user42 zip com au>
- To: gtk-perl-list gnome org
- Subject: Re: segv on mistaken bless
- Date: Mon, 02 Jun 2008 09:53:07 +1000
Torsten Schoenfeld <kaffeetisch gmx de> writes:
+ if (!mg_find (SvRV (sv), PERL_MAGIC_ext))
+ croak ("%s is not a proper Glib::Object "
Looks promising. It occurred to me gperl_get_object repeats some of the
validity checks gperl_get_object_check has already done. Perhaps
there's a way to structure them to save a few cycles of duplication; at
worst I suppose maybe by separating them, if you know what I mean.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]