diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-18 08:58:32 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-10-18 08:58:32 +0200 |
| commit | 0dc33a4dd49eb560e98b24090969fd618a4c6198 (patch) | |
| tree | 77e7070bcbbcc9db4e0c5552ae83a33d3b2f9cfc /src/memops.cpp | |
| parent | c1d950f2765cde614c8411b4effb3850146ba598 (diff) | |
refactor memops
Diffstat (limited to 'src/memops.cpp')
| -rw-r--r-- | src/memops.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/memops.cpp b/src/memops.cpp index 09e592e..a05644a 100644 --- a/src/memops.cpp +++ b/src/memops.cpp @@ -38,3 +38,8 @@ void* memops::copy(void* destination, const void* source, size_t num) { return memcpy(destination, source, num); } + +void memops::zero(void* destination, size_t num) +{ + memset(destination, 0, num); +}
\ No newline at end of file |
