From 0dc33a4dd49eb560e98b24090969fd618a4c6198 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sat, 18 Oct 2025 08:58:32 +0200 Subject: refactor memops --- src/memops.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/memops.cpp') 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 -- cgit v1.2.3-70-g09d2