mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Only make keyboard_event function extern "C"
This commit is contained in:
parent
46402deb04
commit
3208b77b01
@ -17,23 +17,23 @@
|
|||||||
#ifndef WIN32_COMMON_H__
|
#ifndef WIN32_COMMON_H__
|
||||||
#define WIN32_COMMON_H__
|
#define WIN32_COMMON_H__
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _XBOX
|
#ifndef _XBOX
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include "../../win32/resource.h"
|
#include "../../win32/resource.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
LRESULT win32_handle_keyboard_event(HWND hwnd, UINT message,
|
LRESULT win32_handle_keyboard_event(HWND hwnd, UINT message,
|
||||||
WPARAM wparam, LPARAM lparam);
|
WPARAM wparam, LPARAM lparam);
|
||||||
|
|
||||||
LRESULT win32_menu_loop(HWND handle, WPARAM wparam);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
LRESULT win32_menu_loop(HWND handle, WPARAM wparam);
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user