ICON Community Interface 0.4.0
Loading...
Searching...
No Matches
exception.h File Reference
#include <memory>
#include <stdexcept>
#include <string>
#include <Python.h>
#include <comin.h>
Include dependency graph for exception.h:

Go to the source code of this file.

Data Structures

class  ComInError
 

Macros

#define PY_SSIZE_T_CLEAN
 

Functions

void py_comin_check_error (std::string add_info="")
 
template<PyCFunction Fun>
PyObject * py_comin_func_wrapper (PyObject *self, PyObject *args)
 
template<PyCFunctionWithKeywords Fun>
PyObject * py_comin_func_wrapper (PyObject *self, PyObject *args, PyObject *kwargs)
 

Variables

PyObject * PyExc_ComInError
 

Macro Definition Documentation

◆ PY_SSIZE_T_CLEAN

#define PY_SSIZE_T_CLEAN

Definition at line 8 of file exception.h.

Function Documentation

◆ py_comin_check_error()

void py_comin_check_error ( std::string add_info = "")

◆ py_comin_func_wrapper() [1/2]

template<PyCFunction Fun>
PyObject * py_comin_func_wrapper ( PyObject * self,
PyObject * args )

Definition at line 34 of file exception.h.

◆ py_comin_func_wrapper() [2/2]

template<PyCFunctionWithKeywords Fun>
PyObject * py_comin_func_wrapper ( PyObject * self,
PyObject * args,
PyObject * kwargs )

Definition at line 43 of file exception.h.

Variable Documentation

◆ PyExc_ComInError

PyObject* PyExc_ComInError
extern