diff --git a/std/memory.sn b/std/memory.sn index 01e3336..acacae7 100644 --- a/std/memory.sn +++ b/std/memory.sn @@ -84,6 +84,6 @@ namespace std { } } -fn memcpy(source: void*, destination: void*, length: u64) : void* { +fn memcpy(destination: void*, source: void*, length: u64) : void* { return std::memory::copy(source, destination, length); }