Commit 3fbf74e5 authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Add some export macros.

parent ca507dc1
......@@ -110,11 +110,11 @@ enum belle_sip_interface_ids{
BELLE_SIP_BEGIN_DECLS
void *belle_sip_malloc(size_t size);
BELLESIP_EXPORT void *belle_sip_malloc(size_t size);
BELLESIP_EXPORT void *belle_sip_malloc0(size_t size);
void *belle_sip_realloc(void *ptr, size_t size);
BELLESIP_EXPORT void *belle_sip_realloc(void *ptr, size_t size);
BELLESIP_EXPORT void belle_sip_free(void *ptr);
char * belle_sip_strdup(const char *s);
BELLESIP_EXPORT char * belle_sip_strdup(const char *s);
BELLE_SIP_END_DECLS
......
......@@ -239,13 +239,13 @@ belle_sip_list_t *belle_sip_list_delete_custom(belle_sip_list_t *list, belle_sip
#define MAX(a,b) ((a)>(b) ? (a) : (b))
char * belle_sip_concat (const char *str, ...);
BELLESIP_INTERNAL_EXPORT char * belle_sip_concat (const char *str, ...);
BELLESIP_INTERNAL_EXPORT uint64_t belle_sip_time_ms(void);
unsigned int belle_sip_random(void);
BELLESIP_INTERNAL_EXPORT unsigned int belle_sip_random(void);
char *belle_sip_strdup_printf(const char *fmt,...);
BELLESIP_INTERNAL_EXPORT char *belle_sip_strdup_printf(const char *fmt,...);
/*parameters accessors*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment