More improvements to types and related code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8ec749cbe8
commit
b3cc0723f5
5 changed files with 294 additions and 14 deletions
|
|
@ -174,7 +174,7 @@ emit_function(DOH *obj, void *clientdata) {
|
|||
int nd;
|
||||
nd = SwigType_array_ndim(ptype);
|
||||
for (i = 0; i < nd; i++) {
|
||||
Printf(stdout,"array[%d] = %s\n", i, SwigType_array_getdim(ptype,i));
|
||||
Printf(stdout,"array[%d] = %S\n", i, SwigType_array_getdim(ptype,i));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -417,7 +417,7 @@ emit_map(DOH *obj, void *clientdata) {
|
|||
parms = Getattr(obj,"parms");
|
||||
rules = Getattr(obj,"child");
|
||||
|
||||
Swig_map_add(Rules,rulename,parms,rules);
|
||||
Swig_map_add(Rules,rulename,parms,obj);
|
||||
}
|
||||
|
||||
/* -------- Entry point -------- */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue