aboutsummaryrefslogtreecommitdiff
path: root/src/array.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-10-23 14:46:52 +0100
committerGinger Bill <bill@gingerbill.org>2016-10-23 14:46:52 +0100
commitbd5d095de4a3a3de574f6004751718ee944417cc (patch)
tree0eaceb775794fe21073c2b4159287ae08b99c3e3 /src/array.cpp
parentf60dc7b0a7f8bf8122df0fa3b4d12603a9775f87 (diff)
Separate ssa_struct_gep and ssa_array_gep procedures
Diffstat (limited to 'src/array.cpp')
-rw-r--r--src/array.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/array.cpp b/src/array.cpp
index e50863637..127e49f89 100644
--- a/src/array.cpp
+++ b/src/array.cpp
@@ -18,7 +18,7 @@ struct Array {
}
};
-template <typename T> void array_init (Array<T> *array, gbAllocator a, isize init_capacity = 8);
+template <typename T> void array_init (Array<T> *array, gbAllocator a, isize init_capacity = ARRAY_GROW_FORMULA(0));
template <typename T> Array<T> array_make (T *data, isize count, isize capacity);
template <typename T> void array_free (Array<T> *array);
template <typename T> void array_add (Array<T> *array, T const &t);