From da43007d120f75be56806a848d701cab5578eeb4 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Mon, 8 Dec 2014 19:28:10 -0500 Subject: [PATCH] Python: CTFWriter: add FloatingPointFieldDeclaration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- bindings/python/bt.py | 3 +++ 1 file changed, 3 insertions(+) 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): """ -- 2.34.1