Removed unused extra arguments from calls to Printf().
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
19247953b8
commit
02d382d880
1 changed files with 2 additions and 2 deletions
|
|
@ -257,7 +257,7 @@ void CFFI::emit_defmethod(Node *n) {
|
|||
if (Len(ffitype) > 0)
|
||||
Printf(args_placeholder, "(%s %s)", argname, ffitype);
|
||||
else
|
||||
Printf(args_placeholder, "%s", argname, ffitype);
|
||||
Printf(args_placeholder, "%s", argname);
|
||||
|
||||
if (Strcmp(ffitype, lispify_name(parent, lispy_name(Char(Getattr(parent, "sym:name"))), "'classname")) == 0)
|
||||
Printf(args_call, " (ff-pointer %s)", argname);
|
||||
|
|
@ -305,7 +305,7 @@ void CFFI::emit_initialize_instance(Node *n) {
|
|||
if (Len(ffitype) > 0)
|
||||
Printf(args_placeholder, " (%s %s)", argname, ffitype);
|
||||
else
|
||||
Printf(args_placeholder, " %s", argname, ffitype);
|
||||
Printf(args_placeholder, " %s", argname);
|
||||
|
||||
if (Strcmp(ffitype, lispify_name(parent, lispy_name(Char(Getattr(parent, "sym:name"))), "'classname")) == 0)
|
||||
Printf(args_call, " (ff-pointer %s)", argname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue