2018-02-28 09:05:45 +01:00
|
|
|
#include "mavl.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the element, where AVL Iterator currently is positioned.
|
|
|
|
* @param i AVL Iterator
|
|
|
|
* @return element or NULL if not found.
|
|
|
|
*/
|
2018-03-09 21:27:46 +01:00
|
|
|
void * mavliter_get(mavliter_t *i){
|
2018-02-28 09:05:45 +01:00
|
|
|
if(!i->cur)
|
|
|
|
return NULL;
|
2018-03-09 21:27:46 +01:00
|
|
|
/*return &i->cur->data; */
|
2018-02-28 09:05:45 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|