Returns an external pointer that can be passed to compiled C code
as user data for trampolines. Keep this handle (and the original
tcc_callback) alive for as long as C may call back.
The pointer handle keeps the underlying token storage alive until it is
garbage collected. Closing the original callback still invalidates the
callback registry entry, so C must not continue invoking it after
tcc_callback_close().
Details
Pointer arguments and return values are treated as external pointers.
Use tcc_read_bytes(), tcc_read_u8(), or tcc_read_f64()
to inspect pointed data when needed.