view context.h @ 14:9edcdb4ab12d

added an init_standard_classes() method to context objects.
author Atul Varma <varmaa@toolness.com>
date Sun, 28 Jun 2009 18:28:35 -0700
parents 551ba05fe6ad
children fbb9a61fa030
line wrap: on
line source

#ifndef PYM_CONTEXT_H
#define PYM_CONTEXT_H

#include "runtime.h"

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

typedef struct {
  PyObject_HEAD
  PYM_JSRuntimeObject *runtime;
  JSContext *cx;
} PYM_JSContextObject;

extern PyTypeObject PYM_JSContextType;

#endif