Mercurial > pymonkey
comparison runtime.h @ 11:551ba05fe6ad
factored out Runtime, Context, and utils into separate files.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Sun, 28 Jun 2009 17:28:57 -0700 |
parents | |
children | 988a8998c75f |
comparison
equal
deleted
inserted
replaced
10:29eaa1fceff1 | 11:551ba05fe6ad |
---|---|
1 #ifndef PYM_RUNTIME_H | |
2 #define PYM_RUNTIME_H | |
3 | |
4 #include <jsapi.h> | |
5 #include <Python/Python.h> | |
6 | |
7 typedef struct { | |
8 PyObject_HEAD | |
9 JSRuntime *rt; | |
10 } PYM_JSRuntimeObject; | |
11 | |
12 extern PyTypeObject PYM_JSRuntimeType; | |
13 | |
14 #endif |