PythonMonkey   v1.0.0 (dev)
Loading...
Searching...
No Matches
FloatType.hh
Go to the documentation of this file.
1
11#ifndef PythonMonkey_FloatType_
12#define PythonMonkey_FloatType_
13
14#include <Python.h>
15
19struct FloatType {
20public:
21 static PyObject *getPyObject(double n);
22};
23
24#endif
This struct represents the 'float' type in Python, which is represented as a 'double' in C++.
Definition FloatType.hh:19
static PyObject * getPyObject(double n)
Definition FloatType.cc:13