axns

Function 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.