ctfser: have dedicated signed/unsigned integer writing functions
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 11 Apr 2019 13:21:24 +0000 (09:21 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:09:19 +0000 (00:09 -0400)
commitd0e9a3c5b54e8d4d561d795061e6cbfba94560bd
tree1c01177f0db44b68639080d47042e022b22b184a
parent0cdfca6fee0fb129190e6234045b4ff537e059b3
ctfser: have dedicated signed/unsigned integer writing functions

Most of the time there's an external check for signedness anyway, so it
is redundant to pass the signedness to the writing function only for it
to evaluate it again.

In `lib/ctf-writer/fields.c`, the signedness check is now peripheral to
the ctfser writing function.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
include/babeltrace/ctfser-internal.h
lib/ctf-writer/fields.c
This page took 0.02348 seconds and 5 git commands to generate.