This reverts commit 00c31e8766.
This commit is contained in:
parent
f5b4d9a2e5
commit
889b745b2b
11 changed files with 21 additions and 44 deletions
|
|
@ -2270,7 +2270,7 @@ type # these work for most platforms:
|
|||
## This is the same as the type ``short`` in *C*.
|
||||
cint* {.importc: "int", nodecl.} = int32
|
||||
## This is the same as the type ``int`` in *C*.
|
||||
csize* {.importc: "size_t", nodecl.} = uint
|
||||
csize* {.importc: "size_t", nodecl.} = int
|
||||
## This is the same as the type ``size_t`` in *C*.
|
||||
clonglong* {.importc: "long long", nodecl.} = int64
|
||||
## This is the same as the type ``long long`` in *C*.
|
||||
|
|
@ -3634,7 +3634,7 @@ when not defined(JS): #and not defined(nimscript):
|
|||
when declared(memTrackerOp):
|
||||
memTrackerOp("copyMem", dest, size)
|
||||
proc moveMem(dest, source: pointer, size: Natural) =
|
||||
c_memmove(dest, source, csize size)
|
||||
c_memmove(dest, source, size)
|
||||
when declared(memTrackerOp):
|
||||
memTrackerOp("moveMem", dest, size)
|
||||
proc equalMem(a, b: pointer, size: Natural): bool =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue