*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@22 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
16ca1b7225
commit
cab4069c6a
7 changed files with 25 additions and 12 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* Simplified Wrapper and Interface Generator (SWIG)
|
||||
* DOH
|
||||
*
|
||||
* Author : David Beazley
|
||||
*
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
* Chicago, IL 60637
|
||||
* beazley@cs.uchicago.edu
|
||||
*
|
||||
* Please read the file LICENSE for the copyright and terms by which SWIG
|
||||
* Please read the file LICENSE for the copyright and terms by which DOH
|
||||
* can be used and distributed.
|
||||
****************************************************************************/
|
||||
|
||||
|
|
@ -326,9 +326,9 @@ List_str(DOH *lo)
|
|||
|
||||
List *l = (List *) lo;
|
||||
s = NewString("");
|
||||
Printf(s,"List [ ");
|
||||
Printf(s,"List[ ");
|
||||
for (i = 0; i < l->nitems; i++) {
|
||||
Printf(s, " %s\n", l->items[i]);
|
||||
Printf(s, "%s", l->items[i]);
|
||||
if ((i+1) < l->nitems)
|
||||
Printf(s,", ");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue