Attention is currently required from: fixeria.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/35312?usp=email )
Change subject: utils: fix OSMO_STRBUF_REMAIN to handle sb.pos == NULL correctly ......................................................................
Patch Set 1:
(1 comment)
File include/osmocom/core/utils.h:
https://gerrit.osmocom.org/c/libosmocore/+/35312/comment/67e5187e_5630e69c PS1, Line 284: /*! Get remaining space for characters and terminating nul in the given struct osmo_strbuf. i'm not sure about the inlining, I think i'd just submit a normal function in utils.c.
surely it has some drawbacks somewhere to gather more and more static inline functions (re-compiling the same code bits over and over for every .c context that includes it?)
with macros it's slightly different, they are compiled only when actually in use, otherwise the preproc makes them disappear completely