From 3213568475aff1d67da763153ab484377d5c1497 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 1 Dec 2018 01:18:25 -0800 Subject: libix3: drop pointer from ix3_search_cb typedef --- src/ix3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ix3.c') diff --git a/src/ix3.c b/src/ix3.c index ea8e46d..ab5af8c 100644 --- a/src/ix3.c +++ b/src/ix3.c @@ -631,7 +631,7 @@ ix3_object_t * ix3_object_move(ix3_t *ix3, ix3_object_t *object, v3f_t *object_p /* Search for objects overlapping a point in index ix3. */ /* Returns number of cb calls performed on hits, if cb is NULL calls will be skipped but hits still counted for return. */ -unsigned ix3_search_by_point(ix3_t *ix3, v3f_t *point, ix3_search_cb cb, void *cb_context) +unsigned ix3_search_by_point(ix3_t *ix3, v3f_t *point, ix3_search_cb *cb, void *cb_context) { unsigned n_hits = 0; ix3_object_ref_t *ref, *_ref; @@ -737,7 +737,7 @@ static void search_node_by_aabb(ix3_node_t *node, bb3f_t *node_aabb, v3f_t *sear /* Search for objects overlapping an aabb in index ix3. */ /* Returns number of cb calls performed on hits, if cb is NULL calls will be skipped but hits still counted for return. */ -unsigned ix3_search_by_aabb(ix3_t *ix3, v3f_t *search_position, v3f_t *search_origin, bb3f_t *search_aabb, ix3_search_cb cb, void *cb_context) +unsigned ix3_search_by_aabb(ix3_t *ix3, v3f_t *search_position, v3f_t *search_origin, bb3f_t *search_aabb, ix3_search_cb *cb, void *cb_context) { unsigned n_hits = 0; LIST_HEAD (hits); -- cgit v1.2.3