From: cherierm Date: Mon, 12 Feb 2007 19:41:05 +0000 (+0000) Subject: export the interface of the context type in the win32 dll for use in clients. X-Git-Tag: v3.3~2229 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5121576ed9be3062ea9eac47afd77915ea3bf671 export the interface of the context type in the win32 dll for use in clients. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3130 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/include/xbt/context.h b/src/include/xbt/context.h index 1728a02b5d..ffa4725c3f 100644 --- a/src/include/xbt/context.h +++ b/src/include/xbt/context.h @@ -31,16 +31,16 @@ /* @}*/ -void xbt_context_init(void); -void xbt_context_exit(void); +XBT_PUBLIC(void) xbt_context_init(void); +XBT_PUBLIC(void) xbt_context_exit(void); void xbt_context_empty_trash(void); -xbt_context_t xbt_context_new(xbt_context_function_t code, +XBT_PUBLIC(xbt_context_t) xbt_context_new(xbt_context_function_t code, void_f_pvoid_t startup_func, void *startup_arg, void_f_pvoid_t cleanup_func, void *cleanup_arg, int argc, char *argv[]); void xbt_context_free(xbt_context_t context); -void xbt_context_start(xbt_context_t context); -void xbt_context_yield(void); -void xbt_context_schedule(xbt_context_t context); +XBT_PUBLIC(void) xbt_context_start(xbt_context_t context); +XBT_PUBLIC(void) xbt_context_yield(void); +XBT_PUBLIC(void) xbt_context_schedule(xbt_context_t context); /* @} */ #endif /* _XBT_CONTEXT_H */