[retro-gtk] Introduce RetroProcAddress
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk] Introduce RetroProcAddress
- Date: Mon, 23 Mar 2020 13:54:37 +0000 (UTC)
commit 7e9f2238a599daa0d6b6ca9685879c75b39582ad
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sat Mar 21 18:10:38 2020 +0500
Introduce RetroProcAddress
For now this is only going to be used in RetroHWRenderCallback, but
libretro uses it in more places, so keep it separate.
retro-runner/retro-proc-address-private.h | 13 +++++++++++++
1 file changed, 13 insertions(+)
---
diff --git a/retro-runner/retro-proc-address-private.h b/retro-runner/retro-proc-address-private.h
new file mode 100644
index 0000000..22af93b
--- /dev/null
+++ b/retro-runner/retro-proc-address-private.h
@@ -0,0 +1,13 @@
+// This file is part of retro-gtk. License: GPL-3.0+.
+
+#pragma once
+
+#if !defined(__RETRO_GTK_INSIDE__) && !defined(RETRO_GTK_COMPILATION)
+# error "Only <retro-gtk.h> can be included directly."
+#endif
+
+G_BEGIN_DECLS
+
+typedef void (*RetroProcAddress) (void);
+
+G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]