Skip to content

Commit

Permalink
Marcus Holland-Moritz notes that the first argument to
Browse files Browse the repository at this point in the history
refcounted_he_fetch() can be NULL.

p4raw-id: //depot/perl@29884
  • Loading branch information
nwc10 committed Jan 19, 2007
1 parent 0945d66 commit 1875938
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion embed.fnc
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ ApdR |SV* |hv_iterval |NN HV* tb|NN HE* entry
Ap |void |hv_ksplit |NN HV* hv|IV newmax
Apdbm |void |hv_magic |NN HV* hv|NULLOK GV* gv|int how
XEdpoM |HV * |refcounted_he_chain_2hv|NULLOK const struct refcounted_he *c
XEpoM |SV * |refcounted_he_fetch|NN const struct refcounted_he *chain \
XEpoM |SV * |refcounted_he_fetch|NULLOK const struct refcounted_he *chain \
|NULLOK SV *keysv|NULLOK const char *key \
|STRLEN klen, int flags, U32 hash
dpoM |void |refcounted_he_free|NULLOK struct refcounted_he *he
Expand Down
4 changes: 1 addition & 3 deletions proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -737,9 +737,7 @@ PERL_CALLCONV void Perl_hv_ksplit(pTHX_ HV* hv, IV newmax)
__attribute__nonnull__(pTHX_1); */

PERL_CALLCONV HV * Perl_refcounted_he_chain_2hv(pTHX_ const struct refcounted_he *c);
PERL_CALLCONV SV * Perl_refcounted_he_fetch(pTHX_ const struct refcounted_he *chain, SV *keysv, const char *key, STRLEN klen, int flags, U32 hash)
__attribute__nonnull__(pTHX_1);

PERL_CALLCONV SV * Perl_refcounted_he_fetch(pTHX_ const struct refcounted_he *chain, SV *keysv, const char *key, STRLEN klen, int flags, U32 hash);
PERL_CALLCONV void Perl_refcounted_he_free(pTHX_ struct refcounted_he *he);
PERL_CALLCONV struct refcounted_he * Perl_refcounted_he_new(pTHX_ struct refcounted_he *const parent, SV *const key, SV *const value);
PERL_CALLCONV SV** Perl_hv_store(pTHX_ HV* tb, const char* key, I32 klen, SV* val, U32 hash);
Expand Down

0 comments on commit 1875938

Please sign in to comment.