# SwEng (reduce full recompiles by splitting up master error header)

- error codes now accessed as ERR::NO_MEM, INFO::OK etc.
- no more X-macros => the above are now recognized by visual assist
- error codes are defined by the module originating them (lib_errors has
some generic ones)
  => no full rebuild when adding some
- error descriptions are now in C++ files => can be changed without full
rebuild

added AT_STARTUP in lib.h.

This was SVN commit r4374.
This commit is contained in:
janwas
2006-09-22 13:19:40 +00:00
parent 05aadf1f12
commit 871cdb6ef9
123 changed files with 1784 additions and 1486 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ void ScriptingHost::RunScript(const CStr& filename, JSObject* globalObject)
FileIOBuf buf;
size_t size;
if(vfs_load(fn, buf, size) != INFO_OK) // ERRTODO: translate/pass it on
if(vfs_load(fn, buf, size) != INFO::OK) // ERRTODO: translate/pass it on
throw PSERROR_Scripting_LoadFile_OpenFailed();
const char* script = (const char*)buf;