summaryrefslogtreecommitdiffstats
path: root/libdimension/bench
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-10-19 13:59:24 -0400
committerTavian Barnes <tavianator@gmail.com>2011-10-30 18:11:22 -0400
commit8e3a7158ecae541692826e7b5998c8ffc810173a (patch)
treebeda4f9f8604f77d0513d5fb02b7ddf53d203d09 /libdimension/bench
parente9810a7b1aae15320e58371b657a2f963562834d (diff)
downloaddimension-8e3a7158ecae541692826e7b5998c8ffc810173a.tar.xz
Make API more consistent.
Object methods should be dmnsn_<object>_<fn>().
Diffstat (limited to 'libdimension/bench')
-rw-r--r--libdimension/bench/polynomial.c4
-rw-r--r--libdimension/bench/prtree.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/bench/polynomial.c b/libdimension/bench/polynomial.c
index 0313060..b66648c 100644
--- a/libdimension/bench/polynomial.c
+++ b/libdimension/bench/polynomial.c
@@ -64,8 +64,8 @@ main(void)
}
for (size_t i = 0; i < NPOLY; ++i) {
- sandglass_bench_fine(&sandglass, dmnsn_solve_polynomial(p[i], i + 1, x));
- printf("dmnsn_solve_polynomial(x^%zu): %ld\n", i + 1, sandglass.grains);
+ sandglass_bench_fine(&sandglass, dmnsn_polynomial_solve(p[i], i + 1, x));
+ printf("dmnsn_polynomial_solve(x^%zu): %ld\n", i + 1, sandglass.grains);
}
return EXIT_SUCCESS;
diff --git a/libdimension/bench/prtree.c b/libdimension/bench/prtree.c
index 7db2bbc..6f0908a 100644
--- a/libdimension/bench/prtree.c
+++ b/libdimension/bench/prtree.c
@@ -84,7 +84,7 @@ main(void)
dmnsn_object *object = dmnsn_new_fake_object();
object->texture = texture;
DMNSN_INCREF(object->texture);
- dmnsn_initialize_object(object);
+ dmnsn_object_initialize(object);
dmnsn_array_push(objects, &object);
}