diff options
author | Yves Orton <demerphq@gmail.com> | 2023-03-18 12:22:34 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-03-19 05:27:01 +0800 |
commit | 4d51d5bc07c99bc5811ccbae1503b27d813e0743 (patch) | |
tree | ff38500149226af0ce009e6acd0e75653ec24656 /embed.fnc | |
parent | 0d5b46c9e4cecc121ba79df380cde0ae037d16f7 (diff) | |
download | perl-4d51d5bc07c99bc5811ccbae1503b27d813e0743.tar.gz |
regen/embed.pl - change _aDEPTH and _pDEPTH to not have a leading underbar
The leading underbar is reserved by C.
These defines are debugging only "recursion" depth related counters
injected into the function macro wrappers when a function is marked as
'W', much the same way that aTHX_ and pTHX_ are when building under
threaded builds. The functions are expected to incremented the depth
parameter themselves. Note that "recursion" is quoted above because in
practice currently they are only used by the regex engine when recursing
virtually, and they do not relate to true C stack related recursion.
(But they could be used for tracking C level recursion under debugging
if someone needed it.)
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -557,7 +557,7 @@ : : 'U' autodoc.pl will not output a usage example : -: 'W' Add a _pDEPTH argument to function prototypes, and an _aDEPTH argument +: 'W' Add a comma_pDEPTH argument to function prototypes, and a comma_aDEPTH argument : to the function calls. This means that under DEBUGGING a depth : argument is added to the functions, which is used for example by the : regex engine for debugging and trace output. A non DEBUGGING build |