PythonMonkey   v1.0.0 (dev)
Loading...
Searching...
No Matches
DictType Struct Reference

This struct represents a dictionary in python. More...

#include <DictType.hh>

Static Public Member Functions

static PyObject * getPyObject (JSContext *cx, JS::Handle< JS::Value > jsObject)
 Construct a new DictType object from a JSObject.
 

Detailed Description

This struct represents a dictionary in python.

Author
Giovanni

Member Function Documentation

◆ getPyObject()

PyObject * DictType::getPyObject ( JSContext *  cx,
JS::Handle< JS::Value >  jsObject 
)
static

Construct a new DictType object from a JSObject.

Parameters
cx- pointer to the JSContext
jsObject- pointer to the JSObject to be coerced
Returns
PyObject* pointer to the resulting PyObject

The documentation for this struct was generated from the following files: