summaryrefslogtreecommitdiffstats
path: root/libdimension/object.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/object.c
parent7bc2770af08e317b2076540050c68d2de55a11db (diff)
downloaddimension-5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802.tar.xz
Don't use awkward (*fptr)() syntax.
Diffstat (limited to 'libdimension/object.c')
-rw-r--r--libdimension/object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/object.c b/libdimension/object.c
index 3896037..dda80f0 100644
--- a/libdimension/object.c
+++ b/libdimension/object.c
@@ -54,7 +54,7 @@ dmnsn_delete_object(dmnsn_object *object)
dmnsn_delete_interior(object->interior);
dmnsn_delete_texture(object->texture);
if (object->free_fn) {
- (*object->free_fn)(object->ptr);
+ object->free_fn(object->ptr);
}
dmnsn_free(object);
}
@@ -73,7 +73,7 @@ dmnsn_initialize_object(dmnsn_object *object)
}
if (object->initialize_fn) {
- (*object->initialize_fn)(object);
+ object->initialize_fn(object);
}
object->bounding_box