make goto based exceptions available for 'nim cpp' (#13244)
* make goto based exceptions available for 'nim cpp' * optimize seq.add to be comparable to C++'s emplace_back
This commit is contained in:
parent
4f3dd33509
commit
6efac70181
11 changed files with 29 additions and 18 deletions
|
|
@ -80,7 +80,7 @@ proc addEntry(entry: LogEntry) =
|
|||
#inc gLog.count
|
||||
#gLog.disabled = false
|
||||
|
||||
proc memTrackerWrite(address: pointer; size: int; file: cstring; line: int) {.compilerProc.} =
|
||||
proc memTrackerWrite(address: pointer; size: int; file: cstring; line: int) {.compilerproc.} =
|
||||
addEntry LogEntry(op: "write", address: address,
|
||||
size: size, file: file, line: line, thread: myThreadId())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue