summaryrefslogtreecommitdiffstats
path: root/bindings/java
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-03-27 15:04:46 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-03-27 15:04:46 +0000
commit46643326fd53a265d47947280b6799946af7c9d1 (patch)
tree4849795f5eaa10345776c54b193648aacd16df2b /bindings/java
parent91e118d69854bdc8fce654a3b3a911d143be298b (diff)
downloadlasso-46643326fd53a265d47947280b6799946af7c9d1.tar.gz
lasso-46643326fd53a265d47947280b6799946af7c9d1.tar.xz
lasso-46643326fd53a265d47947280b6799946af7c9d1.zip
Bindings: fix documentation parsing
* bindings/bindings.py: fix regex to match documentation (remove condition terminating on '**/') print error messages to stderr. * bindings/java/lang.py: remove commented debugging code
Diffstat (limited to 'bindings/java')
-rw-r--r--bindings/java/lang.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bindings/java/lang.py b/bindings/java/lang.py
index 1ba915e2..72dcdd78 100644
--- a/bindings/java/lang.py
+++ b/bindings/java/lang.py
@@ -747,7 +747,6 @@ protected static native void destroy(long cptr);
if do_import_util:
print >> fd, 'import java.util.*;'
print >> fd, ''
- #print 'class %s extends %s {' % (class_name,parent_name)
print >> fd, 'public class %s extends %s {' % (class_name,parent_name)
# Constructeur private
print >> fd, ' /* Constructors */'
@@ -762,14 +761,12 @@ protected static native void destroy(long cptr);
else:
return name[:i].replace('_','').lower()
cons = [ x for x in self.binding_data.functions if cprefix(x.name) == c.name.lower() and x.name.endswith('_new') ]
- #print 'cons ', cons
for m in cons:
print >> fd, ' public %s(%s) {' % (class_name, generate_arg_list(self,m.args))
print >> fd, ' super(LassoJNI.%s(%s));' % (self.JNI_function_name(m),generate_arg_list2(m.args))
print >> fd, ' }'
# Constructeurs speciaux
cons = [ x for x in self.binding_data.functions if cprefix(x.name) == c.name.lower() and not x.name.endswith('_new') ]
- #print 'cons ', cons
for m in cons:
name = method_name(m,class_name)
print >> fd, ' static public %s %s(%s) {' % (class_name, name, generate_arg_list(self,m.args))