This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".
The branch, master has been updated
via 18080960e1f85bb315d927d18e52656973834813 (commit)
from 4e72ee0d0f678ec91dee5ad33e8796b56e8c078d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmocore/commit/?id=18080960e1f85bb315d927d18e52…
commit 18080960e1f85bb315d927d18e52656973834813
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Fri Dec 16 13:43:54 2016 +0100
utils.h: add OSMO_STRINGIFY and OSMO_VALUE_STRING macros
OSMO_STRINGIFY particularly allows putting port numbers from a #define into VTY
doc strings, like:
#define FOO_PORT 2342
DEFUN(...,
"Foo UDP port (default: " OSMO_STRINGIFY(FOO_PORT) ")\n")
OSMO_VALUE_STRING creates value_string items with the string being exactly the
enum value's name. Replaces a similar macro def in fsm.c
Change-Id: I857af45ae602bb9a647ba26cf8b0d1b23403b54c
-----------------------------------------------------------------------
Summary of changes:
include/osmocom/core/utils.h | 4 ++++
src/fsm.c | 12 +++++-------
2 files changed, 9 insertions(+), 7 deletions(-)
hooks/post-receive
--
An utility library for Open Source Mobile Communications