view object.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 ca17531e8c81
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