PythonMonkey   v1.0.0 (dev)
Loading...
Searching...
No Matches
FuncType.hh
Go to the documentation of this file.
1
11#ifndef PythonMonkey_FuncType_
12#define PythonMonkey_FuncType_
13
14#include <jsapi.h>
15
16#include <Python.h>
17
21struct FuncType {
22public:
23 static PyObject *getPyObject(JSContext *cx, JS::HandleValue fval);
24};
25
26#endif
This struct represents the 'function' type in Python.
Definition FuncType.hh:21
static PyObject * getPyObject(JSContext *cx, JS::HandleValue fval)
Definition FuncType.cc:17