comparison 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
comparison
equal deleted inserted replaced
19:fbb9a61fa030 20:abede8af8cf5
1 #ifndef PYM_UTILS_H 1 #ifndef PYM_UTILS_H
2 #define PYM_UTILS_H 2 #define PYM_UTILS_H
3
4 #include "runtime.h"
3 5
4 #include <jsapi.h> 6 #include <jsapi.h>
5 #include <Python/Python.h> 7 #include <Python/Python.h>
6 8
7 extern PyObject *PYM_error; 9 extern PyObject *PYM_error;
8 10
9 extern PyObject * 11 extern PyObject *
10 PYM_jsvalToPyObject(jsval value); 12 PYM_jsvalToPyObject(PYM_JSRuntimeObject *runtime, jsval value);
11 13
12 #endif 14 #endif