Function jscjs_sys::api::JSObjectSetPrivate [−][src]
pub unsafe extern "C" fn JSObjectSetPrivate(
object: JSObjectRef,
data: *mut c_void
) -> bool
Expand description
@function @abstract Sets a pointer to private data on an object. @param object The JSObject whose private data you want to set. @param data A void* to set as the object’s private data. @result true if object can store private data, otherwise false. @discussion The default object class does not allocate storage for private data. Only objects created with a non-NULL JSClass can store private data.