Skip to content
Sections
>> Trisquel >> Packages >> nabia >> perl >> libxs-object-magic-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libxs-object-magic-perl  ]

Package: libxs-object-magic-perl (0.4-1build7)

module for opaque, extensible XS pointer backed objects using sv_magic

XS::Object::Magic provides a way of associating structs with Perl space objects designed to supercede Perl's builtin "T_PTROBJ" with something that is designed to be:

  * extensible: The association of the pointer using "sv_magicext" can be
    done on any data type, so you can associate C structs with any
    representation type. This means that you can add pointers to any object
    (hand coded, Moose or otherwise), while still having instance data in
    regular hashes.
  * opaque: The C pointer is neither visible nor modifiable from Perl space.
    This prevents accidental corruption which could lead to segfaults using
    "T_PTROBJ" (e.g. "$$ptr_obj = 0").

Other Packages Related to libxs-object-magic-perl

  • depends
  • recommends
  • suggests
  • dep: perl (>= 5.30.0-7)
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.30.0
    virtual package provided by perl-base

Download libxs-object-magic-perl

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 13.1 kB55 kB [list of files]
armhf 12.3 kB46 kB [list of files]