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

Paket: 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").

Andere Pakete mit Bezug zu libxs-object-magic-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: perl (>= 5.30.0-7)
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.30.0
    virtuelles Paket, bereitgestellt durch perl-base

libxs-object-magic-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
amd64 13,1 kB55 kB [Liste der Dateien]
armhf 12,3 kB46 kB [Liste der Dateien]