Mercurial > pymonkey
comparison 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 |
comparison
equal
deleted
inserted
replaced
22:988a8998c75f | 23:951ad1b15587 |
---|---|
10 | 10 |
11 typedef struct { | 11 typedef struct { |
12 PyObject_HEAD | 12 PyObject_HEAD |
13 PYM_JSRuntimeObject *runtime; | 13 PYM_JSRuntimeObject *runtime; |
14 JSObject *obj; | 14 JSObject *obj; |
15 PyObject *uniqueId; | 15 jsid uniqueId; |
16 PyObject *weakrefList; | |
17 } PYM_JSObject; | 16 } PYM_JSObject; |
18 | 17 |
19 extern PyTypeObject PYM_JSObjectType; | 18 extern PyTypeObject PYM_JSObjectType; |
20 | 19 |
21 extern PYM_JSObject * | 20 extern PYM_JSObject * |