ICON Community Interface 0.4.0
Loading...
Searching...
No Matches
util.h File Reference
#include <Python.h>
#include <comin.h>
#include <comin_global.inc>
Include dependency graph for util.h:

Go to the source code of this file.

Functions

template<class T >
const char * get_format_char ()
 
template<>
const char * get_format_char< double > ()
 
template<>
const char * get_format_char< float > ()
 
template<>
const char * get_format_char< int > ()
 
template<>
const char * get_format_char< int8_t > ()
 
template<class T >
void fill_buffer (Py_buffer *buffer, void *mem, int *shape, int ndims, int readonly=1)
 

Function Documentation

◆ fill_buffer()

template<class T >
void fill_buffer ( Py_buffer * buffer,
void * mem,
int * shape,
int ndims,
int readonly = 1 )

Definition at line 26 of file util.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_format_char()

template<class T >
const char * get_format_char ( )
Here is the caller graph for this function:

◆ get_format_char< double >()

template<>
const char * get_format_char< double > ( )
inline

Definition at line 20 of file util.h.

◆ get_format_char< float >()

template<>
const char * get_format_char< float > ( )
inline

Definition at line 21 of file util.h.

◆ get_format_char< int >()

template<>
const char * get_format_char< int > ( )
inline

Definition at line 22 of file util.h.

◆ get_format_char< int8_t >()

template<>
const char * get_format_char< int8_t > ( )
inline

Definition at line 23 of file util.h.