1/* $Id$Revision: */
2/* vim:set shiftwidth=4 ts=8: */
3
4/**********************************************************
5* See the LICENSE file for copyright information. *
6**********************************************************/
7
8#ifndef INC_E_MISC_
9#define INC_E_MISC_
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15#include <stdlib.h>
16#include <setjmp.h>
17
18extern jmp_buf rb_jbuf;
19
20/* CONVENTIONS: All data structures for red-black trees have the prefix */
21/* "rb_" to prevent name conflicts. */
22/* */
23/* Function names: Each word in a function name begins with */
24/* a capital letter. An example funcntion name is */
25/* CreateRedTree(a,b,c). Furthermore, each function name */
26/* should begin with a capital letter to easily distinguish */
27/* them from variables. */
28/* */
29/* Variable names: Each word in a variable name begins with */
30/* a capital letter EXCEPT the first letter of the variable */
31/* name. For example, int newLongInt. Global variables have */
32/* names beginning with "g". An example of a global */
33/* variable name is gNewtonsConstant. */
34
35void Assert(int assertion, char* error);
36void * SafeMalloc(size_t size);
37
38#ifdef __cplusplus
39}
40#endif
41
42#endif
43
44