Re: Stop stepping on other perl extension's toes

Kevin Ryde <user42 zip com au> writes:

Florian Ragwitz <rafl debian org> writes:

Most of the time glib related modules want to use the gobject/gboxed
interfaces anyway and don't really care about associating plain
pointers with scalars.

Except those whacky bits like wrapping callback funcs for CellLayout
or TreeSortable to expose back to perl :).  I suppose there could be
something vaguely general for that if it happened too often.

There *is* something vaguely general. It's called XS::Object::Magic.

Also, as of 5.13.8, there's mg_findext and sv_unmagicext.

Attachment: pgpXHnE1ypwPB.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]