From: Philippe Proulx Date: Tue, 9 Dec 2014 00:28:10 +0000 (-0500) Subject: Python: CTFWriter: add FloatingPointFieldDeclaration X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=da43007d120f75be56806a848d701cab5578eeb4;p=deliverable%2Fbabeltrace.git Python: CTFWriter: add FloatingPointFieldDeclaration 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 --- diff --git a/bindings/python/bt.py b/bindings/python/bt.py index 332fb7d8f..8105056a8 100644 --- a/bindings/python/bt.py +++ b/bindings/python/bt.py @@ -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): """