class_xsaccessor

Generate fast XS accessors without runtime compilation

bacaro: haikuports also on HaikuPorts
Also on HaikuPorts. class_xsaccessor

Description

Class::XSAccessor implements fast read, write and read/write accessors in XS. Additionally, it can provide predicates such as has_foo() for testing whether the attribute foo exists in the object (which is different from "is defined within the object"). It only works with objects that are implemented as ordinary hashes. Class::XSAccessor::Array implements the same interface for objects that use arrays for their internal representation.

Install

Channel stable v1.19-2

This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.

pkgman install class_xsaccessor

Download version 1.19-2 (x86_64) hpkg

Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.

Reviews