This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl.h: Move #defining SETLOCALE_LOCK
[perl5.git] / embed.fnc
CommitLineData
d7cb65f2 1: BEGIN{die "You meant to run regen/embed.pl"} # Stop early if fed to perl.
5a51db05 2:
8fb6968f 3: WARNING: The meanings of some flags have been changed as of v5.31.0
30628a6e 4:
8fb6968f
KW
5: This file is known to be processed by regen/embed.pl, autodoc.pl,
6: makedef.pl, Devel::PPPort, and porting/diag.t.
7:
dcd299b4
KW
8: This file contains entries for various functions and macros defined by perl.
9: Each entry includes the name, parameters, and various attributes about it.
10: In most functions listed here, the name is a short name, and the function's
11: real name is the short one, prefixed by either 'Perl_' (for publicly visible
12: functions) or 'S_' (for internal-to-a-file static ones). In many instances a
13: macro is defined that is the name in this file, and which expands to call the
14: real (full) name, with any appropriate thread context paramaters, thus hiding
15: that detail from the typical code.
16:
c510ef2d 17: Most macros (as opposed to function) listed here are the complete full name.
dcd299b4 18:
8fb6968f 19: All non-static functions defined by perl need to be listed in this file.
dcd299b4
KW
20: embed.pl uses the entries here to construct:
21: 1) proto.h to declare to the compiler the function interfaces; and
22: 2) embed.h to create short name macros
30628a6e 23:
dcd299b4 24: Static functions internal to a file need not appear here, but there is
c510ef2d
KW
25: benefit to declaring them here:
26: 1) It generally handles the thread context parameter invisibly making it
27: trivial to add or remove needing thread context passed;
28: 2) It defines a PERL_ARGS_ASSERT_foo macro, which can save you debugging
29: time;
30: 3) It is is automatically known to Devel::PPPort, making it quicker to
31: later find out when it came into existence. For example
32: perl ppport.h --api-info=/edit_distance/
33: yields
34: Supported at least since perl-5.23.8, with or without ppport.h.
8fb6968f
KW
35:
36: Lines in this file are of the form:
dcd299b4 37: flags|return_type|name|arg1|arg2|...|argN
94bdecf9 38:
caf8c6bc
KW
39: 'flags' is a string of single letters. Most of the flags are meaningful only
40: to embed.pl; some only to autodoc.pl, and others only to makedef.pl. The
dcd299b4 41: comments here mostly don't include how Devel::PPPort or diag.t use them:
d6b0b041 42: All the possible flags and their meanings are given below.
caf8c6bc 43:
8fb6968f
KW
44: A function taking no parameters will have no 'arg' elements.
45: A line may be continued onto the next by ending it with a backslash.
94bdecf9
JH
46: Leading and trailing whitespace will be ignored in each component.
47:
dcd299b4
KW
48: Most entries here have a macro created with the entry name. This presents
49: name space collision potentials which haven't been well thought out, but are
50: now documented here. In practice this has rarely been an issue. At least,
51: with a macro, the XS author can #undef it, unlike a function.
52:
d8bd2bed 53: The default without flags is to declare a function for internal perl-core use
dcd299b4
KW
54: only. The short name is visible only when the PERL_CORE symbol is defined.
55: On some platforms, such as Linux and Darwin, all non-static functions
caf8c6bc
KW
56: are currently externally visible. Because of this, and also for programs
57: that embed perl, most non-static functions should have the 'p' flag to avoid
58: namespace clashes.
59:
dcd299b4
KW
60: There are several advantages to using a macro instead of the full Perl_foo or
61: S_foo form: it hides the need to know if the called function requires a
62: thread context parameter or not, and the code using it is more readable
63: because of fewer parameters being visible. And if there is some bug in it
64: that gets fixed in a later release, ppport.h can be changed to automatically
65: backport the fixed version to modules. The only disadvantage khw can think
66: of is the namespace pollution one.
67:
68: Since we don't require a C compiler to support variadic macros (C99), the
69: macros can't be generated in such situations.
70:
71: WARNING: Any macro created in a header file is visible to XS code, unless
72: care is taken to wrap it within something like #ifdef PERL_CORE..#endif.
73: This has had to be done with things like MAX and MIN, but nearly everything
74: else has been created without regard to the namespace pollution problem.
75:
f0656a59
KW
76: Here's what else you need to know about using this file with regards to name
77: space pollution:
78:
79: The A flag is used to make a function and its short name visible everywhere
80: on all platforms. This should be used to make it part of Perl's
81: API contract with XS developers. The documentation for these is
82: usually placed in perlapi. If no documentation exists, that fact
83: is also noted in perlapi.
84:
85: The C flag is used instead for functions and their short names that need to
86: be accessible everywhere, typically because they are called from a
87: publicly available macro or inline function, but they are not for
88: public use by themselves. The documentation for these is placed
89: in perlintern. If no documentation exists, that fact is also
90: noted in perlintern.
91:
92: These really need the 'p' flag to avoid name space collisions.
93:
94: Some of these have been constructed so that the wrapper macro
95: names begin with an underscore to lessen the chances of a name
96: collision. However, this is contrary to the C standard, and those
97: should be changed.
98:
99: The E flag is used instead for a function and its short name that is supposed
d32aa8f7 100: to be used only in the core plus extensions compiled with the
f0656a59 101: PERL_EXT symbol defined. Again, on some platforms, the function
b31417ca
KW
102: will be visible everywhere, so one of the 'p' or 'S' flags is
103: generally needed. Also note that an XS writer can always cheat
104: and pretend to be an extension by #defining PERL_EXT.
f0656a59
KW
105:
106: The X flag is similar to the C flag in that the function (whose entry better
107: have the 'p' flag) is accessible everywhere on all platforms.
108: However the short name macro that normally gets generated is
109: suppressed outside the core. (Except it is also visible in
110: PERL_EXT extensions if the E flag is also specified.) This flag
111: is used for functions that are called from a public macro, the
112: name of which isn't derived from the function name. You'll have
113: to write the macro yourself, and from within it, refer to the
114: function in its full 'Perl_' form with any necessary thread
115: context parameter.
d8bd2bed 116:
c510ef2d
KW
117: Just below is a description of the relevant parts of the automatic
118: documentation generation system which heavily involves this file. Below that
119: is a description of all the flags used in this file.
120:
8fb6968f
KW
121: Scattered around the perl source are lines of the form:
122:
123: =for apidoc name
c510ef2d
KW
124: =for apidoc_item name
125:
126: followed by pod for that function. The purpose of these lines and the text
127: that immediately follows them is to furnish documentation for functions
128: and macros listed here in embed.fnc. The lines tend to be placed near the
129: source for the item they describe. autodoc.pl is run as part of the standard
130: build process to extract this documentation and build perlapi.pod from the
131: elements that are in the API (flagged as A in this file), and perlintern.pod
132: from the other elements.
133:
134: 'name' in the apidoc line corresponds to an item listed in this file, so that
135: the signature and flags need only be specified once, here, and automatically
136: they get placed into the generated pod.
137:
138: 'apidoc_item' is used for subsidiary entries, which share the same pod as the
139: plain apidoc one does. Thus the documentation for functions which do
140: essentially the same thing, but with minor differences can all be placed in
d32aa8f7
KW
141: the same entry. This avoids needless repetition, making the pod shorter, and
142: makes it easier to compare and contrast the different forms, and less jumping
143: around the pod file for the person reading it. The apidoc_item lines must
0e2d8b7e
KW
144: all come after the apidoc line and before the pod for the entry. There need
145: not be empty lines between the apidoc line and any of its apidoc_item lines.
c510ef2d
KW
146:
147: The entries in this file that have corresponding '=for apidoc' entries must
148: have the 'd' flag set in this file.
149:
150: In C files, the apidoc lines are inside comment blocks. They may also be
151: placed in pod files. In those, the =for causes lines from there until the
152: next line beginning with an '=' to not be considered part of that pod.
153:
154: The 'h' flag is used to hide (suppress) the pod associated with =apidoc lines
155: from being placed in the generated perlapi or perlintern. There are several
156: reasons you might want to do this, given in the 'h' flag description below,
157: but one is for the case where the =apidoc occurs in a file that contains
158: regular pod. Without that flag, the associated pod will be placed in both
159: it, and perlapi or perlintern. That may be what you want, but it gives you
160: the flexibility to choose that, or instead have just a link to the source pod
161: inserted in perlapi or perlintern. This allows single-source browsing for
162: someone; they don't have to scan multiple pods trying to find something
163: suitable.
164:
165: There are also lines of this form scattered around the perl
166: source:
167:
168: =for apidoc_section Section Name
169: =head1 Section Name
170:
171: These aren't tied to this embed.fnc file, and so are documented in autodoc.pl.
172:
173: What goes into the documentation of a particular function ends with the next
174: line that begins with an '='. In particular, an '=cut' line ends that
175: documentation without introducing something new.
176:
177: Various macros and other elements aren't listed here in embed.fnc. They are
178: documented in the same manner, but since they don't have this file to get
179: information from, the defining lines have the syntax and meaning they do in
180: this file, so it can be specified:
8fb6968f 181:
c510ef2d
KW
182: =for apidoc flags|return_type|name|arg1|arg2|...|argN
183: =for apidoc_item flags|return_type|name|arg1|arg2|...|argN
caf8c6bc 184:
c510ef2d
KW
185: The 'name' in any such line must not be the same as any in this file (i.e.,
186: no redundant definitions), and one of the flags on the apidoc lines must be
9e728159 187: 'm' or 'y', indicating it is not a function.
8fb6968f 188:
c510ef2d
KW
189: All but the name field of an apidoc_item line are optional, and if empty,
190: inherits from the controlling plain apidoc line. The flags field is
191: generally empty, and in fact, the only flags it can have are ones directly
192: related to its display. For example it might have the T flag to indicate no
193: thread context parameter is used, whereas the apidoc entry does have a thread
194: context. Here is an example:
195:
196: =for apidoc Am|char* |SvPV |SV* sv|STRLEN len
197: =for apidoc_item |const char*|SvPV_const |SV* sv|STRLEN len
198: =for apidoc_item |char* |SvPV_nolen |SV* sv
199:
200: Since these are macros, the arguments need not be legal C parameters. To
201: indicate this to downstream software that inspects these lines, there are a
202: few conventions. An example would be:
8fb6968f 203:
caf8c6bc
KW
204: =for apidoc Am|void|Newxc|void* ptr|int nitems|type|cast
205:
c510ef2d
KW
206: In this example, a real call of Newxc, 'type' would be specified as something
207: like 'int' or 'char', and 'cast' by perhaps 'struct foo'.
208:
209: The complete list of conventions is:
210: type the argument names a type
211: cast the argument names a type which the macro casts to
212: SP the argument is the stack pointer, SP
213: block the argument is a C brace-enclosed block
214: number the argument is a C numeric constant, like 3
215: token the argument is a generic C preprocessor token, like abc
216: "string" the argument is a literal C double-quoted string; what's important
217: here are the quotes; for clarity, you can say whatever you want
218: inside them
caf8c6bc 219:
c510ef2d
KW
220: Unlike other arguments, none of these is of the form 'int name'. There is no
221: name.
dcd299b4 222:
c510ef2d
KW
223: If any argument or return value is not one of the above, and isn't legal C
224: language, the entry still can be specified, using the 'u' flag.
225:
226: 'return_type' in these lines can be empty, unlike in this file:
227:
228: =for apidoc Amnu||START_EXTERN_C
8fb6968f
KW
229:
230: Devel::PPPort also looks at both this file and the '=for apidoc' lines. In
c510ef2d 231: part it is to construct lists of elements that are or are not backported.
8fb6968f 232:
dcd299b4
KW
233: makedef.pl uses this file for constructing the export list which lists the
234: symbols that should be available on all platforms.
8fb6968f
KW
235:
236: porting/diag.t checks some things for consistency based on this file.
237:
dcd299b4 238: The remainder of these introductory comments detail all the possible flags:
d412580b 239:
dcd299b4
KW
240: A Both long and short names are accessible fully everywhere (usually part
241: of the public API). If the function is not part of the public API,
ff5af78d 242: instead use C, E, or X.
d412580b 243:
dcd299b4
KW
244: add entry to the list of symbols available on all platforms
245: unless e or m are also specified;
246: any doc entry goes in perlapi.pod rather than perlintern.pod. If
247: there isn't a doc entry, autodoc.pl lists this in perlapi as
248: existing and being undocumented; unless x is also specified, in
249: which case it simply isn't listed.
250: makes the short name defined for everywhere, not just for
251: PERL_CORE/PERL_EXT
569ba91f 252:
dcd299b4
KW
253: a Allocates memory a la malloc/calloc. Also implies "R". This flag
254: should only be on a function which returns 'empty' memory which has no
255: other pointers to it, and which does not contain any pointers to other
256: things. So for example realloc() can't be 'a'.
d412580b
DM
257:
258: proto.h: add __attribute__malloc__
259:
3f1866a8
KW
260: b Binary backward compatibility. This is used for functions which are
261: kept only to not have to change legacy applications that call them. If
262: there are no such legacy applications in a Perl installation for all
263: functions flagged with this, the installation can run Configure with the
e24a96ba
KW
264: -Accflags='-DNO_MATHOMS' parameter to not even compile them.
265:
266: Sometimes the function has been subsumed by a more general one (say, by
dcd299b4
KW
267: adding a flags parameter), and a macro exists with the original short
268: name API, and it calls the new function, bypassing this one, and the
269: original 'Perl_' form is being deprecated. In this case also specify
270: the 'M' flag.
271:
272: Without the M flag, these functions should be deprecated, and it is an
273: error to not also specify the 'D' flag.
274:
275: The 'b' functions are normally moved to mathoms.c, but if circumstances
e24a96ba
KW
276: dictate otherwise, they can be anywhere, provided the whole function is
277: wrapped with
278: #ifndef NO_MATHOMS
279: ...
280: #endif
d412580b 281:
5ff52e3c
KW
282: Note that this flag no longer automatically adds a 'Perl_' prefix to the
283: name. Additionally specify 'p' to do that.
284:
3f1866a8 285: This flag effectively causes nothing to happen if the perl interpreter
dcd299b4
KW
286: is compiled with -DNO_MATHOMS (which causes any functions with this flag
287: to not be compiled); otherwise these happen:
288: add entry to the list of symbols available on all platforms;
d8bd2bed 289: create PERL_ARGS_ASSERT_foo;
dcd299b4 290: add embed.h entry (unless overridden by the 'M' or 'o' flags)
d412580b 291:
ff5af78d
KW
292: C Intended for core use only. This indicates to XS writers that they
293: shouldn't be using this function. Devel::PPPort informs them of this,
294: for example. Some functions have to be accessible everywhere even if
295: they are not intended for public use. An example is helper functions
296: that are called from inline ones that are publicly available.
297:
298: add entry to the list of symbols available on all platforms
299: unless e or m are also specified;
300: any doc entry goes in perlintern.pod rather than perlapi.pod. If
301: there isn't a doc entry, autodoc.pl lists this in perlintern as
302: existing and being undocumented
303: makes the short name defined for everywhere, not just for
304: PERL_CORE/PERL_EXT
305:
d412580b
DM
306: D Function is deprecated:
307:
308: proto.h: add __attribute__deprecated__
8fb6968f 309: autodoc.pl adds a note to this effect in the doc entry
d412580b 310:
6ef8d77a 311: d Function has documentation (somewhere) in the source:
d412580b 312:
64b17d72
KW
313: enables 'no docs for foo" warning in autodoc.pl if the documentation
314: isn't found.
d412580b
DM
315:
316: E Visible to extensions included in the Perl core:
317:
318: in embed.h, change "#ifdef PERL_CORE"
319: into "#if defined(PERL_CORE) || defined(PERL_EXT)"
320:
8fb6968f 321: To be usable from dynamically loaded extensions, either:
11ab6d3b 322: 1) it must be static to its containing file ("i" or "S" flag); or
d212d222 323: 2) be combined with the "X" flag.
23fb3b56 324:
5af72e99 325: e Not exported
30628a6e 326:
dcd299b4 327: suppress entry in the list of symbols available on all platforms
5af72e99 328:
d8bd2bed 329: f Function takes a format string. If the function name =~ qr/strftime/
dcd299b4 330: then it is assumed to take a strftime-style format string as the 1st
8069a3d0
KW
331: arg; otherwise it's assumed to take a printf style format string, not
332: necessarily the 1st arg. All the arguments following it (including
333: possibly '...') are assumed to be for the format.
d412580b 334:
8069a3d0 335: embed.h: any entry in here is suppressed because of varargs
d412580b
DM
336: proto.h: add __attribute__format__ (or ...null_ok__)
337:
29f5f37e
KW
338: F Function has a '...' parameter, but don't assume it is a format. This
339: is to make sure that new functions with formats can't be added without
340: considering if they are format functions or not. A reason to use this
341: flag even on a format function is if the format would generate
342: error: format string argument is not a string type
343:
2015d234
KW
344: G Suppress empty PERL_ARGS_ASSERT_foo macro. Normally such a macro is
345: generated for all entries for functions 'foo' in this file. If there is
346: a pointer argument to 'foo', it needs to be declared in this file as
347: either NN or NULLOK, and the function definition must call its
348: corresponding PERL_ARGS_ASSERT_foo macro (a porting test ensures this)
349: which asserts at runtime (under DEBUGGING builds) that NN arguments are
350: not NULL. If there aren't NN arguments, use of this macro is optional.
351: Rarely, a function will define its own PERL_ARGS_ASSERT_foo macro, and
352: in those cases, adding this flag to its entry in this file will suppress
353: the normal one. It is not possible to suppress the generated macro if
354: it isn't optional, that is, if there is at least one NN argument.
355:
356: proto.h: PERL_ARGS_ASSERT macro is not defined unless the function
357: has NN arguments
358:
c510ef2d
KW
359: h Hide any documentation that would normally go into perlapi or
360: perlintern. This is typically used when the documentation is actually
361: in another pod. If you don't use the 'h', that documentation is
362: displayed in both places; with the flag, it stays in the pod, and a
363: link to that pod is instead placed in perlapi or perlintern. This
364: allows one to browse perlapi or perlintern and see all the potentially
365: relevant elements. A good example is perlapio. It has documentation
366: about PerlIO functions with other text giving context. There's no point
367: in writing a second entry for perlapi, but it would be good if someone
d32aa8f7
KW
368: browsing perlapi knew about the function and where it is documented. By
369: adding '=for apidoc' lines in perlapio, the appropriate text could be
370: simply copied into perlapi if deemed appropriate, or just a link added
371: there when the 'h' flag is specified.
c510ef2d
KW
372: This flag is useful for symbolic names for flags. A single =for apidoc
373: line can be added to the pod where the meaning is discussed, and perlapi
374: will list the name, with a link to the pod. Another use would be if
375: there are a bunch of macros which follow a common paradigm in their
376: naming, so rather than having an entry for each slight variation, there
377: is an overarching one. This flag is useful for downstream programs,
378: such as Devel::PPPort.
dcd299b4
KW
379:
380: i inline static. This is used for functions that the compiler is being
381: requested to inline. If the function is in a header file its
382: definition will be visible (unless guarded by #if..#endif) to all
383: XS code. (A typical guard will be that it is being included in a
384: particular C file(s) or in the perl core.) Therefore, all
712d27b1 385: non-guarded functions should also have the 'p' flag specified to avoid
dcd299b4
KW
386: polluting the XS code name space. Otherwise an error is generated if
387: the 'S' flag is not also specified.
388:
389: proto.h: function is declared as PERL_STATIC_INLINE
390:
783cb485
KW
391: I This flag works exactly the same as 'i' but it also adds
392: __attribute__((always_inline)) or __forceinline if either of them is
393: supported by the compiler.
394:
395: proto.h: function is declared as PERL_STATIC_FORCE_INLINE and
396: __attribute__always_inline__ is added
397:
dcd299b4 398: m Implemented as a macro; there is no function associated with this name,
2f4e6339
KW
399: and hence no long Perl_ or S_ name. However, if the macro name itself
400: begins with 'Perl_', autodoc.pl will show a thread context parameter
401: unless the 'T' flag is specified.
dcd299b4
KW
402:
403: suppress proto.h entry (actually, not suppressed, but commented out)
404: suppress entry in the list of exported symbols available on all platforms
405: suppress embed.h entry, as the implementation should furnish the macro
406:
407: M The implementation is furnishing its own macro instead of relying on the
0e2d8b7e
KW
408: automatically generated short name macro (which simply expands to call
409: the real name function). One reason to do this is if the parameters
410: need to be cast from what the caller has, or if there is a macro that
411: bypasses this function (whose long name is being retained for backward
412: compatibility for those who call it with that name). An example is when
413: a new function is created with an extra parameter and a wrapper macro is
414: added that has the old API, but calls the new one with the exta
415: parameter set to a default.
dcd299b4
KW
416:
417: This flag requires the 'p' flag to be specified, as there would be no
418: need to do this if the function weren't publicly accessible before.
419:
420: The entry is processed based on the other flags, but the:
421: embed.h entry is suppressed
d412580b 422:
0a60f600
KW
423: N The name in the entry isn't strictly a name
424:
425: Normally, the name of the function or macro must contain all \w
426: characters, and a warning is raised otherwise. This flag suppresses
8fb6968f 427: that warning, so that weird things can be documented
d412580b 428:
e2bfa9e8
KW
429: n Has no arguments. Perhaps a better name would have been '0'. (used only
430: in =for apidoc entries)
431:
1fcde0e9
KW
432: The macro (it can't be a function) is used without any parameters nor
433: empty parentheses.
d412580b 434:
c510ef2d
KW
435: Perhaps a better name for this flag would have been '0'. The reason the
436: flag was not changed to that from 'n', is if D:P were to be regenerated
437: on an older perl, it still would use the new embed.fnc shipped with it,
438: but would be using the flags from the older perl source code.
439:
7b53c8ee
NC
440: O Has a perl_ compatibility macro.
441:
8fb6968f 442: The really OLD name for API funcs.
30628a6e 443:
8fb6968f
KW
444: autodoc.pl adds a note that the perl_ form of this function is
445: deprecated.
446:
37ccf918 447: o Has no Perl_foo or S_foo compatibility macro:
d412580b 448:
dcd299b4
KW
449: This is used for whatever reason to force the function to be called
450: with the long name. Perhaps there is a varargs issue. Use the 'M'
451: flag instead for wrapper macros, and legacy-only functions should
452: also use 'b'.
59f80a35 453:
d412580b
DM
454: embed.h: suppress "#define foo Perl_foo"
455:
8fb6968f 456: autodoc.pl adds a note that this function must be explicitly called as
3e116a2f
KW
457: Perl_$name, and with an aTHX_ parameter unless the 'T' flag is also
458: specified.
459
460: mnemonic: 'omit' generated macro
8fb6968f 461:
d8bd2bed
KW
462: P Pure function:
463:
eafb5713
KW
464: A pure function has no effects except the return value, and the return
465: value depends only on params and/or globals. This is a hint to the
466: compiler that it can optimize calls to this function out of common
467: subexpressions. Consequently if this flag is wrongly specified, it can
468: lead to subtle bugs that vary by platform, compiler, compiler version,
469: and optimization level. Also, a future commit could easily change a
470: currently-pure function without even noticing this flag. So it should
471: be used sparingly, only for functions that are unlikely to ever become
472: not pure by future commits. It should not be used for static
473: functions, as the compiler already has the information needed to make
474: the 'pure' determination and doesn't need any hint; so it doesn't add
475: value in those cases, and could be dangerous if it causes the compiler
476: to skip doing its own checks. It should not be used on functions that
477: touch SVs, as those can trigger unexpected magic. Also implies "R":
d412580b
DM
478:
479: proto.h: add __attribute__pure__
480:
481: p Function in source code has a Perl_ prefix:
482:
483: proto.h: function is declared as Perl_foo rather than foo
484: embed.h: "#define foo Perl_foo" entries added
485:
b289a0bd 486: R Return value must not be ignored (also implied by 'a' and 'P' flags):
d412580b 487:
e1ebd5bb
KW
488: gcc has a bug (which they claim is a feature) in which casting the
489: result of one of these to (void) doesn't silence the warning that the
f71af6ba
KW
490: result is ignored. (Perl has a workaround for this bug, see
491: PERL_UNUSED_RESULT docs)
e1ebd5bb 492:
d412580b
DM
493: proto.h: add __attribute__warn_unused_result__
494:
495: r Function never returns:
496:
497: proto.h: add __attribute__noreturn__
498:
9f589e47 499: S Static function: function in source code has a S_ prefix:
d412580b
DM
500:
501: proto.h: function is declared as S_foo rather than foo,
502: STATIC is added to declaration;
503: embed.h: "#define foo S_foo" entries added
504:
c43e2db5
KW
505: s Static function, but function in source code has a Perl_ prefix:
506:
507: This is used for functions that have always had a Perl_ prefix, but
508: have been moved to a header file and declared static.
509:
510: proto.h: function is declared as Perl_foo rather than foo
511: STATIC is added to declaration;
512: embed.h: "#define foo Perl_foo" entries added
8b5ff177 513:
45b29440
KW
514: T Has no implicit interpreter/thread context argument:
515:
516: suppress the pTHX part of "foo(pTHX...)" in proto.h;
517: In the PERL_IMPLICIT_SYS branch of embed.h, generates
518: "#define foo Perl_foo", rather than
519: "#define foo(a,b,c) Perl_foo(aTHX_ a,b,c)
520:
caf8c6bc
KW
521: u The macro's (it has to be a macro) return value or parameters are
522: unorthodox, and aren't in the list above of recognized weird ones. For
3dbfa774
KW
523: example, they aren't C parameters, or the macro expands to something
524: that isn't a symbol.
525:
caf8c6bc
KW
526: For example, the expansion of STR_WITH_LEN is a comma separated pair of
527: values, so would have this flag; or some macros take preprocessor
d1388a9f
KW
528: tokens, so would have this flag.
529:
530: This also is used for entries that require processing for use, such as
531: being compiled by xsubpp. This flag is an indication to downstream
532: tools, such as Devel::PPPort, that this requires special handling.
3dbfa774 533:
8fb6968f 534: U autodoc.pl will not output a usage example
d412580b 535:
21553840
YO
536: W Add a _pDEPTH argument to function prototypes, and an _aDEPTH
537: argument to the function calls. This means that under DEBUGGING
538: a depth argument is added to the functions, which is used for
539: example by the regex engine for debugging and trace output.
540: A non DEBUGGING build will not pass the unused argument.
541: Currently restricted to functions with at least one argument.
542:
d412580b
DM
543: X Explicitly exported:
544:
dcd299b4
KW
545: add entry to the list of symbols available on all platforms, unless e
546: or m
d412580b 547:
569ba91f
FC
548: This is often used for private functions that are used by public
549: macros. In those cases the macros must use the long form of the
550: name (Perl_blah(aTHX_ ...)).
551:
e4aeb12f 552: x Experimental, may change:
d412580b 553:
2ab86d4c
KW
554: Any doc entry is marked that it may change. An undocumented
555: experimental function is listed in perlintern rather than perlapi,
556: even if it is allegedly API.
d412580b 557:
9e728159
KW
558: y Typedef. The element names a type rather than being a macro
559:
3734d2f5
KW
560: ; autodoc.pl adds a terminating semi-colon to the usage example in the
561: documentation.
562:
746dd616 563: # The number sign flag indicates that this is a pre-processor symbol that
dd4d3f69 564: is just #define'd or #undef'd.
746dd616
KW
565:
566: ? The question mark flag is used internally by Devel::PPPort to indicate
567: that it does not have enough information to generate a proper test case.
568:
8fb6968f
KW
569: In this file, pointer parameters that must not be passed NULLs should be
570: prefixed with NN.
94bdecf9 571:
8fb6968f
KW
572: And, pointer parameters that may be NULL should be prefixed with NULLOK.
573: This has no effect on output yet. It's a notation for the maintainers to
574: know "I have defined whether NULL is OK or not" rather than having neither
575: NULL or NULLOK, which is ambiguous.
1b6737cc 576:
8fb6968f 577: Individual flags may be separated by non-tab whitespace.
94bdecf9 578
24f3e849
KW
579CipRTX |char * |mortal_getenv |NN const char * str
580
94bdecf9 581#if defined(PERL_IMPLICIT_SYS)
a1f6d9dc 582CTo |PerlInterpreter*|perl_alloc_using \
4048f010
NC
583 |NN struct IPerlMem *ipM \
584 |NN struct IPerlMem *ipMS \
585 |NN struct IPerlMem *ipMP \
586 |NN struct IPerlEnv *ipE \
587 |NN struct IPerlStdIO *ipStd \
16bf6295 588 |NN struct IPerlLIO *ipLIO \
4048f010
NC
589 |NN struct IPerlDir *ipD \
590 |NN struct IPerlSock *ipS \
591 |NN struct IPerlProc *ipP
94bdecf9 592#endif
45b29440
KW
593ATod |PerlInterpreter* |perl_alloc
594ATod |void |perl_construct |NN PerlInterpreter *my_perl
595ATod |int |perl_destruct |NN PerlInterpreter *my_perl
596ATod |void |perl_free |NN PerlInterpreter *my_perl
597ATod |int |perl_run |NN PerlInterpreter *my_perl
598ATod |int |perl_parse |NN PerlInterpreter *my_perl|XSINIT_t xsinit \
7827dc65 599 |int argc|NULLOK char** argv|NULLOK char** env
1065fe43 600CTpR |bool |doing_taint |int argc|NULLOK char** argv|NULLOK char** env
94bdecf9 601#if defined(USE_ITHREADS)
45b29440 602ATod |PerlInterpreter*|perl_clone|NN PerlInterpreter *proto_perl|UV flags
94bdecf9 603# if defined(PERL_IMPLICIT_SYS)
a1f6d9dc 604CTo |PerlInterpreter*|perl_clone_using \
589df73b
SH
605 |NN PerlInterpreter *proto_perl \
606 |UV flags \
607 |NN struct IPerlMem* ipM \
608 |NN struct IPerlMem* ipMS \
609 |NN struct IPerlMem* ipMP \
610 |NN struct IPerlEnv* ipE \
611 |NN struct IPerlStdIO* ipStd \
612 |NN struct IPerlLIO* ipLIO \
613 |NN struct IPerlDir* ipD \
614 |NN struct IPerlSock* ipS \
615 |NN struct IPerlProc* ipP
94bdecf9
JH
616# endif
617#endif
618
97b831e4
KW
619CaTopd |Malloc_t|malloc |MEM_SIZE nbytes
620CaTopd |Malloc_t|calloc |MEM_SIZE elements|MEM_SIZE size
621CRTopd |Malloc_t|realloc |Malloc_t where|MEM_SIZE nbytes
622CTopd |Free_t |mfree |Malloc_t where
94bdecf9 623#if defined(MYMALLOC)
45b29440
KW
624TpR |MEM_SIZE|malloced_size |NN void *p
625TpR |MEM_SIZE|malloc_good_size |size_t nbytes
94bdecf9 626#endif
03f05cb4 627#if defined(PERL_IN_MALLOC_C)
9f589e47 628ST |int |adjust_size_and_find_bucket |NN size_t *nbytes_p
03f05cb4 629#endif
94bdecf9 630
32c3a37b
KW
631CTpdR |void* |get_context
632CTpd |void |set_context |NN void *t
94bdecf9 633
6f1401dc
DM
634XEop |bool |try_amagic_bin |int method|int flags
635XEop |bool |try_amagic_un |int method|int flags
0797ed67
KW
636Apd |SV* |amagic_call |NN SV* left|NN SV* right|int method|int dir
637Apd |SV * |amagic_deref_call|NN SV *ref|int method
8d569291 638p |bool |amagic_is_enabled|int method
30062c3a 639Apd |int |Gv_AMupdate |NN HV* stash|bool destructing
7f3d1102 640CpdR |CV* |gv_handler |NULLOK HV* stash|I32 id
2fcb4757
Z
641Apd |OP* |op_append_elem |I32 optype|NULLOK OP* first|NULLOK OP* last
642Apd |OP* |op_append_list |I32 optype|NULLOK OP* first|NULLOK OP* last
5983a79d 643Apd |OP* |op_linklist |NN OP *o
2fcb4757 644Apd |OP* |op_prepend_elem|I32 optype|NULLOK OP* first|NULLOK OP* last
67022846 645: FIXME - this is only called by pp_chown. They should be merged.
890ce7af 646p |I32 |apply |I32 type|NN SV** mark|NN SV** sp
e4aeb12f 647Apx |void |apply_attrs_string|NN const char *stashpv|NN CV *cv|NN const char *attrstr|STRLEN len
4048f010 648Apd |void |av_clear |NN AV *av
c70927a6
FC
649Apd |SV* |av_delete |NN AV *av|SSize_t key|I32 flags
650ApdR |bool |av_exists |NN AV *av|SSize_t key
fc16c392
FC
651Apd |void |av_extend |NN AV *av|SSize_t key
652p |void |av_extend_guts |NULLOK AV *av|SSize_t key \
653 |NN SSize_t *maxp \
7261499d 654 |NN SV ***allocp|NN SV ***arrayp
c70927a6 655ApdR |SV** |av_fetch |NN AV *av|SSize_t key|I32 lval
84c75204 656CipdR |SV** |av_fetch_simple|NN AV *av|SSize_t key|I32 lval
c70927a6
FC
657Apd |void |av_fill |NN AV *av|SSize_t fill
658ApdR |SSize_t|av_len |NN AV *av
659ApdR |AV* |av_make |SSize_t size|NN SV **strp
eae3cc96 660CipdR |AV* |av_new_alloc |SSize_t size|bool zeroflag
1f1dcfb5 661p |SV* |av_nonelem |NN AV *av|SSize_t ix
4048f010 662Apd |SV* |av_pop |NN AV *av
541e9af0 663Apdoe |void |av_create_and_push|NN AV **const avp|NN SV *const val
06942096 664Apd |void |av_push |NN AV *av|NN SV *val
a9b64e60 665Aipd |void |av_push_simple |NN AV *av|NN SV *val
d67fec57 666: Used in scope.c, and by Data::Alias
4048f010
NC
667EXp |void |av_reify |NN AV *av
668ApdR |SV* |av_shift |NN AV *av
c70927a6 669Apd |SV** |av_store |NN AV *av|SSize_t key|NULLOK SV *val
84c75204 670Cipd |SV** |av_store_simple|NN AV *av|SSize_t key|NULLOK SV *val
bd5fa066 671AmdR |SSize_t|av_top_index |NN AV *av
87306e06 672AidRp |Size_t |av_count |NN AV *av
ef9e3b4d 673AmdR |SSize_t|av_tindex |NN AV *av
4048f010 674Apd |void |av_undef |NN AV *av
541e9af0 675Apdoe |SV** |av_create_and_unshift_one|NN AV **const avp|NN SV *const val
c70927a6 676Apd |void |av_unshift |NN AV *av|SSize_t num
f6ecfb3a
KW
677Cpo |SV** |av_arylen_p |NN AV *av
678Cpo |IV* |av_iter_p |NN AV *av
43869a0c 679#if defined(PERL_IN_AV_C)
9f589e47 680S |MAGIC* |get_aux_mg |NN AV *av
878d132a 681#endif
d67fec57 682: Used in perly.y
4048f010 683pR |OP* |bind_match |I32 type|NN OP *left|NN OP *right
d67fec57 684: Used in perly.y
25f5d540 685ApdR |OP* |block_end |I32 floor|NULLOK OP* seq
565ad005 686CpR |U8 |block_gimme
d67fec57 687: Used in perly.y
25f5d540 688ApdR |int |block_start |int full
e4aeb12f 689Aodxp |void |blockhook_register |NN BHK *hk
6a2e756f 690p |void |boot_core_builtin
d67fec57 691: Used in perl.c
94bdecf9 692p |void |boot_core_UNIVERSAL
d67fec57 693: Used in perl.c
94bdecf9 694p |void |boot_core_PerlIO
c9b901f1 695Cp |void |call_list |I32 oldscope|NN AV *paramList
8dff4fc5
BM
696Apd |const PERL_CONTEXT * |caller_cx|I32 level \
697 |NULLOK const PERL_CONTEXT **dbcxp
486ec47a 698: Used in several source files
ae1951c1 699pR |bool |cando |Mode_t mode|bool effective|NN const Stat_t* statbufp
b6d2403a
KW
700CpRT |U32 |cast_ulong |NV f
701CpRT |I32 |cast_i32 |NV f
702CpRT |IV |cast_iv |NV f
703CpRT |UV |cast_uv |NV f
94bdecf9 704#if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
02cb4161 705ApdR |I32 |my_chsize |int fd|Off_t length
94bdecf9 706#endif
25502127
FC
707p |const COP*|closest_cop |NN const COP *cop|NULLOK const OP *o \
708 |NULLOK const OP *curop|bool opnext
d67fec57 709: Used in perly.y
03d05f6e 710ApdR |OP* |op_convert_list |I32 optype|I32 flags|NULLOK OP* o
d67fec57 711: Used in op.c and perl.c
e4aeb12f 712px |void |create_eval_scope|NULLOK OP *retop|U32 flags
c5df3096 713Aprd |void |croak_sv |NN SV *baseex
551405c4 714: croak()'s first parm can be NULL. Otherwise, mod_perl breaks.
cdfeb707 715Afprd |void |croak |NULLOK const char* pat|...
c5df3096 716Aprd |void |vcroak |NULLOK const char* pat|NULLOK va_list* args
45b29440
KW
717ATprd |void |croak_no_modify
718ATprd |void |croak_xs_usage |NN const CV *const cv \
afa74d42 719 |NN const char *const params
45b29440
KW
720Tpr |void |croak_no_mem
721TprX |void |croak_popstack
722fTrp |void |croak_caller|NULLOK const char* pat|...
5af72e99 723fTpre |void |noperl_die|NN const char* pat|...
073dd035 724#if defined(WIN32)
5af72e99 725Tore |void |win32_croak_not_implemented|NN const char * fname
073dd035 726#endif
6e512bc2 727#if defined(MULTIPLICITY)
3d12c238
KW
728AdfTrp |void |croak_nocontext|NULLOK const char* pat|...
729AdfTrp |OP* |die_nocontext |NULLOK const char* pat|...
7aa7cc79 730AfTpd |void |deb_nocontext |NN const char* pat|...
3d12c238
KW
731AdfTp |char* |form_nocontext |NN const char* pat|...
732AdFTp |void |load_module_nocontext|U32 flags|NN SV* name|NULLOK SV* ver|...
733AdfTp |SV* |mess_nocontext |NN const char* pat|...
734AdfTp |void |warn_nocontext |NN const char* pat|...
3b4eef1c 735AdfTp |void |warner_nocontext|U32 err|NN const char* pat|...
3d12c238
KW
736AdfTp |SV* |newSVpvf_nocontext|NN const char *const pat|...
737AdfTp |void |sv_catpvf_nocontext|NN SV *const sv|NN const char *const pat|...
738AdfTp |void |sv_setpvf_nocontext|NN SV *const sv|NN const char *const pat|...
739AdfTp |void |sv_catpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
740AdfTp |void |sv_setpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
94bdecf9 741#endif
b8c38f0a 742: Used in pp.c
c1a02cca 743pd |SV * |core_prototype |NULLOK SV *sv|NN const char *name \
b66130dd 744 |const int code|NULLOK int * const opnum
1e4b6aa1 745: Used in gv.c
8f939fab 746p |OP * |coresub_op |NN SV *const coreargssv|const int code \
1e4b6aa1 747 |const int opnum
d67fec57 748: Used in sv.c
e4aeb12f 749ExXp |void |cv_ckproto_len_flags |NN const CV* cv|NULLOK const GV* gv\
dab1c735
BF
750 |NULLOK const char* p|const STRLEN len \
751 |const U32 flags
67022846 752: Used in pp.c and pp_sys.c
62d55b22 753ApdR |SV* |gv_const_sv |NN GV* gv
45b29440
KW
754ApdRT |SV* |cv_const_sv |NULLOK const CV *const cv
755pRT |SV* |cv_const_sv_or_av|NULLOK const CV *const cv
ecf05a58 756Apd |SV * |cv_name |NN CV *cv|NULLOK SV *sv|U32 flags
890ce7af 757Apd |void |cv_undef |NN CV* cv
b7acb0a3 758p |void |cv_undef_flags |NN CV* cv|U32 flags
c1a02cca 759pd |void |cv_forget_slab |NULLOK CV *cv
f0a7783c 760Cp |void |cx_dump |NN PERL_CONTEXT* cx
45b19fd5 761AiMpd |GV * |CvGV |NN CV *sv
c8b3b0ee 762AdiMTp |I32 * |CvDEPTH |NN const CV * const sv
0f292d69 763Aphd |SV* |filter_add |NULLOK filter_t funcp|NULLOK SV* datasv
247a22f7 764Apd |void |filter_del |NN filter_t funcp
0f292d69 765ApRhd |I32 |filter_read |int idx|NN SV *buf_sv|int maxlen
a5f200df
KW
766ApdPRD |char** |get_op_descs
767ApdPRD |char** |get_op_names
768pPRD |const char* |get_no_modify
769pPRD |U32* |get_opargs
770CpPRD |PPADDR_t*|get_ppaddr
d67fec57 771: Used by CXINC, which appears to be in widespread use
1fc4b132 772CpR |I32 |cxinc
7aa7cc79
KW
773Afpd |void |deb |NN const char* pat|...
774Apd |void |vdeb |NN const char* pat|NULLOK va_list* args
17300c28 775Cpd |void |debprofdump
dc3c1c70 776EXp |SV* |multideref_stringify |NN const OP* o|NULLOK CV *cv
e839e6ed 777EXp |SV* |multiconcat_stringify |NN const OP* o
ce90e444 778Cpd |I32 |debop |NN const OP* o
8566922c 779Apd |I32 |debstack
59e6561a 780Cp |I32 |debstackptrs
13733cde 781pR |SV * |defelem_target |NN SV *sv|NULLOK MAGIC *mg
cc448cea
KW
782ATpd |char* |delimcpy|NN char* to|NN const char* to_end \
783 |NN const char* from|NN const char* from_end \
784 |const int delim|NN I32* retlen
5f7a2573 785EXTpd |char* |delimcpy_no_escape|NN char* to|NN const char* to_end \
1df96a41 786 |NN const char* from \
430f723e
KW
787 |NN const char* from_end \
788 |const int delim|NN I32* retlen
d67fec57 789: Used in op.c, perl.c
e4aeb12f 790px |void |delete_eval_scope
e950ecba
KW
791Aprd |OP* |die_sv |NN SV *baseex
792Afrpd |OP* |die |NULLOK const char* pat|...
67022846 793: Used in util.c
62705b21 794pr |void |die_unwind |NN SV* msv
82f65d69 795Cpdh |void |dounwind |I32 cxix
67022846 796: FIXME
b719801d 797pMb |bool|do_aexec |NULLOK SV* really|NN SV** mark|NN SV** sp
67022846 798: Used in pp_sys.c
738ab09f 799p |bool|do_aexec5 |NULLOK SV* really|NN SV** mark|NN SV** sp|int fd|int do_report
67022846 800: Used in pp.c
696d0a53 801Apd |bool |do_close |NULLOK GV* gv|bool is_explicit
67022846 802: Defined in doio.c, used only in pp_sys.c
4373e329 803p |bool |do_eof |NN GV* gv
8c654ff2
NC
804
805#ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
5178f485 806pM |bool|do_exec |NN const char* cmd
8c654ff2 807#else
738ab09f 808p |bool|do_exec |NN const char* cmd
8c654ff2
NC
809#endif
810
822c8b4d 811#if defined(WIN32) || defined(VMS)
4bf10fc7
KW
812Cp |int |do_aspawn |NULLOK SV* really|NN SV** mark|NN SV** sp
813Cp |int |do_spawn |NN char* cmd
814Cp |int |do_spawn_nowait|NN char* cmd
54725af6 815#endif
94bdecf9 816#if !defined(WIN32)
738ab09f 817p |bool|do_exec3 |NN const char *incmd|int fd|int do_report
94bdecf9 818#endif
43869a0c 819#if defined(PERL_IN_DOIO_C)
9f589e47 820S |void |exec_failed |NN const char *cmd|int fd|int do_report
d64b73b9 821S |bool |argvout_final |NN MAGIC *mg|NN IO *io|bool is_explicit
a0f2c8ec 822#endif
94bdecf9 823#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
67022846 824: Defined in doio.c, used only in pp_sys.c
7827dc65 825p |I32 |do_ipcctl |I32 optype|NN SV** mark|NN SV** sp
67022846 826: Defined in doio.c, used only in pp_sys.c
7827dc65 827p |I32 |do_ipcget |I32 optype|NN SV** mark|NN SV** sp
67022846 828: Defined in doio.c, used only in pp_sys.c
7827dc65 829p |I32 |do_msgrcv |NN SV** mark|NN SV** sp
67022846 830: Defined in doio.c, used only in pp_sys.c
7827dc65 831p |I32 |do_msgsnd |NN SV** mark|NN SV** sp
67022846 832: Defined in doio.c, used only in pp_sys.c
7827dc65 833p |I32 |do_semop |NN SV** mark|NN SV** sp
67022846 834: Defined in doio.c, used only in pp_sys.c
7827dc65 835p |I32 |do_shmio |I32 optype|NN SV** mark|NN SV** sp
94bdecf9 836#endif
8871d594 837Apd |void |do_join |NN SV *sv|NN SV *delim|NN SV **mark|NN SV **sp
981b7185
NC
838: Used in pp.c and pp_hot.c, prototype generated by regen/opcode.pl
839: p |OP* |do_kv
33efebe6
DM
840: used in pp.c, pp_hot.c
841pR |I32 |do_ncmp |NN SV *const left|NN SV *const right
a603a24d 842ApMb |bool |do_open |NN GV* gv|NN const char* name|I32 len|int as_raw \
890ce7af 843 |int rawmode|int rawperm|NULLOK PerlIO* supplied_fp
45b29440
KW
844pT |void |setfd_cloexec|int fd
845pT |void |setfd_inhexec|int fd
884fc2d3 846p |void |setfd_cloexec_for_nonsysfd|int fd
74df577f 847p |void |setfd_inhexec_for_sysfd|int fd
884fc2d3 848p |void |setfd_cloexec_or_inhexec_by_sysfdness|int fd
f9821aff 849pR |int |PerlLIO_dup_cloexec|int oldfd
884fc2d3 850p |int |PerlLIO_dup2_cloexec|int oldfd|int newfd
f9821aff
Z
851pR |int |PerlLIO_open_cloexec|NN const char *file|int flag
852pR |int |PerlLIO_open3_cloexec|NN const char *file|int flag|int perm
45b29440 853pToR |int |my_mkstemp_cloexec|NN char *templte
ae73d7ec 854pToR |int |my_mkostemp_cloexec|NN char *templte|int flags
f9821aff
Z
855#ifdef HAS_PIPE
856pR |int |PerlProc_pipe_cloexec|NN int *pipefd
857#endif
858#ifdef HAS_SOCKET
859pR |int |PerlSock_socket_cloexec|int domain|int type|int protocol
860pR |int |PerlSock_accept_cloexec|int listenfd \
861 |NULLOK struct sockaddr *addr \
862 |NULLOK Sock_size_t *addrlen
863#endif
864#if defined (HAS_SOCKETPAIR) || \
865 (defined (HAS_SOCKET) && defined(SOCK_DGRAM) && \
866 defined(AF_INET) && defined(PF_INET))
867pR |int |PerlSock_socketpair_cloexec|int domain|int type|int protocol \
868 |NN int *pairfd
869#endif
a2b41d5c 870#if defined(PERL_IN_DOIO_C)
9f589e47 871S |IO * |openn_setup |NN GV *gv|NN char *mode|NN PerlIO **saveifp \
a2b41d5c
NC
872 |NN PerlIO **saveofp|NN int *savefd \
873 |NN char *savetype
9f589e47 874S |bool |openn_cleanup |NN GV *gv|NN IO *io|NULLOK PerlIO *fp \
a6fc70e5
NC
875 |NN char *mode|NN const char *oname \
876 |NULLOK PerlIO *saveifp|NULLOK PerlIO *saveofp \
877 |int savefd|char savetype|int writing \
7e30e49f
DIM
878 |bool was_fdopen|NULLOK const char *type \
879 |NULLOK Stat_t *statbufp
a2b41d5c 880#endif
4048f010
NC
881Ap |bool |do_openn |NN GV *gv|NN const char *oname|I32 len \
882 |int as_raw|int rawmode|int rawperm \
883 |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \
884 |I32 num
e4aeb12f 885xp |bool |do_open_raw |NN GV *gv|NN const char *oname|STRLEN len \
7e30e49f 886 |int rawmode|int rawperm|NULLOK Stat_t *statbufp
e4aeb12f 887xp |bool |do_open6 |NN GV *gv|NN const char *oname|STRLEN len \
4b451737
NC
888 |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \
889 |U32 num
67022846 890: Used in pp_hot.c and pp_sys.c
890ce7af 891p |bool |do_print |NULLOK SV* sv|NN PerlIO* fp
67022846 892: Used in pp_sys.c
890ce7af 893pR |OP* |do_readline
67022846 894: Defined in doio.c, used only in pp_sys.c
890ce7af 895p |bool |do_seek |NULLOK GV* gv|Off_t pos|int whence
ee85153c 896Apd |void |do_sprintf |NN SV* sv|SSize_t len|NN SV** sarg
67022846 897: Defined in doio.c, used only in pp_sys.c
890ce7af 898p |Off_t |do_sysseek |NN GV* gv|Off_t pos|int whence
67022846 899: Defined in doio.c, used only in pp_sys.c
890ce7af 900pR |Off_t |do_tell |NN GV* gv
67022846 901: Defined in doop.c, used only in pp.c
f0fd0980 902p |Size_t |do_trans |NN SV* sv
67022846 903: Used in my.c and pp.c
d69c4304 904p |UV |do_vecget |NN SV* sv|STRLEN offset|int size
67022846 905: Defined in doop.c, used only in mg.c (with /* XXX slurp this routine */)
4373e329 906p |void |do_vecset |NN SV* sv
67022846 907: Defined in doop.c, used only in pp.c
890ce7af 908p |void |do_vop |I32 optype|NN SV* sv|NN SV* left|NN SV* right
67022846 909: Used in perly.y
850e8516 910p |OP* |dofile |NN OP* term|I32 force_builtin
71494cd1 911CdpR |U8 |dowantarray
c1a02cca 912Adp |void |dump_all
f0e3f042 913p |void |dump_all_perl |bool justperl
03c0fc11
KW
914Apdh |void |dump_eval
915Apd |void |dump_form |NN const GV* gv
916Apd |void |gv_dump |NULLOK GV* gv
1e85b658 917Apd |OPclass|op_class |NULLOK const OP *o
c1a02cca 918Apd |void |op_dump |NN const OP *o
03c0fc11 919Apd |void |pmop_dump |NULLOK PMOP* pm
c1a02cca 920Apd |void |dump_packsubs |NN const HV* stash
f0e3f042 921p |void |dump_packsubs_perl |NN const HV* stash|bool justperl
6ef63541 922Apdh |void |dump_sub |NN const GV* gv
f0e3f042 923p |void |dump_sub_perl |NN const GV* gv|bool justperl
890ce7af
AL
924Apd |void |fbm_compile |NN SV* sv|U32 flags
925ApdR |char* |fbm_instr |NN unsigned char* big|NN unsigned char* bigend \
9f6cc744 926 |NN SV* littlestr|U32 flags
5e6ebb12 927pEXTR |const char *|cntrl_to_mnemonic|const U8 c
9a5e6f3c 928p |CV * |find_lexical_cv|PADOFFSET off
67022846 929: Defined in util.c, used only in perl.c
7827dc65
AL
930p |char* |find_script |NN const char *scriptname|bool dosearch \
931 |NULLOK const char *const *const search_ext|I32 flags
43869a0c 932#if defined(PERL_IN_OP_C)
9f589e47 933S |OP* |force_list |NULLOK OP* arg|bool nullit
985b9e54
GG
934i |OP* |op_integerize |NN OP *o
935i |OP* |op_std_init |NN OP *o
b46e009d 936i |OP* |newMETHOP_internal |I32 type|I32 flags|NULLOK OP* dynamic_meth \
937 |NULLOK SV* const_meth
aabe6c18
PE
938S |void |move_proto_attr|NN OP **proto|NN OP **attrs \
939 |NN const GV *name|bool curstash
d67fec57 940: FIXME
9f589e47 941S |OP* |fold_constants |NN OP * const o
aabe6c18
PE
942#endif
943#if defined(PERL_IN_OP_C) || defined(PERL_IN_PEEP_C)
944pT |void |op_prune_chain_head|NN OP **op_p
945p |void |no_bareword_allowed|NN OP *o
946p |void |check_hash_fields_and_hekify|NULLOK UNOP *rop|NULLOK SVOP *key_op|int real
947p |SV * |op_varname |NN const OP *o
948pd |void |optimize_optree|NN OP* o
949p |void |warn_elem_scalar_context|NN const OP *o|NN SV *name|bool is_hash|bool is_slice
950#if defined(USE_ITHREADS)
951p |void |op_relocate_sv |NN SV** svp|NN PADOFFSET* targp
952#endif
b7783a12 953#endif
aec46f14 954Afpd |char* |form |NN const char* pat|...
2385767d 955Adp |char* |vform |NN const char* pat|NULLOK va_list* args
f34c6d9a 956Cp |void |free_tmps
43869a0c 957#if defined(PERL_IN_OP_C)
0f194c83 958S |void |gen_constant_list|NULLOK OP* o
0da8eb3a 959#endif
94bdecf9 960#if !defined(HAS_GETENV_LEN)
67022846 961: Used in hv.c
9f6cc744 962p |char* |getenv_len |NN const char *env_elem|NN unsigned long *len
94bdecf9 963#endif
67022846 964: Used in pp_ctl.c and pp_hot.c
5af72e99 965poe |void |get_db_sub |NULLOK SV **svp|NN CV *cv
703ff2bd 966Cp |void |gp_free |NULLOK GV* gv
8d687dcb 967Cp |GP* |gp_ref |NULLOK GP* gp
c8a452ed 968Apd |GV* |gv_add_by_type |NULLOK GV *gv|svtype type
4c6879dc
KW
969ApdMb |GV* |gv_AVadd |NULLOK GV *gv
970ApdMb |GV* |gv_HVadd |NULLOK GV *gv
971ApdMb |GV* |gv_IOadd |NULLOK GV* gv
1d440ec4 972AdmR |GV* |gv_autoload4 |NULLOK HV* stash|NN const char* name \
aa1e761e 973 |STRLEN len|I32 method
df91ed1f
KW
974ApRd |GV* |gv_autoload_sv |NULLOK HV* stash|NN SV* namesv|U32 flags
975ApRd |GV* |gv_autoload_pv |NULLOK HV* stash|NN const char* namepv \
0eeb01b9 976 |U32 flags
df91ed1f 977ApRd |GV* |gv_autoload_pvn |NULLOK HV* stash|NN const char* name \
0eeb01b9 978 |STRLEN len|U32 flags
b1b6b79f 979Cp |void |gv_check |NN HV* stash
a5dd70c5
KW
980ApdMb |void |gv_efullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
981Apd |void |gv_efullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
b1decff3
KW
982Adp |GV* |gv_fetchfile |NN const char* name
983Adp |GV* |gv_fetchfile_flags|NN const char *const name|const STRLEN len\
d9095cec 984 |const U32 flags
6c53d59b
FC
985Amd |GV* |gv_fetchmeth |NULLOK HV* stash|NN const char* name \
986 |STRLEN len|I32 level
e6919483
BF
987Apd |GV* |gv_fetchmeth_sv |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags
988Apd |GV* |gv_fetchmeth_pv |NULLOK HV* stash|NN const char* name \
989 |I32 level|U32 flags
990Apd |GV* |gv_fetchmeth_pvn |NULLOK HV* stash|NN const char* name \
991 |STRLEN len|I32 level|U32 flags
460e5730
FC
992Amd |GV* |gv_fetchmeth_autoload |NULLOK HV* stash \
993 |NN const char* name|STRLEN len \
994 |I32 level
d21989ed
BF
995Apd |GV* |gv_fetchmeth_sv_autoload |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags
996Apd |GV* |gv_fetchmeth_pv_autoload |NULLOK HV* stash|NN const char* name \
997 |I32 level|U32 flags
998Apd |GV* |gv_fetchmeth_pvn_autoload |NULLOK HV* stash|NN const char* name \
999 |STRLEN len|I32 level|U32 flags
b719801d 1000ApdMb |GV* |gv_fetchmethod |NN HV* stash|NN const char* name
eff494dd
NC
1001Apd |GV* |gv_fetchmethod_autoload|NN HV* stash|NN const char* name \
1002 |I32 autoload
e4aeb12f
KW
1003Apx |GV* |gv_fetchmethod_sv_flags|NN HV* stash|NN SV* namesv|U32 flags
1004Apx |GV* |gv_fetchmethod_pv_flags|NN HV* stash|NN const char* name \
dd14162d 1005 |U32 flags
e4aeb12f 1006Apx |GV* |gv_fetchmethod_pvn_flags|NN HV* stash|NN const char* name \
c60dbbc3 1007 |const STRLEN len|U32 flags
84ca0d82 1008Adp |GV* |gv_fetchpv |NN const char *nambeg|I32 flags|const svtype sv_type
a5dd70c5
KW
1009ApdMb |void |gv_fullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
1010Apd |void |gv_fullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
d67fec57 1011: Used in scope.c
e4aeb12f 1012pxoe |GP * |newGP |NN GV *const gv
803f2748 1013pX |void |cvgv_set |NN CV* cv|NULLOK GV* gv
ae77754a 1014poX |GV * |cvgv_from_hek |NN CV* cv
c68d9564 1015pX |void |cvstash_set |NN CV* cv|NULLOK HV* stash
e1104062
FC
1016Amd |void |gv_init |NN GV* gv|NULLOK HV* stash \
1017 |NN const char* name|STRLEN len|int multi
c1a02cca
KW
1018Apd |void |gv_init_sv |NN GV* gv|NULLOK HV* stash|NN SV* namesv|U32 flags
1019Apd |void |gv_init_pv |NN GV* gv|NULLOK HV* stash|NN const char* name \
04ec7e59 1020 |U32 flags
c1a02cca 1021Apd |void |gv_init_pvn |NN GV* gv|NULLOK HV* stash|NN const char* name \
04ec7e59 1022 |STRLEN len|U32 flags
629fbf9b 1023Apd |void |gv_name_set |NN GV* gv|NN const char *name|U32 len|U32 flags
5af72e99 1024pe |GV * |gv_override |NN const char * const name \
9e3fb20c 1025 |const STRLEN len
e4aeb12f 1026Xxpd |void |gv_try_downgrade|NN GV* gv
37ee558d 1027p |void |gv_setref |NN SV *const dsv|NN SV *const ssv
da51bb9b
NC
1028Apd |HV* |gv_stashpv |NN const char* name|I32 flags
1029Apd |HV* |gv_stashpvn |NN const char* name|U32 namelen|I32 flags
c4b6b96d 1030#if defined(PERL_IN_GV_C) || defined(PERL_IN_UNIVERSAL_C)
85bf2e91 1031EpGd |HV* |gv_stashsvpvn_cached|SV *namesv|const char* name|U32 namelen|I32 flags
c4b6b96d 1032#endif
0eadbdad 1033#if defined(PERL_IN_GV_C)
c6afe666 1034i |HV* |gv_stashpvn_internal |NN const char* name|U32 namelen|I32 flags
c6afe666 1035i |GV* |gv_fetchmeth_internal |NULLOK HV* stash|NULLOK SV* meth|NULLOK const char* name \
1036 |STRLEN len|I32 level|U32 flags
0eadbdad 1037#endif
8798655d 1038Apd |HV* |gv_stashsv |NN SV* sv|I32 flags
94ee6ed7 1039po |struct xpvhv_aux*|hv_auxalloc|NN HV *hv
4048f010 1040Apd |void |hv_clear |NULLOK HV *hv
67022846 1041: used in SAVEHINTS() and op.c
defdfed5 1042ApdR |HV * |hv_copy_hints_hv|NULLOK HV *const ohv
550c0c1f 1043Cp |void |hv_delayfree_ent|NULLOK HV *notused|NULLOK HE *entry
b719801d 1044AbMdp |SV* |hv_delete |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 1045 |I32 flags
b719801d
KW
1046AbMdp |SV* |hv_delete_ent |NULLOK HV *hv|NN SV *keysv|I32 flags|U32 hash
1047AbMdRp |bool |hv_exists |NULLOK HV *hv|NN const char *key|I32 klen
1048AbMdRp |bool |hv_exists_ent |NULLOK HV *hv|NN SV *keysv|U32 hash
1049AbMdp |SV** |hv_fetch |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 1050 |I32 lval
b719801d 1051AbMdp |HE* |hv_fetch_ent |NULLOK HV *hv|NN SV *keysv|I32 lval|U32 hash
75058825 1052Cp |void* |hv_common |NULLOK HV *hv|NULLOK SV *keysv \
d3ba3f5c 1053 |NULLOK const char* key|STRLEN klen|int flags \
4048f010 1054 |int action|NULLOK SV *val|U32 hash
75058825 1055Cp |void* |hv_common_key_len|NULLOK HV *hv|NN const char *key \
a038e571
NC
1056 |I32 klen_i32|const int action|NULLOK SV *val \
1057 |const U32 hash
6a0ca5a0 1058Cpod |STRLEN |hv_fill |NN HV *const hv
a85a4036 1059Cp |void |hv_free_ent |NULLOK HV *notused|NULLOK HE *entry
4048f010 1060Apd |I32 |hv_iterinit |NN HV *hv
a3b680e6
AL
1061ApdR |char* |hv_iterkey |NN HE* entry|NN I32* retlen
1062ApdR |SV* |hv_iterkeysv |NN HE* entry
b719801d 1063ApdRbM |HE* |hv_iternext |NN HV *hv
4048f010 1064ApdR |SV* |hv_iternextsv |NN HV *hv|NN char **key|NN I32 *retlen
e4aeb12f 1065ApxdR |HE* |hv_iternext_flags|NN HV *hv|I32 flags
4048f010 1066ApdR |SV* |hv_iterval |NN HV *hv|NN HE *entry
06c12f4e 1067Apd |void |hv_ksplit |NN HV *hv|IV newmax
b719801d 1068ApdbM |void |hv_magic |NN HV *hv|NULLOK GV *gv|int how
43869a0c 1069#if defined(PERL_IN_HV_C)
9f589e47 1070S |SV * |refcounted_he_value |NN const struct refcounted_he *he
012da8e5 1071#endif
20439bc7
Z
1072Xpd |HV * |refcounted_he_chain_2hv|NULLOK const struct refcounted_he *c|U32 flags
1073Xpd |SV * |refcounted_he_fetch_pvn|NULLOK const struct refcounted_he *chain \
1074 |NN const char *keypv|STRLEN keylen|U32 hash|U32 flags
1075Xpd |SV * |refcounted_he_fetch_pv|NULLOK const struct refcounted_he *chain \
1076 |NN const char *key|U32 hash|U32 flags
1077Xpd |SV * |refcounted_he_fetch_sv|NULLOK const struct refcounted_he *chain \
1078 |NN SV *key|U32 hash|U32 flags
1079Xpd |struct refcounted_he *|refcounted_he_new_pvn \
1080 |NULLOK struct refcounted_he *parent \
1081 |NN const char *keypv|STRLEN keylen \
1082 |U32 hash|NULLOK SV *value|U32 flags
1083Xpd |struct refcounted_he *|refcounted_he_new_pv \
1084 |NULLOK struct refcounted_he *parent \
1085 |NN const char *key \
1086 |U32 hash|NULLOK SV *value|U32 flags
1087Xpd |struct refcounted_he *|refcounted_he_new_sv \
1088 |NULLOK struct refcounted_he *parent \
1089 |NN SV *key \
1090 |U32 hash|NULLOK SV *value|U32 flags
1091Xpd |void |refcounted_he_free|NULLOK struct refcounted_he *he
1092Xpd |struct refcounted_he *|refcounted_he_inc|NULLOK struct refcounted_he *he
b719801d 1093ApbMd |SV** |hv_store |NULLOK HV *hv|NULLOK const char *key \
4048f010 1094 |I32 klen|NULLOK SV *val|U32 hash
696d0a53 1095Amd |SV** |hv_stores |NULLOK HV* hv|"key"|NULLOK SV* val
b719801d 1096ApbMd |HE* |hv_store_ent |NULLOK HV *hv|NULLOK SV *key|NULLOK SV *val\
4048f010 1097 |U32 hash
b719801d 1098ApbMx |SV** |hv_store_flags |NULLOK HV *hv|NULLOK const char *key \
4048f010 1099 |I32 klen|NULLOK SV *val|U32 hash|int flags
8581adba
FC
1100Amd |void |hv_undef |NULLOK HV *hv
1101poX |void |hv_undef_flags |NULLOK HV *hv|U32 flags
c1a02cca 1102AdmP |I32 |ibcmp |NN const char* a|NN const char* b|I32 len
c3c9077b 1103Adip |I32 |foldEQ |NN const char* a|NN const char* b|I32 len
c1a02cca 1104AdmP |I32 |ibcmp_locale |NN const char* a|NN const char* b|I32 len
c3c9077b 1105Aipd |I32 |foldEQ_locale |NN const char* a|NN const char* b|I32 len
1c4bbd05 1106Adm |I32 |ibcmp_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
e6226b18
KW
1107 |bool u1|NN const char *s2|NULLOK char **pe2 \
1108 |UV l2|bool u2
eda9cac1 1109Amd |I32 |foldEQ_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
4048f010
NC
1110 |bool u1|NN const char *s2|NULLOK char **pe2 \
1111 |UV l2|bool u2
09232555 1112Cp |I32 |foldEQ_utf8_flags |NN const char *s1|NULLOK char **pe1|UV l1 \
eda9cac1
KW
1113 |bool u1|NN const char *s2|NULLOK char **pe2 \
1114 |UV l2|bool u2|U32 flags
c3c9077b 1115Cip |I32 |foldEQ_latin1 |NN const char* a|NN const char* b|I32 len
43869a0c 1116#if defined(PERL_IN_DOIO_C)
9f589e47 1117SR |bool |ingroup |Gid_t testgid|bool effective
0da8eb3a 1118#endif
67022846 1119: Used in toke.c
4373e329 1120p |void |init_argv_symbols|int argc|NN char **argv
8af6f985
NC
1121: Used in pp_ctl.c
1122po |void |init_dbargs
67022846 1123: Used in mg.c
94bdecf9 1124p |void |init_debugger
2a37eb35 1125Cp |void |init_stacks
32dd037e 1126Cp |void |init_tm |NN struct tm *ptm
67022846 1127: Used in perly.y
fa39cb42 1128AbMTpPRd|char* |instr |NN const char* big|NN const char* little
67022846 1129: Used in sv.c
96d7c888 1130p |bool |io_close |NN IO* io|NULLOK GV *gv \
d64b73b9 1131 |bool is_explicit|bool warn_on_fail
67022846 1132: Used in perly.y
2d03de9c 1133pR |OP* |invert |NULLOK OP* cmd
6b32f57d 1134pR |OP* |cmpchain_start |I32 type|NULLOK OP* left \
02b85d3d 1135 |NULLOK OP* right
6b32f57d 1136pR |OP* |cmpchain_extend|I32 type|NN OP* ch|NULLOK OP* right
02b85d3d 1137pR |OP* |cmpchain_finish|NN OP* ch
55c87457 1138ApdR |I32 |is_lvalue_sub
777d9014 1139: Used in cop.h
eebd3bc0 1140XopR |I32 |was_lvalue_sub
1aa501c2 1141CpRTP |STRLEN |is_utf8_char_helper_|NN const U8 * const s|NN const U8 * e|const U32 flags
58b66e89
KW
1142CpRTP |Size_t |is_utf8_FF_helper_|NN const U8 * const s0 \
1143 |NN const U8 * const e \
1144 |const bool require_partial
09232555
KW
1145Cp |UV |to_uni_upper |UV c|NN U8 *p|NN STRLEN *lenp
1146Cp |UV |to_uni_title |UV c|NN U8 *p|NN STRLEN *lenp
95e064d9 1147p |void |init_uniprops
afc16117 1148#ifdef PERL_IN_UTF8_C
9f589e47 1149STR |U8 |to_lower_latin1|const U8 c|NULLOK U8 *p|NULLOK STRLEN *lenp \
eaf412bf 1150 |const char dummy
fab2782b 1151#endif
348bf2e0
KW
1152#if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
1153p |UV |_to_upper_title_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const char S_or_s
1154#endif
09232555 1155Cp |UV |to_uni_lower |UV c|NN U8 *p|NN STRLEN *lenp
5178f485 1156Cm |UV |to_uni_fold |UV c|NN U8 *p|NN STRLEN *lenp
09232555 1157Cp |UV |_to_uni_fold_flags|UV c|NN U8 *p|NN STRLEN *lenp|U8 flags
09232555
KW
1158CpR |bool |_is_uni_perl_idcont|UV c
1159CpR |bool |_is_uni_perl_idstart|UV c
45b29440 1160ATdmoR |bool |is_utf8_invariant_string|NN const U8* const s \
e17544a6 1161 |STRLEN len
c9182d9c 1162ATidRp |bool |is_utf8_invariant_string_loc|NN const U8* const s \
e17544a6 1163 |STRLEN len \
0cbf5865 1164 |NULLOK const U8 ** ep
bf874180 1165CTiRp |unsigned|single_1bit_pos32|U32 word
19d2c525 1166CTiRp |unsigned|lsbit_pos32|U32 word
330cd0ce 1167CTiRp |unsigned|msbit_pos32|U32 word
995a4954
KW
1168#ifdef U64TYPE /* HAS_QUAD undefined outside of core */
1169CTiRp |unsigned|single_1bit_pos64|U64 word
19d2c525 1170CTiRp |unsigned|lsbit_pos64|U64 word
330cd0ce 1171CTiRp |unsigned|msbit_pos64|U64 word
995a4954 1172#endif
23a7ee81 1173#ifndef EBCDIC
73f0a2eb 1174CTiRp |unsigned int|variant_byte_number|PERL_UINTMAX_T word
23a7ee81 1175#endif
03c1e4ab 1176#if defined(PERL_CORE) || defined(PERL_EXT)
c1a02cca 1177EiTRd |Size_t |variant_under_utf8_count|NN const U8* const s \
03c1e4ab
KW
1178 |NN const U8* const e
1179#endif
ef9e3b4d
KW
1180AmTdRP |bool |is_ascii_string|NN const U8* const s|STRLEN len
1181AmTdRP |bool |is_invariant_string|NN const U8* const s|STRLEN len
c9cd936b 1182#if defined(PERL_CORE) || defined (PERL_EXT)
86a87e17 1183EXTidRp |bool |is_utf8_non_invariant_string|NN const U8* const s \
c9cd936b
KW
1184 |STRLEN len
1185#endif
b719801d 1186AbMTpd |STRLEN |is_utf8_char_buf|NN const U8 *buf|NN const U8 *buf_end
c9182d9c 1187ATidRp |Size_t |isUTF8_CHAR|NN const U8 * const s0 \
8ed185f9 1188 |NN const U8 * const e
22f363ff
KW
1189ATidRp |Size_t |isUTF8_CHAR_flags|NN const U8 * const s0 \
1190 |NN const U8 * const e \
1191 |const U32 flags
c9182d9c 1192ATidRp |Size_t |isSTRICT_UTF8_CHAR |NN const U8 * const s0 \
67049a5f 1193 |NN const U8 * const e
c9182d9c 1194ATidRp |Size_t |isC9_STRICT_UTF8_CHAR |NN const U8 * const s0 \
c5bfbb64 1195 |NN const U8 * const e
ef9e3b4d 1196ATmdR |bool |is_utf8_string |NN const U8 *s|STRLEN len
c9182d9c 1197ATidRp |bool |is_utf8_string_flags \
f60f61fd 1198 |NN const U8 *s|STRLEN len|const U32 flags
ef9e3b4d
KW
1199ATmdR |bool |is_strict_utf8_string|NN const U8 *s|STRLEN len
1200ATmdR |bool |is_c9strict_utf8_string|NN const U8 *s|STRLEN len
b719801d 1201ATpdMb |bool |is_utf8_string_loc \
0dc258e2 1202 |NN const U8 *s|const STRLEN len|NN const U8 **ep
45b29440 1203ATdm |bool |is_utf8_string_loc_flags \
f60f61fd 1204 |NN const U8 *s|STRLEN len|NN const U8 **ep \
9f2abfde 1205 |const U32 flags
45b29440 1206ATdm |bool |is_strict_utf8_string_loc \
33756530 1207 |NN const U8 *s|STRLEN len|NN const U8 **ep
45b29440 1208ATdm |bool |is_c9strict_utf8_string_loc \
33756530 1209 |NN const U8 *s|STRLEN len|NN const U8 **ep
45b29440 1210ATipd |bool |is_utf8_string_loclen \
f60f61fd 1211 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde 1212 |NULLOK STRLEN *el
c9182d9c 1213ATidp |bool |is_utf8_string_loclen_flags \
f60f61fd 1214 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde 1215 |NULLOK STRLEN *el|const U32 flags
c9182d9c 1216ATidp |bool |is_strict_utf8_string_loclen \
33756530 1217 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde 1218 |NULLOK STRLEN *el
c9182d9c 1219ATidp |bool |is_c9strict_utf8_string_loclen \
33756530 1220 |NN const U8 *s|STRLEN len|NULLOK const U8 **ep \
9f2abfde 1221 |NULLOK STRLEN *el
45b29440 1222AmTd |bool |is_utf8_fixed_width_buf_flags \
33756530 1223 |NN const U8 * const s|STRLEN len|const U32 flags
45b29440 1224AmTd |bool |is_utf8_fixed_width_buf_loc_flags \
33756530 1225 |NN const U8 * const s|STRLEN len \
8bc127bf 1226 |NULLOK const U8 **ep|const U32 flags
c9182d9c 1227ATidp |bool |is_utf8_fixed_width_buf_loclen_flags \
33756530 1228 |NN const U8 * const s|STRLEN len \
8bc127bf 1229 |NULLOK const U8 **ep|NULLOK STRLEN *el|const U32 flags
45b29440 1230AmTdP |bool |is_utf8_valid_partial_char \
22afef87 1231 |NN const U8 * const s0|NN const U8 * const e
c9182d9c 1232ATidRp |bool |is_utf8_valid_partial_char_flags \
22afef87 1233 |NN const U8 * const s0|NN const U8 * const e|const U32 flags
dd1a3ba7
KW
1234CpR |bool |_is_uni_FOO|const U8 classnum|const UV c
1235CpR |bool |_is_utf8_FOO|const U8 classnum|NN const U8 *p \
da8c1a98 1236 |NN const U8 * const e
dd1a3ba7
KW
1237CpR |bool |_is_utf8_perl_idcont|NN const U8 *p|NN const U8 * const e
1238CpR |bool |_is_utf8_perl_idstart|NN const U8 *p|NN const U8 * const e
1239
be9bef63
KW
1240#if defined(PERL_CORE) || defined(PERL_EXT)
1241EXdpR |bool |isSCRIPT_RUN |NN const U8 *s|NN const U8 *send \
49cd0726 1242 |const bool utf8_target
be9bef63 1243#endif
67022846 1244: Used in perly.y
4048f010 1245p |OP* |jmaybe |NN OP *o
dd14162d 1246: Used in pp.c
4048f010 1247pP |I32 |keyword |NN const char *name|I32 len|bool all_keywords
43869a0c 1248#if defined(PERL_IN_OP_C)
9f589e47 1249S |void |inplace_aassign |NN OP* o
867fa1e2 1250#endif
a8ed036f 1251Cpd |void |leave_scope |I32 base
efa571ab 1252p |void |notify_parser_that_changed_to_utf8
f0e67a1d 1253: Public lexer API
e4aeb12f
KW
1254Axpd |void |lex_start |NULLOK SV* line|NULLOK PerlIO *rsfp|U32 flags
1255Axpd |bool |lex_bufutf8
1256Axpd |char* |lex_grow_linestr|STRLEN len
1257Axpd |void |lex_stuff_pvn |NN const char* pv|STRLEN len|U32 flags
1258Axpd |void |lex_stuff_pv |NN const char* pv|U32 flags
1259Axpd |void |lex_stuff_sv |NN SV* sv|U32 flags
1260Axpd |void |lex_unstuff |NN char* ptr
1261Axpd |void |lex_read_to |NN char* ptr
1262Axpd |void |lex_discard_to |NN char* ptr
1263Axpd |bool |lex_next_chunk |U32 flags
1264Axpd |I32 |lex_peek_unichar|U32 flags
1265Axpd |I32 |lex_read_unichar|U32 flags
1266Axpd |void |lex_read_space |U32 flags
28ac2b49 1267: Public parser API
e4aeb12f
KW
1268Axpd |OP* |parse_arithexpr|U32 flags
1269Axpd |OP* |parse_termexpr |U32 flags
1270Axpd |OP* |parse_listexpr |U32 flags
1271Axpd |OP* |parse_fullexpr |U32 flags
1272Axpd |OP* |parse_block |U32 flags
1273Axpd |OP* |parse_barestmt |U32 flags
1274Axpd |SV* |parse_label |U32 flags
1275Axpd |OP* |parse_fullstmt |U32 flags
1276Axpd |OP* |parse_stmtseq |U32 flags
996b0cb8 1277Axpd |OP* |parse_subsignature|U32 flags
f0e67a1d 1278: Used in various files
1d70cb64 1279Apd |void |op_null |NN OP* o
d67fec57 1280: FIXME. Used by Data::Alias
6d9a2efc 1281EXp |void |op_clear |NN OP* o
366d265a
KW
1282Cpd |void |op_refcnt_lock
1283Cpd |void |op_refcnt_unlock
45b29440 1284ApdT |OP* |op_sibling_splice|NULLOK OP *parent|NULLOK OP *start \
3253bf85 1285 |int del_count|NULLOK OP* insert
45b29440 1286ApdT |OP* |op_parent|NN OP *o
43869a0c 1287#if defined(PERL_IN_OP_C)
9f589e47 1288S |OP* |listkids |NULLOK OP* o
2dd5337b 1289#endif
aec46f14 1290p |OP* |list |NULLOK OP* o
29f5f37e 1291AFpd |void |load_module|U32 flags|NN SV* name|NULLOK SV* ver|...
182a4e9e 1292Adp |void |vload_module|U32 flags|NN SV* name|NULLOK SV* ver|NULLOK va_list* args
67022846 1293: Used in perly.y
4048f010 1294p |OP* |localize |NN OP *o|I32 lex
aad570aa 1295ApdR |I32 |looks_like_number|NN SV *const sv
bcfb98ec 1296AMpd |UV |grok_hex |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
3823048b 1297Apd |int |grok_infnan |NN const char** sp|NN const char *send
7827dc65 1298Apd |int |grok_number |NN const char *pv|STRLEN len|NULLOK UV *valuep
3f7602fa 1299Apd |int |grok_number_flags|NN const char *pv|STRLEN len|NULLOK UV *valuep|U32 flags
bfce84ec 1300ApdR |bool |grok_numeric_radix|NN const char **sp|NN const char *send
bcfb98ec
KW
1301ApMd |UV |grok_oct |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
1302ApMd |UV |grok_bin |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
af8bca27 1303Cp |UV |grok_bin_oct_hex|NN const char* start \
bcfb98ec
KW
1304 |NN STRLEN* len_p \
1305 |NN I32* flags \
1306 |NULLOK NV *result \
c969ff22
KW
1307 |const unsigned shift \
1308 |const U8 lookup_bit \
1309 |const char prefix
1310#ifdef PERL_IN_NUMERIC_C
1311S |void |output_non_portable|const U8 shift
1312#endif
40adeb09 1313ApdT |bool |grok_atoUV |NN const char* pv|NN UV* valptr|NULLOK const char** endptr
67022846 1314: These are all indirectly referenced by globals.c. This is somewhat annoying.
bfce84ec
AL
1315p |int |magic_clearenv |NN SV* sv|NN MAGIC* mg
1316p |int |magic_clear_all_env|NN SV* sv|NN MAGIC* mg
b3ca2e83 1317dp |int |magic_clearhint|NN SV* sv|NN MAGIC* mg
f747ebd6 1318dp |int |magic_clearhints|NN SV* sv|NN MAGIC* mg
0e446081 1319p |int |magic_clearisa |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
1320p |int |magic_clearpack|NN SV* sv|NN MAGIC* mg
1321p |int |magic_clearsig |NN SV* sv|NN MAGIC* mg
09fb282d
FC
1322p |int |magic_copycallchecker|NN SV* sv|NN MAGIC *mg|NN SV *nsv \
1323 |NULLOK const char *name|I32 namlen
1146e912 1324p |int |magic_existspack|NN SV* sv|NN const MAGIC* mg
bfce84ec
AL
1325p |int |magic_freeovrld|NN SV* sv|NN MAGIC* mg
1326p |int |magic_get |NN SV* sv|NN MAGIC* mg
8772537c 1327p |int |magic_getarylen|NN SV* sv|NN const MAGIC* mg
bfce84ec 1328p |int |magic_getdefelem|NN SV* sv|NN MAGIC* mg
a6d69523 1329p |int |magic_getdebugvar|NN SV* sv|NN MAGIC* mg
bfce84ec
AL
1330p |int |magic_getnkeys |NN SV* sv|NN MAGIC* mg
1331p |int |magic_getpack |NN SV* sv|NN MAGIC* mg
1332p |int |magic_getpos |NN SV* sv|NN MAGIC* mg
1333p |int |magic_getsig |NN SV* sv|NN MAGIC* mg
1334p |int |magic_getsubstr|NN SV* sv|NN MAGIC* mg
1335p |int |magic_gettaint |NN SV* sv|NN MAGIC* mg
1336p |int |magic_getuvar |NN SV* sv|NN MAGIC* mg
1337p |int |magic_getvec |NN SV* sv|NN MAGIC* mg
4048f010 1338p |int |magic_nextpack |NN SV *sv|NN MAGIC *mg|NN SV *key
bfce84ec
AL
1339p |U32 |magic_regdata_cnt|NN SV* sv|NN MAGIC* mg
1340p |int |magic_regdatum_get|NN SV* sv|NN MAGIC* mg
73758d77 1341:removing noreturn to silence a warning for this function resulted in no
f8d5a522
DD
1342:change to the interpreter DLL image under VS 2003 -O1 -GL 32 bits only because
1343:this is used in a magic vtable, do not use this on conventionally called funcs
518a5310
SH
1344#ifdef _MSC_VER
1345p |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
1346#else
bfce84ec 1347pr |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
518a5310 1348#endif
bfce84ec 1349p |int |magic_set |NN SV* sv|NN MAGIC* mg
bfce84ec 1350p |int |magic_setarylen|NN SV* sv|NN MAGIC* mg
83f29afa 1351p |int |magic_cleararylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec 1352p |int |magic_freearylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec 1353p |int |magic_setdbline|NN SV* sv|NN MAGIC* mg
a6d69523 1354p |int |magic_setdebugvar|NN SV* sv|NN MAGIC* mg
bfce84ec 1355p |int |magic_setdefelem|NN SV* sv|NN MAGIC* mg
1f1dcfb5 1356p |int |magic_setnonelem|NN SV* sv|NN MAGIC* mg
bfce84ec 1357p |int |magic_setenv |NN SV* sv|NN MAGIC* mg
b3ca2e83 1358dp |int |magic_sethint |NN SV* sv|NN MAGIC* mg
bfce84ec 1359p |int |magic_setisa |NN SV* sv|NN MAGIC* mg
9cce4f9a 1360p |int |magic_setlvref |NN SV* sv|NN MAGIC* mg
bfce84ec 1361p |int |magic_setmglob |NN SV* sv|NN MAGIC* mg
02a48966 1362p |int |magic_freemglob|NN SV* sv|NN MAGIC* mg
bfce84ec
AL
1363p |int |magic_setnkeys |NN SV* sv|NN MAGIC* mg
1364p |int |magic_setpack |NN SV* sv|NN MAGIC* mg
1365p |int |magic_setpos |NN SV* sv|NN MAGIC* mg
1366p |int |magic_setregexp|NN SV* sv|NN MAGIC* mg
55f5e765 1367p |int |magic_setsigall|NN SV* sv|NN MAGIC* mg
38a124f0 1368p |int |magic_setsig |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
1369p |int |magic_setsubstr|NN SV* sv|NN MAGIC* mg
1370p |int |magic_settaint |NN SV* sv|NN MAGIC* mg
1371p |int |magic_setuvar |NN SV* sv|NN MAGIC* mg
1372p |int |magic_setvec |NN SV* sv|NN MAGIC* mg
1373p |int |magic_setutf8 |NN SV* sv|NN MAGIC* mg
032a4919 1374p |int |magic_freeutf8 |NN SV* sv|NN MAGIC* mg
bfce84ec
AL
1375p |int |magic_set_all_env|NN SV* sv|NN MAGIC* mg
1376p |U32 |magic_sizepack |NN SV* sv|NN MAGIC* mg
1377p |int |magic_wipepack |NN SV* sv|NN MAGIC* mg
29f5f37e 1378Fpod |SV* |magic_methcall |NN SV *sv|NN const MAGIC *mg \
36925d9e 1379 |NN SV *meth|U32 flags \
046b0c7d 1380 |U32 argc|...
b90ac5ce 1381Cp |I32 * |markstack_grow
94bdecf9 1382#if defined(USE_LOCALE_COLLATE)
b22e6366 1383p |int |magic_setcollxfrm|NN SV* sv|NN MAGIC* mg
a457b73c 1384p |int |magic_freecollxfrm|NN SV* sv|NN MAGIC* mg
67022846 1385: Defined in locale.c, used only in sv.c
78d57975 1386# if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_MATHOMS_C)
1362b264 1387Ep |char* |mem_collxfrm_ |NN const char* input_string \
a4a439fb
KW
1388 |STRLEN len \
1389 |NN STRLEN* xlen \
1390 |bool utf8
1391# endif
94bdecf9 1392#endif
c5df3096
Z
1393Afpd |SV* |mess |NN const char* pat|...
1394Apd |SV* |mess_sv |NN SV* basemsg|bool consume
1395Apd |SV* |vmess |NN const char* pat|NULLOK va_list* args
d67fec57
NC
1396: FIXME - either make it public, or stop exporting it. (Data::Alias uses this)
1397: Used in gv.c, op.c, toke.c
6d9a2efc 1398EXp |void |qerror |NN SV* err
3d4dd4c7
NC
1399Apd |void |sortsv |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp
1400Apd |void |sortsv_flags |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp|U32 flags
9a957fbc 1401Apd |int |mg_clear |NN SV* sv
4048f010
NC
1402Apd |int |mg_copy |NN SV *sv|NN SV *nsv|NULLOK const char *key \
1403 |I32 klen
67022846 1404: Defined in mg.c, used only in scope.c
af7df257 1405pd |void |mg_localize |NN SV* sv|NN SV* nsv|bool setmagic
658db622 1406Apd |SV* |sv_string_from_errnum|int errnum|NULLOK SV* tgtsv
45b29440
KW
1407ApdRT |MAGIC* |mg_find |NULLOK const SV* sv|int type
1408ApdRT |MAGIC* |mg_findext |NULLOK const SV* sv|int type|NULLOK const MGVTBL *vtbl
96c2a8ff 1409: exported for re.pm
d4431b89 1410EXpR |MAGIC* |mg_find_mglob |NN SV* sv
9a957fbc 1411Apd |int |mg_free |NN SV* sv
d9088386 1412Apd |void |mg_free_type |NN SV* sv|int how
e0d4aead 1413Apd |void |mg_freeext |NN SV* sv|int how|NULLOK const MGVTBL *vtbl
7ea9c672 1414Aipd |void |SvGETMAGIC |NN SV *sv
9a957fbc 1415Apd |int |mg_get |NN SV* sv
45b29440 1416ApdT |void |mg_magical |NN SV* sv
9a957fbc 1417Apd |int |mg_set |NN SV* sv
96173bf8 1418Cp |I32 |mg_size |NN SV* sv
59e77c34 1419AdpT |void |mini_mktime |NN struct tm *ptm
e4aeb12f 1420Axmd |OP* |op_lvalue |NULLOK OP* o|I32 type
d3d7d28f 1421poX |OP* |op_lvalue_flags|NULLOK OP* o|I32 type|U32 flags
c1a02cca 1422pd |void |finalize_optree |NN OP* o
aabe6c18 1423#if defined(PERL_IN_PEEP_C)
9f589e47
KW
1424S |void |optimize_op |NN OP* o
1425S |void |finalize_op |NN OP* o
aabe6c18 1426Sd |OP* |traverse_op_tree|NN OP* top|NN OP* o
d164302a 1427#endif
67022846 1428: Used in op.c and pp_sys.c
a79b25b7 1429p |int |mode_from_discipline|NULLOK const char* s|STRLEN len
90df162e 1430Cp |const char* |moreswitches |NN const char* s
b1de2493 1431Apd |NV |my_atof |NN const char *s
c1a02cca 1432ATdpR |NV |my_strtod |NN const char * const s|NULLOK char ** e
72eff736 1433Aprd |void |my_exit |U32 status
8fb00d81 1434Apdr |void |my_failure_exit
f6194035 1435Cpd |I32 |my_fflush_all
fabaf568 1436CTpd |Pid_t |my_fork
17112fcb
KW
1437CTp |void |atfork_lock
1438CTp |void |atfork_unlock
8528a39b 1439m |I32 |my_lstat
0d7d409d 1440pX |I32 |my_lstat_flags |NULLOK const U32 flags
6dba01e2 1441#if ! defined(HAS_MEMRCHR) && (defined(PERL_CORE) || defined(PERL_EXT))
5af72e99 1442EeiT |void * |my_memrchr |NN const char * s|const char c|const STRLEN len
6dba01e2 1443#endif
875ca36f 1444#if !defined(PERL_IMPLICIT_SYS)
8e1434e1
KW
1445Adp |I32 |my_pclose |NULLOK PerlIO* ptr
1446Adp |PerlIO*|my_popen |NN const char* cmd|NN const char* mode
875ca36f 1447#endif
1dd205f8 1448Cpd |PerlIO*|my_popen_list |NN const char* mode|int n|NN SV ** args
df641d45 1449Apd |void |my_setenv |NULLOK const char* nam|NULLOK const char* val
8528a39b 1450m |I32 |my_stat
0d7d409d 1451pX |I32 |my_stat_flags |NULLOK const U32 flags
7b12ce91
KW
1452Adfp |char * |my_strftime |NN const char *fmt|int sec|int min|int hour \
1453 |int mday|int mon|int year|int wday|int yday \
1454 |int isdst
1455Adfp |char * |my_strftime8 |NN const char *fmt|int sec|int min|int hour \
1456 |int mday|int mon|int year|int wday|int yday \
1457 |int isdst|NULLOK utf8ness_t * utf8ness
67022846 1458: Used in pp_ctl.c
94bdecf9 1459p |void |my_unexec
346c6a29
DM
1460ApR |OP* |newANONLIST |NULLOK OP* o
1461ApR |OP* |newANONHASH |NULLOK OP* o
bfce84ec 1462Ap |OP* |newANONSUB |I32 floor|NULLOK OP* proto|NULLOK OP* block
346c6a29
DM
1463ApdR |OP* |newASSIGNOP |I32 flags|NULLOK OP* left|I32 optype|NULLOK OP* right
1464ApdR |OP* |newCONDOP |I32 flags|NN OP* first|NULLOK OP* trueop|NULLOK OP* falseop
99ab892b 1465Apd |CV* |newCONSTSUB |NULLOK HV* stash|NULLOK const char* name|NULLOK SV* sv
9c0a6090
FC
1466Apd |CV* |newCONSTSUB_flags|NULLOK HV* stash \
1467 |NULLOK const char* name|STRLEN len \
1468 |U32 flags|NULLOK SV* sv
23bc0519 1469Cp |void |newFORM |I32 floor|NULLOK OP* o|NULLOK OP* block
346c6a29 1470ApdR |OP* |newFOROP |I32 flags|NULLOK OP* sv|NN OP* expr|NULLOK OP* block|NULLOK OP* cont
7896dde7 1471ApdR |OP* |newGIVENOP |NN OP* cond|NN OP* block|PADOFFSET defsv_off
346c6a29 1472ApdR |OP* |newLOGOP |I32 optype|I32 flags|NN OP *first|NN OP *other
e4aeb12f 1473px |LOGOP* |alloc_LOGOP |I32 type|NULLOK OP *first|NULLOK OP *other
346c6a29 1474ApdR |OP* |newLOOPEX |I32 type|NN OP* label
81830854 1475ApdR |OP* |newLOOPOP |I32 flags|I32 debuggable|NN OP* expr|NULLOK OP* block
346c6a29
DM
1476ApdR |OP* |newNULLLIST
1477ApdR |OP* |newOP |I32 optype|I32 flags
23bc0519 1478Cp |void |newPROG |NN OP* o
346c6a29
DM
1479ApdR |OP* |newRANGE |I32 flags|NN OP* left|NN OP* right
1480ApdR |OP* |newSLICEOP |I32 flags|NULLOK OP* subscript|NULLOK OP* listop
1481ApdR |OP* |newSTATEOP |I32 flags|NULLOK char* label|NULLOK OP* o
0e75c27b 1482AdpbM |CV* |newSUB |I32 floor|NULLOK OP* o|NULLOK OP* proto \
7bff8c33 1483 |NULLOK OP* block
65648910 1484ApdRx |OP* |newTRYCATCHOP |I32 flags|NN OP* tryblock|NN OP *catchvar|NN OP* catchblock
f79e2ff9 1485ApdRx |OP* |newDEFEROP |I32 flags|NN OP *block
68cd13c6 1486pd |CV * |newXS_len_flags|NULLOK const char *name|STRLEN len \
032a0447 1487 |NN XSUBADDR_t subaddr\
9a189793 1488 |NULLOK const char *const filename \
8f82b567
FC
1489 |NULLOK const char *const proto \
1490 |NULLOK SV **const_svp|U32 flags
9a189793 1491pX |CV * |newXS_deffile |NN const char *name|NN XSUBADDR_t subaddr
e4aeb12f 1492Apx |CV * |newXS_flags |NULLOK const char *name|NN XSUBADDR_t subaddr\
77004dee
NC
1493 |NN const char *const filename \
1494 |NULLOK const char *const proto|U32 flags
44170c9a 1495ApdU |CV* |newXS |NULLOK const char *name|NN XSUBADDR_t subaddr\
4048f010 1496 |NN const char *filename
b719801d 1497ApMdbR |AV* |newAV
5f6512c9
PE
1498ApdR |AV* |newAVav |NULLOK AV *oav
1499ApdR |AV* |newAVhv |NULLOK HV *ohv
0b1c19ab
RL
1500AmdR |AV* |newAV_alloc_x |SSize_t size
1501AmdR |AV* |newAV_alloc_xz |SSize_t size
346c6a29
DM
1502ApR |OP* |newAVREF |NN OP* o
1503ApdR |OP* |newBINOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
1504ApR |OP* |newCVREF |I32 flags|NULLOK OP* o
1505ApdR |OP* |newGVOP |I32 type|I32 flags|NN GV* gv
875e4924
KW
1506Amd |GV* |newGVgen |NN const char* pack
1507ApdR |GV* |newGVgen_flags |NN const char* pack|U32 flags
346c6a29
DM
1508ApR |OP* |newGVREF |I32 type|NULLOK OP* o
1509ApR |OP* |newHVREF |NN OP* o
b719801d 1510ApMdbR |HV* |newHV
62f3b341 1511ApRd |HV* |newHVhv |NULLOK HV *hv
9287e2bf 1512ApRbMd |IO* |newIO
346c6a29 1513ApdR |OP* |newLISTOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
e4aeb12f
KW
1514AxpdRT |PADNAME *|newPADNAMEouter|NN PADNAME *outer
1515AxpdRT |PADNAME *|newPADNAMEpvn|NN const char *s|STRLEN len
1516AxpdRT |PADNAMELIST *|newPADNAMELIST|size_t max
392d04bb 1517#ifdef USE_ITHREADS
346c6a29
DM
1518ApdR |OP* |newPADOP |I32 type|I32 flags|NN SV* sv
1519#endif
1520ApdR |OP* |newPMOP |I32 type|I32 flags
1521ApdR |OP* |newPVOP |I32 type|I32 flags|NULLOK char* pv
ac950c89 1522ApdR |SV* |newRV |NN SV *const sv
819d09b5 1523ApdiR |SV* |newRV_noinc |NN SV *const tmpRef
346c6a29
DM
1524ApdR |SV* |newSV |const STRLEN len
1525ApR |OP* |newSVREF |NN OP* o
1526ApdR |OP* |newSVOP |I32 type|I32 flags|NN SV* sv
ce409cc8 1527ApdR |OP* |newDEFSVOP
346c6a29 1528pR |SV* |newSVavdefelem |NN AV *av|SSize_t ix|bool extendible
fff0089c
YO
1529ApdR |SV* |newSVbool |const bool bool_val
1530ApdR |SV* |newSV_true
1531ApdR |SV* |newSV_false
346c6a29
DM
1532ApdR |SV* |newSViv |const IV i
1533ApdR |SV* |newSVuv |const UV u
1534ApdR |SV* |newSVnv |const NV n
1535ApdR |SV* |newSVpv |NULLOK const char *const s|const STRLEN len
a5ba2527 1536ApdR |SV* |newSVpvn |NULLOK const char *const buffer|const STRLEN len
346c6a29
DM
1537ApdR |SV* |newSVpvn_flags |NULLOK const char *const s|const STRLEN len|const U32 flags
1538ApdR |SV* |newSVhek |NULLOK const HEK *const hek
e033b0b9 1539ApdR |SV* |newSVhek_mortal|NULLOK const HEK *const hek
346c6a29
DM
1540ApdR |SV* |newSVpvn_share |NULLOK const char* s|I32 len|U32 hash
1541ApdR |SV* |newSVpv_share |NULLOK const char* s|U32 hash
1542AfpdR |SV* |newSVpvf |NN const char *const pat|...
9c21e529 1543ApRd |SV* |vnewSVpvf |NN const char *const pat|NULLOK va_list *const args
12964ddd 1544Apd |SV* |newSVrv |NN SV *const rv|NULLOK const char *const classname
b719801d 1545ApMbdR |SV* |newSVsv |NULLOK SV *const old
ef9e3b4d 1546AmdR |SV* |newSVsv_nomg |NULLOK SV *const old
3e793456 1547AdpR |SV* |newSVsv_flags |NULLOK SV *const old|I32 flags
75acd14e 1548ApdiR |SV* |newSV_type |const svtype type
7ea8b04b 1549ApdIR |SV* |newSV_type_mortal|const svtype type
346c6a29
DM
1550ApdR |OP* |newUNOP |I32 type|I32 flags|NULLOK OP* first
1551ApdR |OP* |newUNOP_AUX |I32 type|I32 flags|NULLOK OP* first \
2f7c6295 1552 |NULLOK UNOP_AUX_item *aux
7896dde7 1553ApdR |OP* |newWHENOP |NULLOK OP* cond|NN OP* block
346c6a29 1554ApdR |OP* |newWHILEOP |I32 flags|I32 debuggable|NULLOK LOOP* loop \
94bf0465 1555 |NULLOK OP* expr|NULLOK OP* block|NULLOK OP* cont \
a034e688 1556 |I32 has_my
346c6a29
DM
1557ApdR |OP* |newMETHOP |I32 type|I32 flags|NN OP* dynamic_meth
1558ApdR |OP* |newMETHOP_named|I32 type|I32 flags|NN SV* const_meth
d9088386
Z
1559Apd |CV* |rv2cv_op_cv |NN OP *cvop|U32 flags
1560Apd |OP* |ck_entersub_args_list|NN OP *entersubop
1561Apd |OP* |ck_entersub_args_proto|NN OP *entersubop|NN GV *namegv|NN SV *protosv
1562Apd |OP* |ck_entersub_args_proto_or_list|NN OP *entersubop|NN GV *namegv|NN SV *protosv
4aaa4757
FC
1563po |OP* |ck_entersub_args_core|NN OP *entersubop|NN GV *namegv \
1564 |NN SV *protosv
d9088386 1565Apd |void |cv_get_call_checker|NN CV *cv|NN Perl_call_checker *ckfun_p|NN SV **ckobj_p
71c697de 1566Apd |void |cv_get_call_checker_flags|NN CV *cv|U32 gflags|NN Perl_call_checker *ckfun_p|NN SV **ckobj_p|NN U32 *ckflags_p
d9088386 1567Apd |void |cv_set_call_checker|NN CV *cv|NN Perl_call_checker ckfun|NN SV *ckobj
aa38f4b1
FC
1568Apd |void |cv_set_call_checker_flags|NN CV *cv \
1569 |NN Perl_call_checker ckfun \
71c697de 1570 |NN SV *ckobj|U32 ckflags
e8570548 1571Apd |void |wrap_op_checker|Optype opcode|NN Perl_check_t new_checker|NN Perl_check_t *old_checker_p
e4aeb12f 1572Axpd |void |wrap_keyword_plugin|NN Perl_keyword_plugin_t new_plugin|NN Perl_keyword_plugin_t *old_plugin_p
3d3147ad 1573CpR |PERL_SI*|new_stackinfo|I32 stitems|I32 cxitems
a01c9670 1574Apd |char* |scan_vstring |NN const char *s|NN const char *const e \
4048f010 1575 |NN SV *sv
9f6cc744 1576Apd |const char* |scan_version |NN const char *s|NN SV *rv|bool qv
91152fc1 1577Apd |const char* |prescan_version |NN const char *s\
5747a2f6
RGS
1578 |bool strict|NULLOK const char** errstr|NULLOK bool *sqv\
1579 |NULLOK int *ssaw_decimal|NULLOK int *swidth|NULLOK bool *salpha
2d03de9c 1580Apd |SV* |new_version |NN SV *ver
ac0e6a2f 1581Apd |SV* |upg_version |NN SV *ver|bool qv
5de8bffd 1582Apd |SV* |vverify |NN SV *vs
2d03de9c
AL
1583Apd |SV* |vnumify |NN SV *vs
1584Apd |SV* |vnormal |NN SV *vs
1585Apd |SV* |vstringify |NN SV *vs
9f6cc744 1586Apd |int |vcmp |NN SV *lhv|NN SV *rhv
67022846 1587: Used in pp_hot.c and pp_sys.c
157fb5a1 1588p |PerlIO*|nextargv |NN GV* gv|bool nomagicopen
54c193ae 1589AdMTpP |char* |ninstr |NN const char* big|NN const char* bigend \
b8070b07 1590 |NN const char* little|NN const char* lend
1d70cb64 1591Apd |void |op_free |NULLOK OP* arg
e4aeb12f 1592xp |OP* |op_unscope |NULLOK OP* o
7aef8e5b 1593#ifdef PERL_CORE
8be227ab
FC
1594p |void |opslab_free |NN OPSLAB *slab
1595p |void |opslab_free_nopad|NN OPSLAB *slab
1596p |void |opslab_force_free|NN OPSLAB *slab
1597#endif
67022846 1598: Used in perly.y
2d03de9c 1599p |void |package |NN OP* o
6fa4d285
DG
1600: Used in perly.y
1601p |void |package_version|NN OP* v
67022846 1602: Used in toke.c and perly.y
d6447115
NC
1603p |PADOFFSET|allocmy |NN const char *const name|const STRLEN len\
1604 |const U32 flags
d4d03940 1605#ifdef USE_ITHREADS
c1a02cca 1606Adxp |PADOFFSET|alloccopstash|NN HV *hv
d4d03940 1607#endif
67022846 1608: Used in perly.y
1df70142 1609pR |OP* |oopsAV |NN OP* o
67022846 1610: Used in perly.y
1df70142 1611pR |OP* |oopsHV |NN OP* o
cc76b5cc 1612
1a0a2ba9 1613: peephole optimiser
666e7765 1614p |void |peep |NULLOK OP* o
1a0a2ba9 1615p |void |rpeep |NULLOK OP* o
67022846 1616: Defined in doio.c, used only in pp_hot.c
e4aeb12f 1617dopx |PerlIO*|start_glob |NN SV *tmpglob|NN IO *io
f59c1a32 1618
aae9ca42
KW
1619Cp |void |reentrant_size
1620Cp |void |reentrant_init
1621Cp |void |reentrant_free
1622CFTp |void* |reentrant_retry|NN const char *f|...
f59c1a32 1623
7b53c8ee
NC
1624: "Very" special - can't use the O flag for this one:
1625: (The rename from perl_atexit to Perl_call_atexit was in 864dbfa3ca8032ef)
4de0ce36 1626Apd |void |call_atexit |ATEXIT_t fn|NULLOK void *ptr
7b53c8ee
NC
1627ApdO |I32 |call_argv |NN const char* sub_name|I32 flags|NN char** argv
1628ApdO |I32 |call_method |NN const char* methname|I32 flags
1629ApdO |I32 |call_pv |NN const char* sub_name|I32 flags
8162b70e 1630ApdO |I32 |call_sv |NN SV* sv|volatile I32 flags
644499ef 1631Cp |void |despatch_signals
0d5c4974 1632Cp |OP * |doref |NN OP *o|I32 type|bool set_op_ref
7b53c8ee
NC
1633ApdO |SV* |eval_pv |NN const char* p|I32 croak_on_error
1634ApdO |I32 |eval_sv |NN SV* sv|I32 flags
1635ApdO |SV* |get_sv |NN const char *name|I32 flags
1636ApdO |AV* |get_av |NN const char *name|I32 flags
1637ApdO |HV* |get_hv |NN const char *name|I32 flags
1638ApdO |CV* |get_cv |NN const char* name|I32 flags
780a5241 1639Apd |CV* |get_cvn_flags |NN const char* name|STRLEN len|I32 flags
20ad7b23
KW
1640Tp |void |force_locale_unlock
1641CTpor |void |locale_panic |NN const char * msg \
1642 |NN const char * file_name \
1643 |const line_t line \
1644 |const int errnum
45b29440 1645ATdo |const char*|Perl_setlocale|const int category|NULLOK const char* locale
b7f19487 1646Ado |HV * |Perl_localeconv
f7416781 1647#if defined(HAS_NL_LANGINFO) && defined(PERL_LANGINFO_H)
45b29440 1648ATdo |const char*|Perl_langinfo|const nl_item item
d0826532 1649ATdo |const char*|Perl_langinfo8|const nl_item item|NULLOK utf8ness_t * utf8ness
f7416781 1650#else
45b29440 1651ATdo |const char*|Perl_langinfo|const int item
d0826532 1652ATdo |const char*|Perl_langinfo8|const int item|NULLOK utf8ness_t * utf8ness
f7416781 1653#endif
c728a1a6
KW
1654#ifdef WIN32
1655p |bool |get_win32_message_utf8ness|NULLOK const char * string
1656#endif
d5f728f7 1657pEX |int |mbtowc_|NULLOK const wchar_t * pwc|NULLOK const char * s|const Size_t len
09232555 1658CpO |int |init_i18nl10n |int printwarn
8fffab58 1659p |const char* |my_strerror |const int errnum|NN utf8ness_t * utf8ness
45b29440 1660XpT |void |_warn_problematic_locale
5792c642 1661Xp |void |set_numeric_underlying
8d8472df 1662Xp |void |set_numeric_standard
cbd352a7 1663Cp |bool |_is_in_locale_category|const bool compiling|const int category
45b29440
KW
1664ApdT |void |switch_to_global_locale
1665ApdT |bool |sync_locale
e4aeb12f
KW
1666ApxT |void |thread_locale_init
1667ApxT |void |thread_locale_term
7b53c8ee 1668ApdO |void |require_pv |NN const char* pv
dd14162d 1669Apd |void |packlist |NN SV *cat|NN const char *pat|NN const char *patend|NN SV **beglist|NN SV **endlist
ed4173ef 1670#if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
9f589e47 1671S |void |pidgone |Pid_t pid|int status
ca0c25f6 1672#endif
67022846 1673: Used in perly.y
9b6b7be8 1674p |OP* |pmruntime |NN OP *o|NN OP *expr|NULLOK OP *repl \
5012eebe 1675 |UV flags|I32 floor
43869a0c 1676#if defined(PERL_IN_OP_C)
9f589e47 1677S |OP* |pmtrans |NN OP* o|NN OP* expr|NN OP* repl
0d86688d 1678#endif
58a0d047 1679p |void |invmap_dump |NN SV* invlist|NN UV * map
f58e1f6c
KW
1680Cpd |void |pop_scope
1681Cpd |void |push_scope
700d83cb 1682#if defined(PERL_IN_PERLY_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_TOKE_C)
53ee2144 1683pMb |OP* |ref |NULLOK OP* o|I32 type
700d83cb 1684#endif
43869a0c 1685#if defined(PERL_IN_OP_C)
9f589e47 1686S |OP* |refkids |NULLOK OP* o|I32 type
0d86688d 1687#endif
93b32b6d 1688
cc25aab6 1689ATpd |void |repeatcpy |NN char* to|NN const char* from|I32 len|IV count
45b29440 1690AdTpP |char* |rninstr |NN const char* big|NN const char* bigend \
a3b680e6 1691 |NN const char* little|NN const char* lend
962fce0f 1692Apd |Sighandler_t|rsignal |int i|Sighandler_t t
67022846 1693: Used in pp_sys.c
7827dc65 1694p |int |rsignal_restore|int i|NULLOK Sigsave_t* t
67022846 1695: Used in pp_sys.c
9f6cc744 1696p |int |rsignal_save |int i|Sighandler_t t1|NN Sigsave_t* save
97172efd 1697Apd |Sighandler_t|rsignal_state|int i
43869a0c 1698#if defined(PERL_IN_PP_CTL_C)
9f589e47
KW
1699S |void |rxres_free |NN void** rsp
1700S |void |rxres_restore |NN void **rsp|NN REGEXP *rx
9c105995
NC
1701#endif
1702: Used in pp_hot.c
4048f010 1703p |void |rxres_save |NN void **rsp|NN REGEXP *rx
94bdecf9 1704#if !defined(HAS_RENAME)
67022846 1705: Used in pp_sys.c
4373e329 1706p |I32 |same_dirent |NN const char* a|NN const char* b
94bdecf9 1707#endif
639f6c3d 1708Apda |char* |savepv |NULLOK const char* pv
052d9143 1709Apda |char* |savepvn |NULLOK const char* pv|Size_t len
7827dc65 1710Apda |char* |savesharedpv |NULLOK const char* pv
6379d4a9
FC
1711
1712: NULLOK only to suppress a compiler warning
1713Apda |char* |savesharedpvn |NULLOK const char *const pv \
1714 |const STRLEN len
9dcc53ea 1715Apda |char* |savesharedsvpv |NN SV *sv
53c1dcc0 1716Apda |char* |savesvpv |NN SV* sv
cc771d08
KW
1717Cp |void |savestack_grow
1718Cp |void |savestack_grow_cnt |I32 need
d4192ed9
KW
1719Amd |void |save_aelem |NN AV* av|SSize_t idx|NN SV **sptr
1720Apd |void |save_aelem_flags|NN AV* av|SSize_t idx|NN SV **sptr \
c70927a6 1721 |const U32 flags
1f3d7af7 1722Cpd |I32 |save_alloc |I32 size|I32 pad
4f313521
KW
1723Apdh |void |save_aptr |NN AV** aptr
1724Apdh |AV* |save_ary |NN GV* gv
c3c93274
KW
1725Cp |void |save_bool |NN bool* boolp
1726Cp |void |save_clearsv |NN SV** svp
1727Cp |void |save_delete |NN HV *hv|NN char *key|I32 klen
aaa067ea
KW
1728Cpd |void |save_hdelete |NN HV *hv|NN SV *keysv
1729Cpd |void |save_adelete |NN AV *av|SSize_t key
c3c93274
KW
1730Cp |void |save_destructor|DESTRUCTORFUNC_NOCONTEXT_t f|NN void* p
1731Cp |void |save_destructor_x|DESTRUCTORFUNC_t f|NULLOK void* p
1732CpMb |void |save_freesv |NULLOK SV* sv
67022846 1733: Used in SAVEFREOP(), used in op.c, pp_ctl.c
c3c93274
KW
1734CpMb |void |save_freeop |NULLOK OP* o
1735CpMb |void |save_freepv |NULLOK char* pv
e446bf93
KW
1736Cpd |void |save_generic_svref|NN SV** sptr
1737Cpd |void |save_generic_pvref|NN char** str
1738Cpd |void |save_shared_pvref|NN char** str
364bbfa4 1739Adp |void |save_gp |NN GV* gv|I32 empty
4f313521 1740Apdh |HV* |save_hash |NN GV* gv
e446bf93 1741Cpd |void |save_hints
d4192ed9
KW
1742Amd |void |save_helem |NN HV *hv|NN SV *key|NN SV **sptr
1743Apd |void |save_helem_flags|NN HV *hv|NN SV *key|NN SV **sptr|const U32 flags
4f313521 1744Apdh |void |save_hptr |NN HV** hptr
c3c93274
KW
1745Cp |void |save_I16 |NN I16* intp
1746Cp |void |save_I32 |NN I32* intp
1747Cp |void |save_I8 |NN I8* bytep
1748Cp |void |save_int |NN int* intp
53dedf6f 1749Apdh |void |save_item |NN SV* item
c3c93274 1750Cp |void |save_iv |NN IV *ivp
c3c93274 1751CpMb |void |save_mortalizesv|NN SV* sv
67022846 1752: Used in SAVEFREOP(), used in gv.c, op.c, perl.c, pp_ctl.c, pp_sort.c
e446bf93 1753CpMbd |void |save_op
4f313521 1754Apdh |SV* |save_scalar |NN GV* gv
c3c93274 1755Cp |void |save_pptr |NN char** pptr
e446bf93 1756Cpd |void |save_vptr |NN void *ptr
c3c93274 1757Cp |void |save_re_context
e446bf93 1758Cpd |void |save_padsv_and_mortalize|PADOFFSET off
c3c93274 1759Cp |void |save_sptr |NN SV** sptr
e8eb279c 1760Xp |void |save_strlen |NN STRLEN* ptr
4f313521 1761Apdh |SV* |save_svref |NN SV** sptr
e4aeb12f 1762Axpo |void |savetmps
4601e425 1763Cpd |void |save_pushptr |NULLOK void *const ptr|const int type
cc245419 1764Cp |void |save_pushi32ptr|const I32 i|NULLOK void *const ptr|const int type
dfcd3de5 1765: Used by SAVESWITCHSTACK() in pp.c
cc245419 1766Cp |void |save_pushptrptr|NULLOK void *const ptr1 \
dfcd3de5 1767 |NULLOK void *const ptr2|const int type
43869a0c 1768#if defined(PERL_IN_SCOPE_C)
9f589e47 1769S |void |save_pushptri32ptr|NULLOK void *const ptr1|const I32 i \
be84297e
NC
1770 |NULLOK void *const ptr2|const int type
1771#endif
2ac0ce0e
KW
1772Xiop |I32 |TOPMARK
1773Xiop |I32 |POPMARK
67022846 1774: Used in perly.y
aec46f14 1775p |OP* |sawparens |NULLOK OP* o
d9088386 1776Apd |OP* |op_contextualize|NN OP* o|I32 context
67022846 1777: Used in perly.y
aec46f14 1778p |OP* |scalar |NULLOK OP* o
43869a0c 1779#if defined(PERL_IN_OP_C)
9f589e47 1780S |OP* |scalarkids |NULLOK OP* o
ec40a663 1781S |OP* |voidnonfinal |NULLOK OP* o
2dd5337b 1782#endif
67022846 1783: Used in pp_ctl.c
aec46f14
AL
1784p |OP* |scalarvoid |NN OP* o
1785Apd |NV |scan_bin |NN const char* start|STRLEN len|NN STRLEN* retlen
1786Apd |NV |scan_hex |NN const char* start|STRLEN len|NN STRLEN* retlen
f9e23554 1787Cp |char* |scan_num |NN const char* s|NN YYSTYPE *lvalp
aec46f14 1788Apd |NV |scan_oct |NN const char* start|STRLEN len|NN STRLEN* retlen
e4aeb12f 1789Axpd |OP* |op_scope |NULLOK OP* o
1a7eed13 1790ApdRx |OP* |op_wrap_finally|NN OP *block|NN OP *finally
e2051532 1791: Only used by perl.c/miniperl.c, but defined in caretx.c
5af72e99 1792pe |void |set_caret_X
9a9bb270 1793Apd |void |setdefout |NN GV* gv
aa2fd017 1794Cp |HEK* |share_hek |NN const char* str|SSize_t len|U32 hash
5e7940ce 1795#ifdef PERL_USE_3ARG_SIGHANDLER
d67fec57 1796: Used in perl.c
e7124897 1797Tp |Signal_t |sighandler |int sig|NULLOK Siginfo_t *info|NULLOK void *uap
87e5fe87 1798CTp |Signal_t |csighandler |int sig|NULLOK Siginfo_t *info|NULLOK void *uap
8aad04aa 1799#else
45b29440 1800Tp |Signal_t |sighandler |int sig
87e5fe87 1801CTp |Signal_t |csighandler |int sig
8aad04aa 1802#endif
dc37125b 1803Tp |Signal_t |sighandler1 |int sig
87e5fe87 1804CTp |Signal_t |csighandler1 |int sig
dc37125b 1805Tp |Signal_t |sighandler3 |int sig|NULLOK Siginfo_t *info|NULLOK void *uap
87e5fe87
KW
1806CTp |Signal_t |csighandler3 |int sig|NULLOK Siginfo_t *info|NULLOK void *uap
1807CTp |Signal_t |perly_sighandler |int sig|NULLOK Siginfo_t *info|NULLOK void *uap|bool safe
b4e89267 1808Cp |SV** |stack_grow |NN SV** sp|NN SV** p|SSize_t n
f19710fb 1809Apd |I32 |start_subparse |I32 is_format|U32 flags
50333c97 1810Xp |void |init_named_cv |NN CV *cv|NN OP *nameop
67022846 1811: Used in pp_ctl.c
aec46f14 1812p |void |sub_crush_depth|NN CV* cv
22090b13
KW
1813CpbMd |bool |sv_2bool |NN SV *const sv
1814Cpd |bool |sv_2bool_flags |NN SV *sv|I32 flags
23f13727
SS
1815Apd |CV* |sv_2cv |NULLOK SV* sv|NN HV **const st|NN GV **const gvp \
1816 |const I32 lref
1817Apd |IO* |sv_2io |NN SV *const sv
43869a0c 1818#if defined(PERL_IN_SV_C)
9f589e47 1819S |bool |glob_2number |NN GV* const gv
180488f8 1820#endif
baf0bea7 1821CpMb |IV |sv_2iv |NN SV *sv
1061065f 1822Apd |IV |sv_2iv_flags |NN SV *const sv|const I32 flags
23f13727 1823Apd |SV* |sv_2mortal |NULLOK SV *const sv
1061065f 1824Apd |NV |sv_2nv_flags |NN SV *const sv|const I32 flags
67022846 1825: Used in pp.c, pp_hot.c, sv.c
e4aeb12f 1826pxd |SV* |sv_2num |NN SV *const sv
824d5263
KW
1827ApdMb |char* |sv_2pv |NN SV *sv|NULLOK STRLEN *lp
1828Apd |char* |sv_2pv_flags |NN SV *const sv|NULLOK STRLEN *const lp|const U32 flags
b719801d 1829ApdMb |char* |sv_2pvutf8 |NN SV *sv|NULLOK STRLEN *const lp
56e924a3 1830Apd |char* |sv_2pvutf8_flags |NN SV *sv|NULLOK STRLEN *const lp|const U32 flags
b719801d 1831ApdMb |char* |sv_2pvbyte |NN SV *sv|NULLOK STRLEN *const lp
56e924a3 1832Apd |char* |sv_2pvbyte_flags |NN SV *sv|NULLOK STRLEN *const lp|const U32 flags
baf0bea7 1833CpMb |UV |sv_2uv |NN SV *sv
1061065f 1834Apd |UV |sv_2uv_flags |NN SV *const sv|const I32 flags
16376614 1835Cpd |I32 |sv_true |NULLOK SV *const sv
43869a0c 1836#if defined(PERL_IN_SV_C)
9f589e47 1837Sd |void |sv_add_arena |NN char *const ptr|const U32 size \
d2bd4e7f
NC
1838 |const U32 flags
1839#endif
45b29440 1840ApdT |void |sv_backoff |NN SV *const sv
12964ddd 1841Apd |SV* |sv_bless |NN SV *const sv|NN HV *const stash
b001a0d1
FC
1842#if defined(PERL_DEBUG_READONLY_COW)
1843p |void |sv_buf_to_ro |NN SV *sv
1620d805 1844# if defined(PERL_IN_SV_C)
9f589e47 1845S |void |sv_buf_to_rw |NN SV *sv
1620d805 1846# endif
b001a0d1 1847#endif
66ceb532
SS
1848Afpd |void |sv_catpvf |NN SV *const sv|NN const char *const pat|...
1849Apd |void |sv_vcatpvf |NN SV *const sv|NN const char *const pat \
1850 |NULLOK va_list *const args
37ee558d 1851Apd |void |sv_catpv |NN SV *const dsv|NULLOK const char* sstr
b719801d 1852ApMdb |void |sv_catpvn |NN SV *dsv|NN const char *sstr|STRLEN len
37ee558d 1853ApMdb |void |sv_catsv |NN SV *dsv|NULLOK SV *sstr
2e000ff2 1854Apd |void |sv_chop |NN SV *const sv|NULLOK const char *const ptr
67022846 1855: Used only in perl.c
94bdecf9 1856pd |I32 |sv_clean_all
67022846 1857: Used only in perl.c
94bdecf9 1858pd |void |sv_clean_objs
5239d5c4 1859Apd |void |sv_clear |NN SV *const orig_sv
4155e4fe 1860#if defined(PERL_IN_SV_C)
9f589e47 1861S |bool |curse |NN SV * const sv|const bool check_refcnt
4155e4fe 1862#endif
917b9b54 1863AMpd |I32 |sv_cmp |NULLOK SV *const sv1|NULLOK SV *const sv2
31c72c81
NC
1864Apd |I32 |sv_cmp_flags |NULLOK SV *const sv1|NULLOK SV *const sv2 \
1865 |const U32 flags
917b9b54 1866AMpd |I32 |sv_cmp_locale |NULLOK SV *const sv1|NULLOK SV *const sv2
31c72c81
NC
1867Apd |I32 |sv_cmp_locale_flags |NULLOK SV *const sv1 \
1868 |NULLOK SV *const sv2|const U32 flags
94bdecf9 1869#if defined(USE_LOCALE_COLLATE)
b719801d 1870ApbMd |char* |sv_collxfrm |NN SV *const sv|NN STRLEN *const nxp
078504b2 1871Apd |char* |sv_collxfrm_flags |NN SV *const sv|NN STRLEN *const nxp|I32 const flags
94bdecf9 1872#endif
4373e329 1873Apd |int |getcwd_sv |NN SV* sv
ac1e9476 1874Apd |void |sv_dec |NULLOK SV *const sv
6f1401dc 1875Apd |void |sv_dec_nomg |NULLOK SV *const sv
c1a02cca 1876Apd |void |sv_dump |NULLOK SV* sv
15f169a1 1877ApdR |bool |sv_derived_from|NN SV* sv|NN const char *const name
c7abbf64
BF
1878ApdR |bool |sv_derived_from_sv|NN SV* sv|NN SV *namesv|U32 flags
1879ApdR |bool |sv_derived_from_pv|NN SV* sv|NN const char *const name|U32 flags
1880ApdR |bool |sv_derived_from_pvn|NN SV* sv|NN const char *const name \
c60dbbc3 1881 |const STRLEN len|U32 flags
813e85a0 1882ApdRx |bool |sv_isa_sv |NN SV* sv|NN SV* namesv
15f169a1 1883ApdR |bool |sv_does |NN SV* sv|NN const char *const name
f778bcfd
BF
1884ApdR |bool |sv_does_sv |NN SV* sv|NN SV* namesv|U32 flags
1885ApdR |bool |sv_does_pv |NN SV* sv|NN const char *const name|U32 flags
1886ApdR |bool |sv_does_pvn |NN SV* sv|NN const char *const name|const STRLEN len \
1887 |U32 flags
b719801d 1888ApbMd |I32 |sv_eq |NULLOK SV* sv1|NULLOK SV* sv2
31c72c81 1889Apd |I32 |sv_eq_flags |NULLOK SV* sv1|NULLOK SV* sv2|const U32 flags
af828c01 1890Apd |void |sv_free |NULLOK SV *const sv
e4aeb12f 1891poxX |void |sv_free2 |NN SV *const sv|const U32 refcnt
67022846 1892: Used only in perl.c
94bdecf9 1893pd |void |sv_free_arenas
ac1e9476 1894Apd |char* |sv_gets |NN SV *const sv|NN PerlIO *const fp|I32 append
16376614 1895Cpd |char* |sv_grow |NN SV *const sv|STRLEN newlen
64b40566 1896Cpd |char* |sv_grow_fresh |NN SV *const sv|STRLEN newlen
ac1e9476 1897Apd |void |sv_inc |NULLOK SV *const sv
6f1401dc 1898Apd |void |sv_inc_nomg |NULLOK SV *const sv
b719801d 1899ApMdb |void |sv_insert |NN SV *const bigstr|const STRLEN offset \
84335ee9
NC
1900 |const STRLEN len|NN const char *const little \
1901 |const STRLEN littlelen
c0dd94a0 1902Apd |void |sv_insert_flags|NN SV *const bigstr|const STRLEN offset|const STRLEN len \
e7a8a8aa 1903 |NN const char *little|const STRLEN littlelen|const U32 flags
12964ddd 1904Apd |int |sv_isa |NULLOK SV* sv|NN const char *const name
aec46f14 1905Apd |int |sv_isobject |NULLOK SV* sv
af828c01
SS
1906Apd |STRLEN |sv_len |NULLOK SV *const sv
1907Apd |STRLEN |sv_len_utf8 |NULLOK SV *const sv
593d5c78 1908Apd |STRLEN |sv_len_utf8_nomg|NN SV *const sv
2b021c53 1909Apd |void |sv_magic |NN SV *const sv|NULLOK SV *const obj|const int how \
ac1e9476 1910 |NULLOK const char *const name|const I32 namlen
2b021c53
SS
1911Apd |MAGIC *|sv_magicext |NN SV *const sv|NULLOK SV *const obj|const int how \
1912 |NULLOK const MGVTBL *const vtbl|NULLOK const char *const name \
1913 |const I32 namlen
c9182d9c 1914EiTp |bool |sv_only_taint_gmagic|NN SV *sv
96c2a8ff 1915: exported for re.pm
d4431b89 1916EXp |MAGIC *|sv_magicext_mglob|NN SV *sv
b719801d 1917ApdbMR |SV* |sv_mortalcopy |NULLOK SV *const oldsv
c6dcb9ed 1918ApdR |SV* |sv_mortalcopy_flags|NULLOK SV *const oldsv|U32 flags
f54cb97a 1919ApdR |SV* |sv_newmortal
16376614 1920Cpd |SV* |sv_newref |NULLOK SV *const sv
1dd43bce
PE
1921Amd |bool |sv_numeq |NULLOK SV* sv1|NULLOK SV* sv2
1922Apd |bool |sv_numeq_flags |NULLOK SV* sv1|NULLOK SV* sv2|const U32 flags
511c9a03 1923Cpd |char* |sv_peek |NULLOK SV* sv
af828c01 1924Apd |void |sv_pos_u2b |NULLOK SV *const sv|NN I32 *const offsetp|NULLOK I32 *const lenp
d931b1be
NC
1925Apd |STRLEN |sv_pos_u2b_flags|NN SV *const sv|STRLEN uoffset \
1926 |NULLOK STRLEN *const lenp|U32 flags
ac1e9476 1927Apd |void |sv_pos_b2u |NULLOK SV *const sv|NN I32 *const offsetp
ef54055c
FC
1928Apd |STRLEN |sv_pos_b2u_flags|NN SV *const sv|STRLEN const offset \
1929 |U32 flags
16376614
KW
1930CpMdb |char* |sv_pvn_force |NN SV* sv|NULLOK STRLEN* lp
1931Cpd |char* |sv_pvutf8n_force|NN SV *const sv|NULLOK STRLEN *const lp
40917323 1932ip |char* |sv_pvutf8n_force_wrapper|NN SV *const sv|NULLOK STRLEN *const lp|const U32 dummy
16376614 1933Cpd |char* |sv_pvbyten_force|NN SV *const sv|NULLOK STRLEN *const lp
40917323 1934ip |char* |sv_pvbyten_force_wrapper|NN SV *const sv|NULLOK STRLEN *const lp|const U32 dummy
aec46f14
AL
1935Apd |char* |sv_recode_to_utf8 |NN SV* sv|NN SV *encoding
1936Apd |bool |sv_cat_decode |NN SV* dsv|NN SV *encoding|NN SV *ssv|NN int *offset \
1937 |NN char* tstr|int tlen
12964ddd 1938ApdR |const char* |sv_reftype |NN const SV *const sv|const int ob
b1744e13 1939Apd |SV* |sv_ref |NULLOK SV *dst|NN const SV *const sv|const int ob
af828c01 1940Apd |void |sv_replace |NN SV *const sv|NN SV *const nsv
94bdecf9 1941Apd |void |sv_report_used
23f13727 1942Apd |void |sv_reset |NN const char* s|NULLOK HV *const stash
ca826051
FC
1943p |void |sv_resetpvn |NULLOK const char* s|STRLEN len \
1944 |NULLOK HV *const stash
89e38212
SS
1945Afpd |void |sv_setpvf |NN SV *const sv|NN const char *const pat|...
1946Apd |void |sv_vsetpvf |NN SV *const sv|NN const char *const pat|NULLOK va_list *const args
aad570aa 1947Apd |void |sv_setiv |NN SV *const sv|const IV num
aad570aa
SS
1948Apd |void |sv_setuv |NN SV *const sv|const UV num
1949Apd |void |sv_setnv |NN SV *const sv|const NV num
12964ddd
SS
1950Apd |SV* |sv_setref_iv |NN SV *const rv|NULLOK const char *const classname|const IV iv
1951Apd |SV* |sv_setref_uv |NN SV *const rv|NULLOK const char *const classname|const UV uv
1952Apd |SV* |sv_setref_nv |NN SV *const rv|NULLOK const char *const classname|const NV nv
1953Apd |SV* |sv_setref_pv |NN SV *const rv|NULLOK const char *const classname \
1954 |NULLOK void *const pv
1955Apd |SV* |sv_setref_pvn |NN SV *const rv|NULLOK const char *const classname \
1956 |NN const char *const pv|const STRLEN n
2e000ff2
SS
1957Apd |void |sv_setpv |NN SV *const sv|NULLOK const char *const ptr
1958Apd |void |sv_setpvn |NN SV *const sv|NULLOK const char *const ptr|const STRLEN len
64b40566 1959Apd |void |sv_setpvn_fresh|NN SV *const sv|NULLOK const char *const ptr|const STRLEN len
45661033 1960Apd |char *|sv_setpv_bufsize|NN SV *const sv|const STRLEN cur|const STRLEN len
70b71ec8 1961Xp |void |sv_sethek |NN SV *const sv|NULLOK const HEK *const hek
7c2d42a7 1962Apd |void |sv_setrv_noinc |NN SV *const sv|NN SV *const ref
11d02837 1963Apd |void |sv_setrv_inc |NN SV *const sv|NN SV *const ref
ecc6bf9b
PE
1964Apd |void |sv_setrv_noinc_mg |NN SV *const sv|NN SV *const ref
1965Apd |void |sv_setrv_inc_mg |NN SV *const sv|NN SV *const ref
37ee558d 1966ApMdb |void |sv_setsv |NN SV *dsv|NULLOK SV *ssv
e269455b
PE
1967Amd |bool |sv_streq |NULLOK SV* sv1|NULLOK SV* sv2
1968Apd |bool |sv_streq_flags |NULLOK SV* sv1|NULLOK SV* sv2|const U32 flags
16376614
KW
1969CpMdb |void |sv_taint |NN SV* sv
1970CpdR |bool |sv_tainted |NN SV *const sv
2b021c53 1971Apd |int |sv_unmagic |NN SV *const sv|const int type
b83794c7 1972Apd |int |sv_unmagicext |NN SV *const sv|const int type|NULLOK MGVTBL *vtbl
b719801d 1973ApdMb |void |sv_unref |NN SV* sv
89e38212 1974Apd |void |sv_unref_flags |NN SV *const ref|const U32 flags
16376614 1975Cpd |void |sv_untaint |NN SV *const sv
aad570aa 1976Apd |void |sv_upgrade |NN SV *const sv|svtype new_type
b719801d 1977ApdMb |void |sv_usepvn |NN SV* sv|NULLOK char* ptr|STRLEN len
2e000ff2
SS
1978Apd |void |sv_usepvn_flags|NN SV *const sv|NULLOK char* ptr|const STRLEN len\
1979 |const U32 flags
66ceb532 1980Apd |void |sv_vcatpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
ea4817b1 1981 |NULLOK va_list *const args|NULLOK SV **const svargs|const Size_t sv_count \
66ceb532 1982 |NULLOK bool *const maybe_tainted
4bac9ae4 1983Apd |void |sv_vcatpvfn_flags|NN SV *const sv|NN const char *const pat|const STRLEN patlen \
ea4817b1 1984 |NULLOK va_list *const args|NULLOK SV **const svargs|const Size_t sv_count \
4bac9ae4 1985 |NULLOK bool *const maybe_tainted|const U32 flags
66ceb532
SS
1986Apd |void |sv_vsetpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
1987 |NULLOK va_list *const args|NULLOK SV **const svargs \
ea4817b1 1988 |const Size_t sv_count|NULLOK bool *const maybe_tainted
ce9aa77f 1989CpR |NV |str_to_version |NN SV *sv
c8562d26 1990Cp |void |regdump |NN const regexp* r
dd14162d 1991CiTop |struct regexp *|ReANY |NN const REGEXP * const re
d771dca8 1992Apdh |I32 |pregexec |NN REGEXP * const prog|NN char* stringarg \
dd14162d
KW
1993 |NN char* strend|NN char* strbeg \
1994 |SSize_t minend |NN SV* screamer|U32 nosave
ee0cc936 1995Cp |void |pregfree |NULLOK REGEXP* r
0f81c2fe 1996Cp |void |pregfree2 |NN REGEXP *rx
dd14162d
KW
1997: FIXME - is anything in re using this now?
1998EXp |REGEXP*|reg_temp_copy |NULLOK REGEXP* dsv|NN REGEXP* ssv
0f81c2fe 1999Cp |void |regfree_internal|NN REGEXP *const rx
dd14162d 2000#if defined(USE_ITHREADS)
0f81c2fe 2001Cp |void* |regdupe_internal|NN REGEXP * const r|NN CLONE_PARAMS* param
a9269870 2002#endif
dd14162d 2003EXp |regexp_engine const *|current_re_engine
d771dca8 2004Apdh |REGEXP*|pregcomp |NN SV * const pattern|const U32 flags
dd14162d
KW
2005p |REGEXP*|re_op_compile |NULLOK SV ** const patternp \
2006 |int pat_count|NULLOK OP *expr \
2007 |NN const regexp_engine* eng \
2008 |NULLOK REGEXP *old_re \
2009 |NULLOK bool *is_bare_re \
2010 |const U32 rx_flags|const U32 pm_flags
b89c6d2b 2011Apd |REGEXP*|re_compile |NN SV * const pattern|U32 orig_rx_flags
dd14162d
KW
2012Cp |char* |re_intuit_start|NN REGEXP * const rx \
2013 |NULLOK SV* sv \
2014 |NN const char* const strbeg \
2015 |NN char* strpos \
2016 |NN char* strend \
2017 |const U32 flags \
2018 |NULLOK re_scream_pos_data *data
2019Cp |SV* |re_intuit_string|NN REGEXP *const r
d8ccb038 2020Cp |I32 |regexec_flags |NN REGEXP *const rx|NN char *stringarg \
dd14162d
KW
2021 |NN char *strend|NN char *strbeg \
2022 |SSize_t minend|NN SV *sv \
2023 |NULLOK void *data|U32 flags
1db310d0
YO
2024#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
2025CipR |regnode*|regnext |NULLOK const regnode* p
2026CipR |bool|check_regnode_after |NULLOK const regnode* p|const STRLEN extra
2027CipR |regnode*|regnode_after |NULLOK const regnode* p|bool varies
2028#endif
dd14162d
KW
2029EXp |SV*|reg_named_buff |NN REGEXP * const rx|NULLOK SV * const key \
2030 |NULLOK SV * const value|const U32 flags
2031EXp |SV*|reg_named_buff_iter |NN REGEXP * const rx|NULLOK const SV * const lastkey \
2032 |const U32 flags
bddd744b
KW
2033Cp |SV*|reg_named_buff_fetch |NN REGEXP * const rx|NN SV * const namesv|const U32 flags
2034Cp |bool|reg_named_buff_exists |NN REGEXP * const rx|NN SV * const key|const U32 flags
2035Cp |SV*|reg_named_buff_firstkey |NN REGEXP * const rx|const U32 flags
2036Cp |SV*|reg_named_buff_nextkey |NN REGEXP * const rx|const U32 flags
2037Cp |SV*|reg_named_buff_scalar |NN REGEXP * const rx|const U32 flags
2038Cp |SV*|reg_named_buff_all |NN REGEXP * const rx|const U32 flags
dd14162d
KW
2039
2040: FIXME - is anything in re using this now?
2041EXp |void|reg_numbered_buff_fetch|NN REGEXP * const rx|const I32 paren|NULLOK SV * const sv
2042: FIXME - is anything in re using this now?
2043EXp |void|reg_numbered_buff_store|NN REGEXP * const rx|const I32 paren|NULLOK SV const * const value
2044: FIXME - is anything in re using this now?
2045EXp |I32|reg_numbered_buff_length|NN REGEXP * const rx|NN const SV * const sv|const I32 paren
2046
2047: FIXME - is anything in re using this now?
2048EXp |SV*|reg_qr_package|NN REGEXP * const rx
be879013
KW
2049EXpRT |I16 |do_uniprop_match|NN const char * const key|const U16 key_len
2050EXpRT |const char * const *|get_prop_values|const int table_index
2051EXpR |SV * |get_prop_definition|const int table_index
2052EXpRT |const char *|get_deprecated_property_msg|const Size_t warning_offset
a9269870 2053#if defined(PERL_IN_REGCOMP_C)
d2c620e2 2054EiRT |bool |invlist_is_iterating|NN const SV* const invlist
a9269870
KW
2055EiR |SV* |invlist_contents|NN SV* const invlist \
2056 |const bool traditional_style
332f44b7 2057EixRT |UV |invlist_lowest|NN SV* const invlist
bcdc9e1e 2058EixRT |UV |invlist_highest_range_start|NN SV* const invlist
24ad3c33
KW
2059ERS |SV* |make_exactf_invlist |NN RExC_state_t *pRExC_state \
2060 |NN regnode *node
3c92cb14
YO
2061ES |regnode_offset|reg_la_NOTHING |NN RExC_state_t *pRExC_state \
2062 |U32 flags|NN const char *type
2063ES |regnode_offset|reg_la_OPFAIL |NN RExC_state_t *pRExC_state \
2064 |U32 flags|NN const char *type
dd14162d
KW
2065ES |regnode_offset|reg |NN RExC_state_t *pRExC_state \
2066 |I32 paren|NN I32 *flagp|U32 depth
2067ES |regnode_offset|regnode_guts|NN RExC_state_t *pRExC_state \
c45b4541
YO
2068 |const STRLEN extra_len
2069#ifdef DEBUGGING
2070ES |regnode_offset|regnode_guts_debug|NN RExC_state_t *pRExC_state \
2071 |const U8 op \
2072 |const STRLEN extra_len
2073#endif
dd14162d
KW
2074ES |void |change_engine_size|NN RExC_state_t *pRExC_state|const Ptrdiff_t size
2075ES |regnode_offset|reganode|NN RExC_state_t *pRExC_state|U8 op \
2076 |U32 arg
2077ES |regnode_offset|regpnode|NN RExC_state_t *pRExC_state|U8 op \
d3e3ece8 2078 |NN SV * arg
dd14162d
KW
2079ES |regnode_offset|reg2Lanode|NN RExC_state_t *pRExC_state \
2080 |const U8 op \
2081 |const U32 arg1 \
2082 |const I32 arg2
2083ES |regnode_offset|regatom |NN RExC_state_t *pRExC_state \
2084 |NN I32 *flagp|U32 depth
2085ES |regnode_offset|regbranch |NN RExC_state_t *pRExC_state \
2086 |NN I32 *flagp|I32 first|U32 depth
2087ES |void |set_ANYOF_arg |NN RExC_state_t* const pRExC_state \
2088 |NN regnode* const node \
2089 |NULLOK SV* const cp_list \
2090 |NULLOK SV* const runtime_defns \
2091 |NULLOK SV* const only_utf8_locale_list
2092ES |void |output_posix_warnings \
2093 |NN RExC_state_t *pRExC_state \
2094 |NN AV* posix_warnings
2095EiT |Size_t |find_first_differing_byte_pos|NN const U8 * s1|NN const U8 * s2| const Size_t max
2096ES |AV* |add_multi_match|NULLOK AV* multi_char_matches \
2097 |NN SV* multi_string \
2098 |const STRLEN cp_count
2099ES |regnode_offset|regclass|NN RExC_state_t *pRExC_state \
2100 |NN I32 *flagp|U32 depth|const bool stop_at_1 \
2101 |bool allow_multi_fold \
2102 |const bool silence_non_portable \
2103 |const bool strict \
2104 |bool optimizable \
2105 |NULLOK SV** ret_invlist
77a6d54c
KW
2106ES |U8|optimize_regclass |NN RExC_state_t *pRExC_state \
2107 |NULLOK SV* cp_list \
2108 |NULLOK SV* only_utf8_locale_list \
2109 |NULLOK SV* upper_latin1_only_utf8_matches \
2110 |const U32 has_runtime_dependency \
2111 |const U32 posixl \
2112 |NN U8 * anyof_flags \
2113 |NN bool * invert \
2114 |NN regnode_offset * ret \
2115 |NN I32 *flagp
be879013
KW
2116ES |SV * |parse_uniprop_string|NN const char * const name \
2117 |Size_t name_len \
2118 |const bool is_utf8 \
2119 |const bool to_fold \
2120 |const bool runtime \
2121 |const bool deferrable \
cc06e157 2122 |NULLOK AV ** strings \
be879013
KW
2123 |NN bool * user_defined_ptr \
2124 |NN SV * msg \
2125 |const STRLEN level
2126ES |SV * |handle_user_defined_property|NN const char * name \
2127 |const STRLEN name_len \
2128 |const bool is_utf8 \
2129 |const bool to_fold \
2130 |const bool runtime \
2131 |const bool deferrable \
2132 |NN SV* contents \
2133 |NN bool *user_defined_ptr \
2134 |NN SV * msg \
2135 |const STRLEN level
51bd1941 2136ERS |REGEXP*|compile_wildcard|NN const char * subpattern|const STRLEN len\
be879013
KW
2137 |const bool ignore_case
2138ES |I32 |execute_wildcard|NN REGEXP * const prog|NN char* stringarg \
2139 |NN char* strend|NN char* strbeg \
2140 |SSize_t minend |NN SV* screamer|U32 nosave
b1a91f30
KW
2141ES |bool |handle_names_wildcard \
2142 |NN const char * wname \
2143 |const STRLEN wname_len \
cc06e157
KW
2144 |NN SV ** prop_definition \
2145 |NN AV ** strings
dd14162d
KW
2146ES |void|add_above_Latin1_folds|NN RExC_state_t *pRExC_state|const U8 cp \
2147 |NN SV** invlist
19bb2455 2148ES |regnode_offset|handle_named_backref|NN RExC_state_t *pRExC_state \
dd14162d 2149 |NN I32 *flagp \
615094ef 2150 |NN char * backref_parse_start \
dd14162d
KW
2151 |char ch
2152ESTR |unsigned int|regex_set_precedence|const U8 my_operator
2153ES |regnode_offset|handle_regex_sets|NN RExC_state_t *pRExC_state \
2154 |NULLOK SV ** return_invlist \
c45b4541 2155 |NN I32 *flagp|U32 depth
dd14162d
KW
2156ES |void |set_regex_pv |NN RExC_state_t *pRExC_state|NN REGEXP *Rx
2157# if defined(DEBUGGING) && defined(ENABLE_REGEX_SETS_DEBUGGING)
2158ES |void |dump_regex_sets_structures \
2159 |NN RExC_state_t *pRExC_state \
2160 |NN AV * stack \
2161 |const IV fence|NN AV * fence_stack
2162# endif
2163ES |void|parse_lparen_question_flags|NN RExC_state_t *pRExC_state
2164ES |regnode_offset|reg_node|NN RExC_state_t *pRExC_state|U8 op
e513125a
KW
2165ES |U32 |get_quantifier_value|NN RExC_state_t *pRExC_state \
2166 |NN const char * start|NN const char * end
dd14162d
KW
2167ES |regnode_offset|regpiece|NN RExC_state_t *pRExC_state \
2168 |NN I32 *flagp|U32 depth
2169ES |bool |grok_bslash_N |NN RExC_state_t *pRExC_state \
2170 |NULLOK regnode_offset* nodep \
2171 |NULLOK UV *code_point_p \
2172 |NULLOK int* cp_count \
2173 |NN I32 *flagp \
2174 |const bool strict \
2175 |const U32 depth
2176ES |void |reginsert |NN RExC_state_t *pRExC_state \
2177 |const U8 op \
2178 |const regnode_offset operand \
2179 |const U32 depth
2180ESR |bool |regtail |NN RExC_state_t * pRExC_state \
2181 |NN const regnode_offset p \
2182 |NN const regnode_offset val \
2183 |const U32 depth
2184ES |SV * |reg_scan_name |NN RExC_state_t *pRExC_state \
2185 |U32 flags
2186ES |U32 |join_exact |NN RExC_state_t *pRExC_state \
2187 |NN regnode *scan|NN UV *min_subtract \
2188 |NN bool *unfolded_multi_char \
2189 |U32 flags|NULLOK regnode *val|U32 depth
19bb2455 2190EST |U8 |compute_EXACTish|NN RExC_state_t *pRExC_state
dd14162d
KW
2191ES |void |nextchar |NN RExC_state_t *pRExC_state
2192ES |void |skip_to_be_ignored_text|NN RExC_state_t *pRExC_state \
2193 |NN char ** p \
2194 |const bool force_to_xmod
2195EiT |char * |reg_skipcomment|NN RExC_state_t *pRExC_state|NN char * p
2196ES |void |scan_commit |NN const RExC_state_t *pRExC_state \
2197 |NN struct scan_data_t *data \
2198 |NN SSize_t *minlenp \
2199 |int is_inf
4bc69097 2200ES |void |populate_anyof_bitmap_from_invlist|NN regnode *node|NN SV** invlist_ptr
dd14162d
KW
2201ES |void |ssc_anything |NN regnode_ssc *ssc
2202ESRT |int |ssc_is_anything|NN const regnode_ssc *ssc
2203ES |void |ssc_init |NN const RExC_state_t *pRExC_state \
2204 |NN regnode_ssc *ssc
2205ESRT |int |ssc_is_cp_posixl_init|NN const RExC_state_t *pRExC_state \
2206 |NN const regnode_ssc *ssc
2207ES |void |ssc_and |NN const RExC_state_t *pRExC_state \
2208 |NN regnode_ssc *ssc \
2209 |NN const regnode_charclass *and_with
2210ES |void |ssc_or |NN const RExC_state_t *pRExC_state \
2211 |NN regnode_ssc *ssc \
2212 |NN const regnode_charclass *or_with
2213ES |SV* |get_ANYOF_cp_list_for_ssc \
2214 |NN const RExC_state_t *pRExC_state \
2215 |NN const regnode_charclass* const node
19bb2455 2216ES |void |ssc_intersection|NN regnode_ssc *ssc \
dd14162d 2217 |NN SV* const invlist|const bool invert_2nd
19bb2455 2218ES |void |ssc_union |NN regnode_ssc *ssc \
dd14162d 2219 |NN SV* const invlist|const bool invert_2nd
19bb2455 2220ES |void |ssc_add_range |NN regnode_ssc *ssc \
dd14162d 2221 |UV const start|UV const end
19bb2455 2222ES |void |ssc_cp_and |NN regnode_ssc *ssc \
dd14162d 2223 |UV const cp
19bb2455 2224EST |void |ssc_clear_locale|NN regnode_ssc *ssc
dd14162d
KW
2225ETS |bool |is_ssc_worth_it|NN const RExC_state_t * pRExC_state \
2226 |NN const regnode_ssc * ssc
2227ES |void |ssc_finalize |NN RExC_state_t *pRExC_state \
2228 |NN regnode_ssc *ssc
2229ES |SSize_t|study_chunk |NN RExC_state_t *pRExC_state \
2230 |NN regnode **scanp|NN SSize_t *minlenp \
2231 |NN SSize_t *deltap|NN regnode *last \
2232 |NULLOK struct scan_data_t *data \
2233 |I32 stopparen|U32 recursed_depth \
2234 |NULLOK regnode_ssc *and_withp \
3a1df45e 2235 |U32 flags|U32 depth|bool was_mutate_ok
30228cdc 2236ES |void |rck_elide_nothing|NN regnode *node
dd14162d 2237ESR |SV * |get_ANYOFM_contents|NN const regnode * n
4c8c99df 2238ESR |SV * |get_ANYOFHbbm_contents|NN const regnode * n
4bc69097
KW
2239ES |void |populate_bitmap_from_invlist \
2240 |NN SV * invlist \
2241 |const UV offset \
2242 |NN const U8 * bitmap \
2243 |const Size_t len
2244ES |void |populate_invlist_from_bitmap \
2245 |NN const U8 * bitmap \
2246 |const Size_t bitmap_len \
2247 |NN SV ** invlist \
2248 |const UV offset
dd14162d
KW
2249ESRT |U32 |add_data |NN RExC_state_t* const pRExC_state \
2250 |NN const char* const s|const U32 n
2251frS |void |re_croak |bool utf8|NN const char* pat|...
2252ES |int |handle_possible_posix \
2253 |NN RExC_state_t *pRExC_state \
2254 |NN const char* const s \
2255 |NULLOK char ** updated_parse_ptr \
2256 |NULLOK AV** posix_warnings \
2257 |const bool check_only
2258ES |I32 |make_trie |NN RExC_state_t *pRExC_state \
2259 |NN regnode *startbranch|NN regnode *first \
2260 |NN regnode *last|NN regnode *tail \
2261 |U32 word_count|U32 flags|U32 depth
2262ES |regnode *|construct_ahocorasick_from_trie|NN RExC_state_t *pRExC_state \
2263 |NN regnode *source|U32 depth
2264ETSR |int |edit_distance |NN const UV *src \
2265 |NN const UV *tgt \
2266 |const STRLEN x \
2267 |const STRLEN y \
2268 |const SSize_t maxDistance
dd14162d
KW
2269# ifdef DEBUGGING
2270EFp |int |re_indentf |NN const char *fmt|U32 depth|...
2271ES |void |regdump_intflags|NULLOK const char *lead| const U32 flags
2272ES |void |regdump_extflags|NULLOK const char *lead| const U32 flags
2273ES |const regnode*|dumpuntil|NN const regexp *r|NN const regnode *start \
2274 |NN const regnode *node \
2275 |NULLOK const regnode *last \
2276 |NULLOK const regnode *plast \
2277 |NN SV* sv|I32 indent|U32 depth
2278ES |void |put_code_point |NN SV* sv|UV c
e6a5aa5d 2279ES |U8 |put_charclass_bitmap_innards|NN SV* sv \
dd14162d
KW
2280 |NULLOK char* bitmap \
2281 |NULLOK SV* nonbitmap_invlist \
2282 |NULLOK SV* only_utf8_locale_invlist\
2283 |NULLOK const regnode * const node \
2284 |const U8 flags \
2285 |const bool force_as_is_display
2286ES |SV* |put_charclass_bitmap_innards_common \
2287 |NN SV* invlist \
2288 |NULLOK SV* posixes \
2289 |NULLOK SV* only_utf8 \
2290 |NULLOK SV* not_utf8 \
2291 |NULLOK SV* only_utf8_locale \
2292 |const bool invert
2293ES |void |put_charclass_bitmap_innards_invlist \
2294 |NN SV *sv \
2295 |NN SV* invlist
2296ES |void |put_range |NN SV* sv|UV start|const UV end \
2297 |const bool allow_literals
2298ES |void |dump_trie |NN const struct _reg_trie_data *trie\
2299 |NULLOK HV* widecharmap|NN AV *revcharmap\
2300 |U32 depth
2301ES |void |dump_trie_interim_list|NN const struct _reg_trie_data *trie\
2302 |NULLOK HV* widecharmap|NN AV *revcharmap\
2303 |U32 next_alloc|U32 depth
2304ES |void |dump_trie_interim_table|NN const struct _reg_trie_data *trie\
2305 |NULLOK HV* widecharmap|NN AV *revcharmap\
2306 |U32 next_alloc|U32 depth
2307ESR |bool |regtail_study |NN RExC_state_t *pRExC_state \
2308 |NN regnode_offset p|NN const regnode_offset val|U32 depth
2309# endif
2310# ifndef PERL_EXT_RE_BUILD
dd14162d 2311EiRT |UV* |_invlist_array_init |NN SV* const invlist|const bool will_have_0
d2c620e2 2312EiRT |UV |invlist_max |NN const SV* const invlist
dd14162d
KW
2313EiRT |IV* |get_invlist_previous_index_addr|NN SV* invlist
2314EiT |void |invlist_set_previous_index|NN SV* const invlist|const IV index
2315EiRT |IV |invlist_previous_index|NN SV* const invlist
2316EiT |void |invlist_trim |NN SV* invlist
2317Ei |void |invlist_clear |NN SV* invlist
2318ES |void |_append_range_to_invlist |NN SV* const invlist|const UV start|const UV end
2319ES |void |invlist_replace_list_destroys_src|NN SV *dest|NN SV *src
2320S |void |initialize_invlist_guts|NN SV* invlist|const Size_t initial_size
2321# endif
2322#endif
2323#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C)
2324EiR |SV* |add_cp_to_invlist |NULLOK SV* invlist|const UV cp
2325Ei |void |invlist_extend |NN SV* const invlist|const UV len
2326Ei |void |invlist_set_len|NN SV* const invlist|const UV len|const bool offset
2327EiRT |UV |invlist_highest|NN SV* const invlist
2328#endif
2329#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DOOP_C) || defined(PERL_IN_OP_C) || defined(PERL_IN_UTF8_C)
2330m |void |_invlist_intersection |NN SV* const a|NN SV* const b|NN SV** i
2331EXp |void |_invlist_intersection_maybe_complement_2nd \
2332 |NULLOK SV* const a|NN SV* const b \
2333 |const bool complement_b|NN SV** i
2334Cm |void |_invlist_union |NULLOK SV* const a|NN SV* const b|NN SV** output
2335EXp |void |_invlist_union_maybe_complement_2nd \
2336 |NULLOK SV* const a|NN SV* const b \
2337 |const bool complement_b|NN SV** output
2338m |void |_invlist_subtract|NN SV* const a|NN SV* const b|NN SV** result
2339EXp |void |_invlist_invert|NN SV* const invlist
2340EXpR |SV* |_new_invlist |IV initial_size
2341EXpR |SV* |_add_range_to_invlist |NULLOK SV* invlist|UV start|UV end
2342EXpR |SV* |_setup_canned_invlist|const STRLEN size|const UV element0|NN UV** other_elements_ptr
2343#endif
2344#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_TOKE_C)
2345EpRX |bool |grok_bslash_x |NN char** s \
2346 |NN const char* const send \
2347 |NN UV* uv \
2348 |NN const char** message \
2349 |NULLOK U32 * packed_warn \
2350 |const bool strict \
2351 |const bool allow_UV_MAX \
2352 |const bool utf8
2353EpRX |bool |grok_bslash_c |const char source \
2354 |NN U8 * result \
2355 |NN const char** message \
2356 |NULLOK U32 * packed_warn
2357EpRX |bool |grok_bslash_o |NN char** s \
2358 |NN const char* const send \
2359 |NN UV* uv \
2360 |NN const char** message \
2361 |NULLOK U32 * packed_warn \
2362 |const bool strict \
2363 |const bool allow_UV_MAX \
2364 |const bool utf8
2365EpRX |const char *|form_alien_digit_msg|const U8 which \
2366 |const STRLEN valids_len \
2367 |NN const char * const first_bad\
2368 |NN const char * const send \
2369 |const bool UTF \
2370 |const bool braced
2371#endif
2372#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_DQUOTE_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C)
2373EpRX |const char *|form_cp_too_large_msg|const U8 which \
2374 |NULLOK const char * string \
2375 |const Size_t len \
2376 |const UV cp
2377#endif
2378#if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C) || defined(PERL_IN_OP_C)
2379EXp |void |_invlist_dump |NN PerlIO *file|I32 level \
2380 |NN const char* const indent \
2381 |NN SV* const invlist
2382#endif
2383#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_OP_C)
2384EiRT |STRLEN*|get_invlist_iter_addr |NN SV* invlist
2385EiT |void |invlist_iterinit|NN SV* invlist
2386EiRT |bool |invlist_iternext|NN SV* invlist|NN UV* start|NN UV* end
2387EiT |void |invlist_iterfinish|NN SV* invlist
2388#endif
2389#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C)
2390EXpR |SV* |_new_invlist_C_array|NN const UV* const list
2391EXp |bool |_invlistEQ |NN SV* const a|NN SV* const b|const bool complement_b
2392#endif
2393#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PP_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UNIVERSAL_C)
2394EiT |const char *|get_regex_charset_name|const U32 flags|NN STRLEN* const lenp
2395#endif
2396#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) \
2397 || defined(PERL_IN_PP_C) || defined(PERL_IN_OP_C) \
2398 || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C) \
2399 || defined(PERL_IN_DOOP_C)
2400EiRT |UV* |invlist_array |NN SV* const invlist
ffb1f0fd 2401EiRT |bool |is_invlist |NULLOK const SV* const invlist
dd14162d
KW
2402EiRT |bool* |get_invlist_offset_addr|NN SV* invlist
2403EiRT |UV |_invlist_len |NN SV* const invlist
2404EiRT |bool |_invlist_contains_cp|NN SV* const invlist|const UV cp
2405EXpRT |SSize_t|_invlist_search |NN SV* const invlist|const UV cp
2406#endif
2407#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
71562af6 2408# ifndef PERL_EXT_RE_BUILD
e91fc63e 2409Ep |SV* |get_regclass_aux_data \
71562af6
KW
2410 |NULLOK const regexp *prog \
2411 |NN const struct regnode *node \
2412 |bool doinit \
2413 |NULLOK SV **listsvp \
2414 |NULLOK SV **lonly_utf8_locale \
2415 |NULLOK SV **output_invlist
2416# else
e91fc63e 2417Ep |SV* |get_re_gclass_aux_data \
dd14162d
KW
2418 |NULLOK const regexp *prog \
2419 |NN const struct regnode *node \
2420 |bool doinit \
2421 |NULLOK SV **listsvp \
2422 |NULLOK SV **lonly_utf8_locale \
2423 |NULLOK SV **output_invlist
71562af6 2424#endif
dd14162d
KW
2425Ep |void |regprop |NULLOK const regexp *prog|NN SV* sv|NN const regnode* o|NULLOK const regmatch_info *reginfo \
2426 |NULLOK const RExC_state_t *pRExC_state
2427Efp |int |re_printf |NN const char *fmt|...
2428#endif
2429#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C)
2430ERp |bool |is_grapheme |NN const U8 * strbeg|NN const U8 * s|NN const U8 *strend|const UV cp
2431#endif
2432#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
2433EXTp |UV |_to_fold_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const unsigned int flags
2434#endif
2435#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_SV_C)
2436EpX |SV* |invlist_clone |NN SV* const invlist|NULLOK SV* newlist
2437#endif
2438#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C)
e513125a 2439EXpRT |bool |regcurly |NN const char *s|NN const char *e|NULLOK const char * result[5]
dd14162d
KW
2440#endif
2441#if defined(PERL_IN_REGEXEC_C)
2442ERS |bool |isFOO_utf8_lc |const U8 classnum|NN const U8* character|NN const U8* e
2443ERTS |U8 * |find_next_masked|NN U8 * s \
2444 |NN const U8 * send \
2445 |const U8 byte|const U8 mask
2446ERTS |U8 *|find_span_end |NN U8* s|NN const U8 * send|const U8 span_byte
2447ERTS |U8 *|find_span_end_mask|NN U8 * s|NN const U8 * send \
2448 |const U8 span_byte|const U8 mask
2449ERS |SSize_t|regmatch |NN regmatch_info *reginfo|NN char *startpos|NN regnode *prog
2450WERS |I32 |regrepeat |NN regexp *prog|NN char **startposp \
2451 |NN const regnode *p \
2452 |NN char *loceol \
2453 |NN regmatch_info *const reginfo \
2454 |I32 max
2455ERS |bool |regtry |NN regmatch_info *reginfo|NN char **startposp
2456ERS |bool |reginclass |NULLOK regexp * const prog \
2457 |NN const regnode * const n \
2458 |NN const U8 * const p \
2459 |NN const U8 * const p_end \
2460 |bool const utf8_target
2461WES |CHECKPOINT|regcppush |NN const regexp *rex|I32 parenfloor\
2462 |U32 maxopenparen
2463WES |void |regcppop |NN regexp *rex|NN U32 *maxopenparen_p
2464WES |void |regcp_restore |NN regexp *rex|I32 ix|NN U32 *maxopenparen_p
2465ERST |U8* |reghop3 |NN U8 *s|SSize_t off|NN const U8 *lim
2466ERST |U8* |reghop4 |NN U8 *s|SSize_t off|NN const U8 *llim \
2467 |NN const U8 *rlim
2468ERST |U8* |reghopmaybe3 |NN U8 *s|SSize_t off|NN const U8 * const lim
2469ERS |char* |find_byclass |NN regexp * prog|NN const regnode *c \
2470 |NN char *s|NN const char *strend \
2471 |NULLOK regmatch_info *reginfo
2472ES |void |to_utf8_substr |NN regexp * prog
2473ES |bool |to_byte_substr |NN regexp * prog
2474ERST |I32 |reg_check_named_buff_matched |NN const regexp *rex \
2475 |NN const regnode *scan
2476ESR |bool |isGCB |const GCB_enum before \
2477 |const GCB_enum after \
2478 |NN const U8 * const strbeg \
2479 |NN const U8 * const curpos \
2480 |const bool utf8_target
2481ESR |GCB_enum|backup_one_GCB|NN const U8 * const strbeg \
2482 |NN U8 ** curpos \
2483 |const bool utf8_target
2484ESR |bool |isLB |LB_enum before \
2485 |LB_enum after \
2486 |NN const U8 * const strbeg \
2487 |NN const U8 * const curpos \
2488 |NN const U8 * const strend \
2489 |const bool utf8_target
2490ESR |LB_enum|advance_one_LB |NN U8 ** curpos \
2491 |NN const U8 * const strend \
2492 |const bool utf8_target
2493ESR |LB_enum|backup_one_LB |NN const U8 * const strbeg \
2494 |NN U8 ** curpos \
2495 |const bool utf8_target
2496ESR |bool |isSB |SB_enum before \
2497 |SB_enum after \
2498 |NN const U8 * const strbeg \
2499 |NN const U8 * const curpos \
2500 |NN const U8 * const strend \
2501 |const bool utf8_target
2502ESR |SB_enum|advance_one_SB |NN U8 ** curpos \
2503 |NN const U8 * const strend \
2504 |const bool utf8_target
2505ESR |SB_enum|backup_one_SB |NN const U8 * const strbeg \
2506 |NN U8 ** curpos \
2507 |const bool utf8_target
2508ESR |bool |isWB |WB_enum previous \
2509 |WB_enum before \
2510 |WB_enum after \
2511 |NN const U8 * const strbeg \
2512 |NN const U8 * const curpos \
2513 |NN const U8 * const strend \
2514 |const bool utf8_target
2515ESR |WB_enum|advance_one_WB |NN U8 ** curpos \
2516 |NN const U8 * const strend \
2517 |const bool utf8_target \
2518 |const bool skip_Extend_Format
2519ESR |WB_enum|backup_one_WB |NN WB_enum * previous \
2520 |NN const U8 * const strbeg \
2521 |NN U8 ** curpos \
2522 |const bool utf8_target
c3c9077b 2523Ei |I32 |foldEQ_latin1_s2_folded|NN const char* a|NN const char* b|I32 len
dd14162d
KW
2524# ifdef DEBUGGING
2525ES |void |dump_exec_pos |NN const char *locinput|NN const regnode *scan|NN const char *loc_regeol\
2526 |NN const char *loc_bostr|NN const char *loc_reg_starttry|const bool do_utf8|const U32 depth
2527ES |void |debug_start_match|NN const REGEXP *prog|const bool do_utf8\
2528 |NN const char *start|NN const char *end\
2529 |NN const char *blurb
2530
2531EFp |int |re_exec_indentf|NN const char *fmt|U32 depth|...
2532# endif
2533#endif
d9edeb13
KW
2534#if defined(PERL_IN_REGEXEC_C)
2535ESR |bool |isFOO_lc |const U8 classnum|const U8 character
dd14162d
KW
2536#endif
2537
a5aac01f
KW
2538Cpd |void |taint_env
2539Cpd |void |taint_proper |NULLOK const char* f|NN const char *const s
dd14162d
KW
2540EXp |char * |_byte_dump_string \
2541 |NN const U8 * const start \
2542 |const STRLEN len \
2543 |const bool format
2544
2545#if defined(PERL_IN_UTF8_C)
2546iTR |int |does_utf8_overflow|NN const U8 * const s \
2547 |NN const U8 * e \
2548 |const bool consider_overlongs
8b5f2733
KW
2549iTR |int |is_utf8_overlong|NN const U8 * const s \
2550 |const STRLEN len
ba8e516e 2551iTR |int |isFF_overlong |NN const U8 * const s|const STRLEN len
dd14162d
KW
2552SR |char * |unexpected_non_continuation_text \
2553 |NN const U8 * const s \
2554 |STRLEN print_len \
2555 |const STRLEN non_cont_byte_pos \
2556 |const STRLEN expect_len
2557#if 0 /* Not currently used, but may be needed in the future */
2558S |void |warn_on_first_deprecated_use \
2559 |NN const char * const name \
2560 |NN const char * const alternative \
2561 |const bool use_locale \
2562 |NN const char * const file \
2563 |const unsigned line
2564#endif
7b47c615 2565S |UV |to_case_cp_list|const UV original \
57aed126
KW
2566 |NULLOK const U32 ** const remaining_list \
2567 |NULLOK Size_t * remaining_count \
7b47c615
KW
2568 |NN SV *invlist \
2569 |NN const I32 * const invmap \
2570 |NULLOK const U32 * const * const aux_tables \
2571 |NULLOK const U8 * const aux_table_lengths \
2572 |NN const char * const normal
991612d4 2573S |UV |_to_utf8_case |const UV original \
dd14162d
KW
2574 |NULLOK const U8 *p \
2575 |NN U8* ustrp \
2576 |NN STRLEN *lenp \
2577 |NN SV *invlist \
2578 |NN const I32 * const invmap \
2579 |NULLOK const U32 * const * const aux_tables \
8946fcd9
KW
2580 |NULLOK const U8 * const aux_table_lengths \
2581 |NN const char * const normal
9f589e47
KW
2582S |UV |turkic_fc |NN const U8 * const p |NN const U8 * const e|NN U8* ustrp|NN STRLEN *lenp
2583S |UV |turkic_lc |NN const U8 * const p0|NN const U8 * const e|NN U8* ustrp|NN STRLEN *lenp
2584S |UV |turkic_uc |NN const U8 * const p |NN const U8 * const e|NN U8* ustrp|NN STRLEN *lenp
b9992569 2585#endif
09232555 2586Cp |UV |_to_utf8_lower_flags|NN const U8 *p|NULLOK const U8* e \
059703b0 2587 |NN U8* ustrp|NULLOK STRLEN *lenp|bool flags
09232555 2588Cp |UV |_to_utf8_upper_flags |NN const U8 *p|NULLOK const U8 *e \
059703b0 2589 |NN U8* ustrp|NULLOK STRLEN *lenp|bool flags
09232555 2590Cp |UV |_to_utf8_title_flags |NN const U8 *p|NULLOK const U8* e \
059703b0 2591 |NN U8* ustrp|NULLOK STRLEN *lenp|bool flags
09232555 2592Cp |UV |_to_utf8_fold_flags|NN const U8 *p|NULLOK const U8 *e \
059703b0 2593 |NN U8* ustrp|NULLOK STRLEN *lenp|U8 flags
83f78d1a 2594#if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
45b29440 2595pT |bool |translate_substr_offsets|STRLEN curlen|IV pos1_iv \
83f78d1a
FC
2596 |bool pos1_is_uv|IV len_iv \
2597 |bool len_is_uv|NN STRLEN *posp \
2598 |NN STRLEN *lenp
2599#endif
94bdecf9 2600#if defined(UNLINK_ALL_VERSIONS)
78097f58 2601Cp |I32 |unlnk |NN const char* f
94bdecf9 2602#endif
e1b825c1 2603Apd |SSize_t|unpackstring |NN const char *pat|NN const char *patend|NN const char *s \
aec46f14 2604 |NN const char *strend|U32 flags
78d7bba4 2605Cpd |void |unsharepvn |NULLOK const char* sv|I32 len|U32 hash
67022846 2606: Used in gv.c, hv.c
4afc0bd7 2607Cp |void |unshare_hek |NULLOK HEK* hek
67022846 2608: Used in perly.y
aec46f14 2609p |void |utilize |int aver|I32 floor|NULLOK OP* version|NN OP* idop|NULLOK OP* arg
09232555 2610Cp |void |_force_out_malformed_utf8_message \
9cbfb8ab
KW
2611 |NN const U8 *const p|NN const U8 * const e|const U32 flags \
2612 |const bool die_here
5fd26678
KW
2613EXp |U8* |utf16_to_utf8_base|NN U8* p|NN U8 *d|Size_t bytelen|NN Size_t *newlen \
2614 |const bool high|const bool low
2615EMXp |U8* |utf16_to_utf8 |NN U8* p|NN U8 *d|Size_t bytelen|NN Size_t *newlen
2616EMXp |U8* |utf16_to_utf8_reversed|NN U8* p|NN U8 *d|Size_t bytelen|NN Size_t *newlen
6af810c4
KW
2617EXpx |U8* |utf8_to_utf16_base|NN U8* s|NN U8 *d|Size_t bytelen|NN Size_t *newlen \
2618 |const bool high|const bool low
622f12e7 2619AdpR |STRLEN |utf8_length |NN const U8* s|NN const U8 *e
cfe24c19 2620AipdR |IV |utf8_distance |NN const U8 *a|NN const U8 *b
45b29440
KW
2621AipdRT |U8* |utf8_hop |NN const U8 *s|SSize_t off
2622AipdRT |U8* |utf8_hop_back|NN const U8 *s|SSize_t off|NN const U8 *start
2623AipdRT |U8* |utf8_hop_forward|NN const U8 *s|SSize_t off|NN const U8 *end
2624AipdRT |U8* |utf8_hop_safe |NN const U8 *s|SSize_t off|NN const U8 *start|NN const U8 *end
e4aeb12f 2625Apxd |U8* |utf8_to_bytes |NN U8 *s|NN STRLEN *lenp
fed3ba5d
NC
2626Apd |int |bytes_cmp_utf8 |NN const U8 *b|STRLEN blen|NN const U8 *u \
2627 |STRLEN ulen
54c193ae 2628AMxdp |U8* |bytes_from_utf8|NN const U8 *s|NN STRLEN *lenp|NN bool *is_utf8p
8505db87 2629CxTdp |U8* |bytes_from_utf8_loc|NN const U8 *s \
976c1b08
KW
2630 |NN STRLEN *lenp \
2631 |NN bool *is_utf8p \
2632 |NULLOK const U8 ** first_unconverted
e4aeb12f 2633Apxd |U8* |bytes_to_utf8 |NN const U8 *s|NN STRLEN *lenp
31798a68
KW
2634ApdDb |UV |utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
2635CbpdD |UV |utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen
54c193ae 2636AMpd |UV |utf8_to_uvchr_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen
9a9a6c98 2637Cip |UV |utf8_to_uvchr_buf_helper|NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen
09f3c061 2638p |bool |check_utf8_print |NN const U8 *s|const STRLEN len
1754c1a1 2639
54c193ae 2640AdMTp |UV |utf8n_to_uvchr |NN const U8 *s \
f9380377
KW
2641 |STRLEN curlen \
2642 |NULLOK STRLEN *retlen \
2643 |const U32 flags
54c193ae 2644AdMTp |UV |utf8n_to_uvchr_error|NN const U8 *s \
f9380377
KW
2645 |STRLEN curlen \
2646 |NULLOK STRLEN *retlen \
2647 |const U32 flags \
2648 |NULLOK U32 * errors
c41dd2c4 2649ATdip |UV |utf8n_to_uvchr_msgs|NN const U8 *s \
e6a4ffc3
KW
2650 |STRLEN curlen \
2651 |NULLOK STRLEN *retlen \
2652 |const U32 flags \
2653 |NULLOK U32 * errors \
2654 |NULLOK AV ** msgs
09232555 2655CTp |UV |_utf8n_to_uvchr_msgs_helper \
e6a4ffc3 2656 |NN const U8 *s \
37657a5b
KW
2657 |STRLEN curlen \
2658 |NULLOK STRLEN *retlen \
2659 |const U32 flags \
2660 |NULLOK U32 * errors \
2661 |NULLOK AV ** msgs
09232555 2662CipTRd |UV |valid_utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
f847c0b3 2663CdbDp |UV |utf8n_to_uvuni|NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags
1754c1a1 2664
de69f3af 2665Adm |U8* |uvchr_to_utf8 |NN U8 *d|UV uv
09232555 2666Cp |U8* |uvuni_to_utf8 |NN U8 *d|UV uv
de69f3af 2667Adm |U8* |uvchr_to_utf8_flags |NN U8 *d|UV uv|UV flags
c41dd2c4 2668Adm |U8* |uvchr_to_utf8_flags_msgs|NN U8 *d|UV uv|UV flags|NULLOK HV ** msgs
b3501144 2669CMpd |U8* |uvoffuni_to_utf8_flags |NN U8 *d|UV uv|UV flags
3e3eb1f6 2670Cp |U8* |uvoffuni_to_utf8_flags_msgs|NN U8 *d|UV input_uv|const UV flags|NULLOK HV** msgs
7827dc65
AL
2671Apd |char* |pv_uni_display |NN SV *dsv|NN const U8 *spv|STRLEN len|STRLEN pvlim|UV flags
2672ApdR |char* |sv_uni_display |NN SV *dsv|NN SV *ssv|STRLEN pvlim|UV flags
e39a4130 2673EXpR |Size_t |_inverse_folds |const UV cp \
1b292063 2674 |NN U32 * first_folds_to \
40d2776f 2675 |NN const U32 ** remaining_folds_to
d67fec57 2676: Used by Data::Alias
6d9a2efc 2677EXp |void |vivify_defelem |NN SV* sv
67022846 2678: Used in pp.c
9026059d 2679pR |SV* |vivify_ref |NN SV* sv|U32 to_what
67022846 2680: Used in pp_sys.c
aec46f14 2681p |I32 |wait4pid |Pid_t pid|NN int* statusp|int flags
67022846 2682: Used in locale.c and perl.c
7827dc65 2683p |U32 |parse_unicode_opts|NN const char **popt
b6bf2074 2684Cp |U32 |seed
45b29440
KW
2685XpTo |double |drand48_r |NN perl_drand48_t *random_state
2686XpTo |void |drand48_init_r |NN perl_drand48_t *random_state|U32 seed
67022846 2687: Only used in perl.c
c3c9d6b1
YO
2688p |void |get_hash_seed |NN unsigned char * const seed_buffer
2689p |void |debug_hash_seed|bool via_debug_h
67022846 2690: Used in doio.c, pp_hot.c, pp_sys.c
831e4cc3 2691p |void |report_evil_fh |NULLOK const GV *gv
a5390457
NC
2692: Used in doio.c, pp_hot.c, pp_sys.c
2693p |void |report_wrongway_fh|NULLOK const GV *gv|const char have
67022846 2694: Used in mg.c, pp.c, pp_hot.c, regcomp.c
b3dbd76e 2695XEpd |void |report_uninit |NULLOK const SV *uninit_sv
156d738f
FC
2696#if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
2697p |void |report_redefined_cv|NN const SV *name \
2698 |NN const CV *old_cv \
2699 |NULLOK SV * const *new_const_svp
2700#endif
c5df3096 2701Apd |void |warn_sv |NN SV *baseex
aec46f14 2702Afpd |void |warn |NN const char* pat|...
c5df3096 2703Apd |void |vwarn |NN const char* pat|NULLOK va_list* args
3b4eef1c
KW
2704Adfp |void |warner |U32 err|NN const char* pat|...
2705Adfp |void |ck_warner |U32 err|NN const char* pat|...
2706Adfp |void |ck_warner_d |U32 err|NN const char* pat|...
2707Adp |void |vwarner |U32 err|NN const char* pat|NULLOK va_list* args
470dd224
JH
2708#ifdef USE_C_BACKTRACE
2709pd |Perl_c_backtrace*|get_c_backtrace|int max_depth|int skip
2710dm |void |free_c_backtrace|NN Perl_c_backtrace* bt
2711Apd |SV* |get_c_backtrace_dump|int max_depth|int skip
2712Apd |bool |dump_c_backtrace|NN PerlIO* fp|int max_depth|int skip
2713#endif
67022846 2714: FIXME
aec46f14 2715p |void |watch |NN char** addr
ea81552b
KW
2716Amd |I32 |whichsig |NN const char* sig
2717Apd |I32 |whichsig_sv |NN SV* sigsv
2718Apd |I32 |whichsig_pv |NN const char* sig
2719Apd |I32 |whichsig_pvn |NN const char* sig|STRLEN len
c8028aa6 2720: used to check for NULs in pathnames and other names
c9182d9c 2721AiRdp |bool |is_safe_syscall|NN const char *pv|STRLEN len|NN const char *what|NN const char *op_name
81f54ac7 2722#ifdef PERL_CORE
45b29440 2723iTR |bool |should_warn_nl|NN const char *pv
81f54ac7 2724#endif
67022846 2725: Used in pp_ctl.c
7d0994e0 2726p |void |write_to_stderr|NN SV* msv
67022846 2727: Used in op.c
15f169a1 2728p |int |yyerror |NN const char *const s
d43328d5 2729p |void |yyquit
eb54d46f 2730pr |void |abort_execution|NULLOK SV *msg_sv|NN const char * const name
19c62481 2731p |int |yyerror_pv |NN const char *const s|U32 flags
68da2a65 2732p |int |yyerror_pvn |NULLOK const char *const s|STRLEN len|U32 flags
d67fec57 2733: Used in perly.y, and by Data::Alias
6d9a2efc 2734EXp |int |yylex
28ac2b49 2735p |void |yyunlex
67022846 2736: Used in perl.c, pp_ctl.c
28ac2b49 2737p |int |yyparse |int gramtype
67022846 2738: Only used in scope.c
734c2451 2739p |void |parser_free |NN const yy_parser *parser
3ac7ff8f
FC
2740#ifdef PERL_CORE
2741p |void |parser_free_nexttoke_ops|NN yy_parser *parser \
2742 |NN OPSLAB *slab
2743#endif
43869a0c 2744#if defined(PERL_IN_TOKE_C)
9f589e47 2745S |int |yywarn |NN const char *const s|U32 flags
af41e527 2746#endif
94bdecf9 2747#if defined(MYMALLOC)
179183d9 2748Apd |void |dump_mstats |NN const char* s
0b2cc5df 2749Cp |int |get_mstats |NN perl_mstats_t *buf|int buflen|int level
94bdecf9 2750#endif
340e5263
KW
2751ATdpa |Malloc_t|safesysmalloc |MEM_SIZE nbytes
2752ATdpa |Malloc_t|safesyscalloc |MEM_SIZE elements|MEM_SIZE size
2753ATdpR |Malloc_t|safesysrealloc|Malloc_t where|MEM_SIZE nbytes
2754AdTp |Free_t |safesysfree |Malloc_t where
d86d1780 2755CsrT |void |croak_memory_wrap
6ef63541
KW
2756Cpdh |int |runops_standard
2757Cpdh |int |runops_debug
66ceb532
SS
2758Afpd |void |sv_catpvf_mg |NN SV *const sv|NN const char *const pat|...
2759Apd |void |sv_vcatpvf_mg |NN SV *const sv|NN const char *const pat \
2760 |NULLOK va_list *const args
37ee558d
KW
2761Apd |void |sv_catpv_mg |NN SV *const dsv|NULLOK const char *const sstr
2762ApdbM |void |sv_catpvn_mg |NN SV *dsv|NN const char *sstr|STRLEN len
2763ApdbM |void |sv_catsv_mg |NN SV *dsv|NULLOK SV *sstr
89e38212
SS
2764Afpd |void |sv_setpvf_mg |NN SV *const sv|NN const char *const pat|...
2765Apd |void |sv_vsetpvf_mg |NN SV *const sv|NN const char *const pat \
2766 |NULLOK va_list *const args
aad570aa 2767Apd |void |sv_setiv_mg |NN SV *const sv|const IV i
aad570aa
SS
2768Apd |void |sv_setuv_mg |NN SV *const sv|const UV u
2769Apd |void |sv_setnv_mg |NN SV *const sv|const NV num
2e000ff2
SS
2770Apd |void |sv_setpv_mg |NN SV *const sv|NULLOK const char *const ptr
2771Apd |void |sv_setpvn_mg |NN SV *const sv|NN const char *const ptr|const STRLEN len
37ee558d 2772Apd |void |sv_setsv_mg |NN SV *const dsv|NULLOK SV *const ssv
b719801d 2773ApdbM |void |sv_usepvn_mg |NN SV *sv|NULLOK char *ptr|STRLEN len
c6b81de6 2774CpRx |MGVTBL*|get_vtbl |int vtbl_id
3df15adc 2775Apd |char* |pv_display |NN SV *dsv|NN const char *pv|STRLEN cur|STRLEN len \
94bdecf9 2776 |STRLEN pvlim
4420a417 2777Apd |char* |pv_escape |NULLOK SV *dsv|NN char const * const str\
ab3bbdeb
YO
2778 |const STRLEN count|const STRLEN max\
2779 |NULLOK STRLEN * const escaped\
dd14162d 2780 |const U32 flags
e950ecba 2781Apd |char* |pv_pretty |NN SV *dsv|NN char const * const str\
ab3bbdeb 2782 |const STRLEN count|const STRLEN max\
ddc5bc0f
YO
2783 |NULLOK char const * const start_color\
2784 |NULLOK char const * const end_color\
dd14162d 2785 |const U32 flags
6c041ec2
KW
2786Cfp |void |dump_indent |I32 level|NN PerlIO *file|NN const char* pat|...
2787Cp |void |dump_vindent |I32 level|NN PerlIO *file|NN const char* pat \
aec46f14 2788 |NULLOK va_list *args
6c041ec2 2789Cp |void |do_gv_dump |I32 level|NN PerlIO *file|NN const char *name\
b4390064 2790 |NULLOK GV *sv
6c041ec2 2791Cp |void |do_gvgv_dump |I32 level|NN PerlIO *file|NN const char *name\
b4390064 2792 |NULLOK GV *sv
6c041ec2 2793Cp |void |do_hv_dump |I32 level|NN PerlIO *file|NN const char *name\
4c31e473 2794 |NULLOK HV *sv
6c041ec2 2795Cp |void |do_magic_dump |I32 level|NN PerlIO *file|NULLOK const MAGIC *mg|I32 nest \
94bdecf9 2796 |I32 maxnest|bool dumpops|STRLEN pvlim
6c041ec2
KW
2797Cp |void |do_op_dump |I32 level|NN PerlIO *file|NULLOK const OP *o
2798Cp |void |do_pmop_dump |I32 level|NN PerlIO *file|NULLOK const PMOP *pm
2799Cp |void |do_sv_dump |I32 level|NN PerlIO *file|NULLOK SV *sv|I32 nest \
94bdecf9 2800 |I32 maxnest|bool dumpops|STRLEN pvlim
03c0fc11 2801Apd |void |magic_dump |NULLOK const MAGIC *mg
8dff134d 2802Cp |void |reginitcolors
16376614
KW
2803CpdRMb |char* |sv_2pv_nolen |NN SV* sv
2804CpdRMb |char* |sv_2pvutf8_nolen|NN SV* sv
2805CpdRMb |char* |sv_2pvbyte_nolen|NN SV* sv
2806CpMdbR |char* |sv_pv |NN SV *sv
2807CpMdbR |char* |sv_pvutf8 |NN SV *sv
2808CpMdbR |char* |sv_pvbyte |NN SV *sv
b719801d 2809ApMdb |STRLEN |sv_utf8_upgrade|NN SV *sv
6a71721d 2810Amd |STRLEN |sv_utf8_upgrade_nomg|NN SV *sv
b719801d 2811ApdMb |bool |sv_utf8_downgrade|NN SV *const sv|const bool fail_ok
423ce623
P
2812Amd |bool |sv_utf8_downgrade_nomg|NN SV *const sv|const bool fail_ok
2813Apd |bool |sv_utf8_downgrade_flags|NN SV *const sv|const bool fail_ok|const U32 flags
7bc54cea 2814Apd |void |sv_utf8_encode |NN SV *const sv
43c6a1a7 2815Apd |bool |sv_utf8_decode |NN SV *const sv
b719801d 2816ApdMb |void |sv_force_normal|NN SV *sv
2e000ff2 2817Apd |void |sv_force_normal_flags|NN SV *const sv|const U32 flags
a953aca5 2818pX |SSize_t|tmps_grow_p |SSize_t ix
2b021c53 2819Apd |SV* |sv_rvweaken |NN SV *const sv
ae2cf9f6 2820Apd |SV* |sv_rvunweaken |NN SV *const sv
e4aeb12f 2821ATpxd |SV* |sv_get_backrefs|NN SV *const sv
3f2f854a
KW
2822AiTMdp |SV * |SvREFCNT_inc |NULLOK SV *sv
2823AiTMdp |SV * |SvREFCNT_inc_NN|NN SV *sv
2824AiTMdp |void |SvREFCNT_inc_void|NULLOK SV *sv
2825AiMdp |void |SvREFCNT_dec |NULLOK SV *sv
2826AiMdp |void |SvREFCNT_dec_NN|NN SV *sv
4f06c0d5
KW
2827AiTpd |void |SvAMAGIC_on |NN SV *sv
2828AiTpd |void |SvAMAGIC_off |NN SV *sv
dec3ff31 2829AIpd |bool |SvPVXtrue |NN SV *sv
4eff5eb8
KW
2830Aipd |bool |SvTRUE |NULLOK SV *sv
2831Aipd |bool |SvTRUE_nomg |NULLOK SV *sv
2832Aipd |bool |SvTRUE_NN |NN SV *sv
2833Cip |bool |SvTRUE_common |NN SV *sv|const bool sv_2bool_is_fallback
dae8ab81
KW
2834Aipd |IV |SvIV |NN SV *sv
2835Aipd |UV |SvUV |NN SV *sv
2836Aipd |NV |SvNV |NN SV *sv
2837Aipd |IV |SvIV_nomg |NN SV *sv
2838Aipd |UV |SvUV_nomg |NN SV *sv
2839Aipd |NV |SvNV_nomg |NN SV *sv
67022846 2840: This is indirectly referenced by globals.c. This is somewhat annoying.
b64e5050 2841p |int |magic_killbackrefs|NN SV *sv|NN MAGIC *mg
46c461b5 2842Ap |OP* |newANONATTRSUB |I32 floor|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
0e75c27b 2843Adm |CV* |newATTRSUB |I32 floor|NULLOK OP *o|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
28ef7048 2844pdX |CV* |newATTRSUB_x |I32 floor|NULLOK OP *o|NULLOK OP *proto \
7e68c38b 2845 |NULLOK OP *attrs|NULLOK OP *block \
e8f91c91 2846 |bool o_is_gv
23bc0519 2847Cp |CV * |newMYSUB |I32 floor|NN OP *o|NULLOK OP *proto \
eb8433b7 2848 |NULLOK OP *attrs|NULLOK OP *block
186a5ba8 2849p |CV* |newSTUB |NN GV *gv|bool fake
67022846 2850: Used in perly.y
46c461b5 2851p |OP * |my_attrs |NN OP *o|NULLOK OP *attrs
94bdecf9 2852#if defined(USE_ITHREADS)
e39fb0f3 2853CpR |PERL_CONTEXT*|cx_dup |NULLOK PERL_CONTEXT* cx|I32 ix|I32 max|NN CLONE_PARAMS* param
43ec681f
KW
2854CpdR |PERL_SI*|si_dup |NULLOK PERL_SI* si|NN CLONE_PARAMS* param
2855CpdR |ANY* |ss_dup |NN PerlInterpreter* proto_perl|NN CLONE_PARAMS* param
2856CpR |void* |any_dup |NULLOK void* v|NN const PerlInterpreter* proto_perl
2857CpR |HE* |he_dup |NULLOK const HE* e|bool shared|NN CLONE_PARAMS* param
2858CpR |HEK* |hek_dup |NULLOK HEK* e|NN CLONE_PARAMS* param
64991b10 2859Adp |void |re_dup_guts |NN const REGEXP *sstr|NN REGEXP *dstr \
288b8c02 2860 |NN CLONE_PARAMS* param
43ec681f
KW
2861Cpd |PerlIO*|fp_dup |NULLOK PerlIO *const fp|const char type|NN CLONE_PARAMS *const param
2862CpdR |DIR* |dirp_dup |NULLOK DIR *const dp|NN CLONE_PARAMS *const param
2863CpdR |GP* |gp_dup |NULLOK GP *const gp|NN CLONE_PARAMS *const param
2864CpdR |MAGIC* |mg_dup |NULLOK MAGIC *mg|NN CLONE_PARAMS *const param
43869a0c 2865#if defined(PERL_IN_SV_C)
9f589e47 2866S |SV ** |sv_dup_inc_multiple|NN SV *const *source|NN SV **dest \
538f2e76 2867 |SSize_t items|NN CLONE_PARAMS *const param
37ee558d 2868SR |SV* |sv_dup_common |NN const SV *const ssv \
d08d57ef
NC
2869 |NN CLONE_PARAMS *const param
2870#endif
1960dc32
KW
2871ApR |SV* |sv_dup |NULLOK const SV *const ssv|NN CLONE_PARAMS *const param
2872ApR |SV* |sv_dup_inc |NULLOK const SV *const ssv \
a09252eb 2873 |NN CLONE_PARAMS *const param
43ec681f
KW
2874Cp |void |rvpv_dup |NN SV *const dsv|NN const SV *const ssv|NN CLONE_PARAMS *const param
2875Cp |yy_parser*|parser_dup |NULLOK const yy_parser *const proto|NN CLONE_PARAMS *const param
4674ade5 2876#endif
95bfca54
KW
2877ApdR |PTR_TBL_t*|ptr_table_new
2878ApdR |void* |ptr_table_fetch|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
2879Apd |void |ptr_table_store|NN PTR_TBL_t *const tbl|NULLOK const void *const oldsv \
1eb6e4ca 2880 |NN void *const newsv
95bfca54
KW
2881Apd |void |ptr_table_split|NN PTR_TBL_t *const tbl
2882Apd |void |ptr_table_free|NULLOK PTR_TBL_t *const tbl
ddacffcf 2883#if defined(HAVE_INTERP_INTERN)
f9e2e7b4
KW
2884Cp |void |sys_intern_clear
2885Cp |void |sys_intern_init
fe826663 2886# if defined(USE_ITHREADS)
f9e2e7b4 2887Cp |void |sys_intern_dup |NN struct interp_intern* src|NN struct interp_intern* dst
fe826663 2888# endif
94bdecf9
JH
2889#endif
2890
9c10ff02
KW
2891: The reason for the 'u' flag is that this passes "aTHX_ x" to its callee: not
2892: a legal C parameter
2893Admu |const XOP * |Perl_custom_op_xop |NN const OP *o
ae103e09 2894pRX |XOPRETANY |custom_op_get_field |NN const OP *o|const xop_flags_enum field
c1a02cca 2895Adop |void |custom_op_register |NN Perl_ppaddr_t ppaddr \
1830b3d9 2896 |NN const XOP *xop
94bdecf9 2897
11675f52 2898Adp |void |sv_nosharing |NULLOK SV *sv
57f51a64 2899AdpbD |void |sv_nolocking |NULLOK SV *sv
eba16661 2900Adp |bool |sv_destroyable |NULLOK SV *sv
57f51a64 2901AdpbD |void |sv_nounlocking |NULLOK SV *sv
62375a60 2902Adp |int |nothreadhook
0d96b528 2903p |void |init_constants
94bdecf9 2904
43869a0c 2905#if defined(PERL_IN_DOOP_C)
f534d546
KW
2906SR |Size_t |do_trans_simple |NN SV * const sv|NN const OPtrans_map * const tbl
2907SR |Size_t |do_trans_count |NN SV * const sv|NN const OPtrans_map * const tbl
2908SR |Size_t |do_trans_complex |NN SV * const sv|NN const OPtrans_map * const tbl
f34acfec
KW
2909SR |Size_t |do_trans_invmap |NN SV * const sv|NN AV * const map
2910SR |Size_t |do_trans_count_invmap |NN SV * const sv|NN AV * const map
94bdecf9
JH
2911#endif
2912
43869a0c 2913#if defined(PERL_IN_GV_C)
9f589e47
KW
2914S |void |gv_init_svtype |NN GV *gv|const svtype sv_type
2915S |void |gv_magicalize_isa |NN GV *gv
2916S |bool|parse_gv_stash_name|NN HV **stash|NN GV **gv \
90aeefb4
BF
2917 |NN const char **name|NN STRLEN *len \
2918 |NN const char *nambeg|STRLEN full_len \
2919 |const U32 is_utf8|const I32 add
9f589e47 2920S |bool|find_default_stash|NN HV **stash|NN const char *name \
90aeefb4 2921 |STRLEN len|const U32 is_utf8|const I32 add \
b3041197 2922 |const svtype sv_type
9f589e47 2923S |bool|gv_magicalize|NN GV *gv|NN HV *stash|NN const char *name \
1321bbe3 2924 |STRLEN len \
b3041197 2925 |const svtype sv_type
9f589e47
KW
2926S |void|maybe_multimagic_gv|NN GV *gv|NN const char *name|const svtype sv_type
2927S |bool|gv_is_in_main|NN const char *name|STRLEN len \
536d1a88 2928 |const U32 is_utf8
9f589e47 2929S |void |require_tie_mod|NN GV *gv|NN const char varname \
a1683482 2930 |NN const char * name|STRLEN len \
dd14162d 2931 |const U32 flags
94bdecf9
JH
2932#endif
2933
dd14162d
KW
2934#if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
2935po |SV* |hfree_next_entry |NN HV *hv|NN STRLEN *indexp
f0f5dc9d
AL
2936#endif
2937
dd14162d
KW
2938#if defined(PERL_IN_HV_C)
2939S |void |hsplit |NN HV *hv|STRLEN const oldsize|STRLEN newsize
2940S |void |hv_free_entries|NN HV *hv
59830266 2941S |SV* |hv_free_ent_ret|NN HE *entry
d978f069 2942#if !defined(PURIFY)
dd14162d 2943SR |HE* |new_he
d978f069 2944#endif
dd14162d
KW
2945SaTR |HEK* |save_hek_flags |NN const char *str|I32 len|U32 hash|int flags
2946ST |void |hv_magic_check |NN HV *hv|NN bool *needs_copy|NN bool *needs_store
2947S |void |unshare_hek_or_pvn|NULLOK const HEK* hek|NULLOK const char* str|I32 len|U32 hash
2948SR |HEK* |share_hek_flags|NN const char *str|STRLEN len|U32 hash|int flags
2949rS |void |hv_notallowed |int flags|NN const char *key|I32 klen|NN const char *msg
dd14162d 2950S |struct xpvhv_aux*|hv_auxinit|NN HV *hv
dd14162d
KW
2951Sx |SV* |hv_delete_common|NULLOK HV *hv|NULLOK SV *keysv \
2952 |NULLOK const char *key|STRLEN klen|int k_flags|I32 d_flags \
2953 |U32 hash
2954Sx |void |clear_placeholders |NN HV *hv|U32 items
94bdecf9
JH
2955#endif
2956
dd14162d
KW
2957#if defined(PERL_IN_MG_C)
2958S |void |save_magic_flags|I32 mgs_ix|NN SV *sv|U32 flags
2959S |int |magic_methpack |NN SV *sv|NN const MAGIC *mg|NN SV *meth
2960S |SV* |magic_methcall1|NN SV *sv|NN const MAGIC *mg \
2961 |NN SV *meth|U32 flags \
2962 |int n|NULLOK SV *val
2963S |void |restore_magic |NULLOK const void *p
2964S |void |unwind_handler_stack|NULLOK const void *p
2965S |void |fixup_errno_string|NN SV* sv
2966
2967#endif
2968
9c913148
TC
2969#if defined(USE_ITHREADS)
2970Cip |AV* |cop_file_avn |NN const COP *cop
2971#endif
2972
dd14162d
KW
2973#if defined(PERL_IN_OP_C)
2974SRT |bool |is_handle_constructor|NN const OP *o|I32 numargs
2975SR |I32 |assignment_type|NULLOK const OP *o
2976S |void |forget_pmop |NN PMOP *const o
2977S |void |find_and_forget_pmops |NN OP *o
2978S |void |cop_free |NN COP *cop
2979S |OP* |modkids |NULLOK OP *o|I32 type
2980S |OP* |scalarboolean |NN OP *o
2981SR |OP* |search_const |NN OP *o
2982SR |OP* |new_logop |I32 type|I32 flags|NN OP **firstp|NN OP **otherp
2983S |void |simplify_sort |NN OP *o
2984SRT |bool |scalar_mod_type|NULLOK const OP *o|I32 type
2985S |OP * |my_kid |NULLOK OP *o|NULLOK OP *attrs|NN OP **imopsp
2986S |OP * |dup_attrlist |NN OP *o
2987S |void |apply_attrs |NN HV *stash|NN SV *target|NULLOK OP *attrs
2988S |void |apply_attrs_my |NN HV *stash|NN OP *target|NULLOK OP *attrs|NN OP **imopsp
2989S |void |bad_type_pv |I32 n|NN const char *t|NN const OP *o|NN const OP *kid
2990S |void |bad_type_gv |I32 n|NN GV *gv|NN const OP *kid|NN const char *t
dd14162d
KW
2991SR |OP* |no_fh_allowed|NN OP *o
2992SR |OP* |too_few_arguments_pv|NN OP *o|NN const char* name|U32 flags
2993S |OP* |too_many_arguments_pv|NN OP *o|NN const char* name|U32 flags
2994S |bool |looks_like_bool|NN const OP* o
2995S |OP* |newGIVWHENOP |NULLOK OP* cond|NN OP *block \
2996 |I32 enter_opcode|I32 leave_opcode \
2997 |PADOFFSET entertarg
2998S |OP* |ref_array_or_hash|NULLOK OP* cond
2999S |bool |process_special_blocks |I32 floor \
3000 |NN const char *const fullname\
3001 |NN GV *const gv|NN CV *const cv
3002S |void |clear_special_blocks |NN const char *const fullname\
3003 |NN GV *const gv|NN CV *const cv
3004#endif
0f2beabb 3005p |void |no_bareword_filehandle|NN const char *fhname
dd14162d
KW
3006XpR |void* |Slab_Alloc |size_t sz
3007Xp |void |Slab_Free |NN void *op
3008#if defined(PERL_DEBUG_READONLY_OPS)
3009# if defined(PERL_CORE)
3010pe |void |Slab_to_ro |NN OPSLAB *slab
3011pe |void |Slab_to_rw |NN OPSLAB *const slab
3012# endif
3013: Used in OpREFCNT_inc() in sv.c
3014poex |OP * |op_refcnt_inc |NULLOK OP *o
3015: FIXME - can be static.
3016poex |PADOFFSET |op_refcnt_dec |NN OP *o
3017#endif
3018
3019#if defined(PERL_IN_PERL_C)
3020S |void |find_beginning |NN SV* linestr_sv|NN PerlIO *rsfp
3021S |void |forbid_setid |const char flag|const bool suidscript
3022S |void |incpush |NN const char *const dir|STRLEN len \
3023 |U32 flags
3024S |SV* |mayberelocate |NN const char *const dir|STRLEN len \
3025 |U32 flags
3026S |void |incpush_use_sep|NN const char *p|STRLEN len|U32 flags
3027S |void |init_interp
3028S |void |init_ids
3029S |void |init_main_stash
3030S |void |init_perllib
3031S |void |init_postdump_symbols|int argc|NN char **argv|NULLOK char **env
3032S |void |init_predump_symbols
3033rS |void |my_exit_jump
3034S |void |nuke_stacks
3035S |PerlIO *|open_script |NN const char *scriptname|bool dosearch \
3036 |NN bool *suidscript
3037Sr |void |usage
3038#ifndef SETUID_SCRIPTS_ARE_SECURE_NOW
3039So |void |validate_suid |NN PerlIO *rsfp
3040#endif
3041Sr |void |minus_v
3042
3043S |void* |parse_body |NULLOK char **env|XSINIT_t xsinit
3044rS |void |run_body |I32 oldscope
3045# ifndef PERL_IS_MINIPERL
3046S |SV * |incpush_if_exists|NN AV *const av|NN SV *dir|NN SV *const stem
3dab1dad 3047# endif
94bdecf9
JH
3048#endif
3049
dd14162d
KW
3050#if defined(PERL_IN_PP_C)
3051S |size_t |do_chomp |NN SV *retval|NN SV *sv|bool chomping
3052S |OP* |do_delete_local
3053SR |SV* |refto |NN SV* sv
3054#endif
3055#if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
3056: Used in pp_hot.c
3057pReo |GV* |softref2xv |NN SV *const sv|NN const char *const what \
3058 |const svtype type|NN SV ***spp
3059iTR |bool |lossless_NV_to_IV|const NV nv|NN IV * ivp
34aeb2e9 3060#endif
e0be7821
KW
3061#if defined(PERL_IN_PP_HOT_C)
3062IR |bool |should_we_output_Debug_r|NN regexp * prog
3063#endif
94749a5e 3064
dd14162d
KW
3065#if defined(PERL_IN_PP_PACK_C)
3066S |SSize_t|unpack_rec |NN struct tempsym* symptr|NN const char *s \
3067 |NN const char *strbeg|NN const char *strend|NULLOK const char **new_s
3068S |SV ** |pack_rec |NN SV *cat|NN struct tempsym* symptr|NN SV **beglist|NN SV **endlist
3069S |SV* |mul128 |NN SV *sv|U8 m
3070S |SSize_t|measure_struct |NN struct tempsym* symptr
3071S |bool |next_symbol |NN struct tempsym* symptr
3072SR |SV* |is_an_int |NN const char *s|STRLEN l
3073S |int |div128 |NN SV *pnum|NN bool *done
3074S |const char *|group_end |NN const char *patptr|NN const char *patend \
3075 |char ender
3076SR |const char *|get_num |NN const char *patptr|NN SSize_t *lenptr
3077TS |bool |need_utf8 |NN const char *pat|NN const char *patend
3078TS |char |first_symbol |NN const char *pat|NN const char *patend
3079SR |char * |sv_exp_grow |NN SV *sv|STRLEN needed
3080STR |char * |my_bytes_to_utf8|NN const U8 *start|STRLEN len|NN char *dest \
3081 |const bool needs_swap
94749a5e
KW
3082#endif
3083
dd14162d
KW
3084#if defined(PERL_IN_PP_CTL_C)
3085SdR |OP* |docatch |Perl_ppaddr_t firstpp
3086SR |OP* |dofindlabel |NN OP *o|NN const char *label|STRLEN len \
3087 |U32 flags|NN OP **opstack|NN OP **oplimit
3088S |MAGIC *|doparseform |NN SV *sv
3089STR |bool |num_overflow |NV value|I32 fldsize|I32 frcsize
3090SR |I32 |dopoptoeval |I32 startingblock
3091SR |I32 |dopoptogivenfor|I32 startingblock
3092SR |I32 |dopoptolabel |NN const char *label|STRLEN len|U32 flags
3093SR |I32 |dopoptoloop |I32 startingblock
3094SR |I32 |dopoptosub_at |NN const PERL_CONTEXT* cxstk|I32 startingblock
3095SR |I32 |dopoptowhen |I32 startingblock
3096S |void |save_lines |NULLOK AV *array|NN SV *sv
3097S |bool |doeval_compile |U8 gimme \
3098 |NULLOK CV* outside|U32 seq|NULLOK HV* hh
3099SR |PerlIO *|check_type_and_open|NN SV *name
3100#ifndef PERL_DISABLE_PMC
3101SR |PerlIO *|doopen_pm |NN SV *name
3102#endif
3103iRT |bool |path_is_searchable|NN const char *name
3104SR |I32 |run_user_filter|int idx|NN SV *buf_sv|int maxlen
3105SR |PMOP* |make_matcher |NN REGEXP* re
3106SR |bool |matcher_matches_sv|NN PMOP* matcher|NN SV* sv
3107S |void |destroy_matcher|NN PMOP* matcher
3108S |OP* |do_smartmatch |NULLOK HV* seen_this \
3109 |NULLOK HV* seen_other|const bool copied
3110#endif
cb41e5d6 3111
dd14162d
KW
3112#if defined(PERL_IN_PP_HOT_C)
3113S |void |do_oddball |NN SV **oddkey|NN SV **firstkey
3114i |HV* |opmethod_stash |NN SV* meth
3115#endif
3116
3117#if defined(PERL_IN_PP_SORT_C)
044d25c7
TK
3118I |I32 |sv_ncmp |NN SV *const a|NN SV *const b
3119I |I32 |sv_ncmp_desc |NN SV *const a|NN SV *const b
3120I |I32 |sv_i_ncmp |NN SV *const a|NN SV *const b
3121I |I32 |sv_i_ncmp_desc |NN SV *const a|NN SV *const b
3122I |I32 |amagic_ncmp |NN SV *const a|NN SV *const b
3123I |I32 |amagic_ncmp_desc |NN SV *const a|NN SV *const b
3124I |I32 |amagic_i_ncmp |NN SV *const a|NN SV *const b
3125I |I32 |amagic_i_ncmp_desc |NN SV *const a|NN SV *const b
3126I |I32 |amagic_cmp |NN SV *const str1|NN SV *const str2
3127I |I32 |amagic_cmp_desc |NN SV *const str1|NN SV *const str2
3128I |I32 |cmp_desc |NN SV *const str1|NN SV *const str2
dd14162d 3129# ifdef USE_LOCALE_COLLATE
044d25c7
TK
3130I |I32 |amagic_cmp_locale |NN SV *const str1|NN SV *const str2
3131I |I32 |amagic_cmp_locale_desc|NN SV *const str1|NN SV *const str2
3132I |I32 |cmp_locale_desc|NN SV *const str1|NN SV *const str2
dd14162d
KW
3133# endif
3134S |I32 |sortcv |NN SV *const a|NN SV *const b
3135S |I32 |sortcv_xsub |NN SV *const a|NN SV *const b
3136S |I32 |sortcv_stacked |NN SV *const a|NN SV *const b
044d25c7 3137I |void |sortsv_flags_impl |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp|U32 flags
dd14162d
KW
3138#endif
3139
3140#if defined(PERL_IN_PP_SYS_C)
3141S |OP* |doform |NN CV *cv|NN GV *gv|NULLOK OP *retop
3142# if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
3143SR |int |dooneliner |NN const char *cmd|NN const char *filename
07be1b83 3144# endif
dd14162d 3145S |SV * |space_join_names_mortal|NULLOK char *const *array
94bdecf9 3146#endif
dd14162d
KW
3147Fp |OP * |tied_method|NN SV *methname|NN SV **sp \
3148 |NN SV *const sv|NN const MAGIC *const mg \
3149 |const U32 flags|U32 argc|...
94bdecf9 3150
43869a0c 3151#if defined(PERL_IN_DUMP_C)
9f589e47 3152S |CV* |deb_curcv |I32 ix
17300c28 3153Sd |void |debprof |NN const OP *o
9f589e47
KW
3154S |UV |sequence_num |NULLOK const OP *o
3155S |SV* |pm_description |NN const PMOP *pm
94bdecf9
JH
3156#endif
3157
43869a0c 3158#if defined(PERL_IN_SCOPE_C)
077e4a84 3159Sd |SV* |save_scalar_at |NN SV **sptr|const U32 flags
94bdecf9
JH
3160#endif
3161
4c74a7df 3162#if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
67022846 3163: Used in gv.c
2b021c53 3164po |void |sv_add_backref |NN SV *const tsv|NN SV *const sv
e15faf7d
NC
3165#endif
3166
43869a0c 3167#if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
67022846 3168: Used in hv.c and mg.c
e4aeb12f 3169pox |void |sv_kill_backrefs |NN SV *const sv|NULLOK AV *const av
86f55936
NC
3170#endif
3171
579333ee
FC
3172#if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C)
3173pR |SV * |varname |NULLOK const GV *const gv|const char gvtype \
3174 |PADOFFSET targ|NULLOK const SV *const keyname \
1b3df0e6 3175 |SSize_t aindex|int subscript_type
579333ee
FC
3176#endif
3177
4c74a7df 3178pX |void |sv_del_backref |NN SV *const tsv|NN SV *const sv
43869a0c 3179#if defined(PERL_IN_SV_C)
45b29440 3180TiR |char * |uiv_2buf |NN char *const buf|const IV iv|UV uv|const int is_uv|NN char **const peob
0b754184 3181i |void |sv_unglob |NN SV *const sv|U32 flags
9f589e47
KW
3182S |const char *|sv_display |NN SV *const sv|NN char *tmpbuf|STRLEN tmpbuf_size
3183S |void |not_a_number |NN SV *const sv
3184S |void |not_incrementable |NN SV *const sv
3185S |I32 |visit |NN SVFUNC_t f|const U32 flags|const U32 mask
94bdecf9 3186# ifdef DEBUGGING
9f589e47 3187S |void |del_sv |NN SV *p
94bdecf9
JH
3188# endif
3189# if !defined(NV_PRESERVES_UV)
47031da6 3190# ifdef DEBUGGING
9f589e47 3191S |int |sv_2iuv_non_preserve |NN SV *const sv|I32 numtype
47031da6 3192# else
9f589e47 3193S |int |sv_2iuv_non_preserve |NN SV *const sv
47031da6 3194# endif
94bdecf9 3195# endif
9f589e47
KW
3196SR |STRLEN |expect_number |NN const char **const pattern
3197ST |STRLEN |sv_pos_u2b_forwards|NN const U8 *const start \
79d2d448 3198 |NN const U8 *const send|NN STRLEN *const uoffset \
e6e9dd29 3199 |NN bool *const at_end|NN bool *canonical_position
9f589e47 3200ST |STRLEN |sv_pos_u2b_midway|NN const U8 *const start \
503752a1 3201 |NN const U8 *send|STRLEN uoffset|const STRLEN uend
9f589e47 3202S |STRLEN |sv_pos_u2b_cached|NN SV *const sv|NN MAGIC **const mgp \
25a8a4ef 3203 |NN const U8 *const start|NN const U8 *const send \
3e2d3818 3204 |STRLEN uoffset|STRLEN uoffset0|STRLEN boffset0
9f589e47 3205S |void |utf8_mg_len_cache_update|NN SV *const sv|NN MAGIC **const mgp \
ec49a12c 3206 |const STRLEN ulen
9f589e47 3207S |void |utf8_mg_pos_cache_update|NN SV *const sv|NN MAGIC **const mgp \
ac1e9476 3208 |const STRLEN byte|const STRLEN utf8|const STRLEN blen
9f589e47 3209S |STRLEN |sv_pos_b2u_midway|NN const U8 *const s|NN const U8 *const target \
25a8a4ef 3210 |NN const U8 *end|STRLEN endu
9f589e47 3211S |void |assert_uft8_cache_coherent|NN const char *const func \
9df83ffd 3212 |STRLEN from_cache|STRLEN real|NN SV *const sv
9f589e47 3213ST |char * |F0convert |NV nv|NN char *const endbuf|NN STRLEN *const len
75acd14e 3214Cp |SV * |more_sv
9f589e47 3215S |bool |sv_2iuv_common |NN SV *const sv
37ee558d 3216S |void |glob_assign_glob|NN SV *const dsv|NN SV *const ssv \
7bc54cea 3217 |const int dtype
9f589e47
KW
3218SRT |PTR_TBL_ENT_t *|ptr_table_find|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
3219S |void |anonymise_cv_maybe |NN GV *gv|NN CV *cv
94bdecf9
JH
3220#endif
3221
ecf9cdab 3222: Used in sv.c and hv.c
75acd14e 3223Cpo |void * |more_bodies |const svtype sv_type|const size_t body_size \
ecf9cdab 3224 |const size_t arena_size
25c7fb78 3225EXpR |SV* |get_and_check_backslash_N_name|NN const char* s \
1b2f32d5 3226 |NN const char* e \
25c7fb78
KW
3227 |const bool is_utf8 \
3228 |NN const char** error_msg
4e8ee35f
KW
3229EXpR |HV* |load_charnames |NN SV * char_name \
3230 |NN const char * context \
3231 |const STRLEN context_len \
3232 |NN const char ** error_msg
ecf9cdab 3233
9a1ae847 3234: For use ONLY in B::Hooks::Parser, by special dispensation
e4aeb12f 3235EXpxR |char* |scan_str |NN char *start|int keep_quoted \
aabfeadc
KW
3236 |int keep_delims|int re_reparse \
3237 |NULLOK char **delimp
e4aeb12f 3238EXpx |char* |scan_word |NN char *s|NN char *dest|STRLEN destlen \
aabfeadc 3239 |int allow_package|NN STRLEN *slp
e4aeb12f 3240EXpxR |char* |skipspace_flags|NN char *s|U32 flags
43869a0c 3241#if defined(PERL_IN_TOKE_C)
9f589e47
KW
3242S |void |check_uni
3243S |void |force_next |I32 type
3244S |char* |force_version |NN char *s|int guessing
3245S |char* |force_strict_version |NN char *s
3246S |char* |force_word |NN char *start|int token|int check_keyword \
345b3785 3247 |int allow_pack
9f589e47
KW
3248S |SV* |tokeq |NN SV *sv
3249SR |char* |scan_const |NN char *start
3250SR |SV* |get_and_check_backslash_N_name_wrapper|NN const char* s \
6f613c73 3251 |NN const char* const e
9f589e47
KW
3252SR |char* |scan_formline |NN char *s
3253SR |char* |scan_heredoc |NN char *s
3254S |char* |scan_ident |NN char *s|NN char *dest \
94bdecf9 3255 |STRLEN destlen|I32 ck_uni
9f589e47
KW
3256SR |char* |scan_inputsymbol|NN char *start
3257SR |char* |scan_pat |NN char *start|I32 type
3258SR |char* |scan_subst |NN char *start
3259SR |char* |scan_trans |NN char *start
3260S |void |update_debugger_info|NULLOK SV *orig_sv \
15f169a1 3261 |NULLOK const char *const buf|STRLEN len
9f589e47 3262SR |char* |swallow_bom |NN U8 *s
a28af015 3263#ifndef PERL_NO_UTF16_FILTER
9f589e47
KW
3264S |I32 |utf16_textfilter|int idx|NN SV *sv|int maxlen
3265S |U8* |add_utf16_textfilter|NN U8 *const s|bool reversed
a28af015 3266#endif
9f589e47 3267S |void |checkcomma |NN const char *s|NN const char *name \
c94115d8 3268 |NN const char *what
9f589e47
KW
3269S |void |force_ident |NN const char *s|int kind
3270S |void |force_ident_maybe_lex|char pit
3271S |void |incline |NN const char *s|NN const char *end
3272S |int |intuit_method |NN char *s|NULLOK SV *ioname|NULLOK CV *cv
3273S |int |intuit_more |NN char *s|NN char *e
3274S |I32 |lop |I32 f|U8 x|NN char *s
3275rS |void |missingterm |NULLOK char *s|STRLEN len
3276S |void |no_op |NN const char *const what|NULLOK char *s
3277S |int |pending_ident
3278SR |I32 |sublex_done
3279SR |I32 |sublex_push
3280SR |I32 |sublex_start
3281SR |char * |filter_gets |NN SV *sv|STRLEN append
3282SR |HV * |find_in_my_stash|NN const char *pkgname|STRLEN len
3283SR |char * |tokenize_use |int is_use|NN char *s
3284So |SV* |new_constant |NULLOK const char *s|STRLEN len \
eb0d8d16 3285 |NN const char *key|STRLEN keylen|NN SV *sv \
164e423c
KW
3286 |NULLOK SV *pv|NULLOK const char *type \
3287 |STRLEN typelen \
3288 |NULLOK const char ** error_msg
9f589e47
KW
3289S |int |ao |int toketype
3290S |void|parse_ident|NN char **s|NN char **d \
07f72646 3291 |NN char * const e|int allow_package \
2cb35ee0
FC
3292 |bool is_utf8|bool check_dollar \
3293 |bool tick_warn
94bdecf9 3294# if defined(PERL_CR_FILTER)
9f589e47
KW
3295S |I32 |cr_textfilter |int idx|NULLOK SV *sv|int maxlen
3296S |void |strip_return |NN SV *sv
94bdecf9 3297# endif
c445ea15 3298# if defined(DEBUGGING)
9f589e47
KW
3299S |int |tokereport |I32 rv|NN const YYSTYPE* lvalp
3300Sf |void |printbuf |NN const char *const fmt|NN const char *const s
c445ea15 3301# endif
94bdecf9 3302#endif
c1a02cca 3303EdXxp |bool |validate_proto |NN SV *name|NULLOK SV *proto|bool warn \
5783dc51 3304 |bool curstash
94bdecf9 3305
43869a0c 3306#if defined(PERL_IN_UNIVERSAL_C)
c4b6b96d 3307SG |bool |isa_lookup |NULLOK HV *stash|NULLOK SV *namesv|NULLOK const char * name \
c7abbf64 3308 |STRLEN len|U32 flags
0c22dc83
KW
3309SG |bool |sv_derived_from_svpvn |NULLOK SV *sv \
3310 |NULLOK SV *namesv \
3311 |NULLOK const char * name \
3312 |const STRLEN len \
3313 |U32 flags
94bdecf9
JH
3314#endif
3315
f7416781 3316#if defined(PERL_IN_LOCALE_C)
faef259e 3317# ifdef USE_LOCALE
988faa11 3318iR |const char *|mortalized_pv_copy|NULLOK const char * const pv
c2d31889 3319ST |const char *|save_to_buffer|NULLOK const char * string \
82e2ef27 3320 |NULLOK const char **buf \
0b8fa716 3321 |NULLOK Size_t *buf_size
82e2ef27 3322ST |unsigned int|get_category_index|const int category|NULLOK const char * locale
d5efbc49
KW
3323S |utf8ness_t|get_locale_string_utf8ness_i \
3324 |NULLOK const char * locale \
3325 |const unsigned cat_index \
3326 |NULLOK const char * string \
3327 |const locale_utf8ness_t known_utf8
057f0a44 3328# ifdef USE_LOCALE_CTYPE
9f589e47 3329S |void |new_ctype |NN const char* newctype
057f0a44
KW
3330ST |bool |is_codeset_name_UTF8|NN const char * name
3331# endif
f4fdec1f 3332# ifdef USE_LOCALE_NUMERIC
759f4406 3333S |void |new_numeric |NN const char* newnum
f4fdec1f 3334# endif
82e2ef27 3335S |void |new_LC_ALL |NULLOK const char* unused
32899cfb
KW
3336S |const char*|stdize_locale|const int category \
3337 |NULLOK const char* input_locale \
3338 |NULLOK const char **buf \
3339 |NULLOK Size_t *buf_size \
3340 |line_t caller_line
94202fb8
KW
3341Sr |void |setlocale_failure_panic_i|const unsigned int cat_index \
3342 |NULLOK const char * current \
3343 |NN const char * failed \
3344 |const line_t caller_0_line \
3345 |const line_t caller_1_line
497bfce4
KW
3346So |const char *|toggle_locale_i|const unsigned switch_cat_index \
3347 |NN const char * new_locale \
3348 |const line_t caller_line
3349So |void |restore_toggled_locale_i|const unsigned cat_index \
3350 |NULLOK const char * original_locale \
3351 |const line_t caller_line
a0eeb339 3352S |bool |is_locale_utf8 |NN const char * locale
b7f19487
KW
3353# if (defined(HAS_LOCALECONV) || defined(HAS_LOCALECONV_L)) \
3354 && (defined(USE_LOCALE_MONETARY) || defined(USE_LOCALE_NUMERIC))
0630bfb4
KW
3355S |HV * |my_localeconv|const int item \
3356 |const locale_utf8ness_t locale_is_utf8
b7f19487 3357S |HV * |populate_localeconv|NN const struct lconv *lcbuf \
0630bfb4 3358 |const int unused \
b7f19487
KW
3359 |const locale_utf8ness_t numeric_locale_is_utf8 \
3360 |const locale_utf8ness_t monetary_locale_is_utf8
d8e250fa 3361# if ! defined(HAS_NL_LANGINFO_L) && ! defined(HAS_NL_LANGINFO)
0630bfb4
KW
3362S |HV * |get_nl_item_from_localeconv \
3363 |NN const struct lconv *lcbuf \
3364 |const int item \
3365 |const locale_utf8ness_t unused1 \
3366 |const locale_utf8ness_t unused2
3367# endif
b7f19487 3368# endif
82e2ef27 3369# if defined(USE_POSIX_2008_LOCALE)
4bcc858c 3370S |const char*|emulate_setlocale_i|const unsigned int index \
11d8dd19 3371 |NULLOK const char* new_locale \
20be777a 3372 |const recalc_lc_all_t recalc_LC_ALL\
1a63cba7 3373 |const line_t line
935c09ec 3374S |const char*|my_querylocale_i|const unsigned int index
827a4a05 3375S |locale_t |use_curlocale_scratch
f2780a3f 3376S |const char *|setlocale_from_aggregate_LC_ALL \
1a63cba7
KW
3377 |NN const char * locale \
3378 |const line_t line
2855c76a 3379# ifndef USE_QUERYLOCALE
11d8dd19
KW
3380S |const char*|update_PL_curlocales_i|const unsigned int index \
3381 |NN const char * new_locale \
20be777a 3382 |recalc_lc_all_t recalc_LC_ALL
9444acab 3383S |const char *|find_locale_from_environment|const unsigned int index
82e2ef27 3384# endif
e9bc6d6b 3385# endif
2855c76a
KW
3386# if defined(USE_POSIX_2008_LOCALE) && defined(USE_QUERYLOCALE)
3387S |const char *|calculate_LC_ALL|const locale_t cur_obj
3388# else
3389: regen/embed.pl can't currently cope with 'elif'
3390# if defined(USE_POSIX_2008_LOCALE) || ! defined(LC_ALL)
3391S |const char *|calculate_LC_ALL|NN const char ** individ_locales
3392# endif
3393# endif
e933b48f
KW
3394# ifdef USE_LOCALE_COLLATE
3395S |void |new_collate |NN const char* newcoll
3396# ifdef DEBUGGING
3397S |void |print_collxfrm_input_and_return \
3398 |NN const char * s \
3399 |NN const char * e \
3400 |NULLOK const char * xbuf \
3401 |const STRLEN xlen \
3402 |const bool is_utf8
3403# endif
3404# endif
f7416781 3405# ifdef WIN32
9f589e47 3406S |char* |win32_setlocale|int category|NULLOK const char* locale
27edef3b
KW
3407pTC |wchar_t *|Win_utf8_string_to_wstring|NULLOK const char * utf8_string
3408pTC |char * |Win_wstring_to_utf8_string|NULLOK const wchar_t * wstring
f7416781 3409# endif
999500d9 3410# if defined(HAS_NL_LANGINFO) || defined(HAS_NL_LANGINFO_L)
fc46dd0d
KW
3411S |const char*|my_langinfo_i|const nl_item item \
3412 |const unsigned int cat_index \
3413 |NN const char * locale \
07492de5 3414 |NN const char ** retbufp \
fffcb78f
KW
3415 |NULLOK Size_t * retbuf_sizep \
3416 |NULLOK utf8ness_t * utf8ness
faef259e 3417# else
fc46dd0d
KW
3418S |const char*|my_langinfo_i|const int item \
3419 |const unsigned int cat_index \
3420 |NN const char * locale \
07492de5 3421 |NN const char ** retbufp \
fffcb78f
KW
3422 |NULLOK Size_t * retbuf_sizep \
3423 |NULLOK utf8ness_t * utf8ness
faef259e 3424# endif
f7416781 3425# ifdef DEBUGGING
d188fe6d 3426STR |char * |setlocale_debug_string_i|const unsigned cat_index \
a4f00dcc
KW
3427 |NULLOK const char* const locale \
3428 |NULLOK const char* const retval
2855c76a 3429S |const char *|get_LC_ALL_display
f7416781
KW
3430# endif
3431# endif
4ab43d2f
KW
3432# ifdef DEBUGGING
3433S |void |print_bytes_for_locale |NN const char * const s \
3434 |NN const char * const e \
3435 |const bool is_utf8
3436# endif
9f162648
JH
3437#endif
3438
43869a0c 3439#if defined(PERL_IN_UTIL_C)
9f589e47
KW
3440S |SV* |mess_alloc
3441S |SV * |with_queued_errors|NN SV *ex
3442S |bool |invoke_exception_hook|NULLOK SV *ex|bool warn
f0380103 3443# if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
9f589e47 3444ST |void |mem_log_common |enum mem_log_type mlt|const UV n|const UV typesize \
bef8a128 3445 |NN const char *type_name|NULLOK const SV *sv \
0b0ab801
MHM
3446 |Malloc_t oldalloc|Malloc_t newalloc \
3447 |NN const char *filename|const int linenumber \
3448 |NN const char *funcname
f0380103 3449# endif
94bdecf9
JH
3450#endif
3451
6fb87544 3452#if defined(PERL_MEM_LOG)
bc726283
TC
3453CpT |Malloc_t |mem_log_alloc |const UV nconst|UV typesize|NN const char *type_name|Malloc_t newalloc|NN const char *filename|const int linenumber|NN const char *funcname
3454CpT |Malloc_t |mem_log_realloc |const UV n|const UV typesize|NN const char *type_name|Malloc_t oldalloc|Malloc_t newalloc|NN const char *filename|const int linenumber|NN const char *funcname
3455CpT |Malloc_t |mem_log_free |Malloc_t oldalloc|NN const char *filename|const int linenumber|NN const char *funcname
3456CpT |void |mem_log_new_sv|NN const SV *sv|NN const char *filename|int linenumber|NN const char *funcname
3457CpT |void |mem_log_del_sv|NN const SV *sv|NN const char *filename|int linenumber|NN const char *funcname
6fb87544
MH
3458#endif
3459
43869a0c 3460#if defined(PERL_IN_UTF8_C)
9f589e47 3461SR |HV * |new_msg_hv |NN const char * const message \
bb07812e
KW
3462 |U32 categories \
3463 |U32 flag
09f3c061 3464SR |UV |check_locale_boundary_crossing \
ab0b796c
KW
3465 |NN const U8* const p \
3466 |const UV result \
3467 |NN U8* const ustrp \
3468 |NN STRLEN *lenp
34aeb2e9 3469iR |bool |is_utf8_common |NN const U8 *const p \
dd1a3ba7 3470 |NN const U8 *const e \
34aeb2e9 3471 |NULLOK SV* const invlist
646ca15d
JH
3472#endif
3473
c9182d9c 3474EXiTp |void |append_utf8_from_native_byte|const U8 byte|NN U8** dest
55d09dc8 3475
e03e82a0 3476Apd |void |sv_set_undef |NN SV *sv
fff0089c
YO
3477Apd |void |sv_set_true |NN SV *sv
3478Apd |void |sv_set_false |NN SV *sv
3479Apd |void |sv_set_bool |NN SV *sv|const bool bool_val
37ee558d
KW
3480Apd |void |sv_setsv_flags |NN SV *dsv|NULLOK SV *ssv|const I32 flags
3481Apd |void |sv_catpvn_flags|NN SV *const dsv|NN const char *sstr|const STRLEN len \
2e000ff2 3482 |const I32 flags
37ee558d 3483Apd |void |sv_catpv_flags |NN SV *dsv|NN const char *sstr \
9dcc53ea 3484 |const I32 flags
37ee558d 3485Apd |void |sv_catsv_flags |NN SV *const dsv|NULLOK SV *const sstr|const I32 flags
ef9e3b4d 3486Amd |STRLEN |sv_utf8_upgrade_flags|NN SV *const sv|const I32 flags
defad34a 3487Adp |STRLEN |sv_utf8_upgrade_flags_grow|NN SV *const sv|const I32 flags|STRLEN extra
aa80caa7 3488Apd |char* |sv_pvn_force_flags|NN SV *const sv|NULLOK STRLEN *const lp|const U32 flags
b719801d 3489AdpMb |void |sv_copypv |NN SV *const dsv|NN SV *const ssv
5178f485 3490Amd |void |sv_copypv_nomg |NN SV *const dsv|NN SV *const ssv
4bac9ae4 3491Apd |void |sv_copypv_flags |NN SV *const dsv|NN SV *const ssv|const I32 flags
2378c9f3
KW
3492Cpo |char* |my_atof2 |NN const char *orig|NN NV* value
3493Cp |char* |my_atof3 |NN const char *orig|NN NV* value|const STRLEN len
bc9e3fb8 3494CpdT |int |my_socketpair |int family|int type|int protocol|int fd[2]
09fcffd1 3495ApTd |int |my_dirfd |NULLOK DIR* dir
db2c6cb3 3496#ifdef PERL_ANY_COW
2a5e5773 3497: Used in regexec.c
37ee558d 3498pxXE |SV* |sv_setsv_cow |NULLOK SV* dsv|NN SV* ssv
ed252734 3499#endif
94bdecf9 3500
94a866ae 3501Cop |const char *|PerlIO_context_layers|NULLOK const char *mode
11bcd5da 3502
97cb92d6 3503#if defined(USE_PERLIO)
b2f13048 3504Apdh |void |PerlIO_clearerr |NULLOK PerlIO *f
678f21a2 3505Apdh |int |PerlIO_close |NULLOK PerlIO *f
678f21a2
KW
3506Apdh |int |PerlIO_eof |NULLOK PerlIO *f
3507Apdh |int |PerlIO_error |NULLOK PerlIO *f
b2f13048 3508Apdh |int |PerlIO_fileno |NULLOK PerlIO *f
4c7da727 3509Apd |int |PerlIO_fill |NULLOK PerlIO *f
678f21a2 3510Apdh |int |PerlIO_flush |NULLOK PerlIO *f
678f21a2 3511Apdh |STDCHAR *|PerlIO_get_base |NULLOK PerlIO *f
b2f13048
KW
3512ApRdh |SSize_t |PerlIO_get_bufsiz |NULLOK PerlIO *f
3513ApRdh |SSize_t |PerlIO_get_cnt |NULLOK PerlIO *f
678f21a2 3514Apdh |STDCHAR *|PerlIO_get_ptr |NULLOK PerlIO *f
b2f13048
KW
3515Apdh |SSize_t|PerlIO_read |NULLOK PerlIO *f|NN void *vbuf \
3516 |Size_t count
3517Xp |void |PerlIO_restore_errno |NULLOK PerlIO *f
3518Xp |void |PerlIO_save_errno |NULLOK PerlIO *f
3519Apdh |int |PerlIO_seek |NULLOK PerlIO *f|Off_t offset|int whence
3520Apdh |void |PerlIO_set_cnt |NULLOK PerlIO *f|SSize_t cnt
3521Apdh |void |PerlIO_setlinebuf |NULLOK PerlIO *f
3522Apdh |void |PerlIO_set_ptrcnt |NULLOK PerlIO *f|NULLOK STDCHAR *ptr \
3523 |SSize_t cnt
3524ApRdh |PerlIO *|PerlIO_stderr
678f21a2
KW
3525ApRdh |PerlIO *|PerlIO_stdin
3526ApRdh |PerlIO *|PerlIO_stdout
b2f13048 3527Apdh |Off_t |PerlIO_tell |NULLOK PerlIO *f
4c7da727 3528Apd |SSize_t|PerlIO_unread |NULLOK PerlIO *f|NN const void *vbuf \
b2f13048
KW
3529 |Size_t count
3530Apdh |SSize_t|PerlIO_write |NULLOK PerlIO *f|NN const void *vbuf \
3531 |Size_t count
57630fb6 3532#endif /* USE_PERLIO */
94bdecf9 3533
67022846 3534: Only used in dump.c
d6721266 3535p |void |deb_stack_all
43869a0c 3536#if defined(PERL_IN_DEB_C)
9f589e47 3537S |void |deb_stack_n |NN SV** stack_base|I32 stack_min \
3f46c5a6 3538 |I32 stack_max|I32 mark_min|I32 mark_max
d6721266
DM
3539#endif
3540
cc76b5cc 3541: pad API
346c6a29 3542ApdR |PADLIST*|pad_new |int flags
eacbb379 3543#ifdef DEBUGGING
45b29440 3544pTX |void|set_padlist| NN CV * cv | NULLOK PADLIST * padlist
eacbb379 3545#endif
cc76b5cc 3546#if defined(PERL_IN_PAD_C)
c1a02cca 3547Sd |PADOFFSET|pad_alloc_name|NN PADNAME *name|U32 flags \
cc76b5cc
Z
3548 |NULLOK HV *typestash|NULLOK HV *ourstash
3549#endif
3550Apd |PADOFFSET|pad_add_name_pvn|NN const char *namepv|STRLEN namelen\
0e1b3a4b 3551 |U32 flags|NULLOK HV *typestash\
cca43f78 3552 |NULLOK HV *ourstash
cc76b5cc
Z
3553Apd |PADOFFSET|pad_add_name_pv|NN const char *name\
3554 |const U32 flags|NULLOK HV *typestash\
3555 |NULLOK HV *ourstash
3556Apd |PADOFFSET|pad_add_name_sv|NN SV *name\
0e1b3a4b 3557 |U32 flags|NULLOK HV *typestash\
cc76b5cc 3558 |NULLOK HV *ourstash
e4aeb12f 3559Axpd |PADOFFSET|pad_alloc |I32 optype|U32 tmptype
cc76b5cc 3560Apd |PADOFFSET|pad_add_anon |NN CV* func|I32 optype
a70f21d0 3561p |void |pad_add_weakref|NN CV* func
43869a0c 3562#if defined(PERL_IN_PAD_C)
9f589e47 3563Sd |void |pad_check_dup |NN PADNAME *name|U32 flags \
e1c02f84 3564 |NULLOK const HV *ourstash
cc76b5cc 3565#endif
402642c6 3566Apd |PADOFFSET|pad_findmy_pvn|NN const char* namepv|STRLEN namelen|U32 flags
2d7dd515
Z
3567Apd |PADOFFSET|pad_findmy_pv|NN const char* name|U32 flags
3568Apd |PADOFFSET|pad_findmy_sv|NN SV* name|U32 flags
cc76b5cc
Z
3569Apd |SV* |find_rundefsv |
3570#if defined(PERL_IN_PAD_C)
9f589e47 3571Sd |PADOFFSET|pad_findlex |NN const char *namepv|STRLEN namelen|U32 flags \
cc76b5cc 3572 |NN const CV* cv|U32 seq|int warn \
e1c02f84
FC
3573 |NULLOK SV** out_capture \
3574 |NN PADNAME** out_name|NN int *out_flags
73b81b14 3575#endif
dd2155a4 3576#ifdef DEBUGGING
16376614 3577Cpd |SV* |pad_sv |PADOFFSET po
042f0c67 3578Cpd |void |pad_setsv |PADOFFSET po|NN SV* sv
dd2155a4
DM
3579#endif
3580pd |void |pad_block_start|int full
25f5d540 3581Apd |U32 |intro_my
6d5c2147 3582pd |OP * |pad_leavemy
cc76b5cc
Z
3583pd |void |pad_swipe |PADOFFSET po|bool refadjust
3584#if defined(PERL_IN_PAD_C)
9f589e47 3585Sd |void |pad_reset
d5b1589c 3586#endif
e4aeb12f 3587Axpd |void |pad_tidy |padtidy_type type
cc76b5cc 3588pd |void |pad_free |PADOFFSET po
e950ecba 3589pd |void |do_dump_pad |I32 level|NN PerlIO *file|NULLOK PADLIST *padlist|int full
43869a0c 3590#if defined(PERL_IN_PAD_C)
dd2155a4 3591# if defined(DEBUGGING)
9f589e47 3592Sd |void |cv_dump |NN const CV *cv|NN const char *title
dd2155a4 3593# endif
dd2155a4 3594#endif
b9d5702c
KW
3595#if defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
3596iT |bool |PadnameIN_SCOPE|NN const PADNAME * const pn|const U32 seq
3597#endif
cc76b5cc 3598Apd |CV* |cv_clone |NN CV* proto
a35cc1c1 3599p |CV* |cv_clone_into |NN CV* proto|NN CV *target
cc76b5cc
Z
3600pd |void |pad_fixup_inner_anons|NN PADLIST *padlist|NN CV *old_cv|NN CV *new_cv
3601pdX |void |pad_push |NN PADLIST *padlist|int depth
e4aeb12f 3602AxpdRT |PADNAME *|padnamelist_fetch|NN PADNAMELIST *pnl|SSize_t key
9b7476d7 3603Xop |void |padnamelist_free|NN PADNAMELIST *pnl
e4aeb12f 3604Axpd |PADNAME **|padnamelist_store|NN PADNAMELIST *pnl|SSize_t key \
9b7476d7 3605 |NULLOK PADNAME *val
0f94cb1f 3606Xop |void |padname_free |NN PADNAME *pn
cc76b5cc 3607#if defined(USE_ITHREADS)
0f94cb1f 3608pdR |PADNAME *|padname_dup |NN PADNAME *src|NN CLONE_PARAMS *param
c1a02cca 3609pdR |PADNAMELIST *|padnamelist_dup|NN PADNAMELIST *srcpad \
9b7476d7 3610 |NN CLONE_PARAMS *param
eacbb379 3611pdR |PADLIST *|padlist_dup |NN PADLIST *srcpad \
b70d5558 3612 |NN CLONE_PARAMS *param
cc76b5cc 3613#endif
7261499d
FC
3614p |PAD ** |padlist_store |NN PADLIST *padlist|I32 key \
3615 |NULLOK PAD *val
cc76b5cc 3616
daad78fc 3617ApdR |CV* |find_runcv |NULLOK U32 *db_seqp
db4cf31d 3618pR |CV* |find_runcv_where|U8 cond|IV arg \
70794f7b 3619 |NULLOK U32 *db_seqp
67022846 3620: Only used in perl.c
dd28f7bb 3621p |void |free_tied_hv_pool
b4ab917c 3622#if defined(DEBUGGING)
67022846 3623: Used in mg.c
46c461b5 3624pR |int |get_debug_opts |NN const char **s|bool givehelp
b4ab917c 3625#endif
e446bf93 3626Cpd |void |save_set_svflags|NN SV *sv|U32 mask|U32 val
ed760897 3627#ifdef DEBUGGING
4048f010 3628Apod |void |hv_assert |NN HV *hv
ed760897 3629#endif
d6721266 3630
4048f010 3631ApdR |SV* |hv_scalar |NN HV *hv
8dc9003f 3632p |void |hv_pushkv |NN HV *hv|U32 flags
e4aeb12f 3633ApdRx |SV* |hv_bucket_ratio|NN HV *hv
991f482c
KW
3634CpdoR |I32* |hv_riter_p |NN HV *hv
3635CpdoR |HE** |hv_eiter_p |NN HV *hv
3636Cpdo |void |hv_riter_set |NN HV *hv|I32 riter
3637Cpdo |void |hv_eiter_set |NN HV *hv|NULLOK HE *eiter
d487610d 3638Cp |void |hv_rand_set |NN HV *hv|U32 new_xhv_rand
ca4a6e05 3639Apd |void |hv_name_set |NN HV *hv|NULLOK const char *name|U32 len|U32 flags
c1a02cca 3640pd |void |hv_ename_add |NN HV *hv|NN const char *name|U32 len \
27a1175b 3641 |U32 flags
c1a02cca 3642pd |void |hv_ename_delete|NN HV *hv|NN const char *name|U32 len \
27a1175b 3643 |U32 flags
67022846 3644: Used in dump.c and hv.c
e4aeb12f 3645pox |AV** |hv_backreferences_p |NN HV *hv
764ff8a9 3646#if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C)
e4aeb12f 3647pox |void |hv_kill_backrefs |NN HV *hv
09aad8f0 3648#endif
4048f010 3649Apd |void |hv_clear_placeholders |NN HV *hv
6174b39a 3650XpoR |SSize_t*|hv_placeholders_p |NN HV *hv
991f482c
KW
3651CpdoR |I32 |hv_placeholders_get |NN const HV *hv
3652Cpdo |void |hv_placeholders_set |NN HV *hv|I32 ph
ca732855 3653
67022846 3654: This is indirectly referenced by globals.c. This is somewhat annoying.
4048f010 3655p |SV* |magic_scalarpack|NN HV *hv|NN MAGIC *mg
10edeb5d 3656
43869a0c 3657#if defined(PERL_IN_SV_C)
9f589e47 3658S |SV * |find_hash_subscript|NULLOK const HV *const hv \
6c1b357c 3659 |NN const SV *const val
9f589e47 3660S |SSize_t|find_array_subscript|NULLOK const AV *const av \
6c1b357c 3661 |NN const SV *const val
e4aeb12f 3662Sxd |SV* |find_uninit_var|NULLOK const OP *const obase \
fedf30e1
DM
3663 |NULLOK const SV *const uninit_sv|bool match \
3664 |NN const char **desc_p
29489e7c 3665#endif
96adfaa1 3666
84ca0d82
KW
3667Adp |GV* |gv_fetchpvn_flags|NN const char* name|STRLEN len|I32 flags|const svtype sv_type
3668Adp |GV* |gv_fetchsv|NN SV *name|I32 flags|const svtype sv_type
7a5fd60d 3669
41e4abd8 3670#ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP
67022846 3671: Used in sv.c
46c461b5 3672p |void |dump_sv_child |NN SV *sv
41e4abd8
NC
3673#endif
3674
c69033f2 3675#ifdef PERL_DONT_CREATE_GVSV
4c6879dc 3676ApdbM |GV* |gv_SVadd |NULLOK GV *gv
c69033f2 3677#endif
43869a0c 3678#if defined(PERL_IN_UTIL_C)
9f589e47 3679S |bool |ckwarn_common |U32 w
26c7b074 3680#endif
c8d3da6c
KW
3681CpoP |bool |ckwarn |U32 w
3682CpoP |bool |ckwarn_d |U32 w
d67fec57 3683: FIXME - exported for ByteLoader - public or private?
e4aeb12f 3684XEopxR |STRLEN *|new_warnings_bitfield|NULLOK STRLEN *buffer \
72dc9ed5 3685 |NN const char *const bits|STRLEN size
c69033f2 3686
917b9b54
KW
3687AMpTdf |int |my_snprintf |NN char *buffer|const Size_t len|NN const char *format|...
3688AMpTd |int |my_vsnprintf |NN char *buffer|const Size_t len|NN const char *format|va_list ap
a4eca1d4 3689#ifdef USE_QUADMATH
065d0f13
TC
3690pTd |bool |quadmath_format_valid|NN const char* format
3691pTd |bool|quadmath_format_needed|NN const char* format
a4eca1d4 3692#endif
d9fad198 3693
67022846 3694: Used in mg.c, sv.c
5af72e99 3695pe |void |my_clearenv
b0269e46 3696
6e512bc2 3697#ifdef MULTIPLICITY
e34671d9 3698Cpod |void* |my_cxt_init |NN int *indexp|size_t size
f16dd614 3699#endif
071d040c 3700#if defined(PERL_IN_UTIL_C)
9f589e47 3701So |void |xs_version_bootcheck|U32 items|U32 ax|NN const char *xs_p \
e9b067d9 3702 |STRLEN xs_len
071d040c 3703#endif
29f5f37e 3704FXpoT |I32 |xs_handshake |const U32 key|NN void * v_my_perl\
9a189793 3705 |NN const char * file| ...
b01a1eea 3706Xp |void |xs_boot_epilog |const I32 ax
a6cc4119 3707#ifndef HAS_STRLCAT
fb49ac44 3708ApTd |Size_t |my_strlcat |NULLOK char *dst|NULLOK const char *src|Size_t size
a6cc4119
SP
3709#endif
3710
3711#ifndef HAS_STRLCPY
fb49ac44 3712ApTd |Size_t |my_strlcpy |NULLOK char *dst|NULLOK const char *src|Size_t size
a6cc4119
SP
3713#endif
3714
aefb3fa0 3715#ifndef HAS_STRNLEN
1ab100a8 3716AipTd |Size_t |my_strnlen |NN const char *str|Size_t maxlen
aefb3fa0
DIM
3717#endif
3718
2517ba99 3719#ifndef HAS_MKOSTEMP
a241bba7 3720pTod |int |my_mkostemp |NN char *templte|int flags
2517ba99 3721#endif
e48855bd 3722#ifndef HAS_MKSTEMP
a241bba7 3723pTod |int |my_mkstemp |NN char *templte
e48855bd
TC
3724#endif
3725
45b29440 3726APpdT |bool |isinfnan |NV nv
af147c81 3727pd |bool |isinfnansv |NN SV *sv
1cd88304 3728
ed140128 3729#if !defined(HAS_SIGNBIT)
e4aeb12f 3730AxdToP |int |Perl_signbit |NV f
ed140128 3731#endif
f16dd614 3732
d67fec57 3733: Used by B
e4aeb12f 3734XExop |void |emulate_cop_io |NN const COP *const c|NN SV *const sv
d67fec57 3735: Used by SvRX and SvRXOK
e4aeb12f 3736XExop |REGEXP *|get_re_arg|NULLOK SV *sv
8b850bd5 3737
cfe2ff85 3738Coph |SV* |mro_get_private_data|NN struct mro_meta *const smeta \
fa60396f 3739 |NN const struct mro_alg *const which
6a6f8717 3740Aopdh |SV* |mro_set_private_data|NN struct mro_meta *const smeta \
fa60396f
NC
3741 |NN const struct mro_alg *const which \
3742 |NN SV *const data
83d56587 3743Aopd |const struct mro_alg *|mro_get_from_name|NN SV *name
c1a02cca 3744Aopd |void |mro_register |NN const struct mro_alg *mro
83d56587 3745Aopd |void |mro_set_mro |NN struct mro_meta *const meta \
31b9005d 3746 |NN SV *const name
c60bad7b
NC
3747: Used in HvMROMETA(), which is public.
3748Xpo |struct mro_meta* |mro_meta_init |NN HV* stash
47c9dd14 3749#if defined(USE_ITHREADS)
67022846 3750: Only used in sv.c
47c9dd14
BB
3751p |struct mro_meta* |mro_meta_dup |NN struct mro_meta* smeta|NN CLONE_PARAMS* param
3752#endif
3753Apd |AV* |mro_get_linear_isa|NN HV* stash
43869a0c 3754#if defined(PERL_IN_MRO_C)
9f589e47
KW
3755Sd |AV* |mro_get_linear_isa_dfs|NN HV* stash|U32 level
3756S |void |mro_clean_isarev|NN HV * const isa \
80ebaca2
FC
3757 |NN const char * const name \
3758 |const STRLEN len \
3386c920
FC
3759 |NULLOK HV * const exceptions \
3760 |U32 hash|U32 flags
9f589e47 3761S |void |mro_gather_and_rename|NN HV * const stashes \
b89cdb22 3762 |NN HV * const seen_stashes \
80ebaca2
FC
3763 |NULLOK HV *stash \
3764 |NULLOK HV *oldstash \
d7879cf0 3765 |NN SV *namesv
4befac30 3766#endif
67022846 3767: Used in hv.c, mg.c, pp.c, sv.c
4df35a07 3768pd |void |mro_isa_changed_in|NN HV* stash
47c9dd14 3769Apd |void |mro_method_changed_in |NN HV* stash
5af72e99 3770pde |void |mro_package_moved |NULLOK HV * const stash|NULLOK HV * const oldstash|NN const GV * const gv|U32 flags
67022846 3771: Only used in perl.c
47c9dd14 3772p |void |boot_core_mro
d7150126
KW
3773CpoT |void |sys_init |NN int* argc|NN char*** argv
3774CpoT |void |sys_init3 |NN int* argc|NN char*** argv|NN char*** env
3775CpoT |void |sys_term
632239c3 3776Apxd |const char *|cop_fetch_label|NN COP *const cop \
dca6062a 3777 |NULLOK STRLEN *len|NULLOK U32 *flags
8375c93e 3778: Only used in op.c and the perl compiler
632239c3 3779Apxd |void|cop_store_label \
ce42d03d 3780 |NN COP *const cop|NN const char *label|STRLEN len|U32 flags
47c9dd14 3781
5af72e99 3782epo |int |keyword_plugin_standard|NN char* keyword_ptr|STRLEN keyword_len|NN OP** op_ptr
88e1f1a2 3783
f7abe70b 3784#if defined(USE_ITHREADS)
43869a0c 3785# if defined(PERL_IN_SV_C)
9f589e47 3786S |void |unreferenced_to_tmp_stack|NN AV *const unreferenced
e4295668 3787# endif
45b29440 3788ARTop |CLONE_PARAMS *|clone_params_new|NN PerlInterpreter *const from \
f7abe70b 3789 |NN PerlInterpreter *const to
45b29440 3790ATop |void |clone_params_del|NN CLONE_PARAMS *param
f7abe70b 3791#endif
74e8ce34
NC
3792
3793: Used in perl.c and toke.c
29f5f37e 3794Fop |void |populate_isa |NN const char *name|STRLEN len|...
74e8ce34 3795
25fdce4a
FC
3796: Some static inline functions need predeclaration because they are used
3797: inside other static inline functions.
c47d1a66 3798#if defined(PERL_CORE) || defined (PERL_EXT)
25fdce4a
FC
3799Ei |STRLEN |sv_or_pv_pos_u2b|NN SV *sv|NN const char *pv|STRLEN pos \
3800 |NULLOK STRLEN *lenp
c47d1a66 3801#endif
25fdce4a 3802
5c201a09 3803Cp |void |clear_defarray |NN AV* av|bool abandon
ad2de1b2 3804
e4aeb12f 3805Apx |void |leave_adjust_stacks|NN SV **from_sp|NN SV **to_sp \
1c23e2bd 3806 |U8 gimme|int filter
799da9d7 3807
ed8ff0f3 3808#ifndef PERL_NO_INLINE_FUNCTIONS
d57359ab 3809Cixp |U8 |gimme_V |
f542621f
KW
3810Cixp |PERL_CONTEXT * |cx_pushblock|U8 type|U8 gimme|NN SV** sp|I32 saveix
3811Cixp |void |cx_popblock|NN PERL_CONTEXT *cx
3812Cixp |void |cx_topblock|NN PERL_CONTEXT *cx
3813Cixp |void |cx_pushsub |NN PERL_CONTEXT *cx|NN CV *cv \
6a7d52cc 3814 |NULLOK OP *retop|bool hasargs
f542621f
KW
3815Cixp |void |cx_popsub_common|NN PERL_CONTEXT *cx
3816Cixp |void |cx_popsub_args |NN PERL_CONTEXT *cx
3817Cixp |void |cx_popsub |NN PERL_CONTEXT *cx
3818Cixp |void |cx_pushformat |NN PERL_CONTEXT *cx|NN CV *cv \
6a7d52cc 3819 |NULLOK OP *retop|NULLOK GV *gv
f542621f
KW
3820Cixp |void |cx_popformat |NN PERL_CONTEXT *cx
3821Cixp |void |cx_pusheval |NN PERL_CONTEXT *cx \
13febba5 3822 |NULLOK OP *retop|NULLOK SV *namesv
6b729d24 3823Cixp |void |cx_pushtry |NN PERL_CONTEXT *cx|NULLOK OP *retop
f542621f
KW
3824Cixp |void |cx_popeval |NN PERL_CONTEXT *cx
3825Cixp |void |cx_pushloop_plain|NN PERL_CONTEXT *cx
3826Cixp |void |cx_pushloop_for |NN PERL_CONTEXT *cx \
d1b6bf72 3827 |NN void *itervarp|NULLOK SV *itersave
f542621f
KW
3828Cixp |void |cx_poploop |NN PERL_CONTEXT *cx
3829Cixp |void |cx_pushwhen |NN PERL_CONTEXT *cx
3830Cixp |void |cx_popwhen |NN PERL_CONTEXT *cx
3831Cixp |void |cx_pushgiven |NN PERL_CONTEXT *cx|NULLOK SV *orig_defsv
3832Cixp |void |cx_popgiven |NN PERL_CONTEXT *cx
ed8ff0f3
DM
3833#endif
3834
3f6bd23a 3835#ifdef USE_DTRACE
e950ecba
KW
3836XEop |void |dtrace_probe_call |NN CV *cv|bool is_call
3837XEop |void |dtrace_probe_load |NN const char *name|bool is_loading
3838XEop |void |dtrace_probe_op |NN const OP *op
3839XEop |void |dtrace_probe_phase|enum perl_phase phase
3f6bd23a
DM
3840#endif
3841
de59f38e 3842XEop |STRLEN*|dup_warnings |NULLOK STRLEN* warnings
c1e47bad 3843
add0fa58
KW
3844#ifndef USE_ITHREADS
3845Amd |void |CopFILEGV_set |NN COP * c|NN GV * gv
3846#endif
3847
b4bc910f 3848Amd|const char *const|phase_name|enum perl_phase
eb87cedb 3849
b2ba7ad6 3850: ex: set ts=8 sts=4 sw=4 noet: