X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0909f6ea8e2ed9702bd8a2c31163bc3474be79ef..66d97e68ea51b5514594e5818f75c7d844586eae:/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()