Mercurial > ~dholland > hg > ag > index.cgi
comparison help2html/support.h @ 0:13d2b8934445
Import AnaGram (near-)release tree into Mercurial.
author | David A. Holland |
---|---|
date | Sat, 22 Dec 2007 17:52:45 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:13d2b8934445 |
---|---|
1 | |
2 #define INTSTACKSIZE 64 | |
3 struct intstack { | |
4 int vals[INTSTACKSIZE]; | |
5 unsigned pos; | |
6 }; | |
7 | |
8 void intstack_init(struct intstack *is); | |
9 void intstack_push(struct intstack *, int); | |
10 int intstack_pop(struct intstack *); | |
11 int intstack_top(const struct intstack *); | |
12 | |
13 | |
14 struct stringdict; | |
15 | |
16 struct permutation { | |
17 int *v; | |
18 int num; | |
19 }; | |
20 | |
21 struct permutation *mySort(const struct stringdict *); | |
22 void permutation_destroy(struct permutation *); |