tesseract
4.0.0-1-g2a2b
|
#include "oldlist.h"
#include <cstdio>
#include <cstring>
#include "errcode.h"
#include "structures.h"
Go to the source code of this file.
Macros | |
#define | add_on(l, x) l = push(l, first_node(x)) |
#define | next_one(l) l = list_rest(l) |
Functions | |
int | count (LIST var_list) |
LIST | delete_d (LIST list, void *key, int_compare is_equal) |
LIST | delete_d (LIST list, void *key, TessResultCallback2< int, void *, void *> *is_equal) |
LIST | destroy (LIST list) |
void | destroy_nodes (LIST list, void_dest destructor) |
void | insert (LIST list, void *node) |
int | is_same (void *item1, void *item2) |
LIST | join (LIST list1, LIST list2) |
LIST | last (LIST var_list) |
void * | nth_cell (LIST var_list, int item_num) |
LIST | pop (LIST list) |
LIST | push (LIST list, void *element) |
LIST | push_last (LIST list, void *item) |
LIST | reverse (LIST list) |
LIST | reverse_d (LIST list) |
LIST | s_adjoin (LIST var_list, void *variable, int_compare compare) |
LIST | search (LIST list, void *key, int_compare is_equal) |
LIST | search (LIST list, void *key, TessResultCallback2< int, void *, void *> *is_equal) |
#define add_on | ( | l, | |
x | |||
) | l = push(l, first_node(x)) |
Definition at line 87 of file oldlist.cpp.
#define next_one | ( | l | ) | l = list_rest(l) |
Definition at line 88 of file oldlist.cpp.
int count | ( | LIST | var_list | ) |
Definition at line 98 of file oldlist.cpp.
LIST delete_d | ( | LIST | list, |
void * | key, | ||
int_compare | is_equal | ||
) |
Definition at line 114 of file oldlist.cpp.
LIST delete_d | ( | LIST | list, |
void * | key, | ||
TessResultCallback2< int, void *, void *> * | is_equal | ||
) |
Definition at line 140 of file oldlist.cpp.
Definition at line 170 of file oldlist.cpp.
Definition at line 186 of file oldlist.cpp.
void insert | ( | LIST | list, |
void * | node | ||
) |
Definition at line 201 of file oldlist.cpp.
int is_same | ( | void * | item1, |
void * | item2 | ||
) |
Definition at line 220 of file oldlist.cpp.
Definition at line 231 of file oldlist.cpp.
Definition at line 242 of file oldlist.cpp.
void* nth_cell | ( | LIST | var_list, |
int | item_num | ||
) |
Definition at line 252 of file oldlist.cpp.
Definition at line 266 of file oldlist.cpp.
Definition at line 283 of file oldlist.cpp.
Definition at line 297 of file oldlist.cpp.
Definition at line 314 of file oldlist.cpp.
Definition at line 327 of file oldlist.cpp.
LIST s_adjoin | ( | LIST | var_list, |
void * | variable, | ||
int_compare | compare | ||
) |
Definition at line 339 of file oldlist.cpp.
LIST search | ( | LIST | list, |
void * | key, | ||
int_compare | is_equal | ||
) |
Definition at line 366 of file oldlist.cpp.
LIST search | ( | LIST | list, |
void * | key, | ||
TessResultCallback2< int, void *, void *> * | is_equal | ||
) |
Definition at line 373 of file oldlist.cpp.