Mercurial > pymonkey
view object.h @ 26:9e33fc5a8d92
Added a link to ServerJS.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Mon, 29 Jun 2009 10:35:06 -0700 |
parents | 951ad1b15587 |
children | d4efcbb06964 |
line wrap: on
line source
#ifndef PYM_OBJECT_H #define PYM_OBJECT_H #include "context.h" #include <jsapi.h> #include <Python/Python.h> extern JSClass PYM_JS_ObjectClass; typedef struct { PyObject_HEAD PYM_JSRuntimeObject *runtime; JSObject *obj; jsid uniqueId; } PYM_JSObject; extern PyTypeObject PYM_JSObjectType; extern PYM_JSObject * PYM_newJSObject(PYM_JSContextObject *context, JSObject *obj); #endif