mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix typo
Co-authored-by: FourteenBrush <74827262+FourteenBrush@users.noreply.github.com>
This commit is contained in:
co-authored by
FourteenBrush
parent
f8cd13767e
commit
1842cd6297
+1
-1
@@ -98,7 +98,7 @@ compiler assumes volatile semantics of the memory.
|
|||||||
*/
|
*/
|
||||||
zero_explicit :: proc "contextless" (data: rawptr, len: int) -> rawptr {
|
zero_explicit :: proc "contextless" (data: rawptr, len: int) -> rawptr {
|
||||||
// This routine tries to avoid the compiler optimizing away the call,
|
// This routine tries to avoid the compiler optimizing away the call,
|
||||||
// so that it is always executed. It is intended to provided
|
// so that it is always executed. It is intended to provide
|
||||||
// equivalent semantics to those provided by the C11 Annex K 3.7.4.1
|
// equivalent semantics to those provided by the C11 Annex K 3.7.4.1
|
||||||
// memset_s call.
|
// memset_s call.
|
||||||
intrinsics.mem_zero_volatile(data, len) // Use the volatile mem_zero
|
intrinsics.mem_zero_volatile(data, len) // Use the volatile mem_zero
|
||||||
|
|||||||
Reference in New Issue
Block a user