diff object.h @ 22:988a8998c75f

JS objects reflected into Python are now identity-preserving, though the implementation for this is pretty bad right now.
author Atul Varma <varmaa@toolness.com>
date Sun, 28 Jun 2009 21:49:07 -0700
parents fc04e5f1c675
children 951ad1b15587
line wrap: on
line diff
--- a/object.h	Sun Jun 28 20:40:18 2009 -0700
+++ b/object.h	Sun Jun 28 21:49:07 2009 -0700
@@ -12,6 +12,8 @@
   PyObject_HEAD
   PYM_JSRuntimeObject *runtime;
   JSObject *obj;
+  PyObject *uniqueId;
+  PyObject *weakrefList;
 } PYM_JSObject;
 
 extern PyTypeObject PYM_JSObjectType;