Add an API to control the disposal of external string resources
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 7 Jun 2010 08:49:07 +0000 (08:49 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 7 Jun 2010 08:49:07 +0000 (08:49 +0000)
commit09acdc8446d9444cdad59a85b74df03b37a91463
treee430c7426eedc432e2a8e350df8c66eee2158abb
parentff61618c4b150e8253733385858d1024b1cc39a4
Add an API to control the disposal of external string resources

A new callback have been added which - if set - will be called to dispose of external string resources passed from the embedder to the V8 engine.
Review URL: http://codereview.chromium.org/2645004

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