Uniform handling of SWIGEXPORT across SWIG.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0870b84abc
commit
815355b964
8 changed files with 20 additions and 51 deletions
|
|
@ -626,7 +626,7 @@ extern "C" {
|
|||
#ifdef MAC_TCL
|
||||
#pragma export on
|
||||
#endif
|
||||
SWIGEXPORT(int) SWIG_init(Tcl_Interp *);
|
||||
SWIGEXPORT int SWIG_init(Tcl_Interp *);
|
||||
#ifdef MAC_TCL
|
||||
#pragma export off
|
||||
#endif
|
||||
|
|
@ -641,7 +641,7 @@ SWIGEXPORT(int) SWIG_init(Tcl_Interp *);
|
|||
%insert(init) "swiginit.swg"
|
||||
|
||||
%init %{
|
||||
SWIGEXPORT(int) SWIG_init(Tcl_Interp *interp) {
|
||||
SWIGEXPORT int SWIG_init(Tcl_Interp *interp) {
|
||||
int i;
|
||||
if (interp == 0) return TCL_ERROR;
|
||||
#ifdef USE_TCL_STUBS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue