Mercurial > pymonkey
comparison 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 |
comparison
equal
deleted
inserted
replaced
21:fc04e5f1c675 | 22:988a8998c75f |
---|---|
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; | |
16 PyObject *weakrefList; | |
15 } PYM_JSObject; | 17 } PYM_JSObject; |
16 | 18 |
17 extern PyTypeObject PYM_JSObjectType; | 19 extern PyTypeObject PYM_JSObjectType; |
18 | 20 |
19 extern PYM_JSObject * | 21 extern PYM_JSObject * |