src/cx/map.h

changeset 553
8f7d3e7b5b93
parent 551
2946e13c89a4
child 555
d79fbd028e26
     1.1 --- a/src/cx/map.h	Sat May 21 12:10:25 2022 +0200
     1.2 +++ b/src/cx/map.h	Fri May 27 11:39:50 2022 +0200
     1.3 @@ -190,7 +190,7 @@
     1.4   * @return the value
     1.5   */
     1.6  __attribute__((__nonnull__, __warn_unused_result__))
     1.7 -void *cxMapGet(
     1.8 +static inline void *cxMapGet(
     1.9          CxMap const *map,
    1.10          CxDataPtr key
    1.11  ) {
    1.12 @@ -205,7 +205,7 @@
    1.13   * @return the removed value
    1.14   */
    1.15  __attribute__((__nonnull__, __warn_unused_result__))
    1.16 -void *cxMapRemove(
    1.17 +static inline void *cxMapRemove(
    1.18          CxMap *map,
    1.19          CxDataPtr key
    1.20  ) {

mercurial