use consistent macro name SWIG_CSTRING_UNIMPL
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
dacc6e1dbb
commit
2d87b0de74
3 changed files with 5 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
%include "cstring.i"
|
||||
|
||||
#ifndef _CSTRING_UNIMPL
|
||||
#ifndef SWIG_CSTRING_UNIMPL
|
||||
|
||||
%cstring_input_binary(char *in, int n);
|
||||
%cstring_bounded_output(char *out1, 512);
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
%include "cwstring.i"
|
||||
|
||||
#ifndef _CSTRING_UNIMPL
|
||||
#ifndef SWIG_CWSTRING_UNIMPL
|
||||
|
||||
%cwstring_input_binary(wchar_t *in, int n);
|
||||
%cwstring_bounded_output(wchar_t *out1, 512);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
%echo "cstring.i not implemented for this target"
|
||||
#define SWIG_CSTRING_UNIMPL
|
||||
|
||||
#define _CSTRING_UNIMPL
|
||||
/* old name keep for compatibility */
|
||||
#define _CSTRING_UNIMPL
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue