[liblouis-liblouisxml] python bindings: expose two more constants

  • From: Mesar Hameed <mesar.hameed@xxxxxxxxx>
  • To: Christian Egli <christian.egli@xxxxxx>, liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Sun, 26 Feb 2012 08:14:57 +0000

Hi Christian,

The python bindings doesnt seem to expose the otherTrans and ucBrl constants 
although that the liblouis.h header file does 
this.

Please find attached a small patch.

Thanks.
Mesar
Index: python/louis/__init__.py.in
===================================================================
--- python/louis/__init__.py.in (revision 537)
+++ python/louis/__init__.py.in (working copy)
@@ -282,6 +282,8 @@
 comp8Dots = 8
 pass1Only = 16
 compbrlLeftCursor = 32
+otherTrans = 64
+ucBrl = 128
 #}
 
 if __name__ == '__main__':

Other related posts: