15 lines
248 B
C
15 lines
248 B
C
|
#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;
|
||
|
}
|
||
|
|
||
|
|