Function jscjs_sys::api::JSObjectSetProperty [−][src]
pub unsafe extern "C" fn JSObjectSetProperty(
ctx: JSContextRef,
object: JSObjectRef,
propertyName: JSStringRef,
value: JSValueRef,
attributes: JSPropertyAttributes,
exception: *mut JSValueRef
)
Expand description
@function @abstract Sets a property on an object. @param ctx The execution context to use. @param object The JSObject whose property you want to set. @param propertyName A JSString containing the property’s name. @param value A JSValueRef to use as the property’s value. @param attributes A logically ORed set of JSPropertyAttributes to give to the property. @param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception.