Skip to content

Commit 96a7727

Browse files
committed
embed.fnc: Update E flag description
It's been true for some time that with the E flag, the i and I flags can be used instead of the p or S flags. But the comments did not get updated until this commit.
1 parent a81c01f commit 96a7727

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

embed.fnc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
: The 'E' flag is used instead for a function and its short name that is
117117
: supposed to be used only in the core plus extensions compiled with
118118
: the PERL_EXT symbol defined. Again, on some platforms, the function
119-
: will be visible everywhere, so one of the 'p' or 'S' flags is
119+
: will be visible everywhere, so one of the /[iIpS]/ flags are
120120
: generally needed. Also note that an XS writer can always cheat and
121121
: pretend to be an extension by #defining PERL_EXT.
122122
:
@@ -365,7 +365,7 @@
365365
: into "#if defined(PERL_CORE) || defined(PERL_EXT)"
366366
:
367367
: To be usable from dynamically loaded extensions, either:
368-
: 1) it must be static to its containing file ('i' or 'S' flag); or
368+
: 1) it must be static to its containing file (/[iIS]/ flags); or
369369
: 2) be combined with the 'X' flag.
370370
:
371371
: 'e' Not exported

0 commit comments

Comments
 (0)