Function axns::current_namespace_base

source ·
pub unsafe fn current_namespace_base() -> *mut u8
Expand description

Returns the pointer to the current namespace.

When thread-local feature is enabled, it returns the thread-local namespace of the current thread. Otherwise, it returns the global namespace.

§Safety

This function is unsafe, the returned pointer should not outlive the current thread.