mirror of
https://github.com/libretro/RetroArch
synced 2025-02-02 05:54:16 +00:00
Use C linkage in frontend.h and input_common.h
This commit is contained in:
parent
e2ffb51c2d
commit
1f8c114641
@ -29,7 +29,15 @@
|
||||
#define signature() int argc, char *argv[]
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int main_entry_iterate(signature(), args_type() args);
|
||||
void main_exit(args_type() args);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -20,6 +20,10 @@
|
||||
#include "../conf/config_file.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
static inline void input_conv_analog_id_to_bind_id(unsigned index, unsigned id,
|
||||
unsigned *id_minus, unsigned *id_plus)
|
||||
{
|
||||
@ -160,5 +164,9 @@ void input_config_parse_joy_axis(config_file_t *conf, const char *prefix,
|
||||
|
||||
void input_config_autoconfigure_joypad(unsigned index, const char *name, const char *driver);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user