Skip to main content

JS_FreeCString

Function JS_FreeCString 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_FreeCString( _ctx: *mut JsContext, ptr: *const c_char, )
Expand description

JS_FreeCString: release a string from JS_ToCStringLen2.

ยงSafety

ptr must be null or a live pointer from JS_ToCStringLen2, and must not be used again.