Exodus 8.24
Loading...
Searching...
No Matches
ex_copy.c File Reference
#include "exodusII.h"
#include "exodusII_int.h"

Macros

#define STRINGIFY(x)
 
#define TOSTRING(x)
 
#define EXCHECK(funcall)
 
#define EXCHECKI(funcall)
 
#define EXCHECKF(funcall)
 

Functions

int ex_copy (int in_exoid, int out_exoid)
 
int ex_copy_transient (int in_exoid, int out_exoid)
 

Macro Definition Documentation

◆ EXCHECK

#define EXCHECK ( funcall)
Value:
if ((funcall) != NC_NOERR) { \
fprintf(stderr, "Error calling %s\n", TOSTRING(funcall)); \
EX_FUNC_LEAVE(EX_FATAL); \
}
#define TOSTRING(x)
Definition ex_copy.c:13
@ EX_FATAL
Definition exodusII.h:1967
Examples
/test/CreateEdgeFace.c, /test/ReadEdgeFace.c, /test/testwt-oned.c, /test/testwt.c, and /test/testwt_clb.c.

◆ EXCHECKF

#define EXCHECKF ( funcall)
Value:
if ((funcall) != NC_NOERR) { \
fprintf(stderr, "Error calling %s\n", TOSTRING(funcall)); \
goto err_ret; \
}

◆ EXCHECKI

#define EXCHECKI ( funcall)
Value:
if ((funcall) != NC_NOERR) { \
fprintf(stderr, "Error calling %s\n", TOSTRING(funcall)); \
return EX_FATAL; \
}

◆ STRINGIFY

#define STRINGIFY ( x)
Value:
#x

◆ TOSTRING

#define TOSTRING ( x)
Value:
#define STRINGIFY(x)
Definition ex_copy.c:12