diff options
author | Andy Lester <andy@petdance.com> | 2005-03-14 07:59:54 -0600 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-03-18 13:38:32 +0000 |
commit | 7fc634935189abec1d574a9733c7093e5c9f2781 (patch) | |
tree | 812ca27d3ab8a2b9edc12b87c730981d50858d59 /proto.h | |
parent | ad5c2da20a409831a6acfe749626ce0396b43b3f (diff) | |
download | perl-7fc634935189abec1d574a9733c7093e5c9f2781.tar.gz |
More const parms
Message-ID: <20050314195954.GB7141@petdance.com>
p4raw-id: //depot/perl@24042
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 72 |
1 files changed, 36 insertions, 36 deletions
@@ -277,7 +277,7 @@ PERL_CALLCONV U32 Perl_intro_my(pTHX); PERL_CALLCONV char* Perl_instr(pTHX_ const char* big, const char* little); PERL_CALLCONV bool Perl_io_close(pTHX_ IO* io, bool not_implicit); PERL_CALLCONV OP* Perl_invert(pTHX_ OP* cmd); -PERL_CALLCONV bool Perl_is_gv_magical(pTHX_ char *name, STRLEN len, U32 flags); +PERL_CALLCONV bool Perl_is_gv_magical(pTHX_ const char *name, STRLEN len, U32 flags); PERL_CALLCONV I32 Perl_is_lvalue_sub(pTHX); PERL_CALLCONV U32 Perl_to_uni_upper_lc(pTHX_ U32 c); PERL_CALLCONV U32 Perl_to_uni_title_lc(pTHX_ U32 c); @@ -314,25 +314,25 @@ PERL_CALLCONV bool Perl_is_uni_lower_lc(pTHX_ UV c); PERL_CALLCONV bool Perl_is_uni_print_lc(pTHX_ UV c); PERL_CALLCONV bool Perl_is_uni_punct_lc(pTHX_ UV c); PERL_CALLCONV bool Perl_is_uni_xdigit_lc(pTHX_ UV c); -PERL_CALLCONV STRLEN Perl_is_utf8_char(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_string(pTHX_ U8 *s, STRLEN len); -PERL_CALLCONV bool Perl_is_utf8_string_loc(pTHX_ U8 *s, STRLEN len, U8 **p); -PERL_CALLCONV bool Perl_is_utf8_alnum(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_alnumc(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_idfirst(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_idcont(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_alpha(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_ascii(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_space(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_cntrl(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_digit(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_graph(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_upper(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_lower(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_print(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_punct(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_xdigit(pTHX_ U8 *p); -PERL_CALLCONV bool Perl_is_utf8_mark(pTHX_ U8 *p); +PERL_CALLCONV STRLEN Perl_is_utf8_char(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_string(pTHX_ const U8 *s, STRLEN len); +PERL_CALLCONV bool Perl_is_utf8_string_loc(pTHX_ const U8 *s, STRLEN len, const U8 **p); +PERL_CALLCONV bool Perl_is_utf8_alnum(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_alnumc(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_idfirst(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_idcont(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_alpha(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_ascii(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_space(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_cntrl(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_digit(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_graph(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_upper(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_lower(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_print(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_punct(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_xdigit(pTHX_ const U8 *p); +PERL_CALLCONV bool Perl_is_utf8_mark(pTHX_ const U8 *p); PERL_CALLCONV OP* Perl_jmaybe(pTHX_ OP* arg); PERL_CALLCONV I32 Perl_keyword(pTHX_ char* d, I32 len); PERL_CALLCONV void Perl_leave_scope(pTHX_ I32 base); @@ -349,11 +349,11 @@ PERL_CALLCONV void Perl_load_module(pTHX_ U32 flags, SV* name, SV* ver, ...); PERL_CALLCONV void Perl_vload_module(pTHX_ U32 flags, SV* name, SV* ver, va_list* args); PERL_CALLCONV OP* Perl_localize(pTHX_ OP* arg, I32 lexical); PERL_CALLCONV I32 Perl_looks_like_number(pTHX_ SV* sv); -PERL_CALLCONV UV Perl_grok_bin(pTHX_ char* start, STRLEN* len, I32* flags, NV *result); -PERL_CALLCONV UV Perl_grok_hex(pTHX_ char* start, STRLEN* len, I32* flags, NV *result); +PERL_CALLCONV UV Perl_grok_bin(pTHX_ const char* start, STRLEN* len, I32* flags, NV *result); +PERL_CALLCONV UV Perl_grok_hex(pTHX_ const char* start, STRLEN* len, I32* flags, NV *result); PERL_CALLCONV int Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep); PERL_CALLCONV bool Perl_grok_numeric_radix(pTHX_ const char **sp, const char *send); -PERL_CALLCONV UV Perl_grok_oct(pTHX_ char* start, STRLEN* len, I32* flags, NV *result); +PERL_CALLCONV UV Perl_grok_oct(pTHX_ const char* start, STRLEN* len, I32* flags, NV *result); PERL_CALLCONV int Perl_magic_clearenv(pTHX_ SV* sv, MAGIC* mg); PERL_CALLCONV int Perl_magic_clear_all_env(pTHX_ SV* sv, MAGIC* mg); PERL_CALLCONV int Perl_magic_clearpack(pTHX_ SV* sv, MAGIC* mg); @@ -764,15 +764,15 @@ PERL_CALLCONV void Perl_sv_usepvn(pTHX_ SV* sv, char* ptr, STRLEN len); PERL_CALLCONV void Perl_sv_vcatpvfn(pTHX_ SV* sv, const char* pat, STRLEN patlen, va_list* args, SV** svargs, I32 svmax, bool *maybe_tainted); PERL_CALLCONV void Perl_sv_vsetpvfn(pTHX_ SV* sv, const char* pat, STRLEN patlen, va_list* args, SV** svargs, I32 svmax, bool *maybe_tainted); PERL_CALLCONV NV Perl_str_to_version(pTHX_ SV *sv); -PERL_CALLCONV SV* Perl_swash_init(pTHX_ char* pkg, char* name, SV* listsv, I32 minbits, I32 none); -PERL_CALLCONV UV Perl_swash_fetch(pTHX_ SV *sv, U8 *ptr, bool do_utf8); +PERL_CALLCONV SV* Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* listsv, I32 minbits, I32 none); +PERL_CALLCONV UV Perl_swash_fetch(pTHX_ SV *sv, const U8 *ptr, bool do_utf8); PERL_CALLCONV void Perl_taint_env(pTHX); PERL_CALLCONV void Perl_taint_proper(pTHX_ const char* f, const char* s); -PERL_CALLCONV UV Perl_to_utf8_case(pTHX_ U8 *p, U8* ustrp, STRLEN *lenp, SV **swash, char *normal, char *special); -PERL_CALLCONV UV Perl_to_utf8_lower(pTHX_ U8 *p, U8* ustrp, STRLEN *lenp); -PERL_CALLCONV UV Perl_to_utf8_upper(pTHX_ U8 *p, U8* ustrp, STRLEN *lenp); -PERL_CALLCONV UV Perl_to_utf8_title(pTHX_ U8 *p, U8* ustrp, STRLEN *lenp); -PERL_CALLCONV UV Perl_to_utf8_fold(pTHX_ U8 *p, U8* ustrp, STRLEN *lenp); +PERL_CALLCONV UV Perl_to_utf8_case(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp, SV **swash, char *normal, char *special); +PERL_CALLCONV UV Perl_to_utf8_lower(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp); +PERL_CALLCONV UV Perl_to_utf8_upper(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp); +PERL_CALLCONV UV Perl_to_utf8_title(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp); +PERL_CALLCONV UV Perl_to_utf8_fold(pTHX_ const U8 *p, U8* ustrp, STRLEN *lenp); #if defined(UNLINK_ALL_VERSIONS) PERL_CALLCONV I32 Perl_unlnk(pTHX_ char* f); #endif @@ -789,10 +789,10 @@ PERL_CALLCONV U8* Perl_utf8_hop(pTHX_ U8 *s, I32 off); PERL_CALLCONV U8* Perl_utf8_to_bytes(pTHX_ U8 *s, STRLEN *len); PERL_CALLCONV U8* Perl_bytes_from_utf8(pTHX_ U8 *s, STRLEN *len, bool *is_utf8); PERL_CALLCONV U8* Perl_bytes_to_utf8(pTHX_ const U8 *s, STRLEN *len); -PERL_CALLCONV UV Perl_utf8_to_uvchr(pTHX_ U8 *s, STRLEN* retlen); -PERL_CALLCONV UV Perl_utf8_to_uvuni(pTHX_ U8 *s, STRLEN* retlen); -PERL_CALLCONV UV Perl_utf8n_to_uvchr(pTHX_ U8 *s, STRLEN curlen, STRLEN* retlen, U32 flags); -PERL_CALLCONV UV Perl_utf8n_to_uvuni(pTHX_ U8 *s, STRLEN curlen, STRLEN* retlen, U32 flags); +PERL_CALLCONV UV Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN* retlen); +PERL_CALLCONV UV Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN* retlen); +PERL_CALLCONV UV Perl_utf8n_to_uvchr(pTHX_ const U8 *s, STRLEN curlen, STRLEN* retlen, U32 flags); +PERL_CALLCONV UV Perl_utf8n_to_uvuni(pTHX_ const U8 *s, STRLEN curlen, STRLEN* retlen, U32 flags); PERL_CALLCONV U8* Perl_uvchr_to_utf8(pTHX_ U8 *d, UV uv); PERL_CALLCONV U8* Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv); PERL_CALLCONV U8* Perl_uvchr_to_utf8_flags(pTHX_ U8 *d, UV uv, UV flags); @@ -1212,8 +1212,8 @@ STATIC I32 S_sublex_done(pTHX); STATIC I32 S_sublex_push(pTHX); STATIC I32 S_sublex_start(pTHX); STATIC char * S_filter_gets(pTHX_ SV *sv, PerlIO *fp, STRLEN append); -STATIC HV * S_find_in_my_stash(pTHX_ char *pkgname, I32 len); -STATIC SV* S_new_constant(pTHX_ char *s, STRLEN len, const char *key, SV *sv, SV *pv, const char *type); +STATIC HV * S_find_in_my_stash(pTHX_ const char *pkgname, I32 len); +STATIC SV* S_new_constant(pTHX_ const char *s, STRLEN len, const char *key, SV *sv, SV *pv, const char *type); # if defined(DEBUGGING) STATIC int S_tokereport(pTHX_ char *s, I32 rv); # endif |