Mercurial > pymonkey
view object.h @ 13:ca17531e8c81
Added an object class.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Sun, 28 Jun 2009 18:19:14 -0700 |
parents | |
children | f3223debd70b |
line wrap: on
line source
#ifndef PYM_OBJECT_H #define PYM_OBJECT_H #include "runtime.h" #include <jsapi.h> #include <Python/Python.h> extern JSClass PYM_JS_ObjectClass; typedef struct { PyObject_HEAD PYM_JSRuntimeObject *runtime; JSObject *obj; } PYM_JSObject; extern PyTypeObject PYM_JSObjectType; #endif