video_Thread_wrapper - add extern "C"

This commit is contained in:
twinaphex 2015-11-11 20:19:48 +01:00
parent 3c802d710f
commit c33f4b9f83

View File

@ -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