view runtime.h @ 13:ca17531e8c81

Added an object class.
author Atul Varma <varmaa@toolness.com>
date Sun, 28 Jun 2009 18:19:14 -0700
parents 551ba05fe6ad
children 988a8998c75f
line wrap: on
line source

#ifndef PYM_RUNTIME_H
#define PYM_RUNTIME_H

#include <jsapi.h>
#include <Python/Python.h>

typedef struct {
  PyObject_HEAD
  JSRuntime *rt;
} PYM_JSRuntimeObject;

extern PyTypeObject PYM_JSRuntimeType;

#endif