Make ESTP compile
This commit is contained in:
parent
afd8a902a9
commit
dfdd84f2c9
2 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ proc captureStackTrace(f: PFrame, st: var TStackTrace) =
|
|||
|
||||
when defined(memProfiler):
|
||||
type
|
||||
TMemProfilerHook* = proc (st: TStackTrace, requestedSize: int) {.nimcall.}
|
||||
TMemProfilerHook* = proc (st: TStackTrace, requestedSize: int) {.nimcall, benign.}
|
||||
var
|
||||
profilerHook*: TMemProfilerHook
|
||||
## set this variable to provide a procedure that implements a profiler in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue