X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9758feb4e8734e40e9e969418250c6b01fe465ad..c4b366b6a9eedd0d24d0f1e2b63329dea4baed4e:/include/xbt/swag.h diff --git a/include/xbt/swag.h b/include/xbt/swag.h index 9ebd506420..1407b52bb4 100644 --- a/include/xbt/swag.h +++ b/include/xbt/swag.h @@ -88,7 +88,7 @@ typedef struct xbt_swag { XBT_PUBLIC(xbt_swag_t) xbt_swag_new(size_t offset); XBT_PUBLIC(void) xbt_swag_free(xbt_swag_t swag); -XBT_PUBLIC(void) xbt_swag_init(xbt_swag_t swag, size_t offset); +XBT_INLINE XBT_PUBLIC(void) xbt_swag_init(xbt_swag_t swag, size_t offset); /** * \param obj the objet to insert in the swag