Skip to content

Commit

Permalink
document mem more, wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli committed Dec 11, 2024
1 parent 9dbdea9 commit a80ae0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stdlib/mem.jou
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ declare memset(dest: void*, fill_byte: int, size: long) -> void*
# - it may be slightly faster.
declare memcpy(dest: void*, source: void*, size: long) -> void* # copy memory, overlaps are UB
declare memmove(dest: void*, source: void*, size: long) -> void* # copy memory, overlaps are ok

# Swaps the contents of two memory regions of the same size.
# This does nothing if the memory regions

0 comments on commit a80ae0d

Please sign in to comment.