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:
Dave Beazley 2000-07-06 04:20:33 +00:00
commit b3cc0723f5
5 changed files with 294 additions and 14 deletions

View file

@ -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 -------- */