Function chakracore_sys::JsSetIndexedPropertiesToExternalData [] [src]

pub unsafe extern "system" fn JsSetIndexedPropertiesToExternalData(
    object: JsValueRef,
    data: *mut c_void,
    arrayType: JsTypedArrayType,
    elementLength: c_uint
) -> JsErrorCode

Sets an object's indexed properties to external data. The external data will be used as back store for the object's indexed properties and accessed like a typed array. Requires an active script context. The object to operate on. The external data to be used as back store for the object's indexed properties. The array element type in external data. The number of array elements in external data. The code JsNoError if the operation succeeded, a failure code otherwise.