ext/h8/ruby_gate.h in h8-0.5.2 vs ext/h8/ruby_gate.h in h8-0.5.4
- old
+ new
@@ -115,14 +115,18 @@
void getProperty(Local<String> name,
const PropertyCallbackInfo<Value> &info);
void setProperty(Local<String> name, Local<Value> value,
const PropertyCallbackInfo<Value> &info);
+ void queryProperty(Local<String> name,
+ const PropertyCallbackInfo<Integer> &info);
void deleteProperty(Local<String> name,
const PropertyCallbackInfo<Boolean> &info);
+ void enumerateProperties(const PropertyCallbackInfo<Array>& info);
+
void getIndex(uint32_t index, const PropertyCallbackInfo<Value> &info);
void setIndex(uint32_t index, Local<Value> value,
const PropertyCallbackInfo<Value> &info);
static void GateConstructor(const v8::FunctionCallbackInfo<Value>& args);
@@ -136,16 +140,20 @@
static void mapGet(Local<String> name,
const PropertyCallbackInfo<Value> &info);
static void mapSet(Local<String> name, Local<Value> value,
const PropertyCallbackInfo<Value> &info);
+ static void mapQuery(Local<String> name,
+ const PropertyCallbackInfo<Integer> &info);
static void mapDelete(Local<String> name,
const PropertyCallbackInfo<Boolean> &info);
+ static void mapEnumerate(const PropertyCallbackInfo<Array>& info);
static void indexGet(uint32_t index,
const PropertyCallbackInfo<Value> &info);
static void indexSet(uint32_t index, Local<Value> value,
const PropertyCallbackInfo<Value> &info);
+ static void indexEnumerate(const PropertyCallbackInfo<Array>& info);
void throw_js();
friend class H8;