HomeSort by relevance Sort by last modified time
    Searched refs:JSWeakObjectMapRef (Results 1 - 2 of 2) sorted by null

  /external/webkit/Source/JavaScriptCore/API/
JSWeakObjectMapRefPrivate.h 36 /*! @typedef JSWeakObjectMapRef A weak map for storing JSObjectRefs */
37 typedef struct OpaqueJSWeakObjectMap* JSWeakObjectMapRef;
41 @abstract The callback invoked when a JSWeakObjectMapRef is being destroyed.
45 typedef void (*JSWeakMapDestroyedCallback)(JSWeakObjectMapRef map, void* data);
53 @result A JSWeakObjectMapRef bound to the given context, data and destructor.
54 @discussion The JSWeakObjectMapRef can be used as a storage mechanism to hold custom JS objects without forcing those objects to
57 JS_EXPORT JSWeakObjectMapRef JSWeakObjectMapCreate(JSContextRef ctx, void* data, JSWeakMapDestroyedCallback destructor);
67 JS_EXPORT void JSWeakObjectMapSet(JSContextRef ctx, JSWeakObjectMapRef map, void* key, JSObjectRef);
77 JS_EXPORT JSObjectRef JSWeakObjectMapGet(JSContextRef ctx, JSWeakObjectMapRef map, void* key);
JSWeakObjectMapRefPrivate.cpp 44 JSWeakObjectMapRef JSWeakObjectMapCreate(JSContextRef context, void* privateData, JSWeakMapDestroyedCallback callback)
53 void JSWeakObjectMapSet(JSContextRef ctx, JSWeakObjectMapRef map, void* key, JSObjectRef object)
64 JSObjectRef JSWeakObjectMapGet(JSContextRef ctx, JSWeakObjectMapRef map, void* key)
72 JS_EXPORT bool JSWeakObjectMapClear(JSContextRef, JSWeakObjectMapRef, void*, JSObjectRef);
73 bool JSWeakObjectMapClear(JSContextRef, JSWeakObjectMapRef, void*, JSObjectRef)

Completed in 37 milliseconds