Affix
view release on metacpan or search on metacpan
lib/Affix.c view on Meta::CPAN
(void)newXSproto_portable("Affix::sv_dump", Affix_sv_dump, __FILE__, "$");
// Memory management & pointers
XSUB_EXPORT(address, nullptr, "memory");
XSUB_EXPORT(malloc, "$", "memory");
XSUB_EXPORT(calloc, "$$", "memory");
XSUB_EXPORT(realloc, "$$", "memory");
XSUB_EXPORT(free, "$", "memory");
XSUB_EXPORT(dump, "$$", "memory");
XSUB_EXPORT(raw, "$$", "memory");
XSUB_EXPORT(snapshot, "$", "memory");
XSUB_EXPORT(own, nullptr, "memory");
XSUB_EXPORT(readonly, nullptr, "memory");
XSUB_EXPORT(cast, "$$", "memory");
XSUB_EXPORT(pin, "$$;$$", "memory");
XSUB_EXPORT(unpin, "$", "memory");
// Raw memory operations
XSUB_EXPORT(memcpy, "$$$", "memory");
XSUB_EXPORT(memmove, "$$$", "memory");
XSUB_EXPORT(memset, "$$$", "memory");
XSUB_EXPORT(memcmp, "$$$", "memory");
XSUB_EXPORT(memchr, "$$$", "memory");
// Pointer utils
XSUB_EXPORT(ptr_add, "$$", "memory");
XSUB_EXPORT(ptr_diff, "$$", "memory");
XSUB_EXPORT(strdup, "$", "memory");
XSUB_EXPORT(strnlen, "$$", "memory");
XSUB_EXPORT(is_null, "$", "memory");
XSUB_EXPORT(is_pin, "$", "memory");
// Pin internals (for Affix::Pointer)
(void)newXSproto_portable("Affix::_pin_type", Affix_pin_type, __FILE__, nullptr);
(void)newXSproto_portable("Affix::_pin_element_type", Affix_pin_element_type, __FILE__, nullptr);
(void)newXSproto_portable("Affix::_pin_count", Affix_pin_count, __FILE__, nullptr);
(void)newXSproto_portable("Affix::_pin_size", Affix_pin_size, __FILE__, nullptr);
(void)newXSproto_portable("Affix::_attach_destructor", Affix_attach_destructor, __FILE__, "$$;$");
}
XSUB_EXPORT(coerce, "$$", "core");
XSUB_EXPORT(errno, "", "core");
(void)newXSproto_portable("Affix::set_destruct_level", Affix_set_destruct_level, __FILE__, "$");
{
(void)newXSproto_portable("main::define_types", XS_main_define_types, __FILE__, "$");
(void)newXSproto_portable("main::sizeof_type", XS_main_sizeof_type, __FILE__, "$");
(void)newXSproto_portable("main::offsetof_member", XS_main_offsetof_member, __FILE__, "$$");
(void)newXSproto_portable("main::wrap_owned", XS_main_wrap_owned, __FILE__, "$$");
(void)newXSproto_portable("main::alloc_owned", XS_main_alloc_owned, __FILE__, "$");
(void)newXSproto_portable("main::free_owned", XS_main_free_owned, __FILE__, "$");
(void)newXSproto_portable("Affix::Memory::DESTROY", XS_main_free_owned, __FILE__, "$");
(void)newXSproto_portable("main::alloc_raw", XS_main_alloc_raw, __FILE__, "$");
(void)newXSproto_portable("main::set_mem_u128", XS_main_set_mem_u128, __FILE__, "$$$");
(void)newXSproto_portable("main::get_string_ptr", XS_main_get_string_ptr, __FILE__, "");
(void)newXSproto_portable("main::test_invoke_callback", XS_main_test_invoke_callback, __FILE__, "$$$");
(void)newXSproto_portable("main::test_invoke_callback_128", XS_main_test_invoke_callback_128, __FILE__, "$$");
(void)newXSproto_portable("main::get_file_ptr", XS_main_get_file_ptr, __FILE__, "$");
(void)newXSproto_portable("main::verify_marshalling_128", XS_main_verify_marshalling_128, __FILE__, "$");
(void)newXSproto_portable("main::mock_cxx_new", XS_main_mock_cxx_new, __FILE__, "$");
(void)newXSproto_portable("main::mock_cxx_delete", XS_main_mock_cxx_delete, __FILE__, "$");
(void)newXSproto_portable("main::get_mock_cxx_dtor", XS_main_get_mock_cxx_dtor, __FILE__, "");
(void)newXSproto_portable("main::get_mock_cxx_dtor_calls", XS_main_get_mock_cxx_dtor_calls, __FILE__, "");
//(void)newXSproto_portable("::is_pin", XS_main_is_pin, __FILE__, nullptr);
}
#undef XSUB_EXPORT
Perl_xs_boot_epilog(aTHX_ ax);
}
( run in 1.374 second using v1.01-cache-2.11-cpan-9789f410c06 )