mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
video_Thread_wrapper - add extern "C"
This commit is contained in:
parent
3c802d710f
commit
c33f4b9f83
@ -23,6 +23,10 @@
|
|||||||
#include <rthreads/rthreads.h>
|
#include <rthreads/rthreads.h>
|
||||||
#include "font_driver.h"
|
#include "font_driver.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
enum thread_cmd
|
enum thread_cmd
|
||||||
{
|
{
|
||||||
CMD_NONE = 0,
|
CMD_NONE = 0,
|
||||||
@ -59,6 +63,7 @@ enum thread_cmd
|
|||||||
CMD_DUMMY = INT_MAX
|
CMD_DUMMY = INT_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
enum thread_cmd type;
|
enum thread_cmd type;
|
||||||
@ -256,5 +261,8 @@ void *rarch_threaded_video_get_ptr(const video_driver_t **drv);
|
|||||||
|
|
||||||
const char *rarch_threaded_video_get_ident(void);
|
const char *rarch_threaded_video_get_ident(void);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user