diff options
Diffstat (limited to 'src/array.hpp')
| -rw-r--r-- | src/array.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/array.hpp b/src/array.hpp index db8c564..46eab2e 100644 --- a/src/array.hpp +++ b/src/array.hpp @@ -26,6 +26,10 @@ void PkeArray_HardReset(PkeArray_Base *arrIn) { arr->data = CAFE_BABE(D); } +inline void PkeArray_SoftReset(PkeArray_Base *arrIn) { + arrIn->next = 0; +} + template<typename D> inline void PkeArray_Add(PkeArray_Base *arrIn, const D &val, MemBucket *bkt = nullptr) { auto *arr = static_cast<PkeArray<D> *>(arrIn); |
