Attention is currently required from: neels, osmith.

laforge has posted comments on this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/35207?usp=email )

Change subject: util: add osmo_strbuf macros to manipulate the strbuf tail
......................................................................


Patch Set 1:

(1 comment)

File include/osmocom/core/utils.h:

https://gerrit.osmocom.org/c/libosmocore/+/35207/comment/8bd00d27_a19b74f8
PS1, Line 329:  } while (0)
> What is the advantage of having these long macros instead of turning them 
> into (probably more readab […]
I agree. I don't really see anything in the macro at first glance which 
couldn't be achieved in a function, or at least an inline function.  The use of 
macros should be constrained to situations where we really need to solve 
something that's not super trivial and not possible in an (if needed, inline) 
funtion.



--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/35207?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I997707c328eab3ffa00a78fdb9a0a2cbe18404b4
Gerrit-Change-Number: 35207
Gerrit-PatchSet: 1
Gerrit-Owner: neels <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-CC: laforge <[email protected]>
Gerrit-Attention: osmith <[email protected]>
Gerrit-Attention: neels <[email protected]>
Gerrit-Comment-Date: Mon, 04 Dec 2023 08:40:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: osmith <[email protected]>
Gerrit-MessageType: comment

Reply via email to