diff object.h @ 23:951ad1b15587

The hashtable of reflected JS objects now uses a JS_DHashTable instead of a PyDict. Also removed weakref-ability of the JSObject class since it didn't make any sense to use Python's weakref support for JSObjects.
author Atul Varma <varmaa@toolness.com>
date Sun, 28 Jun 2009 22:58:04 -0700
parents 988a8998c75f
children d4efcbb06964
line wrap: on
line diff
--- a/object.h	Sun Jun 28 21:49:07 2009 -0700
+++ b/object.h	Sun Jun 28 22:58:04 2009 -0700
@@ -12,8 +12,7 @@
   PyObject_HEAD
   PYM_JSRuntimeObject *runtime;
   JSObject *obj;
-  PyObject *uniqueId;
-  PyObject *weakrefList;
+  jsid uniqueId;
 } PYM_JSObject;
 
 extern PyTypeObject PYM_JSObjectType;