PythonMonkey   v1.0.0 (dev)
Loading...
Searching...
No Matches
DictType.hh
Go to the documentation of this file.
1
11#ifndef PythonMonkey_DictType_
12#define PythonMonkey_DictType_
13
14#include <jsapi.h>
15
16#include <Python.h>
17
23struct DictType {
24public:
33 static PyObject *getPyObject(JSContext *cx, JS::Handle<JS::Value> jsObject);
34};
35
36#endif
This struct represents a dictionary in python.
Definition DictType.hh:23
static PyObject * getPyObject(JSContext *cx, JS::Handle< JS::Value > jsObject)
Construct a new DictType object from a JSObject.
Definition DictType.cc:19