Skip to content

Commit

Permalink
Added splint macros on functin pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
petdance committed Oct 11, 2011
1 parent 5f8ff5d commit 4660252
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions include/parrot/extend.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ void Parrot_ext_call(PARROT_INTERP,
PARROT_EXPORT PARROT_EXPORT
void Parrot_ext_try(PARROT_INTERP, void Parrot_ext_try(PARROT_INTERP,
ARGIN_NULLOK(void (*cfunction)(Parrot_Interp, ARGIN_NULLOK(void (*cfunction)(Parrot_Interp,
void *)), ARGIN_NULLOK(void *))),
ARGIN_NULLOK(void (*chandler)(Parrot_Interp, ARGIN_NULLOK(void (*chandler)(Parrot_Interp,
PMC *, ARGIN_NULLOK(PMC *),
void *)), ARGIN_NULLOK(void *))),
ARGIN_NULLOK(void *data)) ARGIN_NULLOK(void *data))
__attribute__nonnull__(1); __attribute__nonnull__(1);


Expand Down
4 changes: 2 additions & 2 deletions src/extend.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@ If the function throws, the provided handler function is invoked
PARROT_EXPORT PARROT_EXPORT
void void
Parrot_ext_try(PARROT_INTERP, Parrot_ext_try(PARROT_INTERP,
ARGIN_NULLOK(void (*cfunction)(Parrot_Interp, void *)), ARGIN_NULLOK(void (*cfunction)(Parrot_Interp, ARGIN_NULLOK(void *))),
ARGIN_NULLOK(void (*chandler)(Parrot_Interp, PMC *, void *)), ARGIN_NULLOK(void (*chandler)(Parrot_Interp, ARGIN_NULLOK(PMC *), ARGIN_NULLOK(void *))),
ARGIN_NULLOK(void *data)) ARGIN_NULLOK(void *data))
{ {
ASSERT_ARGS(Parrot_ext_try) ASSERT_ARGS(Parrot_ext_try)
Expand Down

0 comments on commit 4660252

Please sign in to comment.