diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-06-14 01:48:35 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-06-14 01:48:35 +0000 |
commit | 3ce0bfcd0e16d909b7495f07c9e8a82e4781ee88 (patch) | |
tree | 98ba25a085f0a06ab41a152fff3f065909611a91 /libdimension/dimension/array.h | |
parent | 9f8055ac23b829babe5ed469251435b64ac82831 (diff) | |
download | dimension-3ce0bfcd0e16d909b7495f07c9e8a82e4781ee88.tar.xz |
Make raytracing engine multi-threaded.
Diffstat (limited to 'libdimension/dimension/array.h')
-rw-r--r-- | libdimension/dimension/array.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libdimension/dimension/array.h b/libdimension/dimension/array.h index 9ee3584..0a64952 100644 --- a/libdimension/dimension/array.h +++ b/libdimension/dimension/array.h @@ -38,8 +38,9 @@ dmnsn_array *dmnsn_new_array(size_t obj_size); void dmnsn_array_push(dmnsn_array *array, const void *obj); void dmnsn_array_pop(dmnsn_array *array, void *obj); -void dmnsn_array_get(const dmnsn_array *array, size_t i, void *obj); -void dmnsn_array_set(dmnsn_array *array, size_t i, const void *obj); +void *dmnsn_array_at(dmnsn_array *array, size_t i); +void dmnsn_array_get(const dmnsn_array *array, size_t i, void *obj); +void dmnsn_array_set(dmnsn_array *array, size_t i, const void *obj); void dmnsn_array_resize(dmnsn_array *array, size_t length); |