diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-09-17 14:14:54 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-09-17 15:30:27 +0200 |
| commit | 080875a056e76a4279e51687a6fc36d81835e243 (patch) | |
| tree | 565d721279eb8273d3d3002b0d504642c366ef05 /vis.h | |
| parent | aa870086739ac54112544af71bd6db95c28802c2 (diff) | |
| download | vis-080875a056e76a4279e51687a6fc36d81835e243.tar.gz vis-080875a056e76a4279e51687a6fc36d81835e243.tar.xz | |
vis: provide reverse mapping function for register names
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -757,8 +757,9 @@ enum VisRegister { * @defgroup vis_registers * @{ */ -/** Translate single character register name to corresponding constant. */ +/** Translate between single character register name and corresponding constant. */ enum VisRegister vis_register_from(Vis*, char reg); +char vis_register_to(Vis*, enum VisRegister); /** * Specify register to use. * @rst |
