X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=embed.fnc;h=5c6c8e8c226bec663db56cd2aecfb94c0842a822;hb=b464bac0b70c4876af1296864220315edde8461d;hp=696d01f180580b546714c9818447f7d19082a088;hpb=2d706fb2bbfd21eac5cd2efc341a42f1caed2490;p=p5sagit%2Fp5-mst-13.2.git diff --git a/embed.fnc b/embed.fnc index 696d01f..5c6c8e8 100644 --- a/embed.fnc +++ b/embed.fnc @@ -24,9 +24,8 @@ : b binary backward compatibility; function is a macro : but has also Perl_ implementation (which is exported) : U suppress usage example in autogenerated documentation -: a allocates memory a la malloc/calloc -: R Return value must not be ignored. All "a" functions -: get this automatically. +: a allocates memory a la malloc/calloc. Is also "R". +: R Return value must not be ignored. : P pure function: no effects except the return value; : return value depends only on parms and/or globals : @@ -72,7 +71,7 @@ Aanop |Malloc_t|calloc |MEM_SIZE elements|MEM_SIZE size Aanop |Malloc_t|realloc |Malloc_t where|MEM_SIZE nbytes Anop |Free_t |mfree |Malloc_t where #if defined(MYMALLOC) -np |MEM_SIZE|malloced_size |void *p +npR |MEM_SIZE|malloced_size |void *p #endif Anp |void* |get_context @@ -305,9 +304,9 @@ p |void |init_debugger Ap |void |init_stacks Ap |void |init_tm |struct tm *ptm pd |U32 |intro_my -ApP |char* |instr |NN const char* big|NN const char* little -p |bool |io_close |IO* io|bool not_implicit -p |OP* |invert |OP* cmd +ApPR |char* |instr |NN const char* big|NN const char* little +pR |bool |io_close |NN IO* io|bool not_implicit +pR |OP* |invert |OP* cmd dpR |bool |is_gv_magical |const char *name|STRLEN len|U32 flags ApR |I32 |is_lvalue_sub ApPR |U32 |to_uni_upper_lc|U32 c @@ -768,8 +767,8 @@ Apd |SV* |sv_mortalcopy |NN SV* oldsv ApdR |SV* |sv_newmortal Apd |SV* |sv_newref |SV* sv Ap |char* |sv_peek |SV* sv -Apd |void |sv_pos_u2b |SV* sv|I32* offsetp|I32* lenp -Apd |void |sv_pos_b2u |SV* sv|I32* offsetp +Apd |void |sv_pos_u2b |SV* sv|NN I32* offsetp|I32* lenp +Apd |void |sv_pos_b2u |SV* sv|NN I32* offsetp Amdb |char* |sv_pvn_force |SV* sv|STRLEN* lp Apd |char* |sv_pvutf8n_force|SV* sv|STRLEN* lp Apd |char* |sv_pvbyten_force|SV* sv|STRLEN* lp @@ -996,9 +995,10 @@ sR |HE* |new_he s |void |del_he |NN HE *p sR |HEK* |save_hek_flags |NN const char *str|I32 len|U32 hash|int flags s |void |hv_magic_check |NN HV *hv|NN bool *needs_copy|NN bool *needs_store -s |void |unshare_hek_or_pvn|HEK* hek|NN const char* sv|I32 len|U32 hash +s |void |unshare_hek_or_pvn|HEK* hek|const char* str|I32 len|U32 hash sR |HE* |share_hek_flags|const char* sv|I32 len|U32 hash|int flags rs |void |hv_notallowed |int flags|NN const char *key|I32 klen|NN const char *msg +asR |struct xpvhv_aux*|hv_auxinit|HV *hv #endif #if defined(PERL_IN_MG_C) || defined(PERL_DECL_PROT) @@ -1140,10 +1140,10 @@ s |SV* |method_common |SV* meth|U32* hashp #endif #if defined(PERL_IN_PP_SYS_C) || defined(PERL_DECL_PROT) -s |OP* |doform |CV *cv|GV *gv|OP *retop -s |int |emulate_eaccess|const char* path|Mode_t mode +s |OP* |doform |NN CV *cv|NN GV *gv|NN OP *retop +sr |int |emulate_eaccess|NN const char* path|Mode_t mode # if !defined(HAS_MKDIR) || !defined(HAS_RMDIR) -s |int |dooneliner |char *cmd|char *filename +sR |int |dooneliner |NN const char *cmd|NN const char *filename # endif #endif @@ -1430,17 +1430,16 @@ sM |SV* |hv_delete_common|HV* tb|SV* key_sv|const char* key|STRLEN klen|int k_fl sM |HE* |hv_fetch_common|HV* tb|SV* key_sv|const char* key|STRLEN klen|int flags|int action|SV* val|U32 hash #endif -Apd |void |hv_clear_placeholders|HV* hb - -Apd |SV* |hv_scalar |HV* hv| -Apo |I32* |hv_riter_p |HV* hv -Apo |HE** |hv_eiter_p |HV* hv -Apo |void |hv_riter_set |HV* hv|I32 riter -Apo |void |hv_eiter_set |HV* hv|HE* eiter -Apo |void |hv_name_set |HV* hv|const char *|I32 len|int flags -Apo |I32* |hv_placeholders_p |HV* hv -Apo |I32 |hv_placeholders_get |HV* hv -Apo |void |hv_placeholders_set |HV* hv|I32 ph +ApdR |SV* |hv_scalar |NN HV* hv +ApoR |I32* |hv_riter_p |NN HV* hv +ApoR |HE** |hv_eiter_p |NN HV* hv +Apo |void |hv_riter_set |NN HV* hv|I32 riter +Apo |void |hv_eiter_set |NN HV* hv|NN HE* eiter +Apo |void |hv_name_set |NN HV* hv|const char *name|I32 len|int flags +Apd |void |hv_clear_placeholders |NN HV* hb +ApoR |I32* |hv_placeholders_p |NN HV* hv +ApoR |I32 |hv_placeholders_get |NN HV* hv +ApoR |void |hv_placeholders_set |NN HV* hv|I32 ph p |SV* |magic_scalarpack|HV* hv|MAGIC* mg #ifdef PERL_IN_SV_C