RAVE
pylegacycompositegeneratorfactory.c File Reference

Python version of the Legacy composite handling as a factory. More...

#include "pyravecompat.h"
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "pyrave_debug.h"
#include "pycompositegeneratorfactory.h"
#include "rave_alloc.h"
#include "legacycompositegeneratorfactory.h"

Macros

#define raiseException_gotoTag(tag, type, msg)
 Sets a python exception and goto tag.
 
#define raiseException_returnNULL(type, msg)
 Sets a python exception and return NULL.
 

Functions

 PYRAVE_DEBUG_MODULE ("_legacycompositegeneratorfactory")
 This modules name.
 
 MOD_INIT (_legacycompositegeneratorfactory)
 

Detailed Description

Python version of the Legacy composite handling as a factory.

Author
Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2025-01-14

Macro Definition Documentation

◆ raiseException_gotoTag

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

Sets a python exception and goto tag.

◆ raiseException_returnNULL

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

Sets a python exception and return NULL.

Function Documentation

◆ PYRAVE_DEBUG_MODULE()

PYRAVE_DEBUG_MODULE ( "_legacycompositegeneratorfactory" )

This modules name.