From 8e3a7158ecae541692826e7b5998c8ffc810173a Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 19 Oct 2011 13:59:24 -0400 Subject: Make API more consistent. Object methods should be dmnsn__(). --- libdimension/bench/polynomial.c | 4 ++-- libdimension/bench/prtree.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libdimension/bench') 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); } -- cgit v1.2.3