|
Tesseract 3.01
|
#include <stdio.h>Go to the source code of this file.
Classes | |
| struct | array_record |
Defines | |
| #define | DEFAULT_SIZE 2 |
| #define | array_count(a) ((a)->top) |
| #define | array_free memfree |
| #define | array_index(a, i) ((i<array_count(a)) ? (a)->base[i] : 0) |
| #define | array_limit(a) ((a)->limit) |
| #define | array_loop(a, x) for (x=0; x < array_count (a); x++) |
| #define | array_top(a) ((a)->base[array_count (a) - 1]) |
| #define | array_value(a, i) ((a)->base[i]) |
Typedefs | |
| typedef struct array_record * | ARRAY |
| typedef void(* | voidProc )() |
| typedef int(* | intProc )() |
Functions | |
| ARRAY | array_insert (ARRAY array, int index, void *value) |
| ARRAY | array_new (int num) |
| ARRAY | array_push (ARRAY array, void *value) |
| #define array_count | ( | a | ) | ((a)->top) |
| #define array_free memfree |
| #define array_index | ( | a, | |
| i | |||
| ) | ((i<array_count(a)) ? (a)->base[i] : 0) |
| #define array_limit | ( | a | ) | ((a)->limit) |
| #define array_loop | ( | a, | |
| x | |||
| ) | for (x=0; x < array_count (a); x++) |
| #define array_top | ( | a | ) | ((a)->base[array_count (a) - 1]) |
| #define array_value | ( | a, | |
| i | |||
| ) | ((a)->base[i]) |
| #define DEFAULT_SIZE 2 |
| typedef struct array_record * ARRAY |
| typedef int(* intProc)() |
| typedef void(* voidProc)() |
| ARRAY array_new | ( | int | num | ) |