Better display of parms when using -debug-module and -debug-top
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
142f1e72bb
commit
9e624db5bf
1 changed files with 2 additions and 2 deletions
|
|
@ -77,9 +77,9 @@ void Swig_print_node(Node *obj) {
|
|||
if ((Cmp(k, "nodeType") == 0) || (Cmp(k, "firstChild") == 0) || (Cmp(k, "lastChild") == 0) ||
|
||||
(Cmp(k, "parentNode") == 0) || (Cmp(k, "nextSibling") == 0) || (Cmp(k, "previousSibling") == 0) || (*(Char(k)) == '$')) {
|
||||
/* Do nothing */
|
||||
} else if (Cmp(k, "parms") == 0) {
|
||||
} else if (Cmp(k, "parms") == 0 || Cmp(k, "wrap:parms") == 0) {
|
||||
print_indent(2);
|
||||
Printf(stdout, "%-12s - %s\n", k, ParmList_protostr(Getattr(obj, k)));
|
||||
Printf(stdout, "%-12s - %s\n", k, ParmList_str_defaultargs(Getattr(obj, k)));
|
||||
} else {
|
||||
DOH *o;
|
||||
char *trunc = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue