Re: boxed re-registration key freeing
- From: muppet <scott asofyet org>
- To: Kevin Ryde <user42 zip com au>
- Cc: gtk-perl-list gnome org
- Subject: Re: boxed re-registration key freeing
- Date: Wed, 28 Jan 2009 15:36:11 -0500
On Jan 27, 2009, at 5:58 PM, Kevin Ryde wrote:
Chasing it down in gdb it looks like Gtk2.xs register.xsh registers
Gtk2::Border with gperl_register_boxed, and then the Gtk2::Entry
boot code re-registers it.
[...]
Is GtkEntry.xs meant to register Gtk2::Border, or can it be left to
register.xsh?
The idea is that the maps file defines the class and mapping and all
that, and then we override the registration to provide a different
wrapper class.
It looks like gperl_boxed_register() takes precautions to insert into
the hash with the destructor second, to avoid this sort of problem.
Why isn't that working?
--
One, two, free, four, five, six, sebben, eight, nine, ten, elebben,
twull, fourteen, sickteen, sebbenteen, eightteen, elebbenteen,
fiffeen, elebbenteen!
-- Zella, aged three, counting to twenty.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]