summaryrefslogtreecommitdiffstats
path: root/libdimension/prtree.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-04-03 21:30:15 -0400
committerTavian Barnes <tavianator@gmail.com>2011-04-03 21:30:15 -0400
commit5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802 (patch)
tree2b642b87d97ab13b050e1ef9323725c0bbd5b5c6 /libdimension/prtree.c
parent7bc2770af08e317b2076540050c68d2de55a11db (diff)
downloaddimension-5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802.tar.xz
Don't use awkward (*fptr)() syntax.
Diffstat (limited to 'libdimension/prtree.c')
-rw-r--r--libdimension/prtree.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/libdimension/prtree.c b/libdimension/prtree.c
index 3ee8fb9..69fac24 100644
--- a/libdimension/prtree.c
+++ b/libdimension/prtree.c
@@ -237,22 +237,22 @@ dmnsn_zmax_prnode_comp(const dmnsn_list_iterator *l,
/** Leaf node comparators. */
static dmnsn_list_comparator_fn *dmnsn_object_comparators[6] = {
- [DMNSN_XMIN] = &dmnsn_xmin_object_comp,
- [DMNSN_YMIN] = &dmnsn_ymin_object_comp,
- [DMNSN_ZMIN] = &dmnsn_zmin_object_comp,
- [DMNSN_XMAX] = &dmnsn_xmax_object_comp,
- [DMNSN_YMAX] = &dmnsn_ymax_object_comp,
- [DMNSN_ZMAX] = &dmnsn_zmax_object_comp
+ [DMNSN_XMIN] = dmnsn_xmin_object_comp,
+ [DMNSN_YMIN] = dmnsn_ymin_object_comp,
+ [DMNSN_ZMIN] = dmnsn_zmin_object_comp,
+ [DMNSN_XMAX] = dmnsn_xmax_object_comp,
+ [DMNSN_YMAX] = dmnsn_ymax_object_comp,
+ [DMNSN_ZMAX] = dmnsn_zmax_object_comp
};
/** Internal node comparators. */
static dmnsn_list_comparator_fn *dmnsn_prnode_comparators[6] = {
- [DMNSN_XMIN] = &dmnsn_xmin_prnode_comp,
- [DMNSN_YMIN] = &dmnsn_ymin_prnode_comp,
- [DMNSN_ZMIN] = &dmnsn_zmin_prnode_comp,
- [DMNSN_XMAX] = &dmnsn_xmax_prnode_comp,
- [DMNSN_YMAX] = &dmnsn_ymax_prnode_comp,
- [DMNSN_ZMAX] = &dmnsn_zmax_prnode_comp
+ [DMNSN_XMIN] = dmnsn_xmin_prnode_comp,
+ [DMNSN_YMIN] = dmnsn_ymin_prnode_comp,
+ [DMNSN_ZMIN] = dmnsn_zmin_prnode_comp,
+ [DMNSN_XMAX] = dmnsn_xmax_prnode_comp,
+ [DMNSN_YMAX] = dmnsn_ymax_prnode_comp,
+ [DMNSN_ZMAX] = dmnsn_zmax_prnode_comp
};
/** Select an extreme node based on a comparator. */