This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Rework mod loading for %- and %!; fix mem leak
[perl5.git] / embed.fnc
CommitLineData
d7cb65f2 1: BEGIN{die "You meant to run regen/embed.pl"} # Stop early if fed to perl.
5a51db05 2:
d7cb65f2 3: This file is processed by regen/embed.pl and autodoc.pl
d412580b 4:
94bdecf9
JH
5: Lines are of the form:
6: flags|return_type|function_name|arg1|arg2|...|argN
7:
8: A line may be continued on another by ending it with a backslash.
9: Leading and trailing whitespace will be ignored in each component.
10:
11: flags are single letters with following meanings:
d412580b 12:
ba4591a5 13: A Available fully everywhere (usually part of the public API):
d412580b 14:
d500e60d 15: add entry to the list of exported symbols (unless x or m);
ba4591a5
KW
16: any doc entry goes in perlapi.pod rather than perlintern.pod. If no
17: documentation is furnished for this function, and M is also
18: specified, the function is not listed as part of the public API.
d212d222 19: If M isn't specified, and no documentation is furnished, the
ba4591a5 20: function is listed in perlapi as existing and being undocumented
d412580b
DM
21: makes '#define foo Perl_foo' scope not just for PERL_CORE/PERL_EXT
22:
569ba91f
FC
23: If the function is only exported for use in a public
24: macro, see X.
25:
346c6a29
DM
26: a Allocates memory a la malloc/calloc. Also implies "R".
27: This should only be on functions which returns 'empty' memory
28: which has no other pointers to it, and which does not contain
29: any pointers to other things. So for example realloc() can't be
30: 'a'.
d412580b
DM
31:
32: proto.h: add __attribute__malloc__
33:
3f1866a8
KW
34: b Binary backward compatibility. This is used for functions which are
35: kept only to not have to change legacy applications that call them. If
36: there are no such legacy applications in a Perl installation for all
37: functions flagged with this, the installation can run Configure with the
38: -Accflags='-DNO_MATHOMS' parameter to not even compile them. If there
39: is a macro form of this function that provides equivalent functionality
40: (using a different implementation), also specify the 'm' flag. The 'b'
41: functions are normally moved to mathoms.c, but if circumstances dictate
42: otherwise, they can be anywhere, provided the whole function is wrapped
43: with
44: #ifndef NO_MATHOMS
45: ...
46: #endif
d412580b 47:
5ff52e3c
KW
48: Note that this flag no longer automatically adds a 'Perl_' prefix to the
49: name. Additionally specify 'p' to do that.
50:
3f1866a8
KW
51: For functions, like wrappers, whose macro shortcut doesn't call the
52: function, but which, for whatever reason, aren't considered legacy-only,
53: use the 'o' flag
54:
55: This flag effectively causes nothing to happen if the perl interpreter
56: is compiled with -DNO_MATHOMS; otherwise these happen:
d500e60d 57: add entry to the list of exported symbols;
3f1866a8
KW
58: create PERL_ARGS_ASSERT_FOO;
59: add embed.h entry (unless overridden by the 'm' flag)
d412580b
DM
60:
61: D Function is deprecated:
62:
63: proto.h: add __attribute__deprecated__
64:
6ef8d77a 65: d Function has documentation (somewhere) in the source:
d412580b
DM
66:
67: enables 'no docs for foo" warning in autodoc.pl
68:
69: E Visible to extensions included in the Perl core:
70:
71: in embed.h, change "#ifdef PERL_CORE"
72: into "#if defined(PERL_CORE) || defined(PERL_EXT)"
73:
d212d222
KW
74: To be usable from dynamically loaded extensions, either:
75: 1) must be static to its containing file ("i" or "s" flag); or
76: 2) be combined with the "X" flag.
23fb3b56 77:
531b2663
DM
78: f Function takes a format string. If the function name /strftime/
79: then its assumed to take a strftime-style format string as 1st arg;
80: otherwise it's assumed to be a printf style format string, varargs
81: (hence any entry that would otherwise go in embed.h is suppressed):
d412580b
DM
82:
83: proto.h: add __attribute__format__ (or ...null_ok__)
84:
71556506
KW
85: i Static inline: function in source code has a S_ prefix:
86:
87: proto.h: function is declared as S_foo rather than foo,
88: PERL_STATIC_INLINE is added to declaration;
89: embed.h: "#define foo S_foo" entries added
90:
d412580b
DM
91: M May change:
92:
494cc49e
KW
93: any doc entry is marked that function may change. Also used to
94: suppress making a doc entry if it would just be a placeholder.
d412580b
DM
95:
96: m Implemented as a macro:
97:
3f1866a8
KW
98: suppress proto.h entry unless 'b' also specified (actually, not
99: suppressed, but commented out)
d500e60d 100: suppress entry in the list of exported symbols
d412580b
DM
101: suppress embed.h entry
102:
103: n Has no implicit interpreter/thread context argument:
104:
105: suppress the pTHX part of "foo(pTHX...)" in proto.h;
106: In the PERL_IMPLICIT_SYS branch of embed.h, generates
107: "#define foo Perl_foo", rather than
108: "#define foo(a,b,c) Perl_foo(aTHX_ a,b,c)
109:
7b53c8ee
NC
110: O Has a perl_ compatibility macro.
111:
112: The really OLD name for API funcs
113:
37ccf918 114: o Has no Perl_foo or S_foo compatibility macro:
d412580b
DM
115:
116: embed.h: suppress "#define foo Perl_foo"
117:
118: P Pure function: no effects except the return value;
119: return value depends only on params and/or globals:
120:
121: proto.h: add __attribute__pure__
122:
123: p Function in source code has a Perl_ prefix:
124:
125: proto.h: function is declared as Perl_foo rather than foo
126: embed.h: "#define foo Perl_foo" entries added
127:
128: R Return value must not be ignored (also implied by 'a' flag):
129:
130: proto.h: add __attribute__warn_unused_result__
131:
132: r Function never returns:
133:
134: proto.h: add __attribute__noreturn__
135:
136: s Static function: function in source code has a S_ prefix:
137:
138: proto.h: function is declared as S_foo rather than foo,
139: STATIC is added to declaration;
140: embed.h: "#define foo S_foo" entries added
141:
142: U Suppress usage example in autogenerated documentation
143:
144: (currently no effect)
145:
146: X Explicitly exported:
147:
d500e60d 148: add entry to the list of exported symbols, unless x or m
d412580b 149:
569ba91f
FC
150: This is often used for private functions that are used by public
151: macros. In those cases the macros must use the long form of the
152: name (Perl_blah(aTHX_ ...)).
153:
d412580b
DM
154: x Not exported
155:
d500e60d 156: suppress entry in the list of exported symbols
d412580b 157:
1aa6ea50 158: (see also L<perlguts/Internal Functions> for those flags.)
4373e329 159:
f54cb97a 160: Pointer parameters that must not be passed NULLs should be prefixed with NN.
94bdecf9 161:
1b6737cc
AL
162: Pointer parameters that may be NULL should be prefixed with NULLOK. This has
163: no effect on output yet. It's a notation for the maintainers to know "I have
164: defined whether NULL is OK or not" rather than having neither NULL or NULLOK,
165: which is ambiguous.
166:
94bdecf9 167: Individual flags may be separated by whitespace.
94bdecf9 168
94bdecf9 169#if defined(PERL_IMPLICIT_SYS)
7827dc65 170Ano |PerlInterpreter*|perl_alloc_using \
4048f010
NC
171 |NN struct IPerlMem *ipM \
172 |NN struct IPerlMem *ipMS \
173 |NN struct IPerlMem *ipMP \
174 |NN struct IPerlEnv *ipE \
175 |NN struct IPerlStdIO *ipStd \
16bf6295 176 |NN struct IPerlLIO *ipLIO \
4048f010
NC
177 |NN struct IPerlDir *ipD \
178 |NN struct IPerlSock *ipS \
179 |NN struct IPerlProc *ipP
94bdecf9
JH
180#endif
181Anod |PerlInterpreter* |perl_alloc
4048f010
NC
182Anod |void |perl_construct |NN PerlInterpreter *my_perl
183Anod |int |perl_destruct |NN PerlInterpreter *my_perl
184Anod |void |perl_free |NN PerlInterpreter *my_perl
185Anod |int |perl_run |NN PerlInterpreter *my_perl
186Anod |int |perl_parse |NN PerlInterpreter *my_perl|XSINIT_t xsinit \
7827dc65
AL
187 |int argc|NULLOK char** argv|NULLOK char** env
188AnpR |bool |doing_taint |int argc|NULLOK char** argv|NULLOK char** env
94bdecf9 189#if defined(USE_ITHREADS)
4048f010 190Anod |PerlInterpreter*|perl_clone|NN PerlInterpreter *proto_perl|UV flags
94bdecf9 191# if defined(PERL_IMPLICIT_SYS)
7827dc65 192Ano |PerlInterpreter*|perl_clone_using \
589df73b
SH
193 |NN PerlInterpreter *proto_perl \
194 |UV flags \
195 |NN struct IPerlMem* ipM \
196 |NN struct IPerlMem* ipMS \
197 |NN struct IPerlMem* ipMP \
198 |NN struct IPerlEnv* ipE \
199 |NN struct IPerlStdIO* ipStd \
200 |NN struct IPerlLIO* ipLIO \
201 |NN struct IPerlDir* ipD \
202 |NN struct IPerlSock* ipS \
203 |NN struct IPerlProc* ipP
94bdecf9
JH
204# endif
205#endif
206
4373e329
AL
207Aanop |Malloc_t|malloc |MEM_SIZE nbytes
208Aanop |Malloc_t|calloc |MEM_SIZE elements|MEM_SIZE size
346c6a29 209ARnop |Malloc_t|realloc |Malloc_t where|MEM_SIZE nbytes
94bdecf9
JH
210Anop |Free_t |mfree |Malloc_t where
211#if defined(MYMALLOC)
7827dc65 212npR |MEM_SIZE|malloced_size |NN void *p
64107180 213npR |MEM_SIZE|malloc_good_size |size_t nbytes
94bdecf9 214#endif
03f05cb4
LM
215#if defined(PERL_IN_MALLOC_C)
216sn |int |adjust_size_and_find_bucket |NN size_t *nbytes_p
217#endif
94bdecf9 218
890ce7af 219AnpR |void* |get_context
9f6cc744 220Anp |void |set_context |NN void *t
94bdecf9 221
6f1401dc
DM
222XEop |bool |try_amagic_bin |int method|int flags
223XEop |bool |try_amagic_un |int method|int flags
46c461b5 224Ap |SV* |amagic_call |NN SV* left|NN SV* right|int method|int dir
25a9ffce 225Ap |SV * |amagic_deref_call|NN SV *ref|int method
8d569291 226p |bool |amagic_is_enabled|int method
c3a9a790 227Ap |int |Gv_AMupdate |NN HV* stash|bool destructing
890ce7af 228ApR |CV* |gv_handler |NULLOK HV* stash|I32 id
2fcb4757
Z
229Apd |OP* |op_append_elem |I32 optype|NULLOK OP* first|NULLOK OP* last
230Apd |OP* |op_append_list |I32 optype|NULLOK OP* first|NULLOK OP* last
5983a79d 231Apd |OP* |op_linklist |NN OP *o
2fcb4757 232Apd |OP* |op_prepend_elem|I32 optype|NULLOK OP* first|NULLOK OP* last
67022846 233: FIXME - this is only called by pp_chown. They should be merged.
890ce7af
AL
234p |I32 |apply |I32 type|NN SV** mark|NN SV** sp
235ApM |void |apply_attrs_string|NN const char *stashpv|NN CV *cv|NN const char *attrstr|STRLEN len
4048f010 236Apd |void |av_clear |NN AV *av
c70927a6
FC
237Apd |SV* |av_delete |NN AV *av|SSize_t key|I32 flags
238ApdR |bool |av_exists |NN AV *av|SSize_t key
fc16c392
FC
239Apd |void |av_extend |NN AV *av|SSize_t key
240p |void |av_extend_guts |NULLOK AV *av|SSize_t key \
241 |NN SSize_t *maxp \
7261499d 242 |NN SV ***allocp|NN SV ***arrayp
c70927a6
FC
243ApdR |SV** |av_fetch |NN AV *av|SSize_t key|I32 lval
244Apd |void |av_fill |NN AV *av|SSize_t fill
245ApdR |SSize_t|av_len |NN AV *av
246ApdR |AV* |av_make |SSize_t size|NN SV **strp
4048f010 247Apd |SV* |av_pop |NN AV *av
29a861e7 248ApdoxM |void |av_create_and_push|NN AV **const avp|NN SV *const val
06942096 249Apd |void |av_push |NN AV *av|NN SV *val
d67fec57 250: Used in scope.c, and by Data::Alias
4048f010
NC
251EXp |void |av_reify |NN AV *av
252ApdR |SV* |av_shift |NN AV *av
c70927a6 253Apd |SV** |av_store |NN AV *av|SSize_t key|NULLOK SV *val
a4570f51 254#ifndef PERL_NO_INLINE_FUNCTIONS
c70927a6 255AidR |SSize_t|av_top_index |NN AV *av
a4570f51 256#endif
c70927a6 257AmpdR |SSize_t|av_tindex |NN AV *av
4048f010 258Apd |void |av_undef |NN AV *av
29a861e7 259ApdoxM |SV** |av_create_and_unshift_one|NN AV **const avp|NN SV *const val
c70927a6 260Apd |void |av_unshift |NN AV *av|SSize_t num
4048f010
NC
261Apo |SV** |av_arylen_p |NN AV *av
262Apo |IV* |av_iter_p |NN AV *av
43869a0c 263#if defined(PERL_IN_AV_C)
878d132a
NC
264s |MAGIC* |get_aux_mg |NN AV *av
265#endif
d67fec57 266: Used in perly.y
4048f010 267pR |OP* |bind_match |I32 type|NN OP *left|NN OP *right
d67fec57 268: Used in perly.y
25f5d540 269ApdR |OP* |block_end |I32 floor|NULLOK OP* seq
1c23e2bd 270ApR |U8 |block_gimme
d67fec57 271: Used in perly.y
25f5d540 272ApdR |int |block_start |int full
fd85fad2 273Aodp |void |blockhook_register |NN BHK *hk
d67fec57 274: Used in perl.c
94bdecf9 275p |void |boot_core_UNIVERSAL
d67fec57 276: Used in perl.c
94bdecf9 277p |void |boot_core_PerlIO
4048f010 278Ap |void |call_list |I32 oldscope|NN AV *paramList
8dff4fc5
BM
279Apd |const PERL_CONTEXT * |caller_cx|I32 level \
280 |NULLOK const PERL_CONTEXT **dbcxp
486ec47a 281: Used in several source files
ae1951c1 282pR |bool |cando |Mode_t mode|bool effective|NN const Stat_t* statbufp
ddeaf645
DD
283ApRn |U32 |cast_ulong |NV f
284ApRn |I32 |cast_i32 |NV f
285ApRn |IV |cast_iv |NV f
286ApRn |UV |cast_uv |NV f
94bdecf9 287#if !defined(HAS_TRUNCATE) && !defined(HAS_CHSIZE) && defined(F_FREESP)
53c1dcc0 288ApR |I32 |my_chsize |int fd|Off_t length
94bdecf9 289#endif
25502127
FC
290p |const COP*|closest_cop |NN const COP *cop|NULLOK const OP *o \
291 |NULLOK const OP *curop|bool opnext
d67fec57 292: Used in perly.y
03d05f6e 293ApdR |OP* |op_convert_list |I32 optype|I32 flags|NULLOK OP* o
d67fec57 294: Used in op.c and perl.c
274ed8ae 295pM |void |create_eval_scope|NULLOK OP *retop|U32 flags
c5df3096 296Aprd |void |croak_sv |NN SV *baseex
551405c4 297: croak()'s first parm can be NULL. Otherwise, mod_perl breaks.
cdfeb707 298Afprd |void |croak |NULLOK const char* pat|...
c5df3096 299Aprd |void |vcroak |NULLOK const char* pat|NULLOK va_list* args
cb077ed2
DD
300Anprd |void |croak_no_modify
301Anprd |void |croak_xs_usage |NN const CV *const cv \
afa74d42 302 |NN const char *const params
4cbe3a7d 303npr |void |croak_no_mem
3d04513d 304nprX |void |croak_popstack
4fa06845 305fnrp |void |croak_caller|NULLOK const char* pat|...
db6e00bd 306fnprx |void |noperl_die|NN const char* pat|...
073dd035
DD
307#if defined(WIN32)
308norx |void |win32_croak_not_implemented|NN const char * fname
309#endif
94bdecf9 310#if defined(PERL_IMPLICIT_CONTEXT)
52a5bfab 311Afnrp |void |croak_nocontext|NULLOK const char* pat|...
117af67d 312Afnrp |OP* |die_nocontext |NULLOK const char* pat|...
890ce7af
AL
313Afnp |void |deb_nocontext |NN const char* pat|...
314Afnp |char* |form_nocontext |NN const char* pat|...
3d4dd4c7 315Anp |void |load_module_nocontext|U32 flags|NN SV* name|NULLOK SV* ver|...
890ce7af
AL
316Afnp |SV* |mess_nocontext |NN const char* pat|...
317Afnp |void |warn_nocontext |NN const char* pat|...
318Afnp |void |warner_nocontext|U32 err|NN const char* pat|...
23f13727 319Afnp |SV* |newSVpvf_nocontext|NN const char *const pat|...
89e38212
SS
320Afnp |void |sv_catpvf_nocontext|NN SV *const sv|NN const char *const pat|...
321Afnp |void |sv_setpvf_nocontext|NN SV *const sv|NN const char *const pat|...
322Afnp |void |sv_catpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
323Afnp |void |sv_setpvf_mg_nocontext|NN SV *const sv|NN const char *const pat|...
4048f010
NC
324Afnp |int |fprintf_nocontext|NN PerlIO *stream|NN const char *format|...
325Afnp |int |printf_nocontext|NN const char *format|...
94bdecf9 326#endif
b8c38f0a
FC
327: Used in pp.c
328p |SV * |core_prototype |NULLOK SV *sv|NN const char *name \
b66130dd 329 |const int code|NULLOK int * const opnum
1e4b6aa1 330: Used in gv.c
8f939fab 331p |OP * |coresub_op |NN SV *const coreargssv|const int code \
1e4b6aa1 332 |const int opnum
d67fec57 333: Used in sv.c
eedb00fa 334EMXp |void |cv_ckproto_len_flags |NN const CV* cv|NULLOK const GV* gv\
dab1c735
BF
335 |NULLOK const char* p|const STRLEN len \
336 |const U32 flags
67022846 337: Used in pp.c and pp_sys.c
62d55b22 338ApdR |SV* |gv_const_sv |NN GV* gv
ddeaf645
DD
339ApdRn |SV* |cv_const_sv |NULLOK const CV *const cv
340pRn |SV* |cv_const_sv_or_av|NULLOK const CV *const cv
ecf05a58 341Apd |SV * |cv_name |NN CV *cv|NULLOK SV *sv|U32 flags
890ce7af 342Apd |void |cv_undef |NN CV* cv
b7acb0a3 343p |void |cv_undef_flags |NN CV* cv|U32 flags
de0885da 344p |void |cv_forget_slab |NULLOK CV *cv
890ce7af 345Ap |void |cx_dump |NN PERL_CONTEXT* cx
9d4ba2ae 346Ap |SV* |filter_add |NULLOK filter_t funcp|NULLOK SV* datasv
890ce7af 347Ap |void |filter_del |NN filter_t funcp
4048f010 348ApR |I32 |filter_read |int idx|NN SV *buf_sv|int maxlen
a3b680e6
AL
349ApPR |char** |get_op_descs
350ApPR |char** |get_op_names
67022846 351: FIXME discussion on p5p
a3b680e6 352pPR |const char* |get_no_modify
67022846 353: FIXME discussion on p5p
a3b680e6
AL
354pPR |U32* |get_opargs
355ApPR |PPADDR_t*|get_ppaddr
d67fec57 356: Used by CXINC, which appears to be in widespread use
82151c42 357ApR |I32 |cxinc
890ce7af 358Afp |void |deb |NN const char* pat|...
aec46f14 359Ap |void |vdeb |NN const char* pat|NULLOK va_list* args
94bdecf9 360Ap |void |debprofdump
dc3c1c70 361EXp |SV* |multideref_stringify |NN const OP* o|NULLOK CV *cv
4373e329 362Ap |I32 |debop |NN const OP* o
94bdecf9
JH
363Ap |I32 |debstack
364Ap |I32 |debstackptrs
13733cde 365pR |SV * |defelem_target |NN SV *sv|NULLOK MAGIC *mg
04c9e624 366Anp |char* |delimcpy |NN char* to|NN const char* toend|NN const char* from \
4373e329 367 |NN const char* fromend|int delim|NN I32* retlen
d67fec57 368: Used in op.c, perl.c
edb2152a 369pM |void |delete_eval_scope
117af67d
BF
370Aprd |OP* |die_sv |NN SV *baseex
371Afrpd |OP* |die |NULLOK const char* pat|...
67022846 372: Used in util.c
62705b21 373pr |void |die_unwind |NN SV* msv
94bdecf9 374Ap |void |dounwind |I32 cxix
67022846 375: FIXME
738ab09f 376pmb |bool|do_aexec |NULLOK SV* really|NN SV** mark|NN SV** sp
67022846 377: Used in pp_sys.c
738ab09f 378p |bool|do_aexec5 |NULLOK SV* really|NN SV** mark|NN SV** sp|int fd|int do_report
4373e329 379Ap |int |do_binmode |NN PerlIO *fp|int iotype|int mode
67022846 380: Used in pp.c
063df69c 381Ap |bool |do_close |NULLOK GV* gv|bool not_implicit
67022846 382: Defined in doio.c, used only in pp_sys.c
4373e329 383p |bool |do_eof |NN GV* gv
8c654ff2
NC
384
385#ifdef PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION
738ab09f 386pm |bool|do_exec |NN const char* cmd
8c654ff2 387#else
738ab09f 388p |bool|do_exec |NN const char* cmd
8c654ff2
NC
389#endif
390
9ec7171b 391#if defined(WIN32) || defined(__SYMBIAN32__) || defined(VMS)
a3e405b2 392Ap |int |do_aspawn |NULLOK SV* really|NN SV** mark|NN SV** sp
890ce7af
AL
393Ap |int |do_spawn |NN char* cmd
394Ap |int |do_spawn_nowait|NN char* cmd
54725af6 395#endif
94bdecf9 396#if !defined(WIN32)
738ab09f 397p |bool|do_exec3 |NN const char *incmd|int fd|int do_report
94bdecf9
JH
398#endif
399p |void |do_execfree
43869a0c 400#if defined(PERL_IN_DOIO_C)
b1366aaf 401s |void |exec_failed |NN const char *cmd|int fd|int do_report
a0f2c8ec 402#endif
94bdecf9 403#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
67022846 404: Defined in doio.c, used only in pp_sys.c
7827dc65 405p |I32 |do_ipcctl |I32 optype|NN SV** mark|NN SV** sp
67022846 406: Defined in doio.c, used only in pp_sys.c
7827dc65 407p |I32 |do_ipcget |I32 optype|NN SV** mark|NN SV** sp
67022846 408: Defined in doio.c, used only in pp_sys.c
7827dc65 409p |I32 |do_msgrcv |NN SV** mark|NN SV** sp
67022846 410: Defined in doio.c, used only in pp_sys.c
7827dc65 411p |I32 |do_msgsnd |NN SV** mark|NN SV** sp
67022846 412: Defined in doio.c, used only in pp_sys.c
7827dc65 413p |I32 |do_semop |NN SV** mark|NN SV** sp
67022846 414: Defined in doio.c, used only in pp_sys.c
7827dc65 415p |I32 |do_shmio |I32 optype|NN SV** mark|NN SV** sp
94bdecf9 416#endif
4048f010 417Ap |void |do_join |NN SV *sv|NN SV *delim|NN SV **mark|NN SV **sp
981b7185
NC
418: Used in pp.c and pp_hot.c, prototype generated by regen/opcode.pl
419: p |OP* |do_kv
33efebe6
DM
420: used in pp.c, pp_hot.c
421pR |I32 |do_ncmp |NN SV *const left|NN SV *const right
e4dba786 422Apmb |bool |do_open |NN GV* gv|NN const char* name|I32 len|int as_raw \
890ce7af 423 |int rawmode|int rawperm|NULLOK PerlIO* supplied_fp
2fbb330f 424Ap |bool |do_open9 |NN GV *gv|NN const char *name|I32 len|int as_raw \
890ce7af
AL
425 |int rawmode|int rawperm|NULLOK PerlIO *supplied_fp \
426 |NN SV *svs|I32 num
a2b41d5c
NC
427#if defined(PERL_IN_DOIO_C)
428s |IO * |openn_setup |NN GV *gv|NN char *mode|NN PerlIO **saveifp \
429 |NN PerlIO **saveofp|NN int *savefd \
430 |NN char *savetype
a6fc70e5
NC
431s |bool |openn_cleanup |NN GV *gv|NN IO *io|NULLOK PerlIO *fp \
432 |NN char *mode|NN const char *oname \
433 |NULLOK PerlIO *saveifp|NULLOK PerlIO *saveofp \
434 |int savefd|char savetype|int writing \
435 |bool was_fdopen|NULLOK const char *type
a2b41d5c 436#endif
4048f010
NC
437Ap |bool |do_openn |NN GV *gv|NN const char *oname|I32 len \
438 |int as_raw|int rawmode|int rawperm \
439 |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \
440 |I32 num
4b451737
NC
441Mp |bool |do_open_raw |NN GV *gv|NN const char *oname|STRLEN len \
442 |int rawmode|int rawperm
443Mp |bool |do_open6 |NN GV *gv|NN const char *oname|STRLEN len \
444 |NULLOK PerlIO *supplied_fp|NULLOK SV **svp \
445 |U32 num
67022846 446: Used in pp_hot.c and pp_sys.c
890ce7af 447p |bool |do_print |NULLOK SV* sv|NN PerlIO* fp
67022846 448: Used in pp_sys.c
890ce7af 449pR |OP* |do_readline
67022846 450: Defined in doio.c, used only in pp_sys.c
890ce7af
AL
451p |bool |do_seek |NULLOK GV* gv|Off_t pos|int whence
452Ap |void |do_sprintf |NN SV* sv|I32 len|NN SV** sarg
67022846 453: Defined in doio.c, used only in pp_sys.c
890ce7af 454p |Off_t |do_sysseek |NN GV* gv|Off_t pos|int whence
67022846 455: Defined in doio.c, used only in pp_sys.c
890ce7af 456pR |Off_t |do_tell |NN GV* gv
67022846 457: Defined in doop.c, used only in pp.c
890ce7af 458p |I32 |do_trans |NN SV* sv
67022846 459: Used in my.c and pp.c
fcb8da00 460p |UV |do_vecget |NN SV* sv|SSize_t offset|int size
67022846 461: Defined in doop.c, used only in mg.c (with /* XXX slurp this routine */)
4373e329 462p |void |do_vecset |NN SV* sv
67022846 463: Defined in doop.c, used only in pp.c
890ce7af 464p |void |do_vop |I32 optype|NN SV* sv|NN SV* left|NN SV* right
67022846 465: Used in perly.y
850e8516 466p |OP* |dofile |NN OP* term|I32 force_builtin
1c23e2bd 467ApR |U8 |dowantarray
94bdecf9 468Ap |void |dump_all
f0e3f042 469p |void |dump_all_perl |bool justperl
94bdecf9 470Ap |void |dump_eval
9a957fbc 471Ap |void |dump_form |NN const GV* gv
3dc78631 472Ap |void |gv_dump |NULLOK GV* gv
4048f010 473Ap |void |op_dump |NN const OP *o
9a957fbc
AL
474Ap |void |pmop_dump |NULLOK PMOP* pm
475Ap |void |dump_packsubs |NN const HV* stash
f0e3f042 476p |void |dump_packsubs_perl |NN const HV* stash|bool justperl
f54cb97a 477Ap |void |dump_sub |NN const GV* gv
f0e3f042 478p |void |dump_sub_perl |NN const GV* gv|bool justperl
890ce7af
AL
479Apd |void |fbm_compile |NN SV* sv|U32 flags
480ApdR |char* |fbm_instr |NN unsigned char* big|NN unsigned char* bigend \
9f6cc744 481 |NN SV* littlestr|U32 flags
9a5e6f3c 482p |CV * |find_lexical_cv|PADOFFSET off
67022846 483: Defined in util.c, used only in perl.c
7827dc65
AL
484p |char* |find_script |NN const char *scriptname|bool dosearch \
485 |NULLOK const char *const *const search_ext|I32 flags
43869a0c 486#if defined(PERL_IN_OP_C)
29e61fd9 487s |OP* |force_list |NULLOK OP* arg|bool nullit
985b9e54
GG
488i |OP* |op_integerize |NN OP *o
489i |OP* |op_std_init |NN OP *o
b46e009d 490#if defined(USE_ITHREADS)
491i |void |op_relocate_sv |NN SV** svp|NN PADOFFSET* targp
492#endif
493i |OP* |newMETHOP_internal |I32 type|I32 flags|NULLOK OP* dynamic_meth \
494 |NULLOK SV* const_meth
d67fec57 495: FIXME
b7783a12
NC
496s |OP* |fold_constants |NN OP *o
497#endif
aec46f14
AL
498Afpd |char* |form |NN const char* pat|...
499Ap |char* |vform |NN const char* pat|NULLOK va_list* args
94bdecf9 500Ap |void |free_tmps
43869a0c 501#if defined(PERL_IN_OP_C)
b7783a12 502s |OP* |gen_constant_list|NULLOK OP* o
0da8eb3a 503#endif
94bdecf9 504#if !defined(HAS_GETENV_LEN)
67022846 505: Used in hv.c
9f6cc744 506p |char* |getenv_len |NN const char *env_elem|NN unsigned long *len
94bdecf9 507#endif
67022846 508: Used in pp_ctl.c and pp_hot.c
005a8a35 509pox |void |get_db_sub |NULLOK SV **svp|NN CV *cv
46c461b5
AL
510Ap |void |gp_free |NULLOK GV* gv
511Ap |GP* |gp_ref |NULLOK GP* gp
13c59d41 512Ap |GV* |gv_add_by_type |NULLOK GV *gv|svtype type
bb85b28a
NC
513Apmb |GV* |gv_AVadd |NULLOK GV *gv
514Apmb |GV* |gv_HVadd |NULLOK GV *gv
515Apmb |GV* |gv_IOadd |NULLOK GV* gv
aa1e761e
FC
516AmR |GV* |gv_autoload4 |NULLOK HV* stash|NN const char* name \
517 |STRLEN len|I32 method
0eeb01b9 518ApR |GV* |gv_autoload_sv |NULLOK HV* stash|NN SV* namesv|U32 flags
0fe84f7c 519ApR |GV* |gv_autoload_pv |NULLOK HV* stash|NN const char* namepv \
0eeb01b9 520 |U32 flags
0fe84f7c 521ApR |GV* |gv_autoload_pvn |NULLOK HV* stash|NN const char* name \
0eeb01b9 522 |STRLEN len|U32 flags
51da40ed 523Ap |void |gv_check |NN HV* stash
46c461b5
AL
524Ap |void |gv_efullname |NN SV* sv|NN const GV* gv
525Apmb |void |gv_efullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
526Ap |void |gv_efullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
53c1dcc0 527Ap |GV* |gv_fetchfile |NN const char* name
d9095cec
NC
528Ap |GV* |gv_fetchfile_flags|NN const char *const name|const STRLEN len\
529 |const U32 flags
6c53d59b
FC
530Amd |GV* |gv_fetchmeth |NULLOK HV* stash|NN const char* name \
531 |STRLEN len|I32 level
e6919483
BF
532Apd |GV* |gv_fetchmeth_sv |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags
533Apd |GV* |gv_fetchmeth_pv |NULLOK HV* stash|NN const char* name \
534 |I32 level|U32 flags
535Apd |GV* |gv_fetchmeth_pvn |NULLOK HV* stash|NN const char* name \
536 |STRLEN len|I32 level|U32 flags
460e5730
FC
537Amd |GV* |gv_fetchmeth_autoload |NULLOK HV* stash \
538 |NN const char* name|STRLEN len \
539 |I32 level
d21989ed
BF
540Apd |GV* |gv_fetchmeth_sv_autoload |NULLOK HV* stash|NN SV* namesv|I32 level|U32 flags
541Apd |GV* |gv_fetchmeth_pv_autoload |NULLOK HV* stash|NN const char* name \
542 |I32 level|U32 flags
543Apd |GV* |gv_fetchmeth_pvn_autoload |NULLOK HV* stash|NN const char* name \
544 |STRLEN len|I32 level|U32 flags
eff494dd
NC
545Apdmb |GV* |gv_fetchmethod |NN HV* stash|NN const char* name
546Apd |GV* |gv_fetchmethod_autoload|NN HV* stash|NN const char* name \
547 |I32 autoload
44130a26
BF
548ApM |GV* |gv_fetchmethod_sv_flags|NN HV* stash|NN SV* namesv|U32 flags
549ApM |GV* |gv_fetchmethod_pv_flags|NN HV* stash|NN const char* name \
550 |U32 flags
551ApM |GV* |gv_fetchmethod_pvn_flags|NN HV* stash|NN const char* name \
c60dbbc3 552 |const STRLEN len|U32 flags
fe9845cc 553Ap |GV* |gv_fetchpv |NN const char *nambeg|I32 add|const svtype sv_type
9a957fbc
AL
554Ap |void |gv_fullname |NN SV* sv|NN const GV* gv
555Apmb |void |gv_fullname3 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix
556Ap |void |gv_fullname4 |NN SV* sv|NN const GV* gv|NULLOK const char* prefix|bool keepmain
d67fec57 557: Used in scope.c
12816592 558pMox |GP * |newGP |NN GV *const gv
803f2748 559pX |void |cvgv_set |NN CV* cv|NULLOK GV* gv
ae77754a 560poX |GV * |cvgv_from_hek |NN CV* cv
c68d9564 561pX |void |cvstash_set |NN CV* cv|NULLOK HV* stash
e1104062
FC
562Amd |void |gv_init |NN GV* gv|NULLOK HV* stash \
563 |NN const char* name|STRLEN len|int multi
04ec7e59 564Ap |void |gv_init_sv |NN GV* gv|NULLOK HV* stash|NN SV* namesv|U32 flags
e6066781 565Ap |void |gv_init_pv |NN GV* gv|NULLOK HV* stash|NN const char* name \
04ec7e59 566 |U32 flags
e6066781 567Ap |void |gv_init_pvn |NN GV* gv|NULLOK HV* stash|NN const char* name \
04ec7e59 568 |STRLEN len|U32 flags
9f616d01 569Ap |void |gv_name_set |NN GV* gv|NN const char *name|U32 len|U32 flags
9e3fb20c
FC
570px |GV * |gv_override |NN const char * const name \
571 |const STRLEN len
4c106937 572XMpd |void |gv_try_downgrade|NN GV* gv
d8a875d9 573p |void |gv_setref |NN SV *const dstr|NN SV *const sstr
da51bb9b
NC
574Apd |HV* |gv_stashpv |NN const char* name|I32 flags
575Apd |HV* |gv_stashpvn |NN const char* name|U32 namelen|I32 flags
0eadbdad 576#if defined(PERL_IN_GV_C)
c6afe666 577i |HV* |gv_stashpvn_internal |NN const char* name|U32 namelen|I32 flags
578i |HV* |gv_stashsvpvn_cached |NULLOK SV *namesv|NULLOK const char* name|U32 namelen|I32 flags
579i |GV* |gv_fetchmeth_internal |NULLOK HV* stash|NULLOK SV* meth|NULLOK const char* name \
580 |STRLEN len|I32 level|U32 flags
0eadbdad 581#endif
8798655d 582Apd |HV* |gv_stashsv |NN SV* sv|I32 flags
4048f010 583Apd |void |hv_clear |NULLOK HV *hv
67022846 584: used in SAVEHINTS() and op.c
defdfed5 585ApdR |HV * |hv_copy_hints_hv|NULLOK HV *const ohv
4048f010 586Ap |void |hv_delayfree_ent|NN HV *hv|NULLOK HE *entry
5ff52e3c 587Abmdp |SV* |hv_delete |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 588 |I32 flags
5ff52e3c
KW
589Abmdp |SV* |hv_delete_ent |NULLOK HV *hv|NN SV *keysv|I32 flags|U32 hash
590AbmdRp |bool |hv_exists |NULLOK HV *hv|NN const char *key|I32 klen
591AbmdRp |bool |hv_exists_ent |NULLOK HV *hv|NN SV *keysv|U32 hash
592Abmdp |SV** |hv_fetch |NULLOK HV *hv|NN const char *key|I32 klen \
a038e571 593 |I32 lval
5ff52e3c 594Abmdp |HE* |hv_fetch_ent |NULLOK HV *hv|NN SV *keysv|I32 lval|U32 hash
4048f010 595Ap |void* |hv_common |NULLOK HV *hv|NULLOK SV *keysv \
d3ba3f5c 596 |NULLOK const char* key|STRLEN klen|int flags \
4048f010 597 |int action|NULLOK SV *val|U32 hash
a038e571
NC
598Ap |void* |hv_common_key_len|NULLOK HV *hv|NN const char *key \
599 |I32 klen_i32|const int action|NULLOK SV *val \
600 |const U32 hash
9faf471a 601Apod |STRLEN |hv_fill |NN HV *const hv
c77ce6f1 602Ap |void |hv_free_ent |NN HV *hv|NULLOK HE *entry
4048f010 603Apd |I32 |hv_iterinit |NN HV *hv
a3b680e6
AL
604ApdR |char* |hv_iterkey |NN HE* entry|NN I32* retlen
605ApdR |SV* |hv_iterkeysv |NN HE* entry
4048f010
NC
606ApdRbm |HE* |hv_iternext |NN HV *hv
607ApdR |SV* |hv_iternextsv |NN HV *hv|NN char **key|NN I32 *retlen
608ApMdR |HE* |hv_iternext_flags|NN HV *hv|I32 flags
609ApdR |SV* |hv_iterval |NN HV *hv|NN HE *entry
610Ap |void |hv_ksplit |NN HV *hv|IV newmax
611Apdbm |void |hv_magic |NN HV *hv|NULLOK GV *gv|int how
43869a0c 612#if defined(PERL_IN_HV_C)
20439bc7 613s |SV * |refcounted_he_value |NN const struct refcounted_he *he
012da8e5 614#endif
20439bc7
Z
615Xpd |HV * |refcounted_he_chain_2hv|NULLOK const struct refcounted_he *c|U32 flags
616Xpd |SV * |refcounted_he_fetch_pvn|NULLOK const struct refcounted_he *chain \
617 |NN const char *keypv|STRLEN keylen|U32 hash|U32 flags
618Xpd |SV * |refcounted_he_fetch_pv|NULLOK const struct refcounted_he *chain \
619 |NN const char *key|U32 hash|U32 flags
620Xpd |SV * |refcounted_he_fetch_sv|NULLOK const struct refcounted_he *chain \
621 |NN SV *key|U32 hash|U32 flags
622Xpd |struct refcounted_he *|refcounted_he_new_pvn \
623 |NULLOK struct refcounted_he *parent \
624 |NN const char *keypv|STRLEN keylen \
625 |U32 hash|NULLOK SV *value|U32 flags
626Xpd |struct refcounted_he *|refcounted_he_new_pv \
627 |NULLOK struct refcounted_he *parent \
628 |NN const char *key \
629 |U32 hash|NULLOK SV *value|U32 flags
630Xpd |struct refcounted_he *|refcounted_he_new_sv \
631 |NULLOK struct refcounted_he *parent \
632 |NN SV *key \
633 |U32 hash|NULLOK SV *value|U32 flags
634Xpd |void |refcounted_he_free|NULLOK struct refcounted_he *he
635Xpd |struct refcounted_he *|refcounted_he_inc|NULLOK struct refcounted_he *he
5ff52e3c 636Apbmd |SV** |hv_store |NULLOK HV *hv|NULLOK const char *key \
4048f010 637 |I32 klen|NULLOK SV *val|U32 hash
5ff52e3c 638Apbmd |HE* |hv_store_ent |NULLOK HV *hv|NULLOK SV *key|NULLOK SV *val\
4048f010 639 |U32 hash
5ff52e3c 640ApbmM |SV** |hv_store_flags |NULLOK HV *hv|NULLOK const char *key \
4048f010 641 |I32 klen|NULLOK SV *val|U32 hash|int flags
8581adba
FC
642Amd |void |hv_undef |NULLOK HV *hv
643poX |void |hv_undef_flags |NULLOK HV *hv|U32 flags
e6226b18
KW
644Am |I32 |ibcmp |NN const char* a|NN const char* b|I32 len
645AnpP |I32 |foldEQ |NN const char* a|NN const char* b|I32 len
646Am |I32 |ibcmp_locale |NN const char* a|NN const char* b|I32 len
647AnpP |I32 |foldEQ_locale |NN const char* a|NN const char* b|I32 len
648Am |I32 |ibcmp_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
649 |bool u1|NN const char *s2|NULLOK char **pe2 \
650 |UV l2|bool u2
eda9cac1 651Amd |I32 |foldEQ_utf8 |NN const char *s1|NULLOK char **pe1|UV l1 \
4048f010
NC
652 |bool u1|NN const char *s2|NULLOK char **pe2 \
653 |UV l2|bool u2
eda9cac1
KW
654AMp |I32 |foldEQ_utf8_flags |NN const char *s1|NULLOK char **pe1|UV l1 \
655 |bool u1|NN const char *s2|NULLOK char **pe2 \
656 |UV l2|bool u2|U32 flags
1b9f127b 657AnpP |I32 |foldEQ_latin1 |NN const char* a|NN const char* b|I32 len
43869a0c 658#if defined(PERL_IN_DOIO_C)
0da8eb3a
NC
659sR |bool |ingroup |Gid_t testgid|bool effective
660#endif
67022846 661: Used in toke.c
4373e329 662p |void |init_argv_symbols|int argc|NN char **argv
8af6f985
NC
663: Used in pp_ctl.c
664po |void |init_dbargs
67022846 665: Used in mg.c
94bdecf9
JH
666p |void |init_debugger
667Ap |void |init_stacks
bfce84ec 668Ap |void |init_tm |NN struct tm *ptm
67022846 669: Used in perly.y
4ee010a8 670AbmnpPR |char* |instr |NN const char* big|NN const char* little
67022846 671: Used in sv.c
96d7c888
FC
672p |bool |io_close |NN IO* io|NULLOK GV *gv \
673 |bool not_implicit|bool warn_on_fail
67022846 674: Used in perly.y
2d03de9c 675pR |OP* |invert |NULLOK OP* cmd
f54cb97a 676ApR |I32 |is_lvalue_sub
777d9014 677: Used in cop.h
eebd3bc0 678XopR |I32 |was_lvalue_sub
a4570f51 679#ifndef PERL_NO_INLINE_FUNCTIONS
ade1dda2 680AiMRn |STRLEN |_is_utf8_char_slow|NN const U8 *s|NN const U8 *e
a4570f51 681#endif
61b19385
KW
682ADMpPR |U32 |to_uni_upper_lc|U32 c
683ADMpPR |U32 |to_uni_title_lc|U32 c
684ADMpPR |U32 |to_uni_lower_lc|U32 c
143aeb96
KW
685ADMpPR |bool |is_uni_alnum |UV c
686ADMpPR |bool |is_uni_alnumc |UV c
687ADMpPR |bool |is_uni_idfirst |UV c
688ADMpPR |bool |is_uni_alpha |UV c
61b19385
KW
689ADMpPR |bool |is_uni_ascii |UV c
690ADMpPR |bool |is_uni_blank |UV c
691ADMpPR |bool |is_uni_space |UV c
692ADMpPR |bool |is_uni_cntrl |UV c
143aeb96
KW
693ADMpPR |bool |is_uni_graph |UV c
694ADMpPR |bool |is_uni_digit |UV c
695ADMpPR |bool |is_uni_upper |UV c
696ADMpPR |bool |is_uni_lower |UV c
697ADMpPR |bool |is_uni_print |UV c
698ADMpPR |bool |is_uni_punct |UV c
61b19385 699ADMpPR |bool |is_uni_xdigit |UV c
04665d07
KW
700AMp |UV |to_uni_upper |UV c|NN U8 *p|NN STRLEN *lenp
701AMp |UV |to_uni_title |UV c|NN U8 *p|NN STRLEN *lenp
f2645549
KW
702ADMpPR |bool |isIDFIRST_lazy |NN const char* p
703ADMpPR |bool |isALNUM_lazy |NN const char* p
afc16117 704#ifdef PERL_IN_UTF8_C
81611534 705snR |U8 |to_lower_latin1|const U8 c|NULLOK U8 *p|NULLOK STRLEN *lenp
fab2782b
YO
706#endif
707#if defined(PERL_IN_UTF8_C) || defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
51910141 708EXp |UV |_to_fold_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const unsigned int flags
afc16117 709#endif
348bf2e0
KW
710#if defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
711p |UV |_to_upper_title_latin1|const U8 c|NN U8 *p|NN STRLEN *lenp|const char S_or_s
712#endif
04665d07
KW
713AMp |UV |to_uni_lower |UV c|NN U8 *p|NN STRLEN *lenp
714AMmp |UV |to_uni_fold |UV c|NN U8 *p|NN STRLEN *lenp
31f05a37 715AMp |UV |_to_uni_fold_flags|UV c|NN U8 *p|NN STRLEN *lenp|U8 flags
143aeb96
KW
716ADMpPR |bool |is_uni_alnum_lc|UV c
717ADMpPR |bool |is_uni_alnumc_lc|UV c
61b19385 718ADMpPR |bool |is_uni_idfirst_lc|UV c
eba68aa0 719AMpR |bool |_is_uni_perl_idcont|UV c
f91dcd13 720AMpR |bool |_is_uni_perl_idstart|UV c
143aeb96 721ADMpPR |bool |is_uni_alpha_lc|UV c
61b19385
KW
722ADMpPR |bool |is_uni_ascii_lc|UV c
723ADMpPR |bool |is_uni_space_lc|UV c
724ADMpPR |bool |is_uni_blank_lc|UV c
725ADMpPR |bool |is_uni_cntrl_lc|UV c
143aeb96
KW
726ADMpPR |bool |is_uni_graph_lc|UV c
727ADMpPR |bool |is_uni_digit_lc|UV c
728ADMpPR |bool |is_uni_upper_lc|UV c
729ADMpPR |bool |is_uni_lower_lc|UV c
730ADMpPR |bool |is_uni_print_lc|UV c
731ADMpPR |bool |is_uni_punct_lc|UV c
61b19385 732ADMpPR |bool |is_uni_xdigit_lc|UV c
7bbfa158
KW
733AnpdR |bool |is_invariant_string|NN const U8 *s|STRLEN len
734AmpdR |bool |is_ascii_string|NN const U8 *s|STRLEN len
76848387 735AnpdD |STRLEN |is_utf8_char |NN const U8 *s
3cedd9d9 736Abmnpd |STRLEN |is_utf8_char_buf|NN const U8 *buf|NN const U8 *buf_end
668b6d8d 737Anpd |bool |is_utf8_string |NN const U8 *s|STRLEN len
8fb1bf58 738Anpdmb |bool |is_utf8_string_loc|NN const U8 *s|STRLEN len|NULLOK const U8 **ep
668b6d8d 739Anpd |bool |is_utf8_string_loclen|NN const U8 *s|STRLEN len|NULLOK const U8 **ep|NULLOK STRLEN *el
922e8cb4
KW
740AMpR |bool |_is_uni_FOO|const U8 classnum|const UV c
741AMpR |bool |_is_utf8_FOO|const U8 classnum|NN const U8 *p
143aeb96
KW
742ADMpR |bool |is_utf8_alnum |NN const U8 *p
743ADMpR |bool |is_utf8_alnumc |NN const U8 *p
61b19385
KW
744ADMpR |bool |is_utf8_idfirst|NN const U8 *p
745ADMpR |bool |is_utf8_xidfirst|NN const U8 *p
f2645549
KW
746AMpR |bool |_is_utf8_idcont|NN const U8 *p
747AMpR |bool |_is_utf8_idstart|NN const U8 *p
748AMpR |bool |_is_utf8_xidcont|NN const U8 *p
749AMpR |bool |_is_utf8_xidstart|NN const U8 *p
eba68aa0 750AMpR |bool |_is_utf8_perl_idcont|NN const U8 *p
d65654cb 751AMpR |bool |_is_utf8_perl_idstart|NN const U8 *p
61b19385
KW
752ADMpR |bool |is_utf8_idcont |NN const U8 *p
753ADMpR |bool |is_utf8_xidcont |NN const U8 *p
143aeb96 754ADMpR |bool |is_utf8_alpha |NN const U8 *p
61b19385
KW
755ADMpR |bool |is_utf8_ascii |NN const U8 *p
756ADMpR |bool |is_utf8_blank |NN const U8 *p
757ADMpR |bool |is_utf8_space |NN const U8 *p
758ADMpR |bool |is_utf8_perl_space |NN const U8 *p
759ADMpR |bool |is_utf8_perl_word |NN const U8 *p
760ADMpR |bool |is_utf8_cntrl |NN const U8 *p
143aeb96 761ADMpR |bool |is_utf8_digit |NN const U8 *p
61b19385 762ADMpR |bool |is_utf8_posix_digit |NN const U8 *p
143aeb96
KW
763ADMpR |bool |is_utf8_graph |NN const U8 *p
764ADMpR |bool |is_utf8_upper |NN const U8 *p
765ADMpR |bool |is_utf8_lower |NN const U8 *p
766ADMpR |bool |is_utf8_print |NN const U8 *p
767ADMpR |bool |is_utf8_punct |NN const U8 *p
61b19385 768ADMpR |bool |is_utf8_xdigit |NN const U8 *p
7dbf68d2 769AMpR |bool |_is_utf8_mark |NN const U8 *p
143aeb96 770ADMpR |bool |is_utf8_mark |NN const U8 *p
67022846 771: Used in perly.y
4048f010 772p |OP* |jmaybe |NN OP *o
67022846 773: Used in pp.c
4048f010 774pP |I32 |keyword |NN const char *name|I32 len|bool all_keywords
43869a0c 775#if defined(PERL_IN_OP_C)
540dd770 776s |void |inplace_aassign |NN OP* o
867fa1e2 777#endif
94bdecf9 778Ap |void |leave_scope |I32 base
f0e67a1d 779: Public lexer API
8eaa0acf 780AMpd |void |lex_start |NULLOK SV* line|NULLOK PerlIO *rsfp|U32 flags
abe97742
NC
781AMpd |bool |lex_bufutf8
782AMpd |char* |lex_grow_linestr|STRLEN len
83aa740e 783AMpd |void |lex_stuff_pvn |NN const char* pv|STRLEN len|U32 flags
9dcc53ea 784AMpd |void |lex_stuff_pv |NN const char* pv|U32 flags
abe97742
NC
785AMpd |void |lex_stuff_sv |NN SV* sv|U32 flags
786AMpd |void |lex_unstuff |NN char* ptr
787AMpd |void |lex_read_to |NN char* ptr
788AMpd |void |lex_discard_to |NN char* ptr
789AMpd |bool |lex_next_chunk |U32 flags
790AMpd |I32 |lex_peek_unichar|U32 flags
791AMpd |I32 |lex_read_unichar|U32 flags
792AMpd |void |lex_read_space |U32 flags
28ac2b49 793: Public parser API
78cdf107
Z
794AMpd |OP* |parse_arithexpr|U32 flags
795AMpd |OP* |parse_termexpr |U32 flags
796AMpd |OP* |parse_listexpr |U32 flags
797AMpd |OP* |parse_fullexpr |U32 flags
e53d8f76 798AMpd |OP* |parse_block |U32 flags
8359b381 799AMpd |OP* |parse_barestmt |U32 flags
361d9b55 800AMpd |SV* |parse_label |U32 flags
28ac2b49 801AMpd |OP* |parse_fullstmt |U32 flags
07ffcb73 802AMpd |OP* |parse_stmtseq |U32 flags
f0e67a1d 803: Used in various files
1d70cb64 804Apd |void |op_null |NN OP* o
d67fec57 805: FIXME. Used by Data::Alias
6d9a2efc 806EXp |void |op_clear |NN OP* o
4026c95a
SH
807Ap |void |op_refcnt_lock
808Ap |void |op_refcnt_unlock
3269ea41 809Apdn |OP* |op_sibling_splice|NULLOK OP *parent|NULLOK OP *start \
3253bf85 810 |int del_count|NULLOK OP* insert
1fafe688 811#ifdef PERL_OP_PARENT
8ae26bff 812Apdn |OP* |op_parent|NN OP *o
1fafe688 813#endif
43869a0c 814#if defined(PERL_IN_OP_C)
412da003 815s |OP* |listkids |NULLOK OP* o
2dd5337b 816#endif
aec46f14 817p |OP* |list |NULLOK OP* o
aec46f14
AL
818Apd |void |load_module|U32 flags|NN SV* name|NULLOK SV* ver|...
819Ap |void |vload_module|U32 flags|NN SV* name|NULLOK SV* ver|NULLOK va_list* args
67022846 820: Used in perly.y
4048f010 821p |OP* |localize |NN OP *o|I32 lex
aad570aa 822ApdR |I32 |looks_like_number|NN SV *const sv
7827dc65 823Apd |UV |grok_bin |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
ce54a8b9
KW
824#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_DQUOTE_C)
825EMpRX |bool |grok_bslash_x |NN char** s|NN UV* uv \
17896a85
KW
826 |NN const char** error_msg \
827 |const bool output_warning \
828 |const bool strict \
829 |const bool silence_non_portable \
830 |const bool utf8
a55c5245
JH
831EMpRX |char |grok_bslash_c |const char source|const bool output_warning
832EMpRX |bool |grok_bslash_o |NN char** s|NN UV* uv \
17896a85
KW
833 |NN const char** error_msg \
834 |const bool output_warning \
835 |const bool strict \
836 |const bool silence_non_portable \
837 |const bool utf8
ce54a8b9 838EMiR |char*|form_short_octal_warning|NN const char * const s \
5e0a247b 839 |const STRLEN len
ce54a8b9
KW
840EiPRn |I32 |regcurly |NN const char *s
841#endif
7827dc65 842Apd |UV |grok_hex |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
3823048b 843Apd |int |grok_infnan |NN const char** sp|NN const char *send
7827dc65 844Apd |int |grok_number |NN const char *pv|STRLEN len|NULLOK UV *valuep
3f7602fa 845Apd |int |grok_number_flags|NN const char *pv|STRLEN len|NULLOK UV *valuep|U32 flags
bfce84ec 846ApdR |bool |grok_numeric_radix|NN const char **sp|NN const char *send
7827dc65 847Apd |UV |grok_oct |NN const char* start|NN STRLEN* len_p|NN I32* flags|NULLOK NV *result
73e43954 848EXpn |bool |grok_atoUV |NN const char* pv|NN UV* valptr|NULLOK const char** endptr
67022846 849: These are all indirectly referenced by globals.c. This is somewhat annoying.
bfce84ec
AL
850p |int |magic_clearenv |NN SV* sv|NN MAGIC* mg
851p |int |magic_clear_all_env|NN SV* sv|NN MAGIC* mg
b3ca2e83 852dp |int |magic_clearhint|NN SV* sv|NN MAGIC* mg
f747ebd6 853dp |int |magic_clearhints|NN SV* sv|NN MAGIC* mg
0e446081 854p |int |magic_clearisa |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
855p |int |magic_clearpack|NN SV* sv|NN MAGIC* mg
856p |int |magic_clearsig |NN SV* sv|NN MAGIC* mg
09fb282d
FC
857p |int |magic_copycallchecker|NN SV* sv|NN MAGIC *mg|NN SV *nsv \
858 |NULLOK const char *name|I32 namlen
1146e912 859p |int |magic_existspack|NN SV* sv|NN const MAGIC* mg
bfce84ec
AL
860p |int |magic_freeovrld|NN SV* sv|NN MAGIC* mg
861p |int |magic_get |NN SV* sv|NN MAGIC* mg
8772537c 862p |int |magic_getarylen|NN SV* sv|NN const MAGIC* mg
bfce84ec 863p |int |magic_getdefelem|NN SV* sv|NN MAGIC* mg
a6d69523 864p |int |magic_getdebugvar|NN SV* sv|NN MAGIC* mg
bfce84ec
AL
865p |int |magic_getnkeys |NN SV* sv|NN MAGIC* mg
866p |int |magic_getpack |NN SV* sv|NN MAGIC* mg
867p |int |magic_getpos |NN SV* sv|NN MAGIC* mg
868p |int |magic_getsig |NN SV* sv|NN MAGIC* mg
869p |int |magic_getsubstr|NN SV* sv|NN MAGIC* mg
870p |int |magic_gettaint |NN SV* sv|NN MAGIC* mg
871p |int |magic_getuvar |NN SV* sv|NN MAGIC* mg
872p |int |magic_getvec |NN SV* sv|NN MAGIC* mg
4048f010 873p |int |magic_nextpack |NN SV *sv|NN MAGIC *mg|NN SV *key
bfce84ec
AL
874p |U32 |magic_regdata_cnt|NN SV* sv|NN MAGIC* mg
875p |int |magic_regdatum_get|NN SV* sv|NN MAGIC* mg
73758d77 876:removing noreturn to silence a warning for this function resulted in no
f8d5a522
DD
877:change to the interpreter DLL image under VS 2003 -O1 -GL 32 bits only because
878:this is used in a magic vtable, do not use this on conventionally called funcs
518a5310
SH
879#ifdef _MSC_VER
880p |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
881#else
bfce84ec 882pr |int |magic_regdatum_set|NN SV* sv|NN MAGIC* mg
518a5310 883#endif
bfce84ec 884p |int |magic_set |NN SV* sv|NN MAGIC* mg
bfce84ec 885p |int |magic_setarylen|NN SV* sv|NN MAGIC* mg
83f29afa 886p |int |magic_cleararylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec 887p |int |magic_freearylen_p|NN SV* sv|NN MAGIC* mg
bfce84ec 888p |int |magic_setdbline|NN SV* sv|NN MAGIC* mg
a6d69523 889p |int |magic_setdebugvar|NN SV* sv|NN MAGIC* mg
bfce84ec
AL
890p |int |magic_setdefelem|NN SV* sv|NN MAGIC* mg
891p |int |magic_setenv |NN SV* sv|NN MAGIC* mg
b3ca2e83 892dp |int |magic_sethint |NN SV* sv|NN MAGIC* mg
bfce84ec 893p |int |magic_setisa |NN SV* sv|NN MAGIC* mg
9cce4f9a 894p |int |magic_setlvref |NN SV* sv|NN MAGIC* mg
bfce84ec
AL
895p |int |magic_setmglob |NN SV* sv|NN MAGIC* mg
896p |int |magic_setnkeys |NN SV* sv|NN MAGIC* mg
897p |int |magic_setpack |NN SV* sv|NN MAGIC* mg
898p |int |magic_setpos |NN SV* sv|NN MAGIC* mg
899p |int |magic_setregexp|NN SV* sv|NN MAGIC* mg
38a124f0 900p |int |magic_setsig |NULLOK SV* sv|NN MAGIC* mg
bfce84ec
AL
901p |int |magic_setsubstr|NN SV* sv|NN MAGIC* mg
902p |int |magic_settaint |NN SV* sv|NN MAGIC* mg
903p |int |magic_setuvar |NN SV* sv|NN MAGIC* mg
904p |int |magic_setvec |NN SV* sv|NN MAGIC* mg
905p |int |magic_setutf8 |NN SV* sv|NN MAGIC* mg
906p |int |magic_set_all_env|NN SV* sv|NN MAGIC* mg
907p |U32 |magic_sizepack |NN SV* sv|NN MAGIC* mg
908p |int |magic_wipepack |NN SV* sv|NN MAGIC* mg
046b0c7d 909pod |SV* |magic_methcall |NN SV *sv|NN const MAGIC *mg \
36925d9e 910 |NN SV *meth|U32 flags \
046b0c7d 911 |U32 argc|...
ba5248fc 912Ap |I32 * |markstack_grow
94bdecf9 913#if defined(USE_LOCALE_COLLATE)
b22e6366 914p |int |magic_setcollxfrm|NN SV* sv|NN MAGIC* mg
78d57975 915pb |char* |mem_collxfrm |NN const char* input_string|STRLEN len|NN STRLEN* xlen
67022846 916: Defined in locale.c, used only in sv.c
78d57975 917# if defined(PERL_IN_LOCALE_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_MATHOMS_C)
a4a439fb
KW
918pM |char* |_mem_collxfrm |NN const char* input_string \
919 |STRLEN len \
920 |NN STRLEN* xlen \
921 |bool utf8
922# endif
94bdecf9 923#endif
c5df3096
Z
924Afpd |SV* |mess |NN const char* pat|...
925Apd |SV* |mess_sv |NN SV* basemsg|bool consume
926Apd |SV* |vmess |NN const char* pat|NULLOK va_list* args
d67fec57
NC
927: FIXME - either make it public, or stop exporting it. (Data::Alias uses this)
928: Used in gv.c, op.c, toke.c
6d9a2efc 929EXp |void |qerror |NN SV* err
3d4dd4c7
NC
930Apd |void |sortsv |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp
931Apd |void |sortsv_flags |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t cmp|U32 flags
9a957fbc 932Apd |int |mg_clear |NN SV* sv
4048f010
NC
933Apd |int |mg_copy |NN SV *sv|NN SV *nsv|NULLOK const char *key \
934 |I32 klen
67022846 935: Defined in mg.c, used only in scope.c
af7df257 936pd |void |mg_localize |NN SV* sv|NN SV* nsv|bool setmagic
ddeaf645
DD
937ApdRn |MAGIC* |mg_find |NULLOK const SV* sv|int type
938ApdRn |MAGIC* |mg_findext |NULLOK const SV* sv|int type|NULLOK const MGVTBL *vtbl
96c2a8ff 939: exported for re.pm
d4431b89 940EXpR |MAGIC* |mg_find_mglob |NN SV* sv
9a957fbc 941Apd |int |mg_free |NN SV* sv
d9088386 942Apd |void |mg_free_type |NN SV* sv|int how
9a957fbc 943Apd |int |mg_get |NN SV* sv
bd8446cf 944ApdD |U32 |mg_length |NN SV* sv
ddeaf645 945Apdn |void |mg_magical |NN SV* sv
9a957fbc
AL
946Apd |int |mg_set |NN SV* sv
947Ap |I32 |mg_size |NN SV* sv
ddeaf645 948Apn |void |mini_mktime |NN struct tm *ptm
d3d7d28f
FC
949AMmd |OP* |op_lvalue |NULLOK OP* o|I32 type
950poX |OP* |op_lvalue_flags|NULLOK OP* o|I32 type|U32 flags
d164302a
GG
951p |void |finalize_optree |NN OP* o
952#if defined(PERL_IN_OP_C)
953s |void |finalize_op |NN OP* o
eedb00fa 954s |void |move_proto_attr|NN OP **proto|NN OP **attrs|NN const GV *name
d164302a 955#endif
67022846 956: Used in op.c and pp_sys.c
a79b25b7 957p |int |mode_from_discipline|NULLOK const char* s|STRLEN len
c7030b81 958Ap |const char* |moreswitches |NN const char* s
4373e329 959Ap |NV |my_atof |NN const char *s
af4291a8 960#if !defined(HAS_MEMCPY) || (!defined(HAS_MEMMOVE) && !defined(HAS_SAFE_MEMCPY))
99fff99d 961Anp |void* |my_bcopy |NN const void* vfrom|NN void* vto|size_t len
94bdecf9
JH
962#endif
963#if !defined(HAS_BZERO) && !defined(HAS_MEMSET)
99fff99d 964Anp |void* |my_bzero |NN void* vloc|size_t len
94bdecf9
JH
965#endif
966Apr |void |my_exit |U32 status
967Apr |void |my_failure_exit
968Ap |I32 |my_fflush_all
969Anp |Pid_t |my_fork
970Anp |void |atfork_lock
971Anp |void |atfork_unlock
0d7d409d
DM
972Apmb |I32 |my_lstat
973pX |I32 |my_lstat_flags |NULLOK const U32 flags
94bdecf9 974#if !defined(HAS_MEMCMP) || !defined(HAS_SANE_MEMCMP)
99fff99d 975AnpP |int |my_memcmp |NN const void* vs1|NN const void* vs2|size_t len
94bdecf9
JH
976#endif
977#if !defined(HAS_MEMSET)
99fff99d 978Anp |void* |my_memset |NN void* vloc|int ch|size_t len
94bdecf9 979#endif
875ca36f 980#if !defined(PERL_IMPLICIT_SYS)
bfce84ec
AL
981Ap |I32 |my_pclose |NULLOK PerlIO* ptr
982Ap |PerlIO*|my_popen |NN const char* cmd|NN const char* mode
875ca36f 983#endif
c9289b7b 984Ap |PerlIO*|my_popen_list |NN const char* mode|int n|NN SV ** args
bfce84ec 985Ap |void |my_setenv |NULLOK const char* nam|NULLOK const char* val
0d7d409d
DM
986Apmb |I32 |my_stat
987pX |I32 |my_stat_flags |NULLOK const U32 flags
531b2663 988Afp |char * |my_strftime |NN const char *fmt|int sec|int min|int hour|int mday|int mon|int year|int wday|int yday|int isdst
67022846 989: Used in pp_ctl.c
94bdecf9 990p |void |my_unexec
3f1866a8
KW
991AbDMnPR |UV |NATIVE_TO_NEED |const UV enc|const UV ch
992AbDMnPR |UV |ASCII_TO_NEED |const UV enc|const UV ch
346c6a29
DM
993ApR |OP* |newANONLIST |NULLOK OP* o
994ApR |OP* |newANONHASH |NULLOK OP* o
bfce84ec 995Ap |OP* |newANONSUB |I32 floor|NULLOK OP* proto|NULLOK OP* block
346c6a29
DM
996ApdR |OP* |newASSIGNOP |I32 flags|NULLOK OP* left|I32 optype|NULLOK OP* right
997ApdR |OP* |newCONDOP |I32 flags|NN OP* first|NULLOK OP* trueop|NULLOK OP* falseop
99ab892b 998Apd |CV* |newCONSTSUB |NULLOK HV* stash|NULLOK const char* name|NULLOK SV* sv
9c0a6090
FC
999Apd |CV* |newCONSTSUB_flags|NULLOK HV* stash \
1000 |NULLOK const char* name|STRLEN len \
1001 |U32 flags|NULLOK SV* sv
aec46f14 1002Ap |void |newFORM |I32 floor|NULLOK OP* o|NULLOK OP* block
346c6a29
DM
1003ApdR |OP* |newFOROP |I32 flags|NULLOK OP* sv|NN OP* expr|NULLOK OP* block|NULLOK OP* cont
1004ApdR |OP* |newGIVENOP |NN OP* cond|NN OP* block|PADOFFSET defsv_off
1005ApdR |OP* |newLOGOP |I32 optype|I32 flags|NN OP *first|NN OP *other
6cb4123e 1006pM |LOGOP* |alloc_LOGOP |I32 type|NULLOK OP *first|NULLOK OP *other
346c6a29
DM
1007ApdR |OP* |newLOOPEX |I32 type|NN OP* label
1008ApdR |OP* |newLOOPOP |I32 flags|I32 debuggable|NULLOK OP* expr|NULLOK OP* block
1009ApdR |OP* |newNULLLIST
1010ApdR |OP* |newOP |I32 optype|I32 flags
f54cb97a 1011Ap |void |newPROG |NN OP* o
346c6a29
DM
1012ApdR |OP* |newRANGE |I32 flags|NN OP* left|NN OP* right
1013ApdR |OP* |newSLICEOP |I32 flags|NULLOK OP* subscript|NULLOK OP* listop
1014ApdR |OP* |newSTATEOP |I32 flags|NULLOK char* label|NULLOK OP* o
5ff52e3c 1015Apbm |CV* |newSUB |I32 floor|NULLOK OP* o|NULLOK OP* proto \
7bff8c33 1016 |NULLOK OP* block
032a0447
FC
1017p |CV * |newXS_len_flags|NULLOK const char *name|STRLEN len \
1018 |NN XSUBADDR_t subaddr\
9a189793 1019 |NULLOK const char *const filename \
8f82b567
FC
1020 |NULLOK const char *const proto \
1021 |NULLOK SV **const_svp|U32 flags
9a189793 1022pX |CV * |newXS_deffile |NN const char *name|NN XSUBADDR_t subaddr
77004dee
NC
1023ApM |CV * |newXS_flags |NULLOK const char *name|NN XSUBADDR_t subaddr\
1024 |NN const char *const filename \
1025 |NULLOK const char *const proto|U32 flags
4048f010
NC
1026Apd |CV* |newXS |NULLOK const char *name|NN XSUBADDR_t subaddr\
1027 |NN const char *filename
5ff52e3c 1028ApmdbR |AV* |newAV
346c6a29
DM
1029ApR |OP* |newAVREF |NN OP* o
1030ApdR |OP* |newBINOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
1031ApR |OP* |newCVREF |I32 flags|NULLOK OP* o
1032ApdR |OP* |newGVOP |I32 type|I32 flags|NN GV* gv
20980f01 1033Am |GV* |newGVgen |NN const char* pack
346c6a29
DM
1034ApR |GV* |newGVgen_flags |NN const char* pack|U32 flags
1035ApR |OP* |newGVREF |I32 type|NULLOK OP* o
1036ApR |OP* |newHVREF |NN OP* o
5ff52e3c 1037ApmdbR |HV* |newHV
346c6a29
DM
1038ApR |HV* |newHVhv |NULLOK HV *hv
1039ApRbm |IO* |newIO
1040ApdR |OP* |newLISTOP |I32 type|I32 flags|NULLOK OP* first|NULLOK OP* last
1041AMpdRn |PADNAME *|newPADNAMEouter|NN PADNAME *outer
1042AMpdRn |PADNAME *|newPADNAMEpvn|NN const char *s|STRLEN len
1043AMpdRn |PADNAMELIST *|newPADNAMELIST|size_t max
392d04bb 1044#ifdef USE_ITHREADS
346c6a29
DM
1045ApdR |OP* |newPADOP |I32 type|I32 flags|NN SV* sv
1046#endif
1047ApdR |OP* |newPMOP |I32 type|I32 flags
1048ApdR |OP* |newPVOP |I32 type|I32 flags|NULLOK char* pv
1049ApR |SV* |newRV |NN SV *const sv
1050ApdR |SV* |newRV_noinc |NN SV *const tmpRef
1051ApdR |SV* |newSV |const STRLEN len
1052ApR |OP* |newSVREF |NN OP* o
1053ApdR |OP* |newSVOP |I32 type|I32 flags|NN SV* sv
ce409cc8 1054ApdR |OP* |newDEFSVOP
346c6a29
DM
1055pR |SV* |newSVavdefelem |NN AV *av|SSize_t ix|bool extendible
1056ApdR |SV* |newSViv |const IV i
1057ApdR |SV* |newSVuv |const UV u
1058ApdR |SV* |newSVnv |const NV n
1059ApdR |SV* |newSVpv |NULLOK const char *const s|const STRLEN len
1060ApdR |SV* |newSVpvn |NULLOK const char *const s|const STRLEN len
1061ApdR |SV* |newSVpvn_flags |NULLOK const char *const s|const STRLEN len|const U32 flags
1062ApdR |SV* |newSVhek |NULLOK const HEK *const hek
1063ApdR |SV* |newSVpvn_share |NULLOK const char* s|I32 len|U32 hash
1064ApdR |SV* |newSVpv_share |NULLOK const char* s|U32 hash
1065AfpdR |SV* |newSVpvf |NN const char *const pat|...
1066ApR |SV* |vnewSVpvf |NN const char *const pat|NULLOK va_list *const args
12964ddd 1067Apd |SV* |newSVrv |NN SV *const rv|NULLOK const char *const classname
346c6a29
DM
1068ApdR |SV* |newSVsv |NULLOK SV *const old
1069ApdR |SV* |newSV_type |const svtype type
1070ApdR |OP* |newUNOP |I32 type|I32 flags|NULLOK OP* first
1071ApdR |OP* |newUNOP_AUX |I32 type|I32 flags|NULLOK OP* first \
2f7c6295 1072 |NULLOK UNOP_AUX_item *aux
346c6a29
DM
1073ApdR |OP* |newWHENOP |NULLOK OP* cond|NN OP* block
1074ApdR |OP* |newWHILEOP |I32 flags|I32 debuggable|NULLOK LOOP* loop \
94bf0465 1075 |NULLOK OP* expr|NULLOK OP* block|NULLOK OP* cont \
a034e688 1076 |I32 has_my
346c6a29
DM
1077ApdR |OP* |newMETHOP |I32 type|I32 flags|NN OP* dynamic_meth
1078ApdR |OP* |newMETHOP_named|I32 type|I32 flags|NN SV* const_meth
d9088386
Z
1079Apd |CV* |rv2cv_op_cv |NN OP *cvop|U32 flags
1080Apd |OP* |ck_entersub_args_list|NN OP *entersubop
1081Apd |OP* |ck_entersub_args_proto|NN OP *entersubop|NN GV *namegv|NN SV *protosv
1082Apd |OP* |ck_entersub_args_proto_or_list|NN OP *entersubop|NN GV *namegv|NN SV *protosv
4aaa4757
FC
1083po |OP* |ck_entersub_args_core|NN OP *entersubop|NN GV *namegv \
1084 |NN SV *protosv
d9088386
Z
1085Apd |void |cv_get_call_checker|NN CV *cv|NN Perl_call_checker *ckfun_p|NN SV **ckobj_p
1086Apd |void |cv_set_call_checker|NN CV *cv|NN Perl_call_checker ckfun|NN SV *ckobj
aa38f4b1
FC
1087Apd |void |cv_set_call_checker_flags|NN CV *cv \
1088 |NN Perl_call_checker ckfun \
1089 |NN SV *ckobj|U32 flags
e8570548 1090Apd |void |wrap_op_checker|Optype opcode|NN Perl_check_t new_checker|NN Perl_check_t *old_checker_p
346c6a29 1091ApR |PERL_SI*|new_stackinfo|I32 stitems|I32 cxitems
4048f010
NC
1092Ap |char* |scan_vstring |NN const char *s|NN const char *const e \
1093 |NN SV *sv
9f6cc744 1094Apd |const char* |scan_version |NN const char *s|NN SV *rv|bool qv
91152fc1 1095Apd |const char* |prescan_version |NN const char *s\
5747a2f6
RGS
1096 |bool strict|NULLOK const char** errstr|NULLOK bool *sqv\
1097 |NULLOK int *ssaw_decimal|NULLOK int *swidth|NULLOK bool *salpha
2d03de9c 1098Apd |SV* |new_version |NN SV *ver
ac0e6a2f 1099Apd |SV* |upg_version |NN SV *ver|bool qv
5de8bffd 1100Apd |SV* |vverify |NN SV *vs
2d03de9c
AL
1101Apd |SV* |vnumify |NN SV *vs
1102Apd |SV* |vnormal |NN SV *vs
1103Apd |SV* |vstringify |NN SV *vs
9f6cc744 1104Apd |int |vcmp |NN SV *lhv|NN SV *rhv
67022846 1105: Used in pp_hot.c and pp_sys.c
157fb5a1 1106p |PerlIO*|nextargv |NN GV* gv|bool nomagicopen
b8070b07
KW
1107#ifdef HAS_MEMMEM
1108AdnopP |char* |ninstr |NN const char* big|NN const char* bigend \
1109 |NN const char* little|NN const char* lend
1110#else
52de5f36 1111AdnpP |char* |ninstr |NN const char* big|NN const char* bigend \
2d03de9c 1112 |NN const char* little|NN const char* lend
b8070b07 1113#endif
1d70cb64 1114Apd |void |op_free |NULLOK OP* arg
705fe0e5 1115Mp |OP* |op_unscope |NULLOK OP* o
7aef8e5b 1116#ifdef PERL_CORE
8be227ab
FC
1117p |void |opslab_free |NN OPSLAB *slab
1118p |void |opslab_free_nopad|NN OPSLAB *slab
1119p |void |opslab_force_free|NN OPSLAB *slab
1120#endif
67022846 1121: Used in perly.y
2d03de9c 1122p |void |package |NN OP* o
6fa4d285
DG
1123: Used in perly.y
1124p |void |package_version|NN OP* v
67022846 1125: Used in toke.c and perly.y
d6447115
NC
1126p |PADOFFSET|allocmy |NN const char *const name|const STRLEN len\
1127 |const U32 flags
d4d03940 1128#ifdef USE_ITHREADS
c0b8aebd 1129AMp |PADOFFSET|alloccopstash|NN HV *hv
d4d03940 1130#endif
67022846 1131: Used in perly.y
1df70142 1132pR |OP* |oopsAV |NN OP* o
67022846 1133: Used in perly.y
1df70142 1134pR |OP* |oopsHV |NN OP* o
cc76b5cc 1135
1a0a2ba9 1136: peephole optimiser
666e7765 1137p |void |peep |NULLOK OP* o
1a0a2ba9 1138p |void |rpeep |NULLOK OP* o
67022846 1139: Defined in doio.c, used only in pp_hot.c
4048f010 1140dopM |PerlIO*|start_glob |NN SV *tmpglob|NN IO *io
f59c1a32 1141
10bc17b6 1142Ap |void |reentrant_size
59bd0823 1143Ap |void |reentrant_init
10bc17b6 1144Ap |void |reentrant_free
4048f010 1145Anp |void* |reentrant_retry|NN const char *f|...
f59c1a32 1146
7b53c8ee
NC
1147: "Very" special - can't use the O flag for this one:
1148: (The rename from perl_atexit to Perl_call_atexit was in 864dbfa3ca8032ef)
7827dc65 1149Ap |void |call_atexit |ATEXIT_t fn|NULLOK void *ptr
7b53c8ee
NC
1150ApdO |I32 |call_argv |NN const char* sub_name|I32 flags|NN char** argv
1151ApdO |I32 |call_method |NN const char* methname|I32 flags
1152ApdO |I32 |call_pv |NN const char* sub_name|I32 flags
1153ApdO |I32 |call_sv |NN SV* sv|VOL I32 flags
5290524f 1154Ap |void |despatch_signals
e4c5ccf3 1155Ap |OP * |doref |NN OP *o|I32 type|bool set_op_ref
7b53c8ee
NC
1156ApdO |SV* |eval_pv |NN const char* p|I32 croak_on_error
1157ApdO |I32 |eval_sv |NN SV* sv|I32 flags
1158ApdO |SV* |get_sv |NN const char *name|I32 flags
1159ApdO |AV* |get_av |NN const char *name|I32 flags
1160ApdO |HV* |get_hv |NN const char *name|I32 flags
1161ApdO |CV* |get_cv |NN const char* name|I32 flags
780a5241 1162Apd |CV* |get_cvn_flags |NN const char* name|STRLEN len|I32 flags
b385bb4d
KW
1163#ifdef WIN32
1164ApPM |char* |my_setlocale |int category|NULLOK const char* locale
1165#else
1166AmPM |char* |my_setlocale |int category|NULLOK const char* locale
1167#endif
94d52e62
KW
1168ApOM |int |init_i18nl10n |int printwarn
1169ApOM |int |init_i18nl14n |int printwarn
2c6ee1a7 1170ApM |char* |my_strerror |const int errnum
94d52e62
KW
1171ApOM |void |new_collate |NULLOK const char* newcoll
1172ApOM |void |new_ctype |NN const char* newctype
e6cc39ca 1173EXpMn |void |_warn_problematic_locale
94d52e62 1174ApOM |void |new_numeric |NULLOK const char* newcoll
94bdecf9
JH
1175Ap |void |set_numeric_local
1176Ap |void |set_numeric_radix
1177Ap |void |set_numeric_standard
d6ded950 1178ApM |bool |_is_in_locale_category|const bool compiling|const int category
747c467a 1179Apd |void |sync_locale
7b53c8ee 1180ApdO |void |require_pv |NN const char* pv
2d03de9c
AL
1181Apd |void |pack_cat |NN SV *cat|NN const char *pat|NN const char *patend \
1182 |NN SV **beglist|NN SV **endlist|NN SV ***next_in_list|U32 flags
1183Apd |void |packlist |NN SV *cat|NN const char *pat|NN const char *patend|NN SV **beglist|NN SV **endlist
ed4173ef
NC
1184#if defined(PERL_USES_PL_PIDSTATUS) && defined(PERL_IN_UTIL_C)
1185s |void |pidgone |Pid_t pid|int status
ca0c25f6 1186#endif
67022846 1187: Used in perly.y
9b6b7be8
FC
1188p |OP* |pmruntime |NN OP *o|NN OP *expr|NULLOK OP *repl \
1189 |bool isreg|I32 floor
43869a0c 1190#if defined(PERL_IN_OP_C)
0d86688d
NC
1191s |OP* |pmtrans |NN OP* o|NN OP* expr|NN OP* repl
1192#endif
94bdecf9 1193Ap |void |pop_scope
94bdecf9 1194Ap |void |push_scope
5ff52e3c 1195Apmb |OP* |ref |NULLOK OP* o|I32 type
43869a0c 1196#if defined(PERL_IN_OP_C)
0d86688d
NC
1197s |OP* |refkids |NULLOK OP* o|I32 type
1198#endif
097eb12c 1199Ap |void |regdump |NN const regexp* r
768f8d98 1200ApM |SV* |regclass_swash |NULLOK const regexp *prog \
4048f010
NC
1201 |NN const struct regnode *node|bool doinit \
1202 |NULLOK SV **listsvp|NULLOK SV **altsvp
b24b43f7 1203#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_PERL_C) || defined(PERL_IN_UTF8_C)
7b8dd5f4 1204AMpR |SV* |_new_invlist_C_array|NN const UV* const list
709be747 1205EXMp |bool |_invlistEQ |NN SV* const a|NN SV* const b|const bool complement_b
4c9daa0a 1206#endif
49d7dfbc 1207Ap |I32 |pregexec |NN REGEXP * const prog|NN char* stringarg \
ea3daa5d
FC
1208 |NN char* strend|NN char* strbeg \
1209 |SSize_t minend |NN SV* screamer|U32 nosave
84679df5 1210Ap |void |pregfree |NULLOK REGEXP* r
4048f010 1211Ap |void |pregfree2 |NN REGEXP *rx
d67fec57 1212: FIXME - is anything in re using this now?
f0826785 1213EXp |REGEXP*|reg_temp_copy |NULLOK REGEXP* ret_x|NN REGEXP* rx
4048f010 1214Ap |void |regfree_internal|NN REGEXP *const rx
a3c0e9ca 1215#if defined(USE_ITHREADS)
49d7dfbc 1216Ap |void* |regdupe_internal|NN REGEXP * const r|NN CLONE_PARAMS* param
a3c0e9ca 1217#endif
3c13cae6 1218EXp |regexp_engine const *|current_re_engine
1593ad57 1219Ap |REGEXP*|pregcomp |NN SV * const pattern|const U32 flags
9f141731
DM
1220p |REGEXP*|re_op_compile |NULLOK SV ** const patternp \
1221 |int pat_count|NULLOK OP *expr \
3c13cae6 1222 |NN const regexp_engine* eng \
1067df30 1223 |NULLOK REGEXP *old_re \
76ac488f 1224 |NULLOK bool *is_bare_re \
514a91f1 1225 |U32 rx_flags|U32 pm_flags
37acfcba 1226Ap |REGEXP*|re_compile |NN SV * const pattern|U32 orig_rx_flags
52a21eb3
DM
1227Ap |char* |re_intuit_start|NN REGEXP * const rx \
1228 |NULLOK SV* sv \
1229 |NN const char* const strbeg \
1230 |NN char* strpos \
1231 |NN char* strend \
1232 |const U32 flags \
9f61653a 1233 |NULLOK re_scream_pos_data *data
4048f010
NC
1234Ap |SV* |re_intuit_string|NN REGEXP *const r
1235Ap |I32 |regexec_flags |NN REGEXP *const rx|NN char *stringarg \
ea3daa5d
FC
1236 |NN char *strend|NN char *strbeg \
1237 |SSize_t minend|NN SV *sv \
1238 |NULLOK void *data|U32 flags
8074533a 1239ApR |regnode*|regnext |NULLOK regnode* p
192b9cd1
AB
1240EXp |SV*|reg_named_buff |NN REGEXP * const rx|NULLOK SV * const key \
1241 |NULLOK SV * const value|const U32 flags
1242EXp |SV*|reg_named_buff_iter |NN REGEXP * const rx|NULLOK const SV * const lastkey \
1243 |const U32 flags
1244Ap |SV*|reg_named_buff_fetch |NN REGEXP * const rx|NN SV * const namesv|const U32 flags
1245Ap |bool|reg_named_buff_exists |NN REGEXP * const rx|NN SV * const key|const U32 flags
1246Ap |SV*|reg_named_buff_firstkey |NN REGEXP * const rx|const U32 flags
1247Ap |SV*|reg_named_buff_nextkey |NN REGEXP * const rx|const U32 flags
1248Ap |SV*|reg_named_buff_scalar |NN REGEXP * const rx|const U32 flags
1249Ap |SV*|reg_named_buff_all |NN REGEXP * const rx|const U32 flags
2fdbfb4d 1250
d67fec57 1251: FIXME - is anything in re using this now?
2fdbfb4d 1252EXp |void|reg_numbered_buff_fetch|NN REGEXP * const rx|const I32 paren|NULLOK SV * const sv
d67fec57 1253: FIXME - is anything in re using this now?
2fdbfb4d 1254EXp |void|reg_numbered_buff_store|NN REGEXP * const rx|const I32 paren|NULLOK SV const * const value
d67fec57 1255: FIXME - is anything in re using this now?
2fdbfb4d
AB
1256EXp |I32|reg_numbered_buff_length|NN REGEXP * const rx|NN const SV * const sv|const I32 paren
1257
d67fec57 1258: FIXME - is anything in re using this now?
49d7dfbc 1259EXp |SV*|reg_qr_package|NN REGEXP * const rx
93b32b6d 1260
26e1303d 1261Anp |void |repeatcpy |NN char* to|NN const char* from|I32 len|IV count
52de5f36 1262AdnpP |char* |rninstr |NN const char* big|NN const char* bigend \
a3b680e6 1263 |NN const char* little|NN const char* lend
94bdecf9 1264Ap |Sighandler_t|rsignal |int i|Sighandler_t t
67022846 1265: Used in pp_sys.c
7827dc65 1266p |int |rsignal_restore|int i|NULLOK Sigsave_t* t
67022846 1267: Used in pp_sys.c
9f6cc744 1268p |int |rsignal_save |int i|Sighandler_t t1|NN Sigsave_t* save
94bdecf9 1269Ap |Sighandler_t|rsignal_state|int i
43869a0c 1270#if defined(PERL_IN_PP_CTL_C)
9c105995
NC
1271s |void |rxres_free |NN void** rsp
1272s |void |rxres_restore |NN void **rsp|NN REGEXP *rx
1273#endif
1274: Used in pp_hot.c
4048f010 1275p |void |rxres_save |NN void **rsp|NN REGEXP *rx
94bdecf9 1276#if !defined(HAS_RENAME)
67022846 1277: Used in pp_sys.c
4373e329 1278p |I32 |same_dirent |NN const char* a|NN const char* b
94bdecf9 1279#endif
639f6c3d
NC
1280Apda |char* |savepv |NULLOK const char* pv
1281Apda |char* |savepvn |NULLOK const char* pv|I32 len
7827dc65 1282Apda |char* |savesharedpv |NULLOK const char* pv
6379d4a9
FC
1283
1284: NULLOK only to suppress a compiler warning
1285Apda |char* |savesharedpvn |NULLOK const char *const pv \
1286 |const STRLEN len
9dcc53ea 1287Apda |char* |savesharedsvpv |NN SV *sv
53c1dcc0 1288Apda |char* |savesvpv |NN SV* sv
94bdecf9 1289Ap |void |savestack_grow
4b3c1a47 1290Ap |void |savestack_grow_cnt |I32 need
c70927a6
FC
1291Amp |void |save_aelem |NN AV* av|SSize_t idx|NN SV **sptr
1292Ap |void |save_aelem_flags|NN AV* av|SSize_t idx|NN SV **sptr \
1293 |const U32 flags
94bdecf9 1294Ap |I32 |save_alloc |I32 size|I32 pad
9a957fbc
AL
1295Ap |void |save_aptr |NN AV** aptr
1296Ap |AV* |save_ary |NN GV* gv
1297Ap |void |save_bool |NN bool* boolp
1298Ap |void |save_clearsv |NN SV** svp
4048f010 1299Ap |void |save_delete |NN HV *hv|NN char *key|I32 klen
af097752 1300Ap |void |save_hdelete |NN HV *hv|NN SV *keysv
c70927a6 1301Ap |void |save_adelete |NN AV *av|SSize_t key
7827dc65 1302Ap |void |save_destructor|DESTRUCTORFUNC_NOCONTEXT_t f|NN void* p
55968144 1303Ap |void |save_destructor_x|DESTRUCTORFUNC_t f|NULLOK void* p
2fd8beea 1304Apmb |void |save_freesv |NULLOK SV* sv
67022846 1305: Used in SAVEFREOP(), used in op.c, pp_ctl.c
ad975267 1306Apmb |void |save_freeop |NULLOK OP* o
2fd8beea 1307Apmb |void |save_freepv |NULLOK char* pv
9a957fbc
AL
1308Ap |void |save_generic_svref|NN SV** sptr
1309Ap |void |save_generic_pvref|NN char** str
1310Ap |void |save_shared_pvref|NN char** str
364bbfa4 1311Adp |void |save_gp |NN GV* gv|I32 empty
aec46f14 1312Ap |HV* |save_hash |NN GV* gv
defdfed5 1313Ap |void |save_hints
af7df257
CS
1314Amp |void |save_helem |NN HV *hv|NN SV *key|NN SV **sptr
1315Ap |void |save_helem_flags|NN HV *hv|NN SV *key|NN SV **sptr|const U32 flags
aec46f14
AL
1316Ap |void |save_hptr |NN HV** hptr
1317Ap |void |save_I16 |NN I16* intp
1318Ap |void |save_I32 |NN I32* intp
1319Ap |void |save_I8 |NN I8* bytep
1320Ap |void |save_int |NN int* intp
1321Ap |void |save_item |NN SV* item
4048f010 1322Ap |void |save_iv |NN IV *ivp
aec46f14
AL
1323Ap |void |save_list |NN SV** sarg|I32 maxsarg
1324Ap |void |save_long |NN long* longp
2fd8beea 1325Apmb |void |save_mortalizesv|NN SV* sv
3d4dd4c7 1326Ap |void |save_nogv |NN GV* gv
67022846 1327: Used in SAVEFREOP(), used in gv.c, op.c, perl.c, pp_ctl.c, pp_sort.c
ad975267 1328Apmb |void |save_op
aec46f14
AL
1329Ap |SV* |save_scalar |NN GV* gv
1330Ap |void |save_pptr |NN char** pptr
4048f010 1331Ap |void |save_vptr |NN void *ptr
94bdecf9 1332Ap |void |save_re_context
09edbca0 1333Ap |void |save_padsv_and_mortalize|PADOFFSET off
aec46f14 1334Ap |void |save_sptr |NN SV** sptr
e8eb279c 1335Xp |void |save_strlen |NN STRLEN* ptr
aec46f14 1336Ap |SV* |save_svref |NN SV** sptr
2ef9a108 1337AMpo |void |savetmps
2fd8beea 1338Ap |void |save_pushptr |NULLOK void *const ptr|const int type
ad975267 1339Ap |void |save_pushi32ptr|const I32 i|NULLOK void *const ptr|const int type
dfcd3de5 1340: Used by SAVESWITCHSTACK() in pp.c
ad975267 1341Ap |void |save_pushptrptr|NULLOK void *const ptr1 \
dfcd3de5 1342 |NULLOK void *const ptr2|const int type
43869a0c 1343#if defined(PERL_IN_SCOPE_C)
be84297e
NC
1344s |void |save_pushptri32ptr|NULLOK void *const ptr1|const I32 i \
1345 |NULLOK void *const ptr2|const int type
1346#endif
67022846 1347: Used in perly.y
aec46f14 1348p |OP* |sawparens |NULLOK OP* o
d9088386 1349Apd |OP* |op_contextualize|NN OP* o|I32 context
67022846 1350: Used in perly.y
aec46f14 1351p |OP* |scalar |NULLOK OP* o
43869a0c 1352#if defined(PERL_IN_OP_C)
2dd5337b
NC
1353s |OP* |scalarkids |NULLOK OP* o
1354s |OP* |scalarseq |NULLOK OP* o
1355#endif
67022846 1356: Used in pp_ctl.c
aec46f14
AL
1357p |OP* |scalarvoid |NN OP* o
1358Apd |NV |scan_bin |NN const char* start|STRLEN len|NN STRLEN* retlen
1359Apd |NV |scan_hex |NN const char* start|STRLEN len|NN STRLEN* retlen
1360Ap |char* |scan_num |NN const char* s|NN YYSTYPE *lvalp
1361Apd |NV |scan_oct |NN const char* start|STRLEN len|NN STRLEN* retlen
3ad73efd 1362AMpd |OP* |op_scope |NULLOK OP* o
e2051532
PM
1363: Only used by perl.c/miniperl.c, but defined in caretx.c
1364px |void |set_caret_X
9a9bb270 1365Apd |void |setdefout |NN GV* gv
aec46f14 1366Ap |HEK* |share_hek |NN const char* str|I32 len|U32 hash
8aad04aa 1367#if defined(HAS_SIGACTION) && defined(SA_SIGINFO)
d67fec57 1368: Used in perl.c
b6455c53
SR
1369np |Signal_t |sighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
1370Anp |Signal_t |csighandler |int sig|NULLOK siginfo_t *info|NULLOK void *uap
8aad04aa 1371#else
94bdecf9 1372np |Signal_t |sighandler |int sig
669f9482 1373Anp |Signal_t |csighandler |int sig
8aad04aa 1374#endif
fc16c392 1375Ap |SV** |stack_grow |NN SV** sp|NN SV** p|SSize_t n
0b1558d1 1376Ap |I32 |start_subparse |I32 is_format|U32 flags
67022846 1377: Used in pp_ctl.c
aec46f14 1378p |void |sub_crush_depth|NN CV* cv
06c841cf 1379Amd |bool |sv_2bool |NN SV *const sv
9d176cd8 1380Apd |bool |sv_2bool_flags |NN SV *sv|I32 flags
23f13727
SS
1381Apd |CV* |sv_2cv |NULLOK SV* sv|NN HV **const st|NN GV **const gvp \
1382 |const I32 lref
1383Apd |IO* |sv_2io |NN SV *const sv
43869a0c 1384#if defined(PERL_IN_SV_C)
19f6321d 1385s |bool |glob_2number |NN GV* const gv
180488f8 1386#endif
5ff52e3c 1387Apmb |IV |sv_2iv |NN SV *sv
1061065f 1388Apd |IV |sv_2iv_flags |NN SV *const sv|const I32 flags
23f13727 1389Apd |SV* |sv_2mortal |NULLOK SV *const sv
1061065f 1390Apd |NV |sv_2nv_flags |NN SV *const sv|const I32 flags
67022846 1391: Used in pp.c, pp_hot.c, sv.c
5de3775c 1392pMd |SV* |sv_2num |NN SV *const sv
5ff52e3c 1393Apmb |char* |sv_2pv |NN SV *sv|NULLOK STRLEN *lp
1061065f 1394Apd |char* |sv_2pv_flags |NN SV *const sv|NULLOK STRLEN *const lp|const I32 flags
fe46cbda 1395Apd |char* |sv_2pvutf8 |NN SV *sv|NULLOK STRLEN *const lp
a901b181 1396Apd |char* |sv_2pvbyte |NN SV *sv|NULLOK STRLEN *const lp
aec46f14 1397Ap |char* |sv_pvn_nomg |NN SV* sv|NULLOK STRLEN* lp
5ff52e3c 1398Apmb |UV |sv_2uv |NN SV *sv
1061065f 1399Apd |UV |sv_2uv_flags |NN SV *const sv|const I32 flags
4373e329
AL
1400Apd |IV |sv_iv |NN SV* sv
1401Apd |UV |sv_uv |NN SV* sv
1402Apd |NV |sv_nv |NN SV* sv
4048f010
NC
1403Apd |char* |sv_pvn |NN SV *sv|NN STRLEN *lp
1404Apd |char* |sv_pvutf8n |NN SV *sv|NN STRLEN *lp
1405Apd |char* |sv_pvbyten |NN SV *sv|NN STRLEN *lp
23f13727 1406Apd |I32 |sv_true |NULLOK SV *const sv
43869a0c 1407#if defined(PERL_IN_SV_C)
d2bd4e7f
NC
1408sd |void |sv_add_arena |NN char *const ptr|const U32 size \
1409 |const U32 flags
1410#endif
fa7a1e49 1411Apdn |void |sv_backoff |NN SV *const sv
12964ddd 1412Apd |SV* |sv_bless |NN SV *const sv|NN HV *const stash
b001a0d1
FC
1413#if defined(PERL_DEBUG_READONLY_COW)
1414p |void |sv_buf_to_ro |NN SV *sv
1620d805
FC
1415# if defined(PERL_IN_SV_C)
1416s |void |sv_buf_to_rw |NN SV *sv
1417# endif
b001a0d1 1418#endif
66ceb532
SS
1419Afpd |void |sv_catpvf |NN SV *const sv|NN const char *const pat|...
1420Apd |void |sv_vcatpvf |NN SV *const sv|NN const char *const pat \
1421 |NULLOK va_list *const args
2b021c53 1422Apd |void |sv_catpv |NN SV *const sv|NULLOK const char* ptr
5ff52e3c
KW
1423Apmdb |void |sv_catpvn |NN SV *dsv|NN const char *sstr|STRLEN len
1424Apmdb |void |sv_catsv |NN SV *dstr|NULLOK SV *sstr
2e000ff2 1425Apd |void |sv_chop |NN SV *const sv|NULLOK const char *const ptr
67022846 1426: Used only in perl.c
94bdecf9 1427pd |I32 |sv_clean_all
67022846 1428: Used only in perl.c
94bdecf9 1429pd |void |sv_clean_objs
5239d5c4 1430Apd |void |sv_clear |NN SV *const orig_sv
4155e4fe
FC
1431#if defined(PERL_IN_SV_C)
1432s |bool |curse |NN SV * const sv|const bool check_refcnt
1433#endif
e8c9c9d4 1434Aopd |I32 |sv_cmp |NULLOK SV *const sv1|NULLOK SV *const sv2
31c72c81
NC
1435Apd |I32 |sv_cmp_flags |NULLOK SV *const sv1|NULLOK SV *const sv2 \
1436 |const U32 flags
e8c9c9d4 1437Aopd |I32 |sv_cmp_locale |NULLOK SV *const sv1|NULLOK SV *const sv2
31c72c81
NC
1438Apd |I32 |sv_cmp_locale_flags |NULLOK SV *const sv1 \
1439 |NULLOK SV *const sv2|const U32 flags
94bdecf9 1440#if defined(USE_LOCALE_COLLATE)
078504b2
FC
1441Amd |char* |sv_collxfrm |NN SV *const sv|NN STRLEN *const nxp
1442Apd |char* |sv_collxfrm_flags |NN SV *const sv|NN STRLEN *const nxp|I32 const flags
94bdecf9 1443#endif
4373e329 1444Apd |int |getcwd_sv |NN SV* sv
ac1e9476 1445Apd |void |sv_dec |NULLOK SV *const sv
6f1401dc 1446Apd |void |sv_dec_nomg |NULLOK SV *const sv
f54cb97a 1447Ap |void |sv_dump |NN SV* sv
15f169a1 1448ApdR |bool |sv_derived_from|NN SV* sv|NN const char *const name
c7abbf64
BF
1449ApdR |bool |sv_derived_from_sv|NN SV* sv|NN SV *namesv|U32 flags
1450ApdR |bool |sv_derived_from_pv|NN SV* sv|NN const char *const name|U32 flags
1451ApdR |bool |sv_derived_from_pvn|NN SV* sv|NN const char *const name \
c60dbbc3 1452 |const STRLEN len|U32 flags
15f169a1 1453ApdR |bool |sv_does |NN SV* sv|NN const char *const name
f778bcfd
BF
1454ApdR |bool |sv_does_sv |NN SV* sv|NN SV* namesv|U32 flags
1455ApdR |bool |sv_does_pv |NN SV* sv|NN const char *const name|U32 flags
1456ApdR |bool |sv_does_pvn |NN SV* sv|NN const char *const name|const STRLEN len \
1457 |U32 flags
078504b2 1458Amd |I32 |sv_eq |NULLOK SV* sv1|NULLOK SV* sv2
31c72c81 1459Apd |I32 |sv_eq_flags |NULLOK SV* sv1|NULLOK SV* sv2|const U32 flags
af828c01 1460Apd |void |sv_free |NULLOK SV *const sv
75a9bf96 1461poMX |void |sv_free2 |NN SV *const sv|const U32 refcnt
67022846 1462: Used only in perl.c
94bdecf9 1463pd |void |sv_free_arenas
ac1e9476 1464Apd |char* |sv_gets |NN SV *const sv|NN PerlIO *const fp|I32 append
aad570aa 1465Apd |char* |sv_grow |NN SV *const sv|STRLEN newlen
ac1e9476 1466Apd |void |sv_inc |NULLOK SV *const sv
6f1401dc 1467Apd |void |sv_inc_nomg |NULLOK SV *const sv
5ff52e3c 1468Apmdb |void |sv_insert |NN SV *const bigstr|const STRLEN offset \
84335ee9
NC
1469 |const STRLEN len|NN const char *const little \
1470 |const STRLEN littlelen
c0dd94a0
VP
1471Apd |void |sv_insert_flags|NN SV *const bigstr|const STRLEN offset|const STRLEN len \
1472 |NN const char *const little|const STRLEN littlelen|const U32 flags
12964ddd 1473Apd |int |sv_isa |NULLOK SV* sv|NN const char *const name
aec46f14 1474Apd |int |sv_isobject |NULLOK SV* sv
af828c01
SS
1475Apd |STRLEN |sv_len |NULLOK SV *const sv
1476Apd |STRLEN |sv_len_utf8 |NULLOK SV *const sv
864329c3 1477p |STRLEN |sv_len_utf8_nomg|NN SV *const sv
2b021c53 1478Apd |void |sv_magic |NN SV *const sv|NULLOK SV *const obj|const int how \
ac1e9476 1479 |NULLOK const char *const name|const I32 namlen
2b021c53
SS
1480Apd |MAGIC *|sv_magicext |NN SV *const sv|NULLOK SV *const obj|const int how \
1481 |NULLOK const MGVTBL *const vtbl|NULLOK const char *const name \
1482 |const I32 namlen
a4570f51 1483#ifndef PERL_NO_INLINE_FUNCTIONS
ed382232 1484Ein |bool |sv_only_taint_gmagic|NN SV *sv
a4570f51 1485#endif
96c2a8ff 1486: exported for re.pm
d4431b89 1487EXp |MAGIC *|sv_magicext_mglob|NN SV *sv
346c6a29
DM
1488ApdbmR |SV* |sv_mortalcopy |NULLOK SV *const oldsv
1489XpR |SV* |sv_mortalcopy_flags|NULLOK SV *const oldsv|U32 flags
f54cb97a 1490ApdR |SV* |sv_newmortal
af828c01 1491Apd |SV* |sv_newref |NULLOK SV *const sv
aec46f14 1492Ap |char* |sv_peek |NULLOK SV* sv
af828c01 1493Apd |void |sv_pos_u2b |NULLOK SV *const sv|NN I32 *const offsetp|NULLOK I32 *const lenp
d931b1be
NC
1494Apd |STRLEN |sv_pos_u2b_flags|NN SV *const sv|STRLEN uoffset \
1495 |NULLOK STRLEN *const lenp|U32 flags
ac1e9476 1496Apd |void |sv_pos_b2u |NULLOK SV *const sv|NN I32 *const offsetp
ef54055c
FC
1497Apd |STRLEN |sv_pos_b2u_flags|NN SV *const sv|STRLEN const offset \
1498 |U32 flags
5ff52e3c 1499Apmdb |char* |sv_pvn_force |NN SV* sv|NULLOK STRLEN* lp
12964ddd
SS
1500Apd |char* |sv_pvutf8n_force|NN SV *const sv|NULLOK STRLEN *const lp
1501Apd |char* |sv_pvbyten_force|NN SV *const sv|NULLOK STRLEN *const lp
aec46f14
AL
1502Apd |char* |sv_recode_to_utf8 |NN SV* sv|NN SV *encoding
1503Apd |bool |sv_cat_decode |NN SV* dsv|NN SV *encoding|NN SV *ssv|NN int *offset \
1504 |NN char* tstr|int tlen
12964ddd 1505ApdR |const char* |sv_reftype |NN const SV *const sv|const int ob
b1744e13 1506Apd |SV* |sv_ref |NULLOK SV *dst|NN const SV *const sv|const int ob
af828c01 1507Apd |void |sv_replace |NN SV *const sv|NN SV *const nsv
94bdecf9 1508Apd |void |sv_report_used
23f13727 1509Apd |void |sv_reset |NN const char* s|NULLOK HV *const stash
ca826051
FC
1510p |void |sv_resetpvn |NULLOK const char* s|STRLEN len \
1511 |NULLOK HV *const stash
89e38212
SS
1512Afpd |void |sv_setpvf |NN SV *const sv|NN const char *const pat|...
1513Apd |void |sv_vsetpvf |NN SV *const sv|NN const char *const pat|NULLOK va_list *const args
aad570aa 1514Apd |void |sv_setiv |NN SV *const sv|const IV num
3d9637d6 1515Apdb |void |sv_setpviv |NN SV *const sv|const IV num
aad570aa
SS
1516Apd |void |sv_setuv |NN SV *const sv|const UV num
1517Apd |void |sv_setnv |NN SV *const sv|const NV num
12964ddd
SS
1518Apd |SV* |sv_setref_iv |NN SV *const rv|NULLOK const char *const classname|const IV iv
1519Apd |SV* |sv_setref_uv |NN SV *const rv|NULLOK const char *const classname|const UV uv
1520Apd |SV* |sv_setref_nv |NN SV *const rv|NULLOK const char *const classname|const NV nv
1521Apd |SV* |sv_setref_pv |NN SV *const rv|NULLOK const char *const classname \
1522 |NULLOK void *const pv
1523Apd |SV* |sv_setref_pvn |NN SV *const rv|NULLOK const char *const classname \
1524 |NN const char *const pv|const STRLEN n
2e000ff2
SS
1525Apd |void |sv_setpv |NN SV *const sv|NULLOK const char *const ptr
1526Apd |void |sv_setpvn |NN SV *const sv|NULLOK const char *const ptr|const STRLEN len
70b71ec8 1527Xp |void |sv_sethek |NN SV *const sv|NULLOK const HEK *const hek
5ff52e3c
KW
1528Apmdb |void |sv_setsv |NN SV *dstr|NULLOK SV *sstr
1529Apmdb |void |sv_taint |NN SV* sv
89e38212 1530ApdR |bool |sv_tainted |NN SV *const sv
2b021c53 1531Apd |int |sv_unmagic |NN SV *const sv|const int type
b83794c7 1532Apd |int |sv_unmagicext |NN SV *const sv|const int type|NULLOK MGVTBL *vtbl
174c73e3 1533Apdmb |void |sv_unref |NN SV* sv
89e38212
SS
1534Apd |void |sv_unref_flags |NN SV *const ref|const U32 flags
1535Apd |void |sv_untaint |NN SV *const sv
aad570aa 1536Apd |void |sv_upgrade |NN SV *const sv|svtype new_type
47518d95 1537Apdmb |void |sv_usepvn |NN SV* sv|NULLOK char* ptr|STRLEN len
2e000ff2
SS
1538Apd |void |sv_usepvn_flags|NN SV *const sv|NULLOK char* ptr|const STRLEN len\
1539 |const U32 flags
66ceb532
SS
1540Apd |void |sv_vcatpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
1541 |NULLOK va_list *const args|NULLOK SV **const svargs|const I32 svmax \
1542 |NULLOK bool *const maybe_tainted
4bac9ae4
CS
1543Apd |void |sv_vcatpvfn_flags|NN SV *const sv|NN const char *const pat|const STRLEN patlen \
1544 |NULLOK va_list *const args|NULLOK SV **const svargs|const I32 svmax \
1545 |NULLOK bool *const maybe_tainted|const U32 flags
66ceb532
SS
1546Apd |void |sv_vsetpvfn |NN SV *const sv|NN const char *const pat|const STRLEN patlen \
1547 |NULLOK va_list *const args|NULLOK SV **const svargs \
1548 |const I32 svmax|NULLOK bool *const maybe_tainted
aec46f14 1549ApR |NV |str_to_version |NN SV *sv
768f8d98
KW
1550ApRM |SV* |swash_init |NN const char* pkg|NN const char* name|NN SV* listsv|I32 minbits|I32 none
1551ApM |UV |swash_fetch |NN SV *swash|NN const U8 *ptr|bool do_utf8
d764b54e 1552#ifdef PERL_IN_REGCOMP_C
a25abddc 1553EiMR |SV* |add_cp_to_invlist |NULLOK SV* invlist|const UV cp
bb023b4f 1554EiM |void |invlist_set_len|NN SV* const invlist|const UV len|const bool offset
b9c1a2c5 1555EiMRn |bool |invlist_is_iterating|NN SV* const invlist
b2458342 1556#ifndef PERL_EXT_RE_BUILD
f31df0ce
KW
1557EiMRn |UV* |_invlist_array_init |NN SV* const invlist|const bool will_have_0
1558EiMRn |UV |invlist_max |NN SV* const invlist
bec88f1b
KW
1559EsM |void |_append_range_to_invlist |NN SV* const invlist|const UV start|const UV end
1560EsM |void |invlist_extend |NN SV* const invlist|const UV len
96a7241d 1561EsM |void |invlist_replace_list_destroys_src|NN SV *dest|NN SV *src
dc3bf405 1562EiMRn |IV* |get_invlist_previous_index_addr|NN SV* invlist
dc3bf405 1563EiMn |void |invlist_set_previous_index|NN SV* const invlist|const IV index
b2458342 1564EiMRn |IV |invlist_previous_index|NN SV* const invlist
f0c0c5ad 1565EiMn |void |invlist_trim |NN SV* invlist
e7d603c0 1566EiM |void |invlist_clear |NN SV* invlist
22026221 1567#endif
25e94a65 1568EiMR |SV* |invlist_clone |NN SV* const invlist
dc3bf405
BF
1569EiMRn |STRLEN*|get_invlist_iter_addr |NN SV* invlist
1570EiMn |void |invlist_iterinit|NN SV* invlist
1571EsMRn |bool |invlist_iternext|NN SV* invlist|NN UV* start|NN UV* end
1572EiMn |void |invlist_iterfinish|NN SV* invlist
1573EiMRn |UV |invlist_highest|NN SV* const invlist
8c75ba15
HS
1574EMRs |SV* |_make_exactf_invlist |NN RExC_state_t *pRExC_state \
1575 |NN regnode *node
bb17e326
KW
1576EsMR |SV* |invlist_contents|NN SV* const invlist \
1577 |const bool traditional_style
839cfe5d
KW
1578#endif
1579#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_UTF8_C)
52ae8f7e 1580EXmM |void |_invlist_intersection |NN SV* const a|NN SV* const b|NN SV** i
a0316a6c
KW
1581EXpM |void |_invlist_intersection_maybe_complement_2nd \
1582 |NULLOK SV* const a|NN SV* const b \
1583 |const bool complement_b|NN SV** i
164173a2 1584EXmM |void |_invlist_union |NULLOK SV* const a|NN SV* const b|NN SV** output
a0316a6c
KW
1585EXpM |void |_invlist_union_maybe_complement_2nd \
1586 |NULLOK SV* const a|NN SV* const b \
1587 |const bool complement_b|NN SV** output
3f80b571 1588EXmM |void |_invlist_subtract|NN SV* const a|NN SV* const b|NN SV** result
50b01e0c 1589EXpM |void |_invlist_invert|NN SV* const invlist
47b34d72
KW
1590EXMpR |SV* |_new_invlist |IV initial_size
1591EXMpR |SV* |_swash_to_invlist |NN SV* const swash
d1e2fe7b 1592EXMpR |SV* |_add_range_to_invlist |NULLOK SV* invlist|UV start|UV end
31aa6e0b 1593EXMpR |SV* |_setup_canned_invlist|const STRLEN size|const UV element0|NN UV** other_elements_ptr
dc3bf405 1594EXMpn |void |_invlist_populate_swatch |NN SV* const invlist|const UV start|const UV end|NN U8* swatch
d764b54e 1595#endif
7baadcd0 1596#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C) || defined(PERL_IN_TOKE_C)
83199d38 1597EXp |SV* |_core_swash_init|NN const char* pkg|NN const char* name \
5d3d13d1 1598 |NN SV* listsv|I32 minbits|I32 none \
83199d38 1599 |NULLOK SV* invlist|NULLOK U8* const flags_p
7baadcd0
KW
1600#endif
1601#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_UTF8_C)
551cedb5 1602EiMRn |UV* |invlist_array |NN SV* const invlist
dc3bf405
BF
1603EiMRn |bool* |get_invlist_offset_addr|NN SV* invlist
1604EiMRn |UV |_invlist_len |NN SV* const invlist
1605EMiRn |bool |_invlist_contains_cp|NN SV* const invlist|const UV cp
f0858b7d 1606EXpMRn |SSize_t|_invlist_search |NN SV* const invlist|const UV cp
3fdfee00 1607EXMpR |SV* |_get_swash_invlist|NN SV* const swash
fb241e71 1608EXMpR |HV* |_swash_inversion_hash |NN SV* const swash
ad3f05ad 1609#endif
77d654fb
KW
1610#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
1611ApM |SV* |_get_regclass_nonbitmap_data \
1612 |NULLOK const regexp *prog \
ef9bc832
KW
1613 |NN const struct regnode *node \
1614 |bool doinit \
77d654fb 1615 |NULLOK SV **listsvp \
ef9bc832 1616 |NULLOK SV **lonly_utf8_locale \
b77aba85 1617 |NULLOK SV **output_invlist
31667e6b 1618EXp |void|_load_PL_utf8_foldclosures|
77d654fb 1619#endif
ad3f05ad
KW
1620#if defined(PERL_IN_REGCOMP_C) || defined (PERL_IN_DUMP_C)
1621EXMp |void |_invlist_dump |NN PerlIO *file|I32 level \
1622 |NN const char* const indent \
1623 |NN SV* const invlist
c4a5db0c 1624#endif
94bdecf9 1625Ap |void |taint_env
6fd06953 1626Ap |void |taint_proper |NULLOK const char* f|NN const char *const s
ca81472c 1627ApdD |UV |to_utf8_case |NN const U8 *p \
13cf59ef
KW
1628 |NN U8* ustrp \
1629 |NULLOK STRLEN *lenp \
1630 |NN SV **swashp \
1631 |NN const char *normal| \
1632 NULLOK const char *special
b9992569
KW
1633#if defined(PERL_IN_UTF8_C)
1634s |UV |_to_utf8_case |const UV uv1 \
1635 |NN const U8 *p \
1636 |NN U8* ustrp \
1637 |NULLOK STRLEN *lenp \
1638 |NN SV **swashp \
1639 |NN const char *normal \
1640 |NULLOK const char *special
1641#endif
5ff52e3c 1642Apbmd |UV |to_utf8_lower |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
445bf929 1643AMp |UV |_to_utf8_lower_flags |NN const U8 *p|NN U8* ustrp \
31f05a37 1644 |NULLOK STRLEN *lenp|bool flags
5ff52e3c 1645Apbmd |UV |to_utf8_upper |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
445bf929 1646AMp |UV |_to_utf8_upper_flags |NN const U8 *p|NN U8* ustrp \
31f05a37 1647 |NULLOK STRLEN *lenp|bool flags
5ff52e3c 1648Apbmd |UV |to_utf8_title |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
445bf929 1649AMp |UV |_to_utf8_title_flags |NN const U8 *p|NN U8* ustrp \
31f05a37 1650 |NULLOK STRLEN *lenp|bool flags
5ff52e3c 1651Apbmd |UV |to_utf8_fold |NN const U8 *p|NN U8* ustrp|NULLOK STRLEN *lenp
445bf929
KW
1652AMp |UV |_to_utf8_fold_flags|NN const U8 *p|NN U8* ustrp \
1653 |NULLOK STRLEN *lenp|U8 flags
83f78d1a 1654#if defined(PERL_IN_MG_C) || defined(PERL_IN_PP_C)
ddeaf645 1655pn |bool |translate_substr_offsets|STRLEN curlen|IV pos1_iv \
83f78d1a
FC
1656 |bool pos1_is_uv|IV len_iv \
1657 |bool len_is_uv|NN STRLEN *posp \
1658 |NN STRLEN *lenp
1659#endif
94bdecf9 1660#if defined(UNLINK_ALL_VERSIONS)
6e732051 1661Ap |I32 |unlnk |NN const char* f
94bdecf9 1662#endif
aec46f14
AL
1663Apd |I32 |unpack_str |NN const char *pat|NN const char *patend|NN const char *s \
1664 |NULLOK const char *strbeg|NN const char *strend|NULLOK char **new_s \
1665 |I32 ocnt|U32 flags
1666Apd |I32 |unpackstring |NN const char *pat|NN const char *patend|NN const char *s \
1667 |NN const char *strend|U32 flags
1668Ap |void |unsharepvn |NULLOK const char* sv|I32 len|U32 hash
67022846 1669: Used in gv.c, hv.c
78197f2f 1670p |void |unshare_hek |NULLOK HEK* hek
67022846 1671: Used in perly.y
aec46f14
AL
1672p |void |utilize |int aver|I32 floor|NULLOK OP* version|NN OP* idop|NULLOK OP* arg
1673Ap |U8* |utf16_to_utf8 |NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
1674Ap |U8* |utf16_to_utf8_reversed|NN U8* p|NN U8 *d|I32 bytelen|NN I32 *newlen
a3b680e6
AL
1675AdpPR |STRLEN |utf8_length |NN const U8* s|NN const U8 *e
1676ApdPR |IV |utf8_distance |NN const U8 *a|NN const U8 *b
4caf7d8c 1677ApdPRn |U8* |utf8_hop |NN const U8 *s|SSize_t off
4373e329 1678ApMd |U8* |utf8_to_bytes |NN U8 *s|NN STRLEN *len
fed3ba5d
NC
1679Apd |int |bytes_cmp_utf8 |NN const U8 *b|STRLEN blen|NN const U8 *u \
1680 |STRLEN ulen
aec46f14
AL
1681ApMd |U8* |bytes_from_utf8|NN const U8 *s|NN STRLEN *len|NULLOK bool *is_utf8
1682ApMd |U8* |bytes_to_utf8 |NN const U8 *s|NN STRLEN *len
977c1d31
KW
1683ApdD |UV |utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
1684ApdD |UV |utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen
5495102a 1685ApMD |UV |valid_utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen
de69f3af 1686Amd |UV |utf8_to_uvchr_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen
4f83cdcd 1687ApdD |UV |utf8_to_uvuni_buf |NN const U8 *s|NN const U8 *send|NULLOK STRLEN *retlen
211dff67 1688pM |bool |check_utf8_print |NN const U8 *s|const STRLEN len
1754c1a1 1689
aec46f14 1690Adp |UV |utf8n_to_uvchr |NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags
010ab96b 1691ApM |UV |valid_utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen
1754c1a1 1692
378516de 1693Ap |UV |utf8n_to_uvuni|NN const U8 *s|STRLEN curlen|NULLOK STRLEN *retlen|U32 flags
1754c1a1 1694
de69f3af 1695Adm |U8* |uvchr_to_utf8 |NN U8 *d|UV uv
a27992cc 1696Ap |U8* |uvuni_to_utf8 |NN U8 *d|UV uv
de69f3af 1697Adm |U8* |uvchr_to_utf8_flags |NN U8 *d|UV uv|UV flags
378516de
KW
1698Apd |U8* |uvoffuni_to_utf8_flags |NN U8 *d|UV uv|UV flags
1699Ap |U8* |uvuni_to_utf8_flags |NN U8 *d|UV uv|UV flags
7827dc65
AL
1700Apd |char* |pv_uni_display |NN SV *dsv|NN const U8 *spv|STRLEN len|STRLEN pvlim|UV flags
1701ApdR |char* |sv_uni_display |NN SV *dsv|NN SV *ssv|STRLEN pvlim|UV flags
d67fec57 1702: Used by Data::Alias
6d9a2efc 1703EXp |void |vivify_defelem |NN SV* sv
67022846 1704: Used in pp.c
9026059d 1705pR |SV* |vivify_ref |NN SV* sv|U32 to_what
67022846 1706: Used in pp_sys.c
aec46f14 1707p |I32 |wait4pid |Pid_t pid|NN int* statusp|int flags
67022846 1708: Used in locale.c and perl.c
7827dc65 1709p |U32 |parse_unicode_opts|NN const char **popt
0a87c459 1710Ap |U32 |seed
3be8f094
TC
1711Xpno |double |drand48_r |NN perl_drand48_t *random_state
1712Xpno |void |drand48_init_r |NN perl_drand48_t *random_state|U32 seed
67022846 1713: Only used in perl.c
a2098e20 1714p |void |get_hash_seed |NN unsigned char * const seed_buffer
67022846 1715: Used in doio.c, pp_hot.c, pp_sys.c
831e4cc3 1716p |void |report_evil_fh |NULLOK const GV *gv
a5390457
NC
1717: Used in doio.c, pp_hot.c, pp_sys.c
1718p |void |report_wrongway_fh|NULLOK const GV *gv|const char have
67022846 1719: Used in mg.c, pp.c, pp_hot.c, regcomp.c
b3dbd76e 1720XEpd |void |report_uninit |NULLOK const SV *uninit_sv
156d738f
FC
1721#if defined(PERL_IN_OP_C) || defined(PERL_IN_SV_C)
1722p |void |report_redefined_cv|NN const SV *name \
1723 |NN const CV *old_cv \
1724 |NULLOK SV * const *new_const_svp
1725#endif
c5df3096 1726Apd |void |warn_sv |NN SV *baseex
aec46f14 1727Afpd |void |warn |NN const char* pat|...
c5df3096 1728Apd |void |vwarn |NN const char* pat|NULLOK va_list* args
aec46f14 1729Afp |void |warner |U32 err|NN const char* pat|...
a2a5de95 1730Afp |void |ck_warner |U32 err|NN const char* pat|...
9b387841 1731Afp |void |ck_warner_d |U32 err|NN const char* pat|...
aec46f14 1732Ap |void |vwarner |U32 err|NN const char* pat|NULLOK va_list* args
470dd224
JH
1733#ifdef USE_C_BACKTRACE
1734pd |Perl_c_backtrace*|get_c_backtrace|int max_depth|int skip
1735dm |void |free_c_backtrace|NN Perl_c_backtrace* bt
1736Apd |SV* |get_c_backtrace_dump|int max_depth|int skip
1737Apd |bool |dump_c_backtrace|NN PerlIO* fp|int max_depth|int skip
1738#endif
67022846 1739: FIXME
aec46f14 1740p |void |watch |NN char** addr
a377a099 1741Am |I32 |whichsig |NN const char* sig
84c7b88c
BF
1742Ap |I32 |whichsig_sv |NN SV* sigsv
1743Ap |I32 |whichsig_pv |NN const char* sig
1744Ap |I32 |whichsig_pvn |NN const char* sig|STRLEN len
a4570f51 1745#ifndef PERL_NO_INLINE_FUNCTIONS
c8028aa6 1746: used to check for NULs in pathnames and other names
41188aa0 1747AiR |bool |is_safe_syscall|NN const char *pv|STRLEN len|NN const char *what|NN const char *op_name
a4570f51 1748#endif
81f54ac7 1749#ifdef PERL_CORE
7cb3f959 1750inR |bool |should_warn_nl|NN const char *pv
81f54ac7 1751#endif
67022846 1752: Used in pp_ctl.c
7d0994e0 1753p |void |write_to_stderr|NN SV* msv
67022846 1754: Used in op.c
15f169a1 1755p |int |yyerror |NN const char *const s
19c62481
BF
1756p |int |yyerror_pv |NN const char *const s|U32 flags
1757p |int |yyerror_pvn |NN const char *const s|STRLEN len|U32 flags
d67fec57 1758: Used in perly.y, and by Data::Alias
6d9a2efc 1759EXp |int |yylex
28ac2b49 1760p |void |yyunlex
67022846 1761: Used in perl.c, pp_ctl.c
28ac2b49 1762p |int |yyparse |int gramtype
67022846 1763: Only used in scope.c
734c2451 1764p |void |parser_free |NN const yy_parser *parser
3ac7ff8f
FC
1765#ifdef PERL_CORE
1766p |void |parser_free_nexttoke_ops|NN yy_parser *parser \
1767 |NN OPSLAB *slab
1768#endif
43869a0c 1769#if defined(PERL_IN_TOKE_C)
19c62481 1770s |int |yywarn |NN const char *const s|U32 flags
af41e527 1771#endif
94bdecf9 1772#if defined(MYMALLOC)
6e9b0e18 1773Ap |void |dump_mstats |NN const char* s
ec1aec95 1774Ap |int |get_mstats |NN perl_mstats_t *buf|int buflen|int level
94bdecf9 1775#endif
4373e329
AL
1776Anpa |Malloc_t|safesysmalloc |MEM_SIZE nbytes
1777Anpa |Malloc_t|safesyscalloc |MEM_SIZE elements|MEM_SIZE size
346c6a29 1778AnpR |Malloc_t|safesysrealloc|Malloc_t where|MEM_SIZE nbytes
94bdecf9 1779Anp |Free_t |safesysfree |Malloc_t where
d1decf2b 1780Asrnx |void |croak_memory_wrap
94bdecf9
JH
1781#if defined(PERL_GLOBAL_STRUCT)
1782Ap |struct perl_vars *|GetVars
77304e85 1783Ap |struct perl_vars*|init_global_struct
7827dc65 1784Ap |void |free_global_struct|NN struct perl_vars *plvarsp
94bdecf9
JH
1785#endif
1786Ap |int |runops_standard
1787Ap |int |runops_debug
66ceb532
SS
1788Afpd |void |sv_catpvf_mg |NN SV *const sv|NN const char *const pat|...
1789Apd |void |sv_vcatpvf_mg |NN SV *const sv|NN const char *const pat \
1790 |NULLOK va_list *const args
2b021c53 1791Apd |void |sv_catpv_mg |NN SV *const sv|NULLOK const char *const ptr
b347df82 1792Apdbm |void |sv_catpvn_mg |NN SV *sv|NN const char *ptr|STRLEN len
4048f010 1793Apdbm |void |sv_catsv_mg |NN SV *dsv|NULLOK SV *ssv
89e38212
SS
1794Afpd |void |sv_setpvf_mg |NN SV *const sv|NN const char *const pat|...
1795Apd |void |sv_vsetpvf_mg |NN SV *const sv|NN const char *const pat \
1796 |NULLOK va_list *const args
aad570aa 1797Apd |void |sv_setiv_mg |NN SV *const sv|const IV i
3d9637d6 1798Apdb |void |sv_setpviv_mg |NN SV *const sv|const IV iv
aad570aa
SS
1799Apd |void |sv_setuv_mg |NN SV *const sv|const UV u
1800Apd |void |sv_setnv_mg |NN SV *const sv|const NV num
2e000ff2
SS
1801Apd |void |sv_setpv_mg |NN SV *const sv|NULLOK const char *const ptr
1802Apd |void |sv_setpvn_mg |NN SV *const sv|NN const char *const ptr|const STRLEN len
7bc54cea 1803Apd |void |sv_setsv_mg |NN SV *const dstr|NULLOK SV *const sstr
47518d95 1804Apdbm |void |sv_usepvn_mg |NN SV *sv|NULLOK char *ptr|STRLEN len
aec46f14 1805ApR |MGVTBL*|get_vtbl |int vtbl_id
3df15adc 1806Apd |char* |pv_display |NN SV *dsv|NN const char *pv|STRLEN cur|STRLEN len \
94bdecf9 1807 |STRLEN pvlim
4420a417 1808Apd |char* |pv_escape |NULLOK SV *dsv|NN char const * const str\
ab3bbdeb
YO
1809 |const STRLEN count|const STRLEN max\
1810 |NULLOK STRLEN * const escaped\
1811 |const U32 flags
ddc5bc0f 1812Apd |char* |pv_pretty |NN SV *dsv|NN char const * const str\
ab3bbdeb 1813 |const STRLEN count|const STRLEN max\
ddc5bc0f
YO
1814 |NULLOK char const * const start_color\
1815 |NULLOK char const * const end_color\
ab3bbdeb 1816 |const U32 flags
aec46f14
AL
1817Afp |void |dump_indent |I32 level|NN PerlIO *file|NN const char* pat|...
1818Ap |void |dump_vindent |I32 level|NN PerlIO *file|NN const char* pat \
1819 |NULLOK va_list *args
b4390064
NC
1820Ap |void |do_gv_dump |I32 level|NN PerlIO *file|NN const char *name\
1821 |NULLOK GV *sv
1822Ap |void |do_gvgv_dump |I32 level|NN PerlIO *file|NN const char *name\
1823 |NULLOK GV *sv
4c31e473
NC
1824Ap |void |do_hv_dump |I32 level|NN PerlIO *file|NN const char *name\
1825 |NULLOK HV *sv
3dc78631 1826Ap |void |do_magic_dump |I32 level|NN PerlIO *file|NULLOK const MAGIC *mg|I32 nest \
94bdecf9 1827 |I32 maxnest|bool dumpops|STRLEN pvlim
aec46f14
AL
1828Ap |void |do_op_dump |I32 level|NN PerlIO *file|NULLOK const OP *o
1829Ap |void |do_pmop_dump |I32 level|NN PerlIO *file|NULLOK const PMOP *pm
1b6737cc 1830Ap |void |do_sv_dump |I32 level|NN PerlIO *file|NULLOK SV *sv|I32 nest \
94bdecf9 1831 |I32 maxnest|bool dumpops|STRLEN pvlim
1b6737cc 1832Ap |void |magic_dump |NULLOK const MAGIC *mg
94bdecf9 1833Ap |void |reginitcolors
cb2f1b7b
NC
1834ApdRmb |char* |sv_2pv_nolen |NN SV* sv
1835ApdRmb |char* |sv_2pvutf8_nolen|NN SV* sv
1836ApdRmb |char* |sv_2pvbyte_nolen|NN SV* sv
5ff52e3c
KW
1837ApmdbR |char* |sv_pv |NN SV *sv
1838ApmdbR |char* |sv_pvutf8 |NN SV *sv
1839ApmdbR |char* |sv_pvbyte |NN SV *sv
1840Apmdb |STRLEN |sv_utf8_upgrade|NN SV *sv
6a71721d 1841Amd |STRLEN |sv_utf8_upgrade_nomg|NN SV *sv
7bc54cea
SS
1842ApdM |bool |sv_utf8_downgrade|NN SV *const sv|const bool fail_ok
1843Apd |void |sv_utf8_encode |NN SV *const sv
1844ApdM |bool |sv_utf8_decode |NN SV *const sv
5abc721d 1845Apdmb |void |sv_force_normal|NN SV *sv
2e000ff2 1846Apd |void |sv_force_normal_flags|NN SV *const sv|const U32 flags
a953aca5 1847pX |SSize_t|tmps_grow_p |SSize_t ix
2b021c53 1848Apd |SV* |sv_rvweaken |NN SV *const sv
26b17dd2 1849AnpPMd |SV* |sv_get_backrefs|NN SV *const sv
67022846 1850: This is indirectly referenced by globals.c. This is somewhat annoying.
b64e5050 1851p |int |magic_killbackrefs|NN SV *sv|NN MAGIC *mg
46c461b5 1852Ap |OP* |newANONATTRSUB |I32 floor|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
e8f91c91
DD
1853Am |CV* |newATTRSUB |I32 floor|NULLOK OP *o|NULLOK OP *proto|NULLOK OP *attrs|NULLOK OP *block
1854pX |CV* |newATTRSUB_x |I32 floor|NULLOK OP *o|NULLOK OP *proto \
7e68c38b 1855 |NULLOK OP *attrs|NULLOK OP *block \
e8f91c91 1856 |bool o_is_gv
50278755 1857Ap |CV * |newMYSUB |I32 floor|NN OP *o|NULLOK OP *proto \
eb8433b7 1858 |NULLOK OP *attrs|NULLOK OP *block
186a5ba8 1859p |CV* |newSTUB |NN GV *gv|bool fake
67022846 1860: Used in perly.y
46c461b5 1861p |OP * |my_attrs |NN OP *o|NULLOK OP *attrs
94bdecf9 1862#if defined(USE_ITHREADS)
6c047da7
YST
1863ApR |PERL_CONTEXT*|cx_dup |NULLOK PERL_CONTEXT* cx|I32 ix|I32 max|NN CLONE_PARAMS* param
1864ApR |PERL_SI*|si_dup |NULLOK PERL_SI* si|NN CLONE_PARAMS* param
346c6a29 1865ApR |ANY* |ss_dup |NN PerlInterpreter* proto_perl|NN CLONE_PARAMS* param
6c047da7
YST
1866ApR |void* |any_dup |NULLOK void* v|NN const PerlInterpreter* proto_perl
1867ApR |HE* |he_dup |NULLOK const HE* e|bool shared|NN CLONE_PARAMS* param
1868ApR |HEK* |hek_dup |NULLOK HEK* e|NN CLONE_PARAMS* param
288b8c02
NC
1869Ap |void |re_dup_guts |NN const REGEXP *sstr|NN REGEXP *dstr \
1870 |NN CLONE_PARAMS* param
66ceb532 1871Ap |PerlIO*|fp_dup |NULLOK PerlIO *const fp|const char type|NN CLONE_PARAMS *const param
60b22aca 1872ApR |DIR* |dirp_dup |NULLOK DIR *const dp|NN CLONE_PARAMS *const param
66ceb532 1873ApR |GP* |gp_dup |NULLOK GP *const gp|NN CLONE_PARAMS *const param
b88ec9b8 1874ApR |MAGIC* |mg_dup |NULLOK MAGIC *mg|NN CLONE_PARAMS *const param
43869a0c 1875#if defined(PERL_IN_SV_C)
538f2e76
NC
1876s |SV ** |sv_dup_inc_multiple|NN SV *const *source|NN SV **dest \
1877 |SSize_t items|NN CLONE_PARAMS *const param
d08d57ef
NC
1878sR |SV* |sv_dup_common |NN const SV *const sstr \
1879 |NN CLONE_PARAMS *const param
1880#endif
1eb6e4ca 1881ApR |SV* |sv_dup |NULLOK const SV *const sstr|NN CLONE_PARAMS *const param
a09252eb
NC
1882ApR |SV* |sv_dup_inc |NULLOK const SV *const sstr \
1883 |NN CLONE_PARAMS *const param
1eb6e4ca 1884Ap |void |rvpv_dup |NN SV *const dstr|NN const SV *const sstr|NN CLONE_PARAMS *const param
66ceb532 1885Ap |yy_parser*|parser_dup |NULLOK const yy_parser *const proto|NN CLONE_PARAMS *const param
4674ade5 1886#endif
346c6a29 1887ApR |PTR_TBL_t*|ptr_table_new
1eb6e4ca
SS
1888ApR |void* |ptr_table_fetch|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
1889Ap |void |ptr_table_store|NN PTR_TBL_t *const tbl|NULLOK const void *const oldsv \
1890 |NN void *const newsv
1891Ap |void |ptr_table_split|NN PTR_TBL_t *const tbl
5c5ade3e 1892ApD |void |ptr_table_clear|NULLOK PTR_TBL_t *const tbl
1eb6e4ca 1893Ap |void |ptr_table_free|NULLOK PTR_TBL_t *const tbl
ddacffcf 1894#if defined(HAVE_INTERP_INTERN)
94bdecf9
JH
1895Ap |void |sys_intern_clear
1896Ap |void |sys_intern_init
fe826663
NC
1897# if defined(USE_ITHREADS)
1898Ap |void |sys_intern_dup |NN struct interp_intern* src|NN struct interp_intern* dst
1899# endif
94bdecf9
JH
1900#endif
1901
ae103e09 1902AmopP |const XOP * |custom_op_xop |NN const OP *o
4048f010
NC
1903ApR |const char * |custom_op_name |NN const OP *o
1904ApR |const char * |custom_op_desc |NN const OP *o
ae103e09 1905pRX |XOPRETANY |custom_op_get_field |NN const OP *o|const xop_flags_enum field
1830b3d9
BM
1906Aop |void |custom_op_register |NN Perl_ppaddr_t ppaddr \
1907 |NN const XOP *xop
94bdecf9 1908
c48640ec
AL
1909Adp |void |sv_nosharing |NULLOK SV *sv
1910Adpbm |void |sv_nolocking |NULLOK SV *sv
eba16661 1911Adp |bool |sv_destroyable |NULLOK SV *sv
d0647d4e 1912Adpb |void |sv_nounlocking |NULLOK SV *sv
62375a60 1913Adp |int |nothreadhook
0d96b528 1914p |void |init_constants
94bdecf9 1915
43869a0c 1916#if defined(PERL_IN_DOOP_C)
c395bd6c
AL
1917sR |I32 |do_trans_simple |NN SV * const sv
1918sR |I32 |do_trans_count |NN SV * const sv
1919sR |I32 |do_trans_complex |NN SV * const sv
1920sR |I32 |do_trans_simple_utf8 |NN SV * const sv
1921sR |I32 |do_trans_count_utf8 |NN SV * const sv
1922sR |I32 |do_trans_complex_utf8 |NN SV * const sv
94bdecf9
JH
1923#endif
1924
43869a0c 1925#if defined(PERL_IN_GV_C)
e6066781 1926s |void |gv_init_svtype |NN GV *gv|const svtype sv_type
290a1700 1927s |void |gv_magicalize_isa |NN GV *gv
90aeefb4
BF
1928s |bool|parse_gv_stash_name|NN HV **stash|NN GV **gv \
1929 |NN const char **name|NN STRLEN *len \
1930 |NN const char *nambeg|STRLEN full_len \
1931 |const U32 is_utf8|const I32 add
1932s |bool|find_default_stash|NN HV **stash|NN const char *name \
1933 |STRLEN len|const U32 is_utf8|const I32 add \
b3041197 1934 |const svtype sv_type
930867a8 1935s |bool|gv_magicalize|NN GV *gv|NN HV *stash|NN const char *name \
71c35c05 1936 |STRLEN len|bool addmg \
b3041197 1937 |const svtype sv_type
070dc475 1938s |void|maybe_multimagic_gv|NN GV *gv|NN const char *name|const svtype sv_type
536d1a88
BF
1939s |bool|gv_is_in_main|NN const char *name|STRLEN len \
1940 |const U32 is_utf8
e94ea821
FC
1941s |void |require_tie_mod|NN GV *gv|NN const char *varpv|NN SV* namesv \
1942 |const U32 flags
94bdecf9
JH
1943#endif
1944
e0171a1a
DM
1945#if defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C)
1946po |SV* |hfree_next_entry |NN HV *hv|NN STRLEN *indexp
1947#endif
1948
43869a0c 1949#if defined(PERL_IN_HV_C)
adf6906b 1950s |void |hsplit |NN HV *hv|STRLEN const oldsize|STRLEN newsize
3abe233e 1951s |void |hfreeentries |NN HV *hv
a03199ea 1952s |SV* |hv_free_ent_ret|NN HV *hv|NN HE *entry
346c6a29 1953sR |HE* |new_he
5f66b61c 1954sanR |HEK* |save_hek_flags |NN const char *str|I32 len|U32 hash|int flags
b0e6ae5b 1955sn |void |hv_magic_check |NN HV *hv|NN bool *needs_copy|NN bool *needs_store
1b6737cc 1956s |void |unshare_hek_or_pvn|NULLOK const HEK* hek|NULLOK const char* str|I32 len|U32 hash
4048f010 1957sR |HEK* |share_hek_flags|NN const char *str|I32 len|U32 hash|int flags
1df70142 1958rs |void |hv_notallowed |int flags|NN const char *key|I32 klen|NN const char *msg
ec79994d 1959in |U32|ptr_hash|PTRV u
0e0ab621 1960s |struct xpvhv_aux*|hv_auxinit|NN HV *hv
bea177f3 1961sn |struct xpvhv_aux*|hv_auxinit_internal|NN struct xpvhv_aux *iter
4048f010
NC
1962sM |SV* |hv_delete_common|NULLOK HV *hv|NULLOK SV *keysv \
1963 |NULLOK const char *key|STRLEN klen|int k_flags|I32 d_flags \
1964 |U32 hash
1965sM |void |clear_placeholders |NN HV *hv|U32 items
94bdecf9
JH
1966#endif
1967
43869a0c 1968#if defined(PERL_IN_MG_C)
ff44333e 1969s |void |save_magic_flags|I32 mgs_ix|NN SV *sv|U32 flags
1be7e5f1 1970s |int |magic_methpack |NN SV *sv|NN const MAGIC *mg|NN SV *meth
efaf3674 1971s |SV* |magic_methcall1|NN SV *sv|NN const MAGIC *mg \
36925d9e 1972 |NN SV *meth|U32 flags \
aec46f14 1973 |int n|NULLOK SV *val
251cc6a6 1974s |void |restore_magic |NULLOK const void *p
0c4d3b5e 1975s |void |unwind_handler_stack|NULLOK const void *p
d9fe7d23 1976s |void |fixup_errno_string|NN SV* sv
8772537c 1977
94bdecf9
JH
1978#endif
1979
43869a0c 1980#if defined(PERL_IN_OP_C)
5f66b61c 1981sRn |bool |is_handle_constructor|NN const OP *o|I32 numargs
4fec8804 1982sR |I32 |assignment_type|NULLOK const OP *o
23083432 1983s |void |forget_pmop |NN PMOP *const o
bfd0ff22 1984s |void |find_and_forget_pmops |NN OP *o
504618e9 1985s |void |cop_free |NN COP *cop
46c461b5 1986s |OP* |modkids |NULLOK OP *o|I32 type
504618e9 1987s |OP* |scalarboolean |NN OP *o
71c4dbc3 1988sR |OP* |search_const |NN OP *o
504618e9
AL
1989sR |OP* |new_logop |I32 type|I32 flags|NN OP **firstp|NN OP **otherp
1990s |void |simplify_sort |NN OP *o
1ecbeecf 1991sRn |bool |scalar_mod_type|NULLOK const OP *o|I32 type
aec46f14
AL
1992s |OP * |my_kid |NULLOK OP *o|NULLOK OP *attrs|NN OP **imopsp
1993s |OP * |dup_attrlist |NN OP *o
ad0dc73b 1994s |void |apply_attrs |NN HV *stash|NN SV *target|NULLOK OP *attrs
aec46f14 1995s |void |apply_attrs_my |NN HV *stash|NN OP *target|NULLOK OP *attrs|NN OP **imopsp
ed9feedd
DD
1996s |void |bad_type_pv |I32 n|NN const char *t|NN const OP *o|NN const OP *kid
1997s |void |bad_type_gv |I32 n|NN GV *gv|NN const OP *kid|NN const char *t
eb796c7f 1998s |void |no_bareword_allowed|NN OP *o
504618e9 1999sR |OP* |no_fh_allowed|NN OP *o
ce16c625
BF
2000sR |OP* |too_few_arguments_pv|NN OP *o|NN const char* name|U32 flags
2001s |OP* |too_many_arguments_pv|NN OP *o|NN const char* name|U32 flags
ef519e13 2002s |bool |looks_like_bool|NN const OP* o
0d863452
RH
2003s |OP* |newGIVWHENOP |NULLOK OP* cond|NN OP *block \
2004 |I32 enter_opcode|I32 leave_opcode \
2005 |PADOFFSET entertarg
2006s |OP* |ref_array_or_hash|NULLOK OP* cond
2eaf799e 2007s |bool |process_special_blocks |I32 floor \
d699ecb7 2008 |NN const char *const fullname\
33fb7a6e 2009 |NN GV *const gv|NN CV *const cv
3969ff3f
TC
2010s |void |clear_special_blocks |NN const char *const fullname\
2011 |NN GV *const gv|NN CV *const cv
c7e45529 2012#endif
346c6a29 2013XpR |void* |Slab_Alloc |size_t sz
8be227ab
FC
2014Xp |void |Slab_Free |NN void *op
2015#if defined(PERL_DEBUG_READONLY_OPS)
7aef8e5b 2016# if defined(PERL_CORE)
3107b51f 2017px |void |Slab_to_ro |NN OPSLAB *slab
7bbbc3c0 2018px |void |Slab_to_rw |NN OPSLAB *const slab
3107b51f 2019# endif
67022846 2020: Used in OpREFCNT_inc() in sv.c
fc97af9c 2021poxM |OP * |op_refcnt_inc |NULLOK OP *o
67022846 2022: FIXME - can be static.
fc97af9c 2023poxM |PADOFFSET |op_refcnt_dec |NN OP *o
94bdecf9
JH
2024#endif
2025
43869a0c 2026#if defined(PERL_IN_PERL_C)
2f9285f8 2027s |void |find_beginning |NN SV* linestr_sv|NN PerlIO *rsfp
f20b2998 2028s |void |forbid_setid |const char flag|const bool suidscript
08d0d8ab 2029s |void |incpush |NN const char *const dir|STRLEN len \
55b4bc1c 2030 |U32 flags
c29067d7
CH
2031s |SV* |mayberelocate |NN const char *const dir|STRLEN len \
2032 |U32 flags
50d61629 2033s |void |incpush_use_sep|NN const char *p|STRLEN len|U32 flags
94bdecf9
JH
2034s |void |init_interp
2035s |void |init_ids
94bdecf9 2036s |void |init_main_stash
2cace6ac 2037s |void |init_perllib
aec46f14 2038s |void |init_postdump_symbols|int argc|NN char **argv|NULLOK char **env
94bdecf9
JH
2039s |void |init_predump_symbols
2040rs |void |my_exit_jump
2041s |void |nuke_stacks
8d113837
NC
2042s |PerlIO *|open_script |NN const char *scriptname|bool dosearch \
2043 |NN bool *suidscript
b6f82619 2044sr |void |usage
cc69b689 2045#ifndef SETUID_SCRIPTS_ARE_SECURE_NOW
ec2019ad 2046so |void |validate_suid |NN PerlIO *rsfp
ec2019ad 2047#endif
c4bc78d9 2048sr |void |minus_v
2f9285f8 2049
aec46f14 2050s |void* |parse_body |NULLOK char **env|XSINIT_t xsinit
dd374669 2051rs |void |run_body |I32 oldscope
59d6f6a4 2052# ifndef PERL_IS_MINIPERL
7ffdaae6 2053s |SV * |incpush_if_exists|NN AV *const av|NN SV *dir|NN SV *const stem
59d6f6a4 2054# endif
94bdecf9
JH
2055#endif
2056
43869a0c 2057#if defined(PERL_IN_PP_C)
f595e19f 2058s |size_t |do_chomp |NN SV *retval|NN SV *sv|bool chomping
7332a6c4 2059s |OP* |do_delete_local
aec46f14 2060sR |SV* |refto |NN SV* sv
94bdecf9 2061#endif
43869a0c 2062#if defined(PERL_IN_PP_C) || defined(PERL_IN_PP_HOT_C)
67022846 2063: Used in pp_hot.c
dc3c76f8 2064pRxo |GV* |softref2xv |NN SV *const sv|NN const char *const what \
fe9845cc 2065 |const svtype type|NN SV ***spp
dc3c76f8 2066#endif
94bdecf9 2067
43869a0c 2068#if defined(PERL_IN_PP_PACK_C)
aec46f14
AL
2069s |I32 |unpack_rec |NN struct tempsym* symptr|NN const char *s \
2070 |NN const char *strbeg|NN const char *strend|NULLOK const char **new_s
2071s |SV ** |pack_rec |NN SV *cat|NN struct tempsym* symptr|NN SV **beglist|NN SV **endlist
4373e329
AL
2072s |SV* |mul128 |NN SV *sv|U8 m
2073s |I32 |measure_struct |NN struct tempsym* symptr
2074s |bool |next_symbol |NN struct tempsym* symptr
1df70142 2075sR |SV* |is_an_int |NN const char *s|STRLEN l
4373e329 2076s |int |div128 |NN SV *pnum|NN bool *done
4048f010
NC
2077s |const char *|group_end |NN const char *patptr|NN const char *patend \
2078 |char ender
2079sR |const char *|get_num |NN const char *patptr|NN I32 *lenptr
aec46f14
AL
2080ns |bool |need_utf8 |NN const char *pat|NN const char *patend
2081ns |char |first_symbol |NN const char *pat|NN const char *patend
0bd48802 2082sR |char * |sv_exp_grow |NN SV *sv|STRLEN needed
d21d7215 2083snR |char * |my_bytes_to_utf8|NN const U8 *start|STRLEN len|NN char *dest \
3a88beaa 2084 |const bool needs_swap
94bdecf9
JH
2085#endif
2086
43869a0c 2087#if defined(PERL_IN_PP_CTL_C)
46c461b5 2088sR |OP* |docatch |NULLOK OP *o
5db1eb8d
BF
2089sR |OP* |dofindlabel |NN OP *o|NN const char *label|STRLEN len \
2090 |U32 flags|NN OP **opstack|NN OP **oplimit
74e0ddf7 2091s |MAGIC *|doparseform |NN SV *sv
901017d6
AL
2092snR |bool |num_overflow |NV value|I32 fldsize|I32 frcsize
2093sR |I32 |dopoptoeval |I32 startingblock
97f2561e 2094sR |I32 |dopoptogivenfor|I32 startingblock
5db1eb8d 2095sR |I32 |dopoptolabel |NN const char *label|STRLEN len|U32 flags
901017d6 2096sR |I32 |dopoptoloop |I32 startingblock
aec46f14 2097sR |I32 |dopoptosub_at |NN const PERL_CONTEXT* cxstk|I32 startingblock
0d863452 2098sR |I32 |dopoptowhen |I32 startingblock
46c461b5 2099s |void |save_lines |NULLOK AV *array|NN SV *sv
1c23e2bd 2100s |bool |doeval_compile |U8 gimme \
f45b078d 2101 |NULLOK CV* outside|U32 seq|NULLOK HV* hh
282b29ee 2102sR |PerlIO *|check_type_and_open|NN SV *name
75c20bac 2103#ifndef PERL_DISABLE_PMC
282b29ee 2104sR |PerlIO *|doopen_pm |NN SV *name
75c20bac 2105#endif
511712dc 2106iRn |bool |path_is_searchable|NN const char *name
0bd48802 2107sR |I32 |run_user_filter|int idx|NN SV *buf_sv|int maxlen
84679df5 2108sR |PMOP* |make_matcher |NN REGEXP* re
0d863452
RH
2109sR |bool |matcher_matches_sv|NN PMOP* matcher|NN SV* sv
2110s |void |destroy_matcher|NN PMOP* matcher
be88a5c3
FC
2111s |OP* |do_smartmatch |NULLOK HV* seen_this \
2112 |NULLOK HV* seen_other|const bool copied
94bdecf9
JH
2113#endif
2114
43869a0c 2115#if defined(PERL_IN_PP_HOT_C)
fb8f4cf8 2116s |void |do_oddball |NN SV **oddkey|NN SV **firstkey
7d6c333c 2117i |HV* |opmethod_stash |NN SV* meth
94bdecf9
JH
2118#endif
2119
43869a0c 2120#if defined(PERL_IN_PP_SORT_C)
31e9e0a3
SH
2121s |I32 |sv_ncmp |NN SV *const a|NN SV *const b
2122s |I32 |sv_i_ncmp |NN SV *const a|NN SV *const b
2123s |I32 |amagic_ncmp |NN SV *const a|NN SV *const b
2124s |I32 |amagic_i_ncmp |NN SV *const a|NN SV *const b
2125s |I32 |amagic_cmp |NN SV *const str1|NN SV *const str2
0ce92b9f 2126# ifdef USE_LOCALE_COLLATE
31e9e0a3 2127s |I32 |amagic_cmp_locale|NN SV *const str1|NN SV *const str2
0ce92b9f 2128# endif
31e9e0a3
SH
2129s |I32 |sortcv |NN SV *const a|NN SV *const b
2130s |I32 |sortcv_xsub |NN SV *const a|NN SV *const b
2131s |I32 |sortcv_stacked |NN SV *const a|NN SV *const b
3d4dd4c7 2132s |void |qsortsvu |NULLOK SV** array|size_t num_elts|NN SVCOMPARE_t compare
f0f5dc9d
AL
2133#endif
2134
43869a0c 2135#if defined(PERL_IN_PP_SYS_C)
10223365 2136s |OP* |doform |NN CV *cv|NN GV *gv|NULLOK OP *retop
94bdecf9 2137# if !defined(HAS_MKDIR) || !defined(HAS_RMDIR)
b464bac0 2138sR |int |dooneliner |NN const char *cmd|NN const char *filename
94bdecf9 2139# endif
d35c1b5e 2140s |SV * |space_join_names_mortal|NULLOK char *const *array
94bdecf9 2141#endif
3e0cb5de 2142p |OP * |tied_method|NN SV *methname|NN SV **sp \
d682515d
NC
2143 |NN SV *const sv|NN const MAGIC *const mg \
2144 |const U32 flags|U32 argc|...
94bdecf9 2145
8b9781c9
YO
2146#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C)
2147Ep |void |regprop |NULLOK const regexp *prog|NN SV* sv|NN const regnode* o|NULLOK const regmatch_info *reginfo \
2148 |NULLOK const RExC_state_t *pRExC_state
7b031478 2149Ep |int |re_printf |NN const char *fmt|...
8b9781c9 2150#endif
43869a0c 2151#if defined(PERL_IN_REGCOMP_C)
09b2b2e6 2152Es |regnode*|reg |NN RExC_state_t *pRExC_state \
4048f010 2153 |I32 paren|NN I32 *flagp|U32 depth
f917fa87
KW
2154Es |regnode*|regnode_guts |NN RExC_state_t *pRExC_state \
2155 |const U8 op \
2156 |const STRLEN extra_len \
2157 |NN const char* const name
09b2b2e6 2158Es |regnode*|reganode |NN RExC_state_t *pRExC_state|U8 op \
4048f010 2159 |U32 arg
9990d5ab
KW
2160Es |regnode*|reg2Lanode |NN RExC_state_t *pRExC_state \
2161 |const U8 op \
2162 |const U32 arg1 \
2163 |const I32 arg2
09b2b2e6 2164Es |regnode*|regatom |NN RExC_state_t *pRExC_state \
4048f010 2165 |NN I32 *flagp|U32 depth
09b2b2e6 2166Es |regnode*|regbranch |NN RExC_state_t *pRExC_state \
4048f010 2167 |NN I32 *flagp|I32 first|U32 depth
09b2b2e6 2168Es |void |set_ANYOF_arg |NN RExC_state_t* const pRExC_state \
d2b7f31e 2169 |NN regnode* const node \
9991ebf1 2170 |NULLOK SV* const cp_list \
d2b7f31e 2171 |NULLOK SV* const runtime_defns \
1ee208c4 2172 |NULLOK SV* const only_utf8_locale_list \
9991ebf1
KW
2173 |NULLOK SV* const swash \
2174 |const bool has_user_defined_property
b7c50ab8
KW
2175Es |void |output_or_return_posix_warnings \
2176 |NN RExC_state_t *pRExC_state \
2177 |NN AV* posix_warnings \
2178 |NULLOK AV** return_posix_warnings
a5454c46 2179Es |AV* |add_multi_match|NULLOK AV* multi_char_matches \
8f0cd35a 2180 |NN SV* multi_string \
a5454c46 2181 |const STRLEN cp_count
af631a26 2182Es |regnode*|regclass |NN RExC_state_t *pRExC_state \
8316ead6 2183 |NN I32 *flagp|U32 depth|const bool stop_at_1 \
9b98bc7f 2184 |bool allow_multi_fold \
af631a26
KW
2185 |const bool silence_non_portable \
2186 |const bool strict \
46d34d0e
KW
2187 |bool optimizable \
2188 |NULLOK SV** ret_invlist \
acb2202e 2189 |NULLOK AV** return_posix_warnings
8954b91a
KW
2190Es |void|add_above_Latin1_folds|NN RExC_state_t *pRExC_state|const U8 cp \
2191 |NN SV** invlist
6421685e
KW
2192Ei |regnode*|handle_named_backref|NN RExC_state_t *pRExC_state \
2193 |NN I32 *flagp \
2194 |NN char * parse_start \
2195 |char ch
6798c95d 2196EsnP |unsigned int|regex_set_precedence|const U8 my_operator
09b2b2e6 2197Es |regnode*|handle_regex_sets|NN RExC_state_t *pRExC_state \
b5864679 2198 |NULLOK SV ** return_invlist \
f4f5fe57 2199 |NN I32 *flagp|U32 depth \
9d1a5160 2200 |NN char * const oregcomp_parse
09b2b2e6
KW
2201Es |void|parse_lparen_question_flags|NN RExC_state_t *pRExC_state
2202Es |regnode*|reg_node |NN RExC_state_t *pRExC_state|U8 op
09b2b2e6 2203Es |regnode*|regpiece |NN RExC_state_t *pRExC_state \
4048f010 2204 |NN I32 *flagp|U32 depth
b6d67071
KW
2205Es |bool |grok_bslash_N |NN RExC_state_t *pRExC_state \
2206 |NULLOK regnode** nodep \
2207 |NULLOK UV *code_point_p \
2208 |NULLOK int* cp_count \
2209 |NN I32 *flagp \
fe0a3646 2210 |const bool strict \
b6d67071 2211 |const U32 depth
09b2b2e6 2212Es |void |reginsert |NN RExC_state_t *pRExC_state \
4048f010 2213 |U8 op|NN regnode *opnd|U32 depth
6f2a89df
KW
2214Es |void |regtail |NN RExC_state_t * pRExC_state \
2215 |NN const regnode * const p \
2216 |NN const regnode * const val \
2217 |const U32 depth
09b2b2e6 2218Es |SV * |reg_scan_name |NN RExC_state_t *pRExC_state \
4048f010 2219 |U32 flags
09b2b2e6 2220Es |U32 |join_exact |NN RExC_state_t *pRExC_state \
9d071ca8 2221 |NN regnode *scan|NN UV *min_subtract \
fb29cc72 2222 |NN bool *unfolded_multi_char \
f758bddf 2223 |U32 flags|NULLOK regnode *val|U32 depth
09b2b2e6 2224Ei |void |alloc_maybe_populate_EXACT|NN RExC_state_t *pRExC_state \
34b39fc9 2225 |NN regnode *node|NN I32 *flagp|STRLEN len \
ed885487 2226 |UV code_point|bool downgradable
dc3bf405 2227Ein |U8 |compute_EXACTish|NN RExC_state_t *pRExC_state
f400bbf0 2228Es |void |nextchar |NN RExC_state_t *pRExC_state
3e699fa0
KW
2229Es |void |skip_to_be_ignored_text|NN RExC_state_t *pRExC_state \
2230 |NN char ** p \
2231 |const bool force_to_xmod
dc3bf405 2232Ein |char * |reg_skipcomment|NN RExC_state_t *pRExC_state|NN char * p
09b2b2e6
KW
2233Es |void |scan_commit |NN const RExC_state_t *pRExC_state \
2234 |NN struct scan_data_t *data \
2235 |NN SSize_t *minlenp \
2236 |int is_inf
ecfdcf39 2237Es |void |populate_ANYOF_from_invlist|NN regnode *node|NN SV** invlist_ptr
3420edd7 2238Es |void |ssc_anything |NN regnode_ssc *ssc
dc3bf405 2239EsRn |int |ssc_is_anything|NN const regnode_ssc *ssc
cdd87c1d 2240Es |void |ssc_init |NN const RExC_state_t *pRExC_state \
557bd3fb 2241 |NN regnode_ssc *ssc
dc3bf405 2242EsRn |int |ssc_is_cp_posixl_init|NN const RExC_state_t *pRExC_state \
fb38762f 2243 |NN const regnode_ssc *ssc
1ca93ef1
KW
2244Es |void |ssc_and |NN const RExC_state_t *pRExC_state \
2245 |NN regnode_ssc *ssc \
7dcac5f6 2246 |NN const regnode_charclass *and_with
cdd87c1d 2247Es |void |ssc_or |NN const RExC_state_t *pRExC_state \
557bd3fb 2248 |NN regnode_ssc *ssc \
7dcac5f6 2249 |NN const regnode_charclass *or_with
fb38762f
KW
2250Es |SV* |get_ANYOF_cp_list_for_ssc \
2251 |NN const RExC_state_t *pRExC_state \
5c0f85ef 2252 |NN const regnode_charclass* const node
fb38762f
KW
2253Ei |void |ssc_intersection|NN regnode_ssc *ssc \
2254 |NN SV* const invlist|const bool invert_2nd
2255Ei |void |ssc_union |NN regnode_ssc *ssc \
2256 |NN SV* const invlist|const bool invert_2nd
2257Ei |void |ssc_add_range |NN regnode_ssc *ssc \
2258 |UV const start|UV const end
2259Ei |void |ssc_cp_and |NN regnode_ssc *ssc \
2260 |UV const cp
dc3bf405 2261Ein |void |ssc_clear_locale|NN regnode_ssc *ssc
b35552de
KW
2262Ens |bool |is_ssc_worth_it|NN const RExC_state_t * pRExC_state \
2263 |NN const regnode_ssc * ssc
fb38762f
KW
2264Es |void |ssc_finalize |NN RExC_state_t *pRExC_state \
2265 |NN regnode_ssc *ssc
09b2b2e6 2266Es |SSize_t|study_chunk |NN RExC_state_t *pRExC_state \
ea3daa5d 2267 |NN regnode **scanp|NN SSize_t *minlenp \
49f55535 2268 |NN SSize_t *deltap|NN regnode *last \
4048f010 2269 |NULLOK struct scan_data_t *data \
09a65838 2270 |I32 stopparen|U32 recursed_depth \
b8f7bb16 2271 |NULLOK regnode_ssc *and_withp \
a3621e74 2272 |U32 flags|U32 depth
c8a27964 2273EsRn |U32 |add_data |NN RExC_state_t* const pRExC_state \
cf78de0b 2274 |NN const char* const s|const U32 n
c1d900c3 2275rs |void |re_croak2 |bool utf8|NN const char* pat1|NN const char* pat2|...
46d34d0e
KW
2276Es |int |handle_possible_posix \
2277 |NN RExC_state_t *pRExC_state \
2278 |NN const char* const s \
2279 |NULLOK char ** updated_parse_ptr \
b7c50ab8
KW
2280 |NULLOK AV** posix_warnings \
2281 |const bool check_only
09b2b2e6 2282Es |I32 |make_trie |NN RExC_state_t *pRExC_state \
4048f010
NC
2283 |NN regnode *startbranch|NN regnode *first \
2284 |NN regnode *last|NN regnode *tail \
786e8c11 2285 |U32 word_count|U32 flags|U32 depth
615a2e7f
YO
2286Es |regnode *|construct_ahocorasick_from_trie|NN RExC_state_t *pRExC_state \
2287 |NN regnode *source|U32 depth
f4ae5a27 2288EnPs |const char *|cntrl_to_mnemonic|const U8 c
c6871b76
KW
2289EnPs |int |edit_distance |NN const UV *src \
2290 |NN const UV *tgt \
2291 |const STRLEN x \
2292 |const STRLEN y \
2293 |const SSize_t maxDistance
3dab1dad 2294# ifdef DEBUGGING
7b031478 2295Ep |int |re_indentf |NN const char *fmt|U32 depth|...
337ff307 2296Es |void |regdump_intflags|NULLOK const char *lead| const U32 flags
f7819f85 2297Es |void |regdump_extflags|NULLOK const char *lead| const U32 flags
3dab1dad
YO
2298Es |const regnode*|dumpuntil|NN const regexp *r|NN const regnode *start \
2299 |NN const regnode *node \
786e8c11
YO
2300 |NULLOK const regnode *last \
2301 |NULLOK const regnode *plast \
2302 |NN SV* sv|I32 indent|U32 depth
8e8a4468 2303Es |void |put_code_point |NN SV* sv|UV c
b77aba85
KW
2304Es |bool |put_charclass_bitmap_innards|NN SV* sv \
2305 |NN char* bitmap \
2306 |NULLOK SV* nonbitmap_invlist \
2307 |NULLOK SV* only_utf8_locale_invlist\
753b2c6a
KW
2308 |NULLOK const regnode * const node \
2309 |const bool force_as_is_display
b77aba85
KW
2310Es |SV* |put_charclass_bitmap_innards_common \
2311 |NN SV* invlist \
2312 |NULLOK SV* posixes \
2313 |NULLOK SV* only_utf8 \
2314 |NULLOK SV* not_utf8 \
2315 |NULLOK SV* only_utf8_locale \
2316 |const bool invert
2317Es |void |put_charclass_bitmap_innards_invlist \
2318 |NN SV *sv \
2319 |NN SV* invlist
e053ac11
KW
2320Es |void |put_range |NN SV* sv|UV start|const UV end \
2321 |const bool allow_literals
55eed653 2322Es |void |dump_trie |NN const struct _reg_trie_data *trie\
2b8b4781
NC
2323 |NULLOK HV* widecharmap|NN AV *revcharmap\
2324 |U32 depth
55eed653 2325Es |void |dump_trie_interim_list|NN const struct _reg_trie_data *trie\
2b8b4781
NC
2326 |NULLOK HV* widecharmap|NN AV *revcharmap\
2327 |U32 next_alloc|U32 depth
55eed653 2328Es |void |dump_trie_interim_table|NN const struct _reg_trie_data *trie\
2b8b4781
NC
2329 |NULLOK HV* widecharmap|NN AV *revcharmap\
2330 |U32 next_alloc|U32 depth
09b2b2e6 2331Es |U8 |regtail_study |NN RExC_state_t *pRExC_state \
4048f010 2332 |NN regnode *p|NN const regnode *val|U32 depth
3dab1dad 2333# endif
94bdecf9
JH
2334#endif
2335
43869a0c 2336#if defined(PERL_IN_REGEXEC_C)
31c7f561 2337ERs |bool |isFOO_lc |const U8 classnum|const U8 character
3018b823 2338ERs |bool |isFOO_utf8_lc |const U8 classnum|NN const U8* character
99a90e59 2339ERs |SSize_t|regmatch |NN regmatch_info *reginfo|NN char *startpos|NN regnode *prog
272d35c9 2340ERs |I32 |regrepeat |NN regexp *prog|NN char **startposp \
02d5137b
DM
2341 |NN const regnode *p \
2342 |NN regmatch_info *const reginfo \
2343 |I32 max \
f9176b44 2344 |int depth
63f46dab 2345ERs |bool |regtry |NN regmatch_info *reginfo|NN char **startposp
3db24e1e
KW
2346ERs |bool |reginclass |NULLOK regexp * const prog \
2347 |NN const regnode * const n \
2348 |NN const U8 * const p \
2349 |NN const U8 * const p_end \
635cd5d4 2350 |bool const utf8_target
92da3157
DM
2351Es |CHECKPOINT|regcppush |NN const regexp *rex|I32 parenfloor\
2352 |U32 maxopenparen
2353Es |void |regcppop |NN regexp *rex\
2354 |NN U32 *maxopenparen_p
ea3daa5d 2355ERsn |U8* |reghop3 |NN U8 *s|SSize_t off|NN const U8 *lim
ea3daa5d 2356ERsn |U8* |reghop4 |NN U8 *s|SSize_t off|NN const U8 *llim \
4048f010 2357 |NN const U8 *rlim
b6c0faaf 2358ERsn |U8* |reghopmaybe3 |NN U8 *s|SSize_t off|NN const U8 * const lim
984e6dd1
DM
2359ERs |char* |find_byclass |NN regexp * prog|NN const regnode *c \
2360 |NN char *s|NN const char *strend \
f9176b44 2361 |NULLOK regmatch_info *reginfo
a3b680e6 2362Es |void |to_utf8_substr |NN regexp * prog
7e0d5ad7 2363Es |bool |to_byte_substr |NN regexp * prog
dc3bf405 2364ERsn |I32 |reg_check_named_buff_matched |NN const regexp *rex \
4048f010 2365 |NN const regnode *scan
b0e24409
KW
2366EsR |bool |isGCB |const GCB_enum before \
2367 |const GCB_enum after \
2368 |NN const U8 * const strbeg \
2369 |NN const U8 * const curpos \
2370 |const bool utf8_target
2371EsR |GCB_enum|backup_one_GCB|NN const U8 * const strbeg \
2372 |NN U8 ** curpos \
2373 |const bool utf8_target
6b659339
KW
2374EsR |bool |isLB |LB_enum before \
2375 |LB_enum after \
2376 |NN const U8 * const strbeg \
2377 |NN const U8 * const curpos \
2378 |NN const U8 * const strend \
2379 |const bool utf8_target
2380EsR |LB_enum|advance_one_LB |NN U8 ** curpos \
2381 |NN const U8 * const strend \
2382 |const bool utf8_target
2383EsR |LB_enum|backup_one_LB |NN const U8 * const strbeg \
2384 |NN U8 ** curpos \
2385 |const bool utf8_target
85e5f08b
KW
2386EsR |bool |isSB |SB_enum before \
2387 |SB_enum after \
06ae2722
KW
2388 |NN const U8 * const strbeg \
2389 |NN const U8 * const curpos \
ae3bb8ea
KW
2390 |NN const U8 * const strend \
2391 |const bool utf8_target
85e5f08b 2392EsR |SB_enum|advance_one_SB |NN U8 ** curpos \
06ae2722
KW
2393 |NN const U8 * const strend \
2394 |const bool utf8_target
85e5f08b 2395EsR |SB_enum|backup_one_SB |NN const U8 * const strbeg \
ae3bb8ea
KW
2396 |NN U8 ** curpos \
2397 |const bool utf8_target
85e5f08b
KW
2398EsR |bool |isWB |WB_enum previous \
2399 |WB_enum before \
2400 |WB_enum after \
ae3bb8ea
KW
2401 |NN const U8 * const strbeg \
2402 |NN const U8 * const curpos \
2403 |NN const U8 * const strend \
2404 |const bool utf8_target
85e5f08b 2405EsR |WB_enum|advance_one_WB |NN U8 ** curpos \
06ae2722 2406 |NN const U8 * const strend \
4370fbb5
KW
2407 |const bool utf8_target \
2408 |const bool skip_Extend_Format
85e5f08b 2409EsR |WB_enum|backup_one_WB |NN WB_enum * previous \
06ae2722
KW
2410 |NN const U8 * const strbeg \
2411 |NN U8 ** curpos \
2412 |const bool utf8_target
07be1b83 2413# ifdef DEBUGGING
786e8c11 2414Es |void |dump_exec_pos |NN const char *locinput|NN const regnode *scan|NN const char *loc_regeol\
389f4c1e 2415 |NN const char *loc_bostr|NN const char *loc_reg_starttry|const bool do_utf8|const U32 depth
efd26800
NC
2416Es |void |debug_start_match|NN const REGEXP *prog|const bool do_utf8\
2417 |NN const char *start|NN const char *end\
2418 |NN const char *blurb
cb41e5d6 2419
7b031478 2420Ep |int |re_exec_indentf |NN const char *fmt|U32 depth|...
07be1b83 2421# endif
94bdecf9
JH
2422#endif
2423
43869a0c 2424#if defined(PERL_IN_DUMP_C)
de5fee32 2425s |CV* |deb_curcv |I32 ix
46c461b5 2426s |void |debprof |NN const OP *o
0bd48802 2427s |UV |sequence_num |NULLOK const OP *o
4199688e 2428s |SV* |pm_description |NN const PMOP *pm
94bdecf9
JH
2429#endif
2430
43869a0c 2431#if defined(PERL_IN_SCOPE_C)
af7df257 2432s |SV* |save_scalar_at |NN SV **sptr|const U32 flags
94bdecf9
JH
2433#endif
2434
4c74a7df 2435#if defined(PERL_IN_GV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_PAD_C) || defined(PERL_IN_OP_C)
67022846 2436: Used in gv.c
2b021c53 2437po |void |sv_add_backref |NN SV *const tsv|NN SV *const sv
e15faf7d
NC
2438#endif
2439
43869a0c 2440#if defined(PERL_IN_HV_C) || defined(PERL_IN_MG_C) || defined(PERL_IN_SV_C)
67022846 2441: Used in hv.c and mg.c
5648c0ae 2442poM |void |sv_kill_backrefs |NN SV *const sv|NULLOK AV *const av
86f55936
NC
2443#endif
2444
579333ee
FC
2445#if defined(PERL_IN_SV_C) || defined (PERL_IN_OP_C)
2446pR |SV * |varname |NULLOK const GV *const gv|const char gvtype \
2447 |PADOFFSET targ|NULLOK const SV *const keyname \
1b3df0e6 2448 |SSize_t aindex|int subscript_type
579333ee
FC
2449#endif
2450
4c74a7df 2451pX |void |sv_del_backref |NN SV *const tsv|NN SV *const sv
43869a0c 2452#if defined(PERL_IN_SV_C)
5de3775c 2453nsR |char * |uiv_2buf |NN char *const buf|const IV iv|UV uv|const int is_uv|NN char **const peob
0b754184 2454i |void |sv_unglob |NN SV *const sv|U32 flags
3f7602fa 2455s |const char *|sv_display |NN SV *const sv|NN char *tmpbuf|STRLEN tmpbuf_size
aad570aa 2456s |void |not_a_number |NN SV *const sv
3f7602fa 2457s |void |not_incrementable |NN SV *const sv
de37a194 2458s |I32 |visit |NN SVFUNC_t f|const U32 flags|const U32 mask
94bdecf9 2459# ifdef DEBUGGING
46c461b5 2460s |void |del_sv |NN SV *p
94bdecf9
JH
2461# endif
2462# if !defined(NV_PRESERVES_UV)
47031da6 2463# ifdef DEBUGGING
5de3775c 2464s |int |sv_2iuv_non_preserve |NN SV *const sv|I32 numtype
47031da6 2465# else
5de3775c 2466s |int |sv_2iuv_non_preserve |NN SV *const sv
47031da6 2467# endif
94bdecf9 2468# endif
66ceb532 2469sR |I32 |expect_number |NN char **const pattern
721e86b6 2470sn |STRLEN |sv_pos_u2b_forwards|NN const U8 *const start \
79d2d448
NC
2471 |NN const U8 *const send|NN STRLEN *const uoffset \
2472 |NN bool *const at_end
721e86b6 2473sn |STRLEN |sv_pos_u2b_midway|NN const U8 *const start \
503752a1 2474 |NN const U8 *send|STRLEN uoffset|const STRLEN uend
af828c01 2475s |STRLEN |sv_pos_u2b_cached|NN SV *const sv|NN MAGIC **const mgp \
25a8a4ef 2476 |NN const U8 *const start|NN const U8 *const send \
3e2d3818 2477 |STRLEN uoffset|STRLEN uoffset0|STRLEN boffset0
ec49a12c
NC
2478s |void |utf8_mg_len_cache_update|NN SV *const sv|NN MAGIC **const mgp \
2479 |const STRLEN ulen
ac1e9476
SS
2480s |void |utf8_mg_pos_cache_update|NN SV *const sv|NN MAGIC **const mgp \
2481 |const STRLEN byte|const STRLEN utf8|const STRLEN blen
2482s |STRLEN |sv_pos_b2u_midway|NN const U8 *const s|NN const U8 *const target \
25a8a4ef 2483 |NN const U8 *end|STRLEN endu
9df83ffd
NC
2484s |void |assert_uft8_cache_coherent|NN const char *const func \
2485 |STRLEN from_cache|STRLEN real|NN SV *const sv
66ceb532 2486sn |char * |F0convert |NV nv|NN char *const endbuf|NN STRLEN *const len
5f66b61c 2487s |SV * |more_sv
5de3775c 2488s |bool |sv_2iuv_common |NN SV *const sv
7bc54cea
SS
2489s |void |glob_assign_glob|NN SV *const dstr|NN SV *const sstr \
2490 |const int dtype
1eb6e4ca 2491sRn |PTR_TBL_ENT_t *|ptr_table_find|NN PTR_TBL_t *const tbl|NULLOK const void *const sv
803f2748 2492s |void |anonymise_cv_maybe |NN GV *gv|NN CV *cv
94bdecf9
JH
2493#endif
2494
ecf9cdab
NC
2495: Used in sv.c and hv.c
2496po |void * |more_bodies |const svtype sv_type|const size_t body_size \
2497 |const size_t arena_size
2498
43869a0c 2499#if defined(PERL_IN_TOKE_C)
94bdecf9
JH
2500s |void |check_uni
2501s |void |force_next |I32 type
4048f010 2502s |char* |force_version |NN char *s|int guessing
91152fc1 2503s |char* |force_strict_version |NN char *s
46c461b5 2504s |char* |force_word |NN char *start|int token|int check_keyword \
345b3785 2505 |int allow_pack
46c461b5 2506s |SV* |tokeq |NN SV *sv
46c461b5 2507sR |char* |scan_const |NN char *start
6f613c73
KW
2508iR |SV* |get_and_check_backslash_N_name|NN const char* s \
2509 |NN const char* const e
46c461b5
AL
2510sR |char* |scan_formline |NN char *s
2511sR |char* |scan_heredoc |NN char *s
b5248d1e 2512s |char* |scan_ident |NN char *s|NN char *dest \
94bdecf9 2513 |STRLEN destlen|I32 ck_uni
46c461b5
AL
2514sR |char* |scan_inputsymbol|NN char *start
2515sR |char* |scan_pat |NN char *start|I32 type
d24ca0c5 2516sR |char* |scan_str |NN char *start|int keep_quoted \
4d68ffa0 2517 |int keep_delims|int re_reparse \
e68dd03a 2518 |NULLOK char **delimp
46c461b5
AL
2519sR |char* |scan_subst |NN char *start
2520sR |char* |scan_trans |NN char *start
2521s |char* |scan_word |NN char *s|NN char *dest|STRLEN destlen \
2522 |int allow_package|NN STRLEN *slp
5fa550fb 2523s |void |update_debugger_info|NULLOK SV *orig_sv \
15f169a1 2524 |NULLOK const char *const buf|STRLEN len
21791330 2525sR |char* |skipspace_flags|NN char *s|U32 flags
46c461b5 2526sR |char* |swallow_bom |NN U8 *s
a28af015
NC
2527#ifndef PERL_NO_UTF16_FILTER
2528s |I32 |utf16_textfilter|int idx|NN SV *sv|int maxlen
81a923f4 2529s |U8* |add_utf16_textfilter|NN U8 *const s|bool reversed
a28af015 2530#endif
c94115d8
NC
2531s |void |checkcomma |NN const char *s|NN const char *name \
2532 |NN const char *what
46c461b5 2533s |void |force_ident |NN const char *s|int kind
3f33d153 2534s |void |force_ident_maybe_lex|char pit
d9095cec 2535s |void |incline |NN const char *s
10c25cd9 2536s |int |intuit_method |NN char *s|NULLOK SV *ioname|NULLOK CV *cv
46c461b5
AL
2537s |int |intuit_more |NN char *s
2538s |I32 |lop |I32 f|int x|NN char *s
2539rs |void |missingterm |NULLOK char *s
15f169a1 2540s |void |no_op |NN const char *const what|NULLOK char *s
4fa06845 2541s |int |pending_ident |bool is_sig
46c461b5
AL
2542sR |I32 |sublex_done
2543sR |I32 |sublex_push
2544sR |I32 |sublex_start
5cc814fd 2545sR |char * |filter_gets |NN SV *sv|STRLEN append
9bde8eb0 2546sR |HV * |find_in_my_stash|NN const char *pkgname|STRLEN len
c48640ec 2547sR |char * |tokenize_use |int is_use|NN char *s
eb0d8d16
NC
2548so |SV* |new_constant |NULLOK const char *s|STRLEN len \
2549 |NN const char *key|STRLEN keylen|NN SV *sv \
2550 |NULLOK SV *pv|NULLOK const char *type \
2551 |STRLEN typelen
8290c323 2552s |int |deprecate_commaless_var_list
94bdecf9 2553s |int |ao |int toketype
07f72646
BF
2554s |void|parse_ident|NN char **s|NN char **d \
2555 |NN char * const e|int allow_package \
d9d2b74c 2556 |bool is_utf8|bool check_dollar
94bdecf9 2557# if defined(PERL_CR_FILTER)
9d4ba2ae 2558s |I32 |cr_textfilter |int idx|NULLOK SV *sv|int maxlen
0bd48802 2559s |void |strip_return |NN SV *sv
94bdecf9 2560# endif
c445ea15 2561# if defined(DEBUGGING)
704d4215 2562s |int |tokereport |I32 rv|NN const YYSTYPE* lvalp
5d37acd6 2563sf |void |printbuf |NN const char *const fmt|NN const char *const s
c445ea15 2564# endif
94bdecf9 2565#endif
fe788d6b 2566EXMp |bool |validate_proto |NN SV *name|NULLOK SV *proto|bool warn
94bdecf9 2567
43869a0c 2568#if defined(PERL_IN_UNIVERSAL_C)
c8028aa6 2569s |bool |isa_lookup |NN HV *stash|NN const char * const name \
c7abbf64 2570 |STRLEN len|U32 flags
94bdecf9
JH
2571#endif
2572
9f162648
JH
2573#if defined(USE_LOCALE) && defined(PERL_IN_LOCALE_C)
2574s |char* |stdize_locale |NN char* locs
c7202dee
KW
2575# ifdef DEBUGGING
2576s |void |print_collxfrm_input_and_return \
2577 |NN const char * const s \
2578 |NN const char * const e \
2579 |NULLOK const STRLEN * const xlen \
2580 |const bool is_utf8
2581# endif
9f162648
JH
2582#endif
2583
c1284011
KW
2584#if defined(USE_LOCALE) \
2585 && (defined(PERL_IN_LOCALE_C) || defined (PERL_EXT_POSIX))
c1284011 2586ApM |bool |_is_cur_LC_category_utf8|int category
5d1187d1
KW
2587# ifdef DEBUGGING
2588AMnPpR |char * |_setlocale_debug_string|const int category \
2589 |NULLOK const char* const locale \
2590 |NULLOK const char* const retval
2591# endif
94bdecf9
JH
2592#endif
2593
5d1187d1 2594
43869a0c 2595#if defined(PERL_IN_UTIL_C)
94bdecf9 2596s |SV* |mess_alloc
c8028aa6 2597s |SV * |with_queued_errors|NN SV *ex
c5df3096 2598s |bool |invoke_exception_hook|NULLOK SV *ex|bool warn
73d1d973 2599#if defined(PERL_MEM_LOG) && !defined(PERL_MEM_LOG_NOIMPL)
0b0ab801 2600sn |void |mem_log_common |enum mem_log_type mlt|const UV n|const UV typesize \
bef8a128 2601 |NN const char *type_name|NULLOK const SV *sv \
0b0ab801
MHM
2602 |Malloc_t oldalloc|Malloc_t newalloc \
2603 |NN const char *filename|const int linenumber \
2604 |NN const char *funcname
2605#endif
94bdecf9
JH
2606#endif
2607
6fb87544
MH
2608#if defined(PERL_MEM_LOG)
2609pn |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
2610pn |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
2611pn |Malloc_t |mem_log_free |Malloc_t oldalloc|NN const char *filename|const int linenumber|NN const char *funcname
2612#endif
2613
43869a0c 2614#if defined(PERL_IN_NUMERIC_C)
a4eca1d4 2615#ifndef USE_QUADMATH
4801ca72
JH
2616sn |NV|mulexp10 |NV value|I32 exponent
2617#endif
a4eca1d4 2618#endif
4801ca72 2619
43869a0c 2620#if defined(PERL_IN_UTF8_C)
ab0b796c 2621sRM |UV |check_locale_boundary_crossing \
ab0b796c
KW
2622 |NN const U8* const p \
2623 |const UV result \
2624 |NN U8* const ustrp \
2625 |NN STRLEN *lenp
f25ce844 2626iR |bool |is_utf8_common |NN const U8 *const p|NN SV **swash|NN const char * const swashname|NULLOK SV* const invlist
b0e3252e 2627sR |SV* |swatch_get |NN SV* swash|UV start|UV span
95543e92
KW
2628sRM |U8* |swash_scan_list_line|NN U8* l|NN U8* const lend|NN UV* min \
2629 |NN UV* max|NN UV* val|const bool wants_value \
2630 |NN const U8* const typestr
646ca15d
JH
2631#endif
2632
a4570f51 2633#ifndef PERL_NO_INLINE_FUNCTIONS
55d09dc8 2634AiMn |void |append_utf8_from_native_byte|const U8 byte|NN U8** dest
a4570f51 2635#endif
55d09dc8 2636
7bc54cea 2637Apd |void |sv_setsv_flags |NN SV *dstr|NULLOK SV *sstr|const I32 flags
2e000ff2
SS
2638Apd |void |sv_catpvn_flags|NN SV *const dstr|NN const char *sstr|const STRLEN len \
2639 |const I32 flags
9dcc53ea
Z
2640Apd |void |sv_catpv_flags |NN SV *dstr|NN const char *sstr \
2641 |const I32 flags
2e000ff2 2642Apd |void |sv_catsv_flags |NN SV *const dsv|NULLOK SV *const ssv|const I32 flags
b3ab6785 2643Apmd |STRLEN |sv_utf8_upgrade_flags|NN SV *const sv|const I32 flags
ed6f739c 2644Ap |STRLEN |sv_utf8_upgrade_flags_grow|NN SV *const sv|const I32 flags|STRLEN extra
12964ddd 2645Apd |char* |sv_pvn_force_flags|NN SV *const sv|NULLOK STRLEN *const lp|const I32 flags
4bac9ae4
CS
2646pmb |void |sv_copypv |NN SV *const dsv|NN SV *const ssv
2647Apmd |void |sv_copypv_nomg |NN SV *const dsv|NN SV *const ssv
2648Apd |void |sv_copypv_flags |NN SV *const dsv|NN SV *const ssv|const I32 flags
4373e329 2649Ap |char* |my_atof2 |NN const char *s|NN NV* value
94bdecf9 2650Apn |int |my_socketpair |int family|int type|int protocol|int fd[2]
ddeaf645 2651Apn |int |my_dirfd |NULLOK DIR* dir
db2c6cb3 2652#ifdef PERL_ANY_COW
67022846 2653: Used in pp_hot.c and regexec.c
7536ed57 2654pMXE |SV* |sv_setsv_cow |NULLOK SV* dstr|NN SV* sstr
ed252734 2655#endif
94bdecf9 2656
d070ff45 2657Aop |const char *|PerlIO_context_layers|NULLOK const char *mode
11bcd5da 2658
97cb92d6 2659#if defined(USE_PERLIO)
46c461b5
AL
2660Ap |int |PerlIO_close |NULLOK PerlIO *f
2661Ap |int |PerlIO_fill |NULLOK PerlIO *f
2662Ap |int |PerlIO_fileno |NULLOK PerlIO *f
2663Ap |int |PerlIO_eof |NULLOK PerlIO *f
2664Ap |int |PerlIO_error |NULLOK PerlIO *f
2665Ap |int |PerlIO_flush |NULLOK PerlIO *f
2666Ap |void |PerlIO_clearerr |NULLOK PerlIO *f
b66f3475 2667Ap |void |PerlIO_set_cnt |NULLOK PerlIO *f|SSize_t cnt
3d4dd4c7 2668Ap |void |PerlIO_set_ptrcnt |NULLOK PerlIO *f|NULLOK STDCHAR *ptr \
b66f3475 2669 |SSize_t cnt
46c461b5 2670Ap |void |PerlIO_setlinebuf |NULLOK PerlIO *f
4048f010
NC
2671Ap |SSize_t|PerlIO_read |NULLOK PerlIO *f|NN void *vbuf \
2672 |Size_t count
2673Ap |SSize_t|PerlIO_write |NULLOK PerlIO *f|NN const void *vbuf \
2674 |Size_t count
2675Ap |SSize_t|PerlIO_unread |NULLOK PerlIO *f|NN const void *vbuf \
2676 |Size_t count
46c461b5
AL
2677Ap |Off_t |PerlIO_tell |NULLOK PerlIO *f
2678Ap |int |PerlIO_seek |NULLOK PerlIO *f|Off_t offset|int whence
0ea86a10
FC
2679Xp |void |PerlIO_save_errno |NULLOK PerlIO *f
2680Xp |void |PerlIO_restore_errno |NULLOK PerlIO *f
94bdecf9 2681
46c461b5
AL
2682Ap |STDCHAR *|PerlIO_get_base |NULLOK PerlIO *f
2683Ap |STDCHAR *|PerlIO_get_ptr |NULLOK PerlIO *f
b66f3475
LT
2684ApR |SSize_t |PerlIO_get_bufsiz |NULLOK PerlIO *f
2685ApR |SSize_t |PerlIO_get_cnt |NULLOK PerlIO *f
94bdecf9 2686
46c461b5
AL
2687ApR |PerlIO *|PerlIO_stdin
2688ApR |PerlIO *|PerlIO_stdout
2689ApR |PerlIO *|PerlIO_stderr
57630fb6 2690#endif /* USE_PERLIO */
94bdecf9 2691
67022846 2692: Only used in dump.c
d6721266 2693p |void |deb_stack_all
43869a0c 2694#if defined(PERL_IN_DEB_C)
b64e5050 2695s |void |deb_stack_n |NN SV** stack_base|I32 stack_min \
3f46c5a6 2696 |I32 stack_max|I32 mark_min|I32 mark_max
d6721266
DM
2697#endif
2698
cc76b5cc 2699: pad API
346c6a29 2700ApdR |PADLIST*|pad_new |int flags
eacbb379 2701#ifdef DEBUGGING
e69651e7 2702pnX |void|set_padlist| NN CV * cv | NULLOK PADLIST * padlist
eacbb379 2703#endif
cc76b5cc 2704#if defined(PERL_IN_PAD_C)
e1c02f84 2705s |PADOFFSET|pad_alloc_name|NN PADNAME *name|U32 flags \
cc76b5cc
Z
2706 |NULLOK HV *typestash|NULLOK HV *ourstash
2707#endif
2708Apd |PADOFFSET|pad_add_name_pvn|NN const char *namepv|STRLEN namelen\
0e1b3a4b 2709 |U32 flags|NULLOK HV *typestash\
cca43f78 2710 |NULLOK HV *ourstash
cc76b5cc
Z
2711Apd |PADOFFSET|pad_add_name_pv|NN const char *name\
2712 |const U32 flags|NULLOK HV *typestash\
2713 |NULLOK HV *ourstash
2714Apd |PADOFFSET|pad_add_name_sv|NN SV *name\
0e1b3a4b 2715 |U32 flags|NULLOK HV *typestash\
cc76b5cc
Z
2716 |NULLOK HV *ourstash
2717AMpd |PADOFFSET|pad_alloc |I32 optype|U32 tmptype
2718Apd |PADOFFSET|pad_add_anon |NN CV* func|I32 optype
a70f21d0 2719p |void |pad_add_weakref|NN CV* func
43869a0c 2720#if defined(PERL_IN_PAD_C)
e1c02f84
FC
2721sd |void |pad_check_dup |NN PADNAME *name|U32 flags \
2722 |NULLOK const HV *ourstash
cc76b5cc 2723#endif
402642c6 2724Apd |PADOFFSET|pad_findmy_pvn|NN const char* namepv|STRLEN namelen|U32 flags
2d7dd515
Z
2725Apd |PADOFFSET|pad_findmy_pv|NN const char* name|U32 flags
2726Apd |PADOFFSET|pad_findmy_sv|NN SV* name|U32 flags
cc76b5cc
Z
2727ApdD |PADOFFSET|find_rundefsvoffset |
2728Apd |SV* |find_rundefsv |
2729#if defined(PERL_IN_PAD_C)
fbb889c8 2730sd |PADOFFSET|pad_findlex |NN const char *namepv|STRLEN namelen|U32 flags \
cc76b5cc 2731 |NN const CV* cv|U32 seq|int warn \
e1c02f84
FC
2732 |NULLOK SV** out_capture \
2733 |NN PADNAME** out_name|NN int *out_flags
73b81b14 2734#endif
dd2155a4 2735#ifdef DEBUGGING
cc76b5cc
Z
2736Apd |SV* |pad_sv |PADOFFSET po
2737Apd |void |pad_setsv |PADOFFSET po|NN SV* sv
dd2155a4
DM
2738#endif
2739pd |void |pad_block_start|int full
25f5d540 2740Apd |U32 |intro_my
6d5c2147 2741pd |OP * |pad_leavemy
cc76b5cc
Z
2742pd |void |pad_swipe |PADOFFSET po|bool refadjust
2743#if defined(PERL_IN_PAD_C)
2744sd |void |pad_reset
d5b1589c 2745#endif
cc76b5cc
Z
2746AMpd |void |pad_tidy |padtidy_type type
2747pd |void |pad_free |PADOFFSET po
2748pd |void |do_dump_pad |I32 level|NN PerlIO *file|NULLOK PADLIST *padlist|int full
43869a0c 2749#if defined(PERL_IN_PAD_C)
dd2155a4 2750# if defined(DEBUGGING)
66a1b24b 2751sd |void |cv_dump |NN const CV *cv|NN const char *title
dd2155a4 2752# endif
dd2155a4 2753#endif
cc76b5cc 2754Apd |CV* |cv_clone |NN CV* proto
a35cc1c1 2755p |CV* |cv_clone_into |NN CV* proto|NN CV *target
cc76b5cc
Z
2756pd |void |pad_fixup_inner_anons|NN PADLIST *padlist|NN CV *old_cv|NN CV *new_cv
2757pdX |void |pad_push |NN PADLIST *padlist|int depth
09d7a3ba 2758ApbdR |HV* |pad_compname_type|const PADOFFSET po
a0e9f837 2759AMpdRn |PADNAME *|padnamelist_fetch|NN PADNAMELIST *pnl|SSize_t key
9b7476d7
FC
2760Xop |void |padnamelist_free|NN PADNAMELIST *pnl
2761AMpd |PADNAME **|padnamelist_store|NN PADNAMELIST *pnl|SSize_t key \
2762 |NULLOK PADNAME *val
0f94cb1f 2763Xop |void |padname_free |NN PADNAME *pn
cc76b5cc 2764#if defined(USE_ITHREADS)
0f94cb1f 2765pdR |PADNAME *|padname_dup |NN PADNAME *src|NN CLONE_PARAMS *param
9b7476d7
FC
2766pR |PADNAMELIST *|padnamelist_dup|NN PADNAMELIST *srcpad \
2767 |NN CLONE_PARAMS *param
eacbb379 2768pdR |PADLIST *|padlist_dup |NN PADLIST *srcpad \
b70d5558 2769 |NN CLONE_PARAMS *param
cc76b5cc 2770#endif
7261499d
FC
2771p |PAD ** |padlist_store |NN PADLIST *padlist|I32 key \
2772 |NULLOK PAD *val
cc76b5cc 2773
daad78fc 2774ApdR |CV* |find_runcv |NULLOK U32 *db_seqp
db4cf31d 2775pR |CV* |find_runcv_where|U8 cond|IV arg \
70794f7b 2776 |NULLOK U32 *db_seqp
67022846 2777: Only used in perl.c
dd28f7bb 2778p |void |free_tied_hv_pool
b4ab917c 2779#if defined(DEBUGGING)
67022846 2780: Used in mg.c
46c461b5 2781pR |int |get_debug_opts |NN const char **s|bool givehelp
b4ab917c 2782#endif
4048f010 2783Ap |void |save_set_svflags|NN SV *sv|U32 mask|U32 val
ed760897 2784#ifdef DEBUGGING
4048f010 2785Apod |void |hv_assert |NN HV *hv
ed760897 2786#endif
d6721266 2787
4048f010 2788ApdR |SV* |hv_scalar |NN HV *hv
1164fd15 2789ApdRM |SV* |hv_bucket_ratio|NN HV *hv
4048f010
NC
2790ApoR |I32* |hv_riter_p |NN HV *hv
2791ApoR |HE** |hv_eiter_p |NN HV *hv
2792Apo |void |hv_riter_set |NN HV *hv|I32 riter
2793Apo |void |hv_eiter_set |NN HV *hv|NULLOK HE *eiter
6a5b4183 2794Ap |void |hv_rand_set |NN HV *hv|U32 new_xhv_rand
4048f010 2795Ap |void |hv_name_set |NN HV *hv|NULLOK const char *name|U32 len|U32 flags
27a1175b
FC
2796p |void |hv_ename_add |NN HV *hv|NN const char *name|U32 len \
2797 |U32 flags
2798p |void |hv_ename_delete|NN HV *hv|NN const char *name|U32 len \
2799 |U32 flags
67022846 2800: Used in dump.c and hv.c
eaab5649 2801poM |AV** |hv_backreferences_p |NN HV *hv
764ff8a9 2802#if defined(PERL_IN_DUMP_C) || defined(PERL_IN_HV_C) || defined(PERL_IN_SV_C) || defined(PERL_IN_SCOPE_C)
09aad8f0
DM
2803poM |void |hv_kill_backrefs |NN HV *hv
2804#endif
4048f010 2805Apd |void |hv_clear_placeholders |NN HV *hv
6174b39a 2806XpoR |SSize_t*|hv_placeholders_p |NN HV *hv
0c289d13 2807ApoR |I32 |hv_placeholders_get |NN const HV *hv
4048f010 2808Apo |void |hv_placeholders_set |NN HV *hv|I32 ph
ca732855 2809
67022846 2810: This is indirectly referenced by globals.c. This is somewhat annoying.
4048f010 2811p |SV* |magic_scalarpack|NN HV *hv|NN MAGIC *mg
10edeb5d 2812
43869a0c 2813#if defined(PERL_IN_SV_C)
6c1b357c
NC
2814s |SV * |find_hash_subscript|NULLOK const HV *const hv \
2815 |NN const SV *const val
1b3df0e6 2816s |SSize_t|find_array_subscript|NULLOK const AV *const av \
6c1b357c
NC
2817 |NN const SV *const val
2818sMd |SV* |find_uninit_var|NULLOK const OP *const obase \
fedf30e1
DM
2819 |NULLOK const SV *const uninit_sv|bool match \
2820 |NN const char **desc_p
29489e7c 2821#endif
96adfaa1 2822
fe9845cc
RB
2823Ap |GV* |gv_fetchpvn_flags|NN const char* name|STRLEN len|I32 flags|const svtype sv_type
2824Ap |GV* |gv_fetchsv|NN SV *name|I32 flags|const svtype sv_type
7a5fd60d 2825
41e4abd8 2826#ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP
67022846 2827: Used in sv.c
46c461b5 2828p |void |dump_sv_child |NN SV *sv
41e4abd8
NC
2829#endif
2830
c69033f2 2831#ifdef PERL_DONT_CREATE_GVSV
bb85b28a 2832Apbm |GV* |gv_SVadd |NULLOK GV *gv
c69033f2 2833#endif
43869a0c 2834#if defined(PERL_IN_UTIL_C)
26c7b074
NC
2835s |bool |ckwarn_common |U32 w
2836#endif
9bd8fe79
SH
2837Apo |bool |ckwarn |U32 w
2838Apo |bool |ckwarn_d |U32 w
d67fec57 2839: FIXME - exported for ByteLoader - public or private?
346c6a29 2840XEopMR |STRLEN *|new_warnings_bitfield|NULLOK STRLEN *buffer \
72dc9ed5 2841 |NN const char *const bits|STRLEN size
c69033f2 2842
ce582cee
NC
2843#ifndef SPRINTF_RETURNS_STRLEN
2844Apnod |int |my_sprintf |NN char *buffer|NN const char *pat|...
2845#endif
2846
fbbee507 2847Apnodf |int |my_snprintf |NN char *buffer|const Size_t len|NN const char *format|...
d9fad198 2848Apnod |int |my_vsnprintf |NN char *buffer|const Size_t len|NN const char *format|va_list ap
a4eca1d4
JH
2849#ifdef USE_QUADMATH
2850Apnd |const char* |quadmath_format_single|NN const char* format
2851Apnd |bool|quadmath_format_needed|NN const char* format
2852#endif
d9fad198 2853
67022846 2854: Used in mg.c, sv.c
b0269e46
AB
2855px |void |my_clearenv
2856
f16dd614 2857#ifdef PERL_IMPLICIT_CONTEXT
53d44271
JH
2858#ifdef PERL_GLOBAL_STRUCT_PRIVATE
2859Apo |void* |my_cxt_init |NN const char *my_cxt_key|size_t size
2860Apo |int |my_cxt_index |NN const char *my_cxt_key
2861#else
e3343589 2862Apo |void* |my_cxt_init |NN int *index|size_t size
f16dd614 2863#endif
53d44271 2864#endif
071d040c 2865#if defined(PERL_IN_UTIL_C)
672cbd15 2866so |void |xs_version_bootcheck|U32 items|U32 ax|NN const char *xs_p \
e9b067d9 2867 |STRLEN xs_len
071d040c 2868#endif
9a189793
DD
2869Xpon |I32 |xs_handshake |const U32 key|NN void * v_my_perl\
2870 |NN const char * file| ...
b01a1eea 2871Xp |void |xs_boot_epilog |const I32 ax
a6cc4119 2872#ifndef HAS_STRLCAT
f46a3253 2873Apnod |Size_t |my_strlcat |NULLOK char *dst|NULLOK const char *src|Size_t size
a6cc4119
SP
2874#endif
2875
2876#ifndef HAS_STRLCPY
f46a3253 2877Apnod |Size_t |my_strlcpy |NULLOK char *dst|NULLOK const char *src|Size_t size
a6cc4119
SP
2878#endif
2879
181a2ba1 2880Apdn |bool |isinfnan |NV nv
354b74ae 2881p |bool |isinfnansv |NN SV *sv
1cd88304 2882
ed140128
AD
2883#if !defined(HAS_SIGNBIT)
2884AMdnoP |int |Perl_signbit |NV f
2885#endif
f16dd614 2886
d67fec57 2887: Used by B
8b850bd5 2888XEMop |void |emulate_cop_io |NN const COP *const c|NN SV *const sv
d67fec57 2889: Used by SvRX and SvRXOK
f7e71195 2890XEMop |REGEXP *|get_re_arg|NULLOK SV *sv
8b850bd5 2891
fa60396f
NC
2892Aop |SV* |mro_get_private_data|NN struct mro_meta *const smeta \
2893 |NN const struct mro_alg *const which
2894Aop |SV* |mro_set_private_data|NN struct mro_meta *const smeta \
2895 |NN const struct mro_alg *const which \
2896 |NN SV *const data
a3e6e81e
NC
2897Aop |const struct mro_alg *|mro_get_from_name|NN SV *name
2898Aop |void |mro_register |NN const struct mro_alg *mro
31b9005d
NC
2899Aop |void |mro_set_mro |NN struct mro_meta *const meta \
2900 |NN SV *const name
c60bad7b
NC
2901: Used in HvMROMETA(), which is public.
2902Xpo |struct mro_meta* |mro_meta_init |NN HV* stash
47c9dd14 2903#if defined(USE_ITHREADS)
67022846 2904: Only used in sv.c
47c9dd14
BB
2905p |struct mro_meta* |mro_meta_dup |NN struct mro_meta* smeta|NN CLONE_PARAMS* param
2906#endif
2907Apd |AV* |mro_get_linear_isa|NN HV* stash
43869a0c 2908#if defined(PERL_IN_MRO_C)
94d1e706 2909sd |AV* |mro_get_linear_isa_dfs|NN HV* stash|U32 level
80ebaca2
FC
2910s |void |mro_clean_isarev|NN HV * const isa \
2911 |NN const char * const name \
2912 |const STRLEN len \
3386c920
FC
2913 |NULLOK HV * const exceptions \
2914 |U32 hash|U32 flags
80ebaca2 2915s |void |mro_gather_and_rename|NN HV * const stashes \
b89cdb22 2916 |NN HV * const seen_stashes \
80ebaca2
FC
2917 |NULLOK HV *stash \
2918 |NULLOK HV *oldstash \
d7879cf0 2919 |NN SV *namesv
4befac30 2920#endif
67022846 2921: Used in hv.c, mg.c, pp.c, sv.c
4df35a07 2922pd |void |mro_isa_changed_in|NN HV* stash
47c9dd14 2923Apd |void |mro_method_changed_in |NN HV* stash
afdbe55d 2924pdx |void |mro_package_moved |NULLOK HV * const stash|NULLOK HV * const oldstash|NN const GV * const gv|U32 flags
67022846 2925: Only used in perl.c
47c9dd14 2926p |void |boot_core_mro
cbec8ebe
DM
2927Apon |void |sys_init |NN int* argc|NN char*** argv
2928Apon |void |sys_init3 |NN int* argc|NN char*** argv|NN char*** env
d0820ef1 2929Apon |void |sys_term
aebc0cbe 2930ApoM |const char *|cop_fetch_label|NN COP *const cop \
dca6062a 2931 |NULLOK STRLEN *len|NULLOK U32 *flags
8375c93e 2932: Only used in op.c and the perl compiler
aebc0cbe 2933ApoM |void|cop_store_label \
ce42d03d 2934 |NN COP *const cop|NN const char *label|STRLEN len|U32 flags
47c9dd14 2935
88e1f1a2
JV
2936xpo |int |keyword_plugin_standard|NN char* keyword_ptr|STRLEN keyword_len|NN OP** op_ptr
2937
f7abe70b 2938#if defined(USE_ITHREADS)
43869a0c 2939# if defined(PERL_IN_SV_C)
e4295668
NC
2940s |void |unreferenced_to_tmp_stack|NN AV *const unreferenced
2941# endif
346c6a29 2942ARnop |CLONE_PARAMS *|clone_params_new|NN PerlInterpreter *const from \
f7abe70b
NC
2943 |NN PerlInterpreter *const to
2944Anop |void |clone_params_del|NN CLONE_PARAMS *param
2945#endif
74e8ce34
NC
2946
2947: Used in perl.c and toke.c
2948op |void |populate_isa |NN const char *name|STRLEN len|...
2949
26ea9e12 2950: Used in keywords.c and toke.c
7d69d4a6 2951Xop |bool |feature_is_enabled|NN const char *const name \
3fff3427 2952 |STRLEN namelen
26ea9e12 2953
25fdce4a
FC
2954: Some static inline functions need predeclaration because they are used
2955: inside other static inline functions.
c47d1a66 2956#if defined(PERL_CORE) || defined (PERL_EXT)
25fdce4a
FC
2957Ei |STRLEN |sv_or_pv_pos_u2b|NN SV *sv|NN const char *pv|STRLEN pos \
2958 |NULLOK STRLEN *lenp
c47d1a66 2959#endif
25fdce4a 2960
a73d8813 2961Ap |void |clear_defarray |NN AV* av|bool abandon
ad2de1b2 2962
e02ce34b 2963ApM |void |leave_adjust_stacks|NN SV **from_sp|NN SV **to_sp \
1c23e2bd 2964 |U8 gimme|int filter
799da9d7 2965
ed8ff0f3
DM
2966#ifndef PERL_NO_INLINE_FUNCTIONS
2967AiM |PERL_CONTEXT * |cx_pushblock|U8 type|U8 gimme|NN SV** sp|I32 saveix
2968AiM |void |cx_popblock|NN PERL_CONTEXT *cx
2969AiM |void |cx_topblock|NN PERL_CONTEXT *cx
6a7d52cc
DM
2970AiM |void |cx_pushsub |NN PERL_CONTEXT *cx|NN CV *cv \
2971 |NULLOK OP *retop|bool hasargs
a73d8813
DM
2972AiM |void |cx_popsub_common|NN PERL_CONTEXT *cx
2973AiM |void |cx_popsub_args |NN PERL_CONTEXT *cx
2974AiM |void |cx_popsub |NN PERL_CONTEXT *cx
6a7d52cc
DM
2975AiM |void |cx_pushformat |NN PERL_CONTEXT *cx|NN CV *cv \
2976 |NULLOK OP *retop|NULLOK GV *gv
2977AiM |void |cx_popformat |NN PERL_CONTEXT *cx
13febba5
DM
2978AiM |void |cx_pusheval |NN PERL_CONTEXT *cx \
2979 |NULLOK OP *retop|NULLOK SV *namesv
2980AiM |void |cx_popeval |NN PERL_CONTEXT *cx
d1b6bf72
DM
2981AiM |void |cx_pushloop_plain|NN PERL_CONTEXT *cx
2982AiM |void |cx_pushloop_for |NN PERL_CONTEXT *cx \
2983 |NN void *itervarp|NULLOK SV *itersave
2984AiM |void |cx_poploop |NN PERL_CONTEXT *cx
2a7b7c61
DM
2985AiM |void |cx_pushwhen |NN PERL_CONTEXT *cx
2986AiM |void |cx_popwhen |NN PERL_CONTEXT *cx
2987AiM |void |cx_pushgiven |NN PERL_CONTEXT *cx|NULLOK SV *orig_defsv
2988AiM |void |cx_popgiven |NN PERL_CONTEXT *cx
ed8ff0f3
DM
2989#endif
2990
3f6bd23a
DM
2991#ifdef USE_DTRACE
2992XEop |void |dtrace_probe_call |NN CV *cv|bool is_call
2993XEop |void |dtrace_probe_load |NN const char *name|bool is_loading
2994XEop |void |dtrace_probe_op |NN const OP *op
2995XEop |void |dtrace_probe_phase|enum perl_phase phase
2996#endif
2997
b2ba7ad6 2998: ex: set ts=8 sts=4 sw=4 noet: