Python: CTFWriter: add FloatingPointFieldDeclaration
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 9 Dec 2014 00:28:10 +0000 (19:28 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 13 Feb 2015 17:17:57 +0000 (12:17 -0500)
This class is added in order to keep the API
consistent, as there is a FloatingPointField class.
It inherits FloatFieldDeclaration so that the API is
not broken.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
bindings/python/bt.py

index 332fb7d8f6c9238655e44eaed41860bec2a6c1ee..8105056a8fab0d5299242f2ca4f6027e8f5ab23b 100644 (file)
@@ -1709,6 +1709,9 @@ class CTFWriter:
             if ret < 0:
                 raise ValueError("Could not set mantissa digit count.")
 
+    class FloatingPointFieldDeclaration(FloatFieldDeclaration):
+        pass
+
     class StructureFieldDeclaration(FieldDeclaration):
         def __init__(self):
             """
This page took 0.025385 seconds and 4 git commands to generate.