summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2023-03-18 12:22:34 +0100
committerYves Orton <demerphq@gmail.com>2023-03-19 05:27:01 +0800
commit4d51d5bc07c99bc5811ccbae1503b27d813e0743 (patch)
treeff38500149226af0ce009e6acd0e75653ec24656 /dist
parent0d5b46c9e4cecc121ba79df380cde0ae037d16f7 (diff)
downloadperl-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 'dist')
-rw-r--r--dist/Devel-PPPort/parts/embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/Devel-PPPort/parts/embed.fnc b/dist/Devel-PPPort/parts/embed.fnc
index 72aba78d51..e4b9a31259 100644
--- a/dist/Devel-PPPort/parts/embed.fnc
+++ b/dist/Devel-PPPort/parts/embed.fnc
@@ -523,7 +523,7 @@
:
: U autodoc.pl will not output a usage example
:
-: W Add a _pDEPTH argument to function prototypes, and an _aDEPTH
+: 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.