view utils.h @ 20:abede8af8cf5

PYM_jsvalToPyObject() can now deal with JSObjects.
author Atul Varma <varmaa@toolness.com>
date Sun, 28 Jun 2009 20:19:39 -0700
parents 551ba05fe6ad
children fc04e5f1c675
line wrap: on
line source

#ifndef PYM_UTILS_H
#define PYM_UTILS_H

#include "runtime.h"

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

extern PyObject *PYM_error;

extern PyObject *
PYM_jsvalToPyObject(PYM_JSRuntimeObject *runtime, jsval value);

#endif