rbtree

view test/rbshell/sym.h @ 15:1b77b72688fe

- fixed bug in rb_init making it ignore comparison functions other than the builtin - fixed rb_find and rb_findi return type, which should be struct rbnode*, not void*
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 02 Nov 2014 11:00:27 +0200
parents
children
line source
1 #ifndef SYM_H_
2 #define SYM_H_
4 int init_sym(void);
5 void destroy_sym(void);
7 int add_sym(const char *name, int id, int arity);
9 int sym_lookup(const char *str);
10 int sym_arity(const char *str);
12 #endif /* SYM_H_ */