Skip to content

Commit

Permalink
added typedef int (*cmpfunc) it is missing in Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
nixinwang authored Mar 4, 2017
1 parent 641d640 commit 0debcab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hdr/iidbi.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@
# define MAX_PATH 256
# endif /* MAX_PATH */

typedef int (*cmpfunc)(PyObject *, PyObject*);

/*
** Name: IIDBI_ERROR - DBI error message structure.
**
Expand Down

0 comments on commit 0debcab

Please sign in to comment.