mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-21 03:50:28 +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 "font_driver.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
enum thread_cmd
|
||||
{
|
||||
CMD_NONE = 0,
|
||||
@ -59,6 +63,7 @@ enum thread_cmd
|
||||
CMD_DUMMY = INT_MAX
|
||||
};
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
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);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user