mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 16:17:47 +00:00
LibC: Implement twalk
This commit is contained in:
parent
7448626bae
commit
4b423a5ec7
3 changed files with 145 additions and 0 deletions
|
@ -8,7 +8,15 @@
|
|||
|
||||
__BEGIN_DECLS
|
||||
|
||||
typedef enum {
|
||||
preorder,
|
||||
postorder,
|
||||
endorder,
|
||||
leaf,
|
||||
} VISIT;
|
||||
|
||||
void* tsearch(const void*, void**, int (*)(const void*, const void*));
|
||||
void* tfind(const void*, void* const*, int (*)(const void*, const void*));
|
||||
void twalk(const void*, void (*)(const void*, VISIT, int));
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue