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
19
struct
FloatType
{
20
public
:
21
static
PyObject *
getPyObject
(
double
n);
22
};
23
24
#endif
FloatType
This struct represents the 'float' type in Python, which is represented as a 'double' in C++.
Definition
FloatType.hh:19
FloatType::getPyObject
static PyObject * getPyObject(double n)
Definition
FloatType.cc:13
include
FloatType.hh
Generated on Wed Oct 9 2024 16:20:15 for PythonMonkey by
1.9.7