Index: include/v8.h |
=================================================================== |
--- include/v8.h (revision 1252) |
+++ include/v8.h (working copy) |
@@ -1828,23 +1828,6 @@ |
typedef void (*GCCallback)(); |
-// --- E x t e r n a l S y m b o l C a l l b a c k --- |
- |
-/** |
- * Callback used to allocate certain V8 symbols as external strings. |
- * |
- * The data passed to the callback is utf8 encoded. |
- * |
- * Allocations are not allowed in the callback function, you therefore |
- * cannot manipulate objects (set or delete properties for example) |
- * since it is possible such operations will result in the allocation |
- * of objects. |
- */ |
-typedef String::ExternalStringResource* (*ExternalSymbolCallback)( |
- const char* utf8, |
- size_t length); |
- |
- |
// --- C o n t e x t G e n e r a t o r --- |
/** |
@@ -1945,20 +1928,6 @@ |
static void SetGlobalGCEpilogueCallback(GCCallback); |
/** |
- * Applications can register a callback that will be used when |
- * allocating most of the V8 symbols. The callback must return an |
- * external string resource that represents the symbols. |
- * |
- * Most often when performing a property lookup the key will be a |
- * symbol. Allocating symbols as external strings can reduce the |
- * amount of string conversions needed when using interceptors and |
- * accessors. |
- * |
- * \note This is an experimental feature and it might be removed. |
- */ |
- static void SetExternalSymbolCallback(ExternalSymbolCallback); |
- |
- /** |
* Allows the host application to group objects together. If one |
* object in the group is alive, all objects in the group are alive. |
* After each garbage collection, object groups are removed. It is |