2003-09-21 14:24:53 -07:00
|
|
|
/*
|
2004-12-05 13:56:09 -08:00
|
|
|
Pyrogenesis.h
|
2003-09-21 14:24:53 -07:00
|
|
|
by Raj Sharma
|
|
|
|
|
rsharma@uiuc.edu
|
|
|
|
|
|
|
|
|
|
Standard declarations which are included in all projects.
|
|
|
|
|
*/
|
|
|
|
|
|
2004-12-05 13:56:09 -08:00
|
|
|
#ifndef PYROGENESIS_H
|
|
|
|
|
#define PYROGENESIS_H
|
2003-09-21 14:24:53 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef const char * PS_RESULT;
|
|
|
|
|
|
2004-06-10 19:14:18 -07:00
|
|
|
#define DEFINE_ERROR(x, y) PS_RESULT x=y
|
|
|
|
|
#define DECLARE_ERROR(x) extern PS_RESULT x
|
2003-09-21 14:24:53 -07:00
|
|
|
|
|
|
|
|
DECLARE_ERROR(PS_OK);
|
|
|
|
|
DECLARE_ERROR(PS_FAIL);
|
|
|
|
|
|
|
|
|
|
|
2005-05-11 11:56:30 -07:00
|
|
|
|
|
|
|
|
#define MICROLOG debug_wprintf_mem
|
|
|
|
|
|
2004-06-02 08:31:55 -07:00
|
|
|
#endif
|