SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 91f2a82f1967c12f08988a4de9d76b3e8c0573dd parent e666ec09dbc2d8d0ed3173b31b9f1a42ad0303a8 Author: Lior Halphon <LIJI32@gmail.com> Date: Fri, 29 Dec 2023 17:09:05 +0100 Merge pull request #577 from orbea/c++ gb.h: add include guards for C++ projects Diffstat:
| M | Core/gb.h | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/Core/gb.h b/Core/gb.h @@ -1,4 +1,9 @@ #pragma once + +#ifdef __cplusplus +extern "C" { +#endif + #include <stdbool.h> #include <stdint.h> #include <stdalign.h> @@ -1028,3 +1033,7 @@ internal void GB_clear_running_thread(GB_gameboy_t *gb); #endif #endif + +#ifdef __cplusplus +} +#endif
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.