Function chakracore_sys::JsCopyPropertyId [] [src]

pub unsafe extern "system" fn JsCopyPropertyId(
    propertyId: JsPropertyIdRef,
    buffer: *mut c_char,
    bufferSize: usize,
    length: *mut usize
) -> JsErrorCode

Copies the name associated with the property ID into a buffer. Requires an active script context. When size of the buffer is unknown, buffer argument can be nullptr. length argument will return the size needed. The property ID to get the name of. The buffer holding the name associated with the property ID, encoded as utf8 Size of the buffer. Total number of characters written or to be written The code JsNoError if the operation succeeded, a failure code otherwise.