X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8afc2600f02d2978910a7e4f5d59895de33604be..ad5365a072943b2b0bacc486fa504e93a99ea940:/include/xbt/mallocator.h diff --git a/include/xbt/mallocator.h b/include/xbt/mallocator.h index be9f83af27..90273ba25f 100644 --- a/include/xbt/mallocator.h +++ b/include/xbt/mallocator.h @@ -37,8 +37,8 @@ SG_BEGIN_DECL() /** \brief Mallocator data type (opaque structure) */ typedef struct s_xbt_mallocator *xbt_mallocator_t; -XBT_PUBLIC xbt_mallocator_t xbt_mallocator_new(int size, pvoid_f_void_t new_f, void_f_pvoid_t free_f, void_f_pvoid_t reset_f); -XBT_PUBLIC void xbt_mallocator_free(xbt_mallocator_t mallocator); +XBT_PUBLIC(xbt_mallocator_t) xbt_mallocator_new(int size, pvoid_f_void_t new_f, void_f_pvoid_t free_f, void_f_pvoid_t reset_f); +XBT_PUBLIC(void) xbt_mallocator_free(xbt_mallocator_t mallocator); /** @} */ /* object handling */ @@ -47,8 +47,8 @@ XBT_PUBLIC void xbt_mallocator_free(xbt_mallocator_t mallocator); * * @{ */ -XBT_PUBLIC void *xbt_mallocator_get(xbt_mallocator_t mallocator); -XBT_PUBLIC void xbt_mallocator_release(xbt_mallocator_t mallocator, void *object); +XBT_PUBLIC(void*) xbt_mallocator_get(xbt_mallocator_t mallocator); +XBT_PUBLIC(void) xbt_mallocator_release(xbt_mallocator_t mallocator, void *object); /** @} */ SG_END_DECL()