Work on ansi and clean Makefiles
FossilOrigin-Name: 0805f78d34219a2aac597a313081ce869c389e6b5d471c65c7f43d0906c0a400
This commit is contained in:
14
src/cw/mavliter_get.c
Normal file
14
src/cw/mavliter_get.c
Normal file
@ -0,0 +1,14 @@
|
||||
#include "mavl.h"
|
||||
|
||||
/**
|
||||
* Get the element, where AVL Iterator currently is positioned.
|
||||
* @param i AVL Iterator
|
||||
* @return element or NULL if not found.
|
||||
*/
|
||||
void * mavliter_get(mavliter_t *i){
|
||||
if(!i->cur)
|
||||
return NULL;
|
||||
return i->cur->data;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user