summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8951511)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3107
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
h = xbt_new0(s_tmgr_history_t, 1);
h = xbt_new0(s_tmgr_history_t, 1);
- h->heap = xbt_heap_new(8, free); /* Why 8 ? Well, why not... */
+ h->heap = xbt_heap_new(8, xbt_free_f); /* Why 8 ? Well, why not... */
typedef struct xbt_dict_cursor_ s_xbt_dict_cursor_t;
extern xbt_mallocator_t dict_elm_mallocator;
typedef struct xbt_dict_cursor_ s_xbt_dict_cursor_t;
extern xbt_mallocator_t dict_elm_mallocator;
-XBT_PUBLIC(extern void*) dict_elm_mallocator_new_f(void);
-XBT_PUBLIC(extern void) dict_elm_mallocator_free_f(void* elem);
-XBT_PUBLIC(extern void) dict_elm_mallocator_reset_f(void* elem);
+extern void* dict_elm_mallocator_new_f(void);
+extern void dict_elm_mallocator_free_f(void* elem);
+extern void dict_elm_mallocator_reset_f(void* elem);
/*####[ Function prototypes ]################################################*/
/*####[ Function prototypes ]################################################*/
-XBT_PUBLIC(xbt_dictelm_t) xbt_dictelm_new(const char *key,
+xbt_dictelm_t xbt_dictelm_new(const char *key,
int key_len,
void *content,
void_f_pvoid_t free_f,
xbt_dictelm_t next);
int key_len,
void *content,
void_f_pvoid_t free_f,
xbt_dictelm_t next);
-XBT_PUBLIC(void) xbt_dictelm_free(xbt_dictelm_t element);
-XBT_PUBLIC(void) xbt_dict_add_element(xbt_dict_t dict, xbt_dictelm_t element);
+void xbt_dictelm_free(xbt_dictelm_t element);
+void xbt_dict_add_element(xbt_dict_t dict, xbt_dictelm_t element);
#endif /* _XBT_DICT_PRIVATE_H_ */
#endif /* _XBT_DICT_PRIVATE_H_ */
#ifndef _XBT_EX_INTERFACE_H_
#define _XBT_EX_INTERFACE_H_
#ifndef _XBT_EX_INTERFACE_H_
#define _XBT_EX_INTERFACE_H_
-XBT_PUBLIC(void) xbt_ex_setup_backtrace(xbt_ex_t *e);
+void xbt_ex_setup_backtrace(xbt_ex_t *e);
#endif /* _XBT_EX_INTERFACE_H_ */
#endif /* _XBT_EX_INTERFACE_H_ */