base: make heim_alloc deallocator use HEIM_CALLCONV
This commit is contained in:

committed by
Nico Williams

parent
4748f3a19d
commit
917e16049a
@@ -150,7 +150,7 @@ db_init_plugins_once(void *arg)
|
||||
db_plugins = heim_retain(arg);
|
||||
}
|
||||
|
||||
static void
|
||||
static void HEIM_CALLCONV
|
||||
plugin_dealloc(void *arg)
|
||||
{
|
||||
db_plugin plug = arg;
|
||||
|
@@ -173,7 +173,7 @@ void heim_release(heim_object_t);
|
||||
|
||||
void heim_show(heim_object_t);
|
||||
|
||||
typedef void (*heim_type_dealloc)(void *);
|
||||
typedef void (HEIM_CALLCONV *heim_type_dealloc)(void *);
|
||||
|
||||
void *
|
||||
heim_alloc(size_t size, const char *name, heim_type_dealloc dealloc);
|
||||
|
@@ -112,7 +112,7 @@ struct heim_dso {
|
||||
void *dsohandle;
|
||||
};
|
||||
|
||||
static void
|
||||
static void HEIM_CALLCONV
|
||||
dso_dealloc(void *ptr)
|
||||
{
|
||||
struct heim_dso *p = ptr;
|
||||
|
@@ -64,7 +64,7 @@
|
||||
|
||||
#include "baselocl.h"
|
||||
|
||||
static void
|
||||
static void HEIM_CALLCONV
|
||||
memory_free(heim_object_t obj)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user