]> ncurses.scripts.mit.edu Git - ncurses.git/blob - panel/panel.priv.h
ncurses 4.1
[ncurses.git] / panel / panel.priv.h
1 /* $Id: panel.priv.h,v 1.4 1997/04/05 23:38:02 tom Exp $ */
2
3 #ifndef _PANEL_PRIV_H
4 #define _PANEL_PRIV_H
5
6 #if HAVE_CONFIG_H
7 #  include <ncurses_cfg.h>
8 #endif
9
10 #include <stdlib.h>
11 #include <assert.h>
12
13 #if HAVE_LIBDMALLOC
14 #include <dmalloc.h>    /* Gray Watson's library */
15 #endif
16
17 #if HAVE_LIBDBMALLOC
18 #include <dbmalloc.h>   /* Conor Cahill's library */
19 #endif
20
21 #include "panel.h"
22
23
24 #if ( CC_HAS_INLINE_FUNCS && !defined(TRACE) )
25 #  define INLINE inline
26 #else
27 #  define INLINE
28 #endif
29
30
31 typedef struct panelcons
32 {
33   struct panelcons *above;
34   struct panel *pan;
35 } PANELCONS;
36
37 #ifdef TRACE
38 #  define dBug(x) _tracef x
39 #else
40 #  define dBug(x)
41 #endif
42
43 #ifdef USE_RCS_IDS
44 #define MODULE_ID(id) static const char Ident[] = id;
45 #else
46 #define MODULE_ID(id) /*nothing*/
47 #endif
48
49 #define P_TOUCH  (0)
50 #define P_UPDATE (1)
51
52 #endif