replacing SWIGSTATIC(a) by SWIGINTERN a
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5edce7c150
commit
b501fb8521
14 changed files with 81 additions and 81 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/* defining basic methods */
|
||||
%fragment("SWIG_AsValFilePtr","header") {
|
||||
SWIGSTATICINLINE(int)
|
||||
SWIGINTERN int
|
||||
SWIG_AsValFilePtr(PyObject *obj, FILE **val) {
|
||||
static swig_type_info* desc = 0;
|
||||
FILE *ptr = 0;
|
||||
|
|
@ -28,7 +28,7 @@ SWIG_AsValFilePtr(PyObject *obj, FILE **val) {
|
|||
}
|
||||
|
||||
%fragment("SWIG_AsFilePtr","header",fragment="SWIG_AsValFilePtr") {
|
||||
SWIGSTATICINLINE(FILE*)
|
||||
SWIGINTERNSHORT FILE*
|
||||
SWIG_AsFilePtr(PyObject *obj) {
|
||||
FILE *val = 0;
|
||||
SWIG_AsValFilePtr(obj, &val);
|
||||
|
|
@ -37,7 +37,7 @@ SWIG_AsFilePtr(PyObject *obj) {
|
|||
}
|
||||
|
||||
%fragment("SWIG_CheckFilePtr","header",fragment="SWIG_AsValFilePtr") {
|
||||
SWIGSTATICINLINE(int)
|
||||
SWIGINTERNSHORT int
|
||||
SWIG_CheckFilePtr(PyObject *obj) {
|
||||
return SWIG_AsValFilePtr(obj, (FILE **)(0));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue