Added cmpMem export (#16484)
* added cmpMem export * updates * fix test * Tiny changelog change * Add a dot. Co-authored-by: Clyybber <darkmine956@gmail.com>
This commit is contained in:
parent
fc1a4faf56
commit
d5a3c2c2da
4 changed files with 81 additions and 49 deletions
|
|
@ -2182,6 +2182,8 @@ when notJSnotNims:
|
|||
memTrackerOp("moveMem", dest, size)
|
||||
proc equalMem(a, b: pointer, size: Natural): bool =
|
||||
nimCmpMem(a, b, size) == 0
|
||||
proc cmpMem(a, b: pointer, size: Natural): int =
|
||||
nimCmpMem(a, b, size)
|
||||
|
||||
when not defined(js):
|
||||
proc cmp(x, y: string): int =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue