File: types.h

package info (click to toggle)
libarr 0.1-49
  • links: PTS
  • area: main
  • in suites: woody
  • size: 376 kB
  • ctags: 400
  • sloc: ansic: 2,106; makefile: 140; sh: 13
file content (27 lines) | stat: -rw-r--r-- 466 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * $Id: types.h,v 1.5 2001/07/16 23:02:57 doviende Exp $
 */

#if !defined(__include_types_h__)
#define __include_types_h__

/*
 * This `types.h' should be included by most of the source files in this tree.
 */
#if defined(__STDC__) || defined(__GNUC__)
typedef void ptr_t;
#else
typedef char ptr_t;
#endif

/* XXX platform specific type definitions:
 */

typedef unsigned long ptr_size_t;

#undef	NULL
#define NULL ((ptr_t *) 0)

#define NUL  ((char) 0)

#endif