ROPO
Loading...
Searching...
No Matches
pyropogenerator.c File Reference
#include "pyropo_compat.h"
#include "Python.h"
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "pyropogenerator.h"
#include "pyfmiimage.h"
#include "pyrave_debug.h"
#include "rave_alloc.h"
Include dependency graph for pyropogenerator.c:

Go to the source code of this file.

Macros

#define PYROPOGENERATOR_MODULE
 
#define raiseException_gotoTag(tag, type, msg)   {PyErr_SetString(type, msg); goto tag;}
 
#define raiseException_returnNULL(type, msg)   {PyErr_SetString(type, msg); return NULL;}
 

Functions

 PYRAVE_DEBUG_MODULE ("_ropogenerator")
 
 MOD_INIT (_ropogenerator)
 

Variables

PyTypeObject PyRopoGenerator_Type
 

Detailed Description

Python API to the ropo functions

Author
Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2011-08-31

Definition in file pyropogenerator.c.

Macro Definition Documentation

◆ PYROPOGENERATOR_MODULE

#define PYROPOGENERATOR_MODULE

to get correct part in pyropogenerator

Definition at line 31 of file pyropogenerator.c.

◆ raiseException_gotoTag

#define raiseException_gotoTag ( tag,
type,
msg )   {PyErr_SetString(type, msg); goto tag;}

Sets a python exception and goto tag

Definition at line 46 of file pyropogenerator.c.

◆ raiseException_returnNULL

#define raiseException_returnNULL ( type,
msg )   {PyErr_SetString(type, msg); return NULL;}

Sets python exception and returns NULL

Definition at line 52 of file pyropogenerator.c.

Function Documentation

◆ MOD_INIT()

MOD_INIT ( _ropogenerator )

Definition at line 913 of file pyropogenerator.c.

◆ PYRAVE_DEBUG_MODULE()

PYRAVE_DEBUG_MODULE ( "_ropogenerator" )

Debug this module

Variable Documentation

◆ PyRopoGenerator_Type

PyTypeObject PyRopoGenerator_Type

Type definitions

Definition at line 639 of file pyropogenerator.c.