Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added splint macros on functin pointers

  • Loading branch information...
commit 46602529a153642271f39766f2a7a1d5702a03f6 1 parent 5f8ff5d
@petdance petdance authored
Showing with 5 additions and 5 deletions.
  1. +3 −3 include/parrot/extend.h
  2. +2 −2 src/extend.c
View
6 include/parrot/extend.h
@@ -57,10 +57,10 @@ void Parrot_ext_call(PARROT_INTERP,
PARROT_EXPORT
void Parrot_ext_try(PARROT_INTERP,
ARGIN_NULLOK(void (*cfunction)(Parrot_Interp,
- void *)),
+ ARGIN_NULLOK(void *))),
ARGIN_NULLOK(void (*chandler)(Parrot_Interp,
- PMC *,
- void *)),
+ ARGIN_NULLOK(PMC *),
+ ARGIN_NULLOK(void *))),
ARGIN_NULLOK(void *data))
__attribute__nonnull__(1);
View
4 src/extend.c
@@ -341,8 +341,8 @@ If the function throws, the provided handler function is invoked
PARROT_EXPORT
void
Parrot_ext_try(PARROT_INTERP,
- ARGIN_NULLOK(void (*cfunction)(Parrot_Interp, void *)),
- ARGIN_NULLOK(void (*chandler)(Parrot_Interp, PMC *, void *)),
+ ARGIN_NULLOK(void (*cfunction)(Parrot_Interp, ARGIN_NULLOK(void *))),
+ ARGIN_NULLOK(void (*chandler)(Parrot_Interp, ARGIN_NULLOK(PMC *), ARGIN_NULLOK(void *))),
ARGIN_NULLOK(void *data))
{
ASSERT_ARGS(Parrot_ext_try)
Please sign in to comment.
Something went wrong with that request. Please try again.