Permalink
Browse files

fix codetest failures - add c function docs and ASSERT_ARGS

  • Loading branch information...
1 parent 1c71188 commit c6fa8b7327a3a5508fd2846eacb965418422aa5e @mikehh mikehh committed Feb 8, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/embed/api.c
View
@@ -829,10 +829,22 @@ Parrot_api_toggle_gc(Parrot_PMC interp_pmc, Parrot_Int on)
EMBED_API_CALLOUT(interp_pmc, interp)
}
+/*
+
+=item C<Parrot_Int Parrot_api_reset_call_signature(Parrot_PMC interp_pmc,
+Parrot_PMC ctx)>
+
+Reset the call signature
+
+=cut
+
+*/
+
PARROT_API
Parrot_Int
Parrot_api_reset_call_signature(Parrot_PMC interp_pmc, Parrot_PMC ctx)
{
+ ASSERT_ARGS(Parrot_api_reset_call_signature)
EMBED_API_CALLIN(interp_pmc, interp)
STRING * const callcontext = Parrot_str_new(interp, "CallContext", 0);
if (!VTABLE_isa(interp, ctx, callcontext))

0 comments on commit c6fa8b7

Please sign in to comment.