Mercurial > pymonkey
comparison object.h @ 21:fc04e5f1c675
Changed object constructor to take a context instead of a runtime.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Sun, 28 Jun 2009 20:40:18 -0700 |
parents | fbb9a61fa030 |
children | 988a8998c75f |
comparison
equal
deleted
inserted
replaced
20:abede8af8cf5 | 21:fc04e5f1c675 |
---|---|
1 #ifndef PYM_OBJECT_H | 1 #ifndef PYM_OBJECT_H |
2 #define PYM_OBJECT_H | 2 #define PYM_OBJECT_H |
3 | 3 |
4 #include "runtime.h" | 4 #include "context.h" |
5 | 5 |
6 #include <jsapi.h> | 6 #include <jsapi.h> |
7 #include <Python/Python.h> | 7 #include <Python/Python.h> |
8 | 8 |
9 extern JSClass PYM_JS_ObjectClass; | 9 extern JSClass PYM_JS_ObjectClass; |
15 } PYM_JSObject; | 15 } PYM_JSObject; |
16 | 16 |
17 extern PyTypeObject PYM_JSObjectType; | 17 extern PyTypeObject PYM_JSObjectType; |
18 | 18 |
19 extern PYM_JSObject * | 19 extern PYM_JSObject * |
20 PYM_newJSObject(PYM_JSRuntimeObject *runtime, JSObject *obj); | 20 PYM_newJSObject(PYM_JSContextObject *context, JSObject *obj); |
21 | 21 |
22 #endif | 22 #endif |