Skip to content

Commit e5789c6

Browse files
committed
fix: Inverse memcpy destination and source arguments
1 parent 57095fc commit e5789c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/memory.sn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ namespace std {
8484
}
8585
}
8686

87-
fn memcpy(source: void*, destination: void*, length: u64) : void* {
87+
fn memcpy(destination: void*, source: void*, length: u64) : void* {
8888
return std::memory::copy(source, destination, length);
8989
}

0 commit comments

Comments
 (0)