AeErr.h
474 Bytes
#ifndef __AeErr__
#define __AeErr__
typedef int AeErr;
enum
{
kAeNoErr = 0,
kAeLowMemErr = -10,
kAeFileNoSupport = -100,
kAeFileCantOpen = -101,
kAeFileBadRead = -102,
kAeFileBadWrite = -103,
kAeN64OpenErr = -200,
kAeN64ResetErr = -201,
kAeN64WriteErr = -202,
kAeN64ReadErr = -203,
kAeN64LowMemErr = -204
};
#define FailNIL(a) if (!a) GlobalReportError (kAeLowMemErr)
void GlobalReportError (AeErr);
#endif __AeErr__