Main Page | Modules | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages | Search

vvError.h

Go to the documentation of this file.
00001 
00008 #ifndef __VVERROR_H__
00009 #define __VVERROR_H__
00010 
00011 #include "vvutil/vvLog.h"
00012 #include "vvutil/vvConstants.h"
00013 
00014 #ifndef vvERROR
00015 #define vvERROR(status) do { int s = status; if (s != VV_OK) { vvLOG(VVLOG_DEBUG, "vvERROR status = %d (%s:%d)\n", s, __FILE__, __LINE__); return s; } } while (0)
00016 #endif
00017 
00018 //#define vvERROR(status) do { int s = status; if (s != VV_OK) return s; } while (0)
00019 
00020 
00021 #endif // __VVERROR_H__

Generated on Thu Dec 11 09:32:13 2003 for OCR Shop XTR/API User Documentation by doxygen 1.3.2