Skip to main content

JS_GetPropertyStr

Function JS_GetPropertyStr 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_GetPropertyStr( ctx: *mut JsContext, this_obj: JsValue, name: *const c_char, ) -> JsValue
Expand description

JS_GetPropertyStr: read a property by name, answering a new reference.

ยงSafety

ctx must be a live context, this_obj a live JSValue, and name a NUL-terminated string.