ARB
Macros | Functions
defines.c File Reference
#include "defines.h"
#include <stdlib.h>
#include <stdarg.h>
Include dependency graph for defines.c:

Go to the source code of this file.

Macros

#define MAXERRLEN   500
 

Functions

void error (cstr message)
 
void warning (cstr message)
 
void errorf (cstr format,...)
 
void warningf (cstr format,...)
 
void def_outOfMemory (cstr source, int lineno)
 
void def_assert (cstr whatFailed, cstr source, int lineno, int cnt)
 

Macro Definition Documentation

#define MAXERRLEN   500

Definition at line 5 of file defines.c.

Referenced by errorf(), and warningf().

Function Documentation

void error ( cstr  message)

Definition at line 7 of file defines.c.

Referenced by errorf().

void warning ( cstr  message)

Definition at line 11 of file defines.c.

Referenced by warningf().

void errorf ( cstr  format,
  ... 
)

Definition at line 14 of file defines.c.

References error(), MAXERRLEN, va_end(), and va_start().

Referenced by def_assert(), and def_outOfMemory().

void warningf ( cstr  format,
  ... 
)

Definition at line 24 of file defines.c.

References MAXERRLEN, va_end(), va_start(), and warning().

void def_outOfMemory ( cstr  source,
int  lineno 
)

Definition at line 34 of file defines.c.

References errorf().

void def_assert ( cstr  whatFailed,
cstr  source,
int  lineno,
int  cnt 
)

Definition at line 37 of file defines.c.

References errorf().