diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-10-19 13:59:24 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-10-30 18:11:22 -0400 |
commit | 8e3a7158ecae541692826e7b5998c8ffc810173a (patch) | |
tree | beda4f9f8604f77d0513d5fb02b7ddf53d203d09 /libdimension/dimension/map.h | |
parent | e9810a7b1aae15320e58371b657a2f963562834d (diff) | |
download | dimension-8e3a7158ecae541692826e7b5998c8ffc810173a.tar.xz |
Make API more consistent.
Object methods should be dmnsn_<object>_<fn>().
Diffstat (limited to 'libdimension/dimension/map.h')
-rw-r--r-- | libdimension/dimension/map.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/dimension/map.h b/libdimension/dimension/map.h index 0355557..7e12e7e 100644 --- a/libdimension/dimension/map.h +++ b/libdimension/dimension/map.h @@ -49,7 +49,7 @@ void dmnsn_delete_map(dmnsn_map *map); * @param[in] n The index of the entry. * @param[in] obj The value of the entry. */ -void dmnsn_add_map_entry(dmnsn_map *map, double n, const void *obj); +void dmnsn_map_add_entry(dmnsn_map *map, double n, const void *obj); /** * Return the number of entries in a map. @@ -66,7 +66,7 @@ size_t dmnsn_map_size(const dmnsn_map *map); * @param[out] obj1 The first object. * @param[out] obj2 The second object. */ -void dmnsn_evaluate_map(const dmnsn_map *map, double n, +void dmnsn_map_evaluate(const dmnsn_map *map, double n, double *val, void *obj1, void *obj2); /** |