Function lexical_core::get_nan_string
source · Expand description
Get NAN_STRING
as a pointer and size.
Returns 0 on success, -1 on error. This string is not null-terminated.
ptr
- Out-parameter for a pointer to the string.size
- Out-parameter for the size of the string.
Safety
Only use this in C-FFI code, otherwise, you should directly use
NAN_STRING
.