diff options
author | Karel Zak | 2017-01-09 13:28:24 +0100 |
---|---|---|
committer | Karel Zak | 2017-01-09 13:28:24 +0100 |
commit | 6ffbd28359104c75015c260b84c804fb893b8620 (patch) | |
tree | 1e2a45a83ec2d73c178ec3b2fbf026314dce2e5e /libsmartcols/src/libsmartcols.sym | |
parent | Merge branch 'ignatenko/libsmartcols-dead' of https://github.com/ignatenkobra... (diff) | |
download | kernel-qcow2-util-linux-6ffbd28359104c75015c260b84c804fb893b8620.tar.gz kernel-qcow2-util-linux-6ffbd28359104c75015c260b84c804fb893b8620.tar.xz kernel-qcow2-util-linux-6ffbd28359104c75015c260b84c804fb893b8620.zip |
libsmartcols: add scols_cell_get_alignment()
Just to hide that we use cell flags (bitwise operations) to define
cell content alignment. The patch also more explicitly specifies the
flags in the header file.
The alignment is evaluated in the order: right, center, left. The
default is left.
Note that SCOLS_CELL_FL_* are used for for table title only.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/libsmartcols.sym')
-rw-r--r-- | libsmartcols/src/libsmartcols.sym | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libsmartcols/src/libsmartcols.sym b/libsmartcols/src/libsmartcols.sym index 2bf2b4ee4..b8a3a5b4c 100644 --- a/libsmartcols/src/libsmartcols.sym +++ b/libsmartcols/src/libsmartcols.sym @@ -157,3 +157,9 @@ global: scols_wrapnl_chunksize; scols_wrapnl_nextchunk; } SMARTCOLS_2.28; + + +SMARTCOLS_2.30 { +global: + scols_cell_get_alignment; +} SMARTCOLS_2.29; |