Make the JS IDWeakMap a thin wrapper of C++ IDWeakMap

This commit is contained in:
Cheng Zhao 2015-06-24 13:35:39 +08:00
parent cd93b9412c
commit d02413de00
4 changed files with 16 additions and 53 deletions

View file

@ -36,7 +36,7 @@ class IDWeakMap {
private:
// Returns next available ID.
int GetNextID();
int32_t GetNextID();
static void WeakCallback(
const v8::WeakCallbackData<v8::Object, IDWeakMap>& data);