Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: include/v8.h

Issue 6070: Basic C bindings for v8.
Patch Set: Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « README.v8c ('k') | include/v8c.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 2842c328dc53c6aef0f167dd58b18bee9a84f4bb..35b428a2da1f7b661c04a172783abe143cfd08ff 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -425,8 +425,10 @@ class EXPORT HandleScope {
// scopes by disallowing certain operations.
HandleScope(const HandleScope&);
void operator=(const HandleScope&);
+#ifndef BUILDING_V8C // C bindings need to be able to heap-allocate.
void* operator new(size_t size);
void operator delete(void*, size_t);
+#endif
class EXPORT Data {
public:
« no previous file with comments | « README.v8c ('k') | include/v8c.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698