Reduce verbosity of Java API generators

This commit is contained in:
Andrey Kamaev
2012-09-06 14:55:48 +04:00
parent b8adc04545
commit 70234433d3
3 changed files with 2 additions and 6 deletions

View File

@@ -987,14 +987,14 @@ extern "C" {
msg = "// Return type '%s' is not supported, skipping the function\n\n" % fi.ctype
self.skipped_func_list.append(c_decl + "\n" + msg)
j_code.write( " "*4 + msg )
print "SKIP:", c_decl, "\n\tdue to RET type", fi.ctype
print "SKIP:", c_decl.strip(), "\t due to RET type", fi.ctype
return
for a in fi.args:
if a.ctype not in type_dict:
msg = "// Unknown type '%s' (%s), skipping the function\n\n" % (a.ctype, a.out or "I")
self.skipped_func_list.append(c_decl + "\n" + msg)
j_code.write( " "*4 + msg )
print "SKIP:", c_decl, "\n\tdue to ARG type", a.ctype, "/" + (a.out or "I")
print "SKIP:", c_decl.strip(), "\t due to ARG type", a.ctype, "/" + (a.out or "I")
return
self.ported_func_list.append(c_decl)