Removing errlib.h: unused, unimplemented: uninteresting.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@91 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2002-09-27 22:00:29 +00:00
parent 29cc9d1426
commit 6f5dab6d17
3 changed files with 1 additions and 53 deletions
-4
View File
@@ -530,10 +530,6 @@ SOURCE=..\sc2code\libs\declib.h
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\sc2code\libs\errlib.h
# End Source File
# Begin Source File
SOURCE=..\sc2code\libs\gfxlib.h SOURCE=..\sc2code\libs\gfxlib.h
# End Source File # End Source File
# Begin Source File # Begin Source File
+1 -1
View File
@@ -2,7 +2,7 @@ SUBDIRS = decomp graphics input math memory resource sound strings \
task threads time video task threads time video
noinst_HEADERS = \ noinst_HEADERS = \
compiler.h declib.h errlib.h gfxlib.h inplib.h mathlib.h \ compiler.h declib.h gfxlib.h inplib.h mathlib.h \
memlib.h reslib.h sndlib.h strlib.h tasklib.h threadlib.h \ memlib.h reslib.h sndlib.h strlib.h tasklib.h threadlib.h \
timelib.h vargs.h vidlib.h misc.h timelib.h vargs.h vidlib.h misc.h
-48
View File
@@ -1,48 +0,0 @@
//Copyright Paul Reiche, Fred Ford. 1992-2002
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef _ERRLIB_H
#define _ERRLIB_H
#include "compiler.h"
#include "vargs.h"
typedef SWORD ERR_ID;
typedef DWORD ERR_NO;
typedef BOOLEAN ERR_BOOL;
#define ERR_FAILURE FALSE
#define ERR_SUCCESS TRUE
typedef enum
{
ERR_IN_MEMORY,
ERR_IN_FILE
} ERR_LOC;
extern ERR_ID err_register (PSTR module_name, ERR_LOC err_loc, PSTR
err_string_path, COUNT num_errors);
extern ERR_BOOL err_unregister (ERR_ID err_id);
extern ERR_BOOL err_push (ERR_ID err_id, PSTR func_name, ERR_NO err_no,
vararg_dcl alist, ...);
extern ERR_BOOL err_clear (void);
extern ERR_BOOL err_report (ERR_BOOL (*err_func) (COUNT top_stack, PSTR
mname, PSTR fname, PSTR pStr));
#endif /* _ERRLIB_H */