1/* struct::stack - critcl - layer 1 declarations
2 * (a) Data structures.
3 */
4
5#ifndef _DS_H
6#define _DS_H 1
7
8#include "tcl.h"
9
10/* Forward declarations of references to stacks.
11 */
12
13typedef struct S* SPtr;
14
15/* Node structure.
16 */
17
18/* Stack structure
19 */
20
21typedef struct S {
22    Tcl_Command cmd; /* Token of the object command for
23		      * the stack */
24    int      max;    /* Max number of objects in stack seen so far */
25    Tcl_Obj* stack;  /* List object holding the stack */
26} S;
27
28#endif /* _DS_H */
29
30/*
31 * Local Variables:
32 * mode: c
33 * c-basic-offset: 4
34 * fill-column: 78
35 * End:
36 */
37