Function

JSObjectGetPrivate

Gets an object’s private data.

Declaration

void * JSObjectGetPrivate(JSObjectRef object);

Parameters

object

A JSObjectRef whose private data you want to get.

Return Value

A void* that is the object's private data, if the object has private data, otherwise NULL.