Expose the calling context through the API.
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 20 May 2009 07:44:59 +0000 (07:44 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 20 May 2009 07:44:59 +0000 (07:44 +0000)
commit10b8928e0e585caa984df948868cdc51ab99830e
treeaf720d42b6c2db368af22f4d89d1878c9c8d7438
parent897ecefe1e36074f2ad59f7d4f18e987bd034b30
Expose the calling context through the API.

In C++ callbacks, we can now get the context of the javascript code
that called the callback.

Review URL: http://codereview.chromium.org/113622

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2006 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8.h
src/api.cc
src/top.cc
src/top.h
test/cctest/test-api.cc