5 #ifndef XUNI_GUARD_LOADSO_H
6 #define XUNI_GUARD_LOADSO_H
14 #if !defined(LOADSO_SDL_VERSION) && !defined(LOADSO_DLOPEN_VERSION) \
15 && !defined(LOADSO_STATIC_VERSION)
17 #define LOADSO_SDL_VERSION
20 typedef void *loadso_t
;
21 typedef void (*func_point_t
)(void);
23 struct loadso_history_t
{
28 struct loadso_array_t
{
29 struct loadso_history_t
*object
;
33 loadso_t
xuni_loadso_load_object(struct loadso_array_t
*loadso
,
34 const char *filename
);
35 func_point_t
xuni_loadso_load_function(loadso_t object
, const char *func
);
36 void xuni_loadso_free_object(loadso_t object
);
38 void init_loadso(struct loadso_array_t
*loadso
);
39 void free_loadso(struct loadso_array_t
*loadso
);