forked from borsboom/vocoder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.h
20 lines (16 loc) · 769 Bytes
/
error.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/******************************************************************************
* $Id: error.h,v 1.4 2002/09/20 02:30:51 emanuel Exp $
* Copyright (C) 1998,2002 Emanuel Borsboom <[email protected]>
* Permission is granted to make any use of this code subject to the condition
* that all copies contain this notice and an indication of what has been
* changed.
*****************************************************************************/
#ifndef ERROR_H_INCLUDED
#define ERROR_H_INCLUDED
typedef void (*ERROR_DISPLAY_CB)(char *msg);
extern ERROR_DISPLAY_CB error_display_cb;
void error_display(char *fmt, ...);
void *error_malloc(size_t size);
void *error_calloc(size_t number, size_t size);
FILE *error_fopen(char *path, char *mode);
#endif /* ERROR_H_INCLUDED */