PythonMonkey   v1.1.2 (dev)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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