misc/error.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include "mono.h"
#include "error.h"

Defines

#define MAX_MSG_LEN   256

Functions

void warn_printf (char *s)
void set_warn_func (void(*f)(char *s))
void clear_warn_func (void(*f)(char *s))
void set_exit_message (char *fmt,...)
void _Assert (int expr, char *expr_text, char *filename, int linenum)
void print_exit_message (void)
void Error (char *fmt,...)
void Warning (char *fmt,...)
int error_init (char *fmt,...)

Variables

int err_initialized = 0
char exit_message [MAX_MSG_LEN] = ""
char warn_message [MAX_MSG_LEN]
void(* warn_func )(char *s) = warn_printf

Define Documentation

#define MAX_MSG_LEN   256
 


Function Documentation

void _Assert int  expr,
char *  expr_text,
char *  filename,
int  linenum
 

void clear_warn_func void(*)(char *s)  f  ) 
 

void Error char *  fmt,
  ...
 

int error_init char *  fmt,
  ...
 

void print_exit_message void   ) 
 

void set_exit_message char *  fmt,
  ...
 

void set_warn_func void(*)(char *s)  f  ) 
 

void warn_printf char *  s  ) 
 

void Warning char *  fmt,
  ...
 


Variable Documentation

int err_initialized = 0
 

char exit_message[MAX_MSG_LEN] = ""
 

void(* warn_func)(char *s) = warn_printf
 

char warn_message[MAX_MSG_LEN]
 


Generated on Mon Aug 28 20:55:34 2006 for D1X-Rebirth by  doxygen 1.4.6