Added typemap to remove uninitialized variable warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cb2c3f3b44
commit
6571ecfe68
1 changed files with 2 additions and 0 deletions
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
extern int gcd(int x, int y);
|
||||
|
||||
%typemap(tcl8,arginit) (int argc, char *argv[]) "$2 = 0;";
|
||||
|
||||
%typemap(tcl8,in) (int argc, char *argv[]) {
|
||||
Tcl_Obj **listobjv = 0;
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue