comparison context.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 fbb9a61fa030
comparison
equal deleted inserted replaced
10:29eaa1fceff1 11:551ba05fe6ad
1 #ifndef PYM_CONTEXT_H
2 #define PYM_CONTEXT_H
3
4 #include "runtime.h"
5
6 #include <jsapi.h>
7 #include <Python/Python.h>
8
9 typedef struct {
10 PyObject_HEAD
11 PYM_JSRuntimeObject *runtime;
12 JSContext *cx;
13 } PYM_JSContextObject;
14
15 extern PyTypeObject PYM_JSContextType;
16
17 #endif