Class-XSAccessor
view release on metacpan or search on metacpan
cxsa_main.h view on Meta::CPAN
* happens. Note that there is not reference counting mechanism we can
* use to make this easy. So the sharing/reuse of hashkey structs was a
* way to avoid this real or perceived memory leak on re-generation of
* accessors for the same object slot.
*/
};
autoxs_hashkey * get_hashkey(pTHX_ const char* key, const I32 len);
I32 get_internal_array_index(I32 object_ary_idx);
/* Macro to encapsulate fetching of a hashkey struct pointer for the actual
* XSUBs */
#define CXAH_GET_HASHKEY ((autoxs_hashkey *) XSANY.any_ptr)
/*************************
* thread-shared memory
************************/
extern autoxs_hashkey * CXSAccessor_last_hashkey;
extern autoxs_hashkey * CXSAccessor_hashkeys;
( run in 0.547 second using v1.01-cache-2.11-cpan-49f99fa48dc )