MoorDyn
Macros
MoorDynAPI.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DECLDIR
 Prefix to export C functions on the compiled library.
 
#define PARAM_UNUSED
 Attribute for unused function parameters.
 
#define DEPRECATED
 Prefix for deprecated functions that will be removed on a future version.
 
#define __FUNC_NAME__   __func__
 Macro that is substituted by the function name.
 
#define __PRETTY_FUNC_NAME__   __PRETTY_FUNCTION__
 Macro that is substituted by the beautified function name.
 
#define XSTR(s)   STR(s)
 Wrapper on STR macro to can stringify the content of some other macros.
 
#define STR(s)   #s
 Stringfication on a macro.
 
#define MOORDYN_ERR_LEVEL   3
 Error message.
 
#define MOORDYN_WRN_LEVEL   2
 Warning message.
 
#define MOORDYN_MSG_LEVEL   1
 Info message.
 
#define MOORDYN_DBG_LEVEL   0
 Debug message.
 
#define MOORDYN_NO_OUTPUT   4096
 Disable the output since no output will never reach this level.
 
#define MOORDYN_SUCCESS   0
 Successfully dispatched task.
 
#define MOORDYN_INVALID_INPUT_FILE   -1
 Invalid input file path.
 
#define MOORDYN_INVALID_OUTPUT_FILE   -2
 Invalid output file path.
 
#define MOORDYN_INVALID_INPUT   -3
 Invalid input in the input file.
 
#define MOORDYN_NAN_ERROR   -4
 NaN detected.
 
#define MOORDYN_MEM_ERROR   -5
 Memory errors, like filures allocating memory.
 
#define MOORDYN_INVALID_VALUE   -6
 Invalid values.
 
#define MOORDYN_NON_IMPLEMENTED   -7
 Invalid values.
 
#define MOORDYN_UNHANDLED_ERROR   -255
 Unhandled error.
 

Detailed Description

A set of handful definitions