add macors for PTR2IV INT2PTR when needed, bug #1208765
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
799f7e9254
commit
fdb55e82ab
1 changed files with 9 additions and 0 deletions
|
|
@ -93,7 +93,16 @@ extern "C" {
|
|||
|
||||
#ifndef pTHX_
|
||||
#define pTHX_
|
||||
#endif
|
||||
|
||||
#ifndef PTR2IV
|
||||
# define PTR2IV(d) (IV)(d)
|
||||
#endif
|
||||
|
||||
#ifndef INT2PTR
|
||||
# define INT2PTR(any,d) (any)(d)
|
||||
#endif
|
||||
|
||||
|
||||
#include <string.h>
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue