Revision: 18021
Author: [email protected]
Date: Fri Nov 22 14:23:32 2013 UTC
Log: Deprecate old versions of Isolate::SetData and GetData
BUG=none
[email protected]
LOG=y
Review URL: https://codereview.chromium.org/83363003
http://code.google.com/p/v8/source/detail?r=18021
Modified:
/branches/bleeding_edge/include/v8.h
=======================================
--- /branches/bleeding_edge/include/v8.h Fri Nov 22 10:57:55 2013 UTC
+++ /branches/bleeding_edge/include/v8.h Fri Nov 22 14:23:32 2013 UTC
@@ -4054,11 +4054,9 @@
*/
void Dispose();
- /**
- * Associate embedder-specific data with the isolate. This legacy method
- * puts the data in the 0th slot. It will be deprecated soon.
- */
- V8_INLINE void SetData(void* data);
+ V8_DEPRECATED("Use SetData(0, data) instead.",
+ V8_INLINE void SetData(void* data));
+ V8_DEPRECATED("Use GetData(0) instead.", V8_INLINE void* GetData());
/**
* Associate embedder-specific data with the isolate. |slot| has to be
@@ -4066,13 +4064,6 @@
*/
V8_INLINE void SetData(uint32_t slot, void* data);
- /**
- * Retrieve embedder-specific data from the isolate. This legacy method
- * retrieves the data from slot 0. It will be deprecated soon.
- * Returns NULL if SetData has never been called.
- */
- V8_INLINE void* GetData();
-
/**
* Retrieve embedder-specific data from the isolate.
* Returns NULL if SetData has never been called for the given |slot|.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.