PLearn 0.1
Static Public Member Functions
PLearn::ConvertToPyObject< float > Struct Template Reference

#include <PythonObjectWrapper.h>

List of all members.

Static Public Member Functions

static PyObject * newPyObject (const float &x)

Detailed Description

template<>
struct PLearn::ConvertToPyObject< float >

Definition at line 604 of file PythonObjectWrapper.h.


Member Function Documentation

PyObject * PLearn::ConvertToPyObject< float >::newPyObject ( const float &  x) [static]

Definition at line 802 of file PythonObjectWrapper.cc.

{
    return PyFloat_FromDouble(double(x));
}

The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines