Loading...
Searching...
No Matches
JSObjectRefPrivate.h File Reference

Functions

bool JSObjectSetPrivateProperty (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName, JSValueRef value)
 Sets a private property on an object. This private property cannot be accessed from within JavaScript.
 
JSValueRef JSObjectGetPrivateProperty (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName)
 Gets a private property from an object.
 
bool JSObjectDeletePrivateProperty (JSContextRef ctx, JSObjectRef object, JSStringRef propertyName)
 Deletes a private property from an object.
 
JSObjectRef JSObjectGetProxyTarget (JSObjectRef)
 
JSGlobalContextRef JSObjectGetGlobalContext (JSObjectRef object)
 

Function Documentation

◆ JSObjectDeletePrivateProperty()

bool JSObjectDeletePrivateProperty ( JSContextRef ctx,
JSObjectRef object,
JSStringRef propertyName )

Deletes a private property from an object.

◆ JSObjectGetGlobalContext()

JSGlobalContextRef JSObjectGetGlobalContext ( JSObjectRef object)

◆ JSObjectGetPrivateProperty()

JSValueRef JSObjectGetPrivateProperty ( JSContextRef ctx,
JSObjectRef object,
JSStringRef propertyName )

Gets a private property from an object.

◆ JSObjectGetProxyTarget()

JSObjectRef JSObjectGetProxyTarget ( JSObjectRef )

◆ JSObjectSetPrivateProperty()

bool JSObjectSetPrivateProperty ( JSContextRef ctx,
JSObjectRef object,
JSStringRef propertyName,
JSValueRef value )

Sets a private property on an object. This private property cannot be accessed from within JavaScript.

Go to the source code of this file.