Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

error.h

Go to the documentation of this file.
00001 /*********************************************************************
00002  *   Copyright 1993, University Corporation for Atmospheric Research
00003  *   See netcdf/COPYRIGHT file for copying and redistribution conditions.
00004  *   $Header $
00005  *********************************************************************/
00006 
00007 #ifdef __cplusplus
00008 extern "C" {
00009 #endif
00010 
00011 /* Print error message to stderr, don't exit */
00012 extern void     error (const char *fmt, ...);
00013 
00014 void print(const char *fmt, ...);
00015 
00016 extern int ifFail(const int expr, const int line, const char *file);
00017 
00018 extern void
00019 print_n_size_t(size_t nelems, const size_t *array);
00020 
00021 #ifdef __cplusplus
00022 }
00023 #endif
00024 
00025 #define IF(EXPR) if (ifFail(EXPR, __LINE__, __FILE__))
 

Powered by Plone

This site conforms to the following standards: