Skip to content

Commit

Permalink
'ARGMOD' not appropriate with 'const'; must use 'ARGIN'.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeenan committed Feb 9, 2012
1 parent 118b706 commit f4f5025
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions include/parrot/hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,12 @@ Hash * Parrot_hash_create_sized(PARROT_INTERP,
__attribute__nonnull__(1);

void Parrot_hash_flatten_hash_into(PARROT_INTERP,
ARGMOD(PMC * const dest),
ARGIN(PMC * const dest),
ARGIN(PMC * const src),
INTVAL overwrite)
__attribute__nonnull__(1)
__attribute__nonnull__(2)
__attribute__nonnull__(3)
FUNC_MODIFIES(* const dest);
__attribute__nonnull__(3);

void Parrot_hash_freeze(PARROT_INTERP,
ARGIN(const Hash *hash),
Expand Down
2 changes: 1 addition & 1 deletion src/hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -2217,7 +2217,7 @@ Parrot_hash_value_to_number(PARROT_INTERP, ARGIN(const Hash *hash), ARGIN_NULLOK
}

void
Parrot_hash_flatten_hash_into(PARROT_INTERP, ARGMOD(PMC * const dest),
Parrot_hash_flatten_hash_into(PARROT_INTERP, ARGIN(PMC * const dest),
ARGIN(PMC * const src), INTVAL overwrite)
{
const Hash * const src_hash = (Hash *)VTABLE_get_pointer(interp, src);
Expand Down

0 comments on commit f4f5025

Please sign in to comment.