c2nim: bugfix: parsing of typedef'ed function pointers

This commit is contained in:
Araq 2011-09-28 00:41:40 +02:00
commit e9b7d5e68e
2 changed files with 8 additions and 11 deletions

View file

@ -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);