-
ggaren@apple.com authored
clients who want to preserve a context for a later callback. Patch by Geoffrey Garen <ggaren@apple.com> on 2009-10-19 Reviewed by Sam Weinig. * API/APICast.h: (toGlobalRef): Added an ASSERT, since this function is used more often than before. * API/JSContextRef.cpp: * API/JSContextRefPrivate.h: Added. The new API. * API/tests/testapi.c: (print_callAsFunction): (main): Test the new API. * JavaScriptCore.exp: * JavaScriptCore.xcodeproj/project.pbxproj: Build and export the new API. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
b76236c1