1#ifndef CPYCPPYY_CONVERTERS_H
2#define CPYCPPYY_CONVERTERS_H
#define CPYCPPYY_CLASS_EXPORT
virtual bool SetArg(PyObject *, Parameter &, CallContext *=nullptr)=0
virtual bool ToMemory(PyObject *value, void *address)
virtual PyObject * FromMemory(void *address)
InstancePtrConverter(Cppyy::TCppType_t klass, bool keepControl=false)
virtual bool SetArg(PyObject *, Parameter &, CallContext *=nullptr)
virtual PyObject * FromMemory(void *address)
virtual bool ToMemory(PyObject *value, void *address)
virtual bool GetAddressSpecialCase(PyObject *, void *&)
VoidArrayConverter(bool keepControl=true)
virtual bool ToMemory(PyObject *value, void *address)
virtual bool GetAddressSpecialCase(PyObject *pyobject, void *&address)
virtual PyObject * FromMemory(void *address)
virtual bool SetArg(PyObject *, Parameter &, CallContext *=nullptr)
Set of helper functions that are invoked from the pythonizors, on the Python side.
CPYCPPYY_EXTERN bool RegisterConverter(const std::string &name, ConverterFactory_t)
Converter *(* cf_t)(dims_t d)
CPYCPPYY_EXTERN void DestroyConverter(Converter *p)
CPYCPPYY_EXTERN bool UnregisterConverter(const std::string &name)
CPYCPPYY_EXTERN Converter * CreateConverter(const std::string &name, Py_ssize_t *dims=nullptr)