added stack overflow prevention
This commit is contained in:
parent
4dc2925b7a
commit
ed226eba6d
4 changed files with 24 additions and 14 deletions
|
|
@ -2001,7 +2001,8 @@ type
|
|||
procname*: cstring ## name of the proc that is currently executing
|
||||
line*: int ## line number of the proc that is currently executing
|
||||
filename*: cstring ## filename of the proc that is currently executing
|
||||
len*: int ## length of the inspectable slots
|
||||
len*: int16 ## length of the inspectable slots
|
||||
calldepth*: int16 ## used for max call depth checking
|
||||
|
||||
when defined(JS):
|
||||
proc add*(x: var string, y: cstring) {.asmNoStackFrame.} =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue