Index: src/api.h |
diff --git a/src/api.h b/src/api.h |
index 1221f352cc678a35def37a2316c09a13814b3ace..a28e1f07743c7218daaffd4e8c590bcecf686f82 100644 |
--- a/src/api.h |
+++ b/src/api.h |
@@ -125,6 +125,15 @@ static inline v8::internal::Handle<v8::internal::Object> FromCData(T obj) { |
} |
+class ApiFunction { |
+ public: |
+ explicit ApiFunction(v8::internal::Address addr) : addr_(addr) { } |
+ v8::internal::Address address() { return addr_; } |
+ private: |
+ v8::internal::Address addr_; |
+}; |
+ |
+ |
v8::Arguments::Arguments(v8::Local<v8::Value> data, |
v8::Local<v8::Object> holder, |
v8::Local<v8::Function> callee, |