mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-23 13:10:41 +00:00
Take some dependencies out of dylib.h
This commit is contained in:
parent
a5b752454a
commit
4665f2d17a
3
dylib.c
3
dylib.c
@ -15,8 +15,7 @@
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "dynamic.h"
|
||||
#include "dylib.h"
|
||||
|
||||
#ifdef NEED_DYNAMIC
|
||||
|
||||
|
21
dylib.h
21
dylib.h
@ -18,7 +18,6 @@
|
||||
#define __DYLIB_H
|
||||
|
||||
#include <boolean.h>
|
||||
#include "libretro.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
@ -37,26 +36,6 @@ extern "C" {
|
||||
typedef void *dylib_t;
|
||||
typedef void (*function_t)(void);
|
||||
|
||||
/**
|
||||
* init_libretro_sym:
|
||||
* @dummy : Load dummy symbols if true
|
||||
*
|
||||
* Initializes libretro symbols and
|
||||
* setups environment callback functions.
|
||||
**/
|
||||
void init_libretro_sym(bool dummy);
|
||||
|
||||
/**
|
||||
* uninit_libretro_sym:
|
||||
*
|
||||
* Frees libretro core.
|
||||
*
|
||||
* Frees all core options,
|
||||
* associated state, and
|
||||
* unbind all libretro callback symbols.
|
||||
**/
|
||||
void uninit_libretro_sym(void);
|
||||
|
||||
#ifdef NEED_DYNAMIC
|
||||
/**
|
||||
* dylib_load:
|
||||
|
20
dynamic.h
20
dynamic.h
@ -166,6 +166,26 @@ extern void *(*pretro_get_memory_data)(unsigned);
|
||||
|
||||
extern size_t (*pretro_get_memory_size)(unsigned);
|
||||
|
||||
/**
|
||||
* init_libretro_sym:
|
||||
* @dummy : Load dummy symbols if true
|
||||
*
|
||||
* Initializes libretro symbols and
|
||||
* setups environment callback functions.
|
||||
**/
|
||||
void init_libretro_sym(bool dummy);
|
||||
|
||||
/**
|
||||
* uninit_libretro_sym:
|
||||
*
|
||||
* Frees libretro core.
|
||||
*
|
||||
* Frees all core options,
|
||||
* associated state, and
|
||||
* unbind all libretro callback symbols.
|
||||
**/
|
||||
void uninit_libretro_sym(void);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user