c2nim: bugfix: parsing of typedef'ed function pointers
This commit is contained in:
parent
da6046dcba
commit
e9b7d5e68e
2 changed files with 8 additions and 11 deletions
|
|
@ -10,6 +10,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
typedef void (*callback_t) (int rc);
|
||||
typedef const char* (*callback2)(int rc, long L, const char* buffer);
|
||||
|
||||
int aw_callback_set (AW_CALLBACK c, callback_t callback );
|
||||
int aw_instance_callback_set (AW_CALLBACK c, callback_t callback);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue