ctfser: have dedicated signed/unsigned integer writing functions
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 11 Apr 2019 13:21:24 +0000 (09:21 -0400)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
commitd6981059a3b2d68025cd9b1b246cc18d0eb6f0b1
tree1c01177f0db44b68639080d47042e022b22b184a
parentb2c863b0885b886f0290833848375c48f347e657
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.024163 seconds and 4 git commands to generate.