diff options
author | kdx <kikoodx@paranoici.org> | 2022-12-27 13:23:19 +0100 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2022-12-27 13:23:19 +0100 |
commit | c292e3d6468b345bbf4e8fbe78e118ee88d07127 (patch) | |
tree | 7263b8744d28b65a511e38951d37728cd3b92262 | |
parent | d40a04d666bd0364c35a1a1abed44728583b3757 (diff) | |
download | lzr-c292e3d6468b345bbf4e8fbe78e118ee88d07127.tar.gz |
C++ include compatibility
-rw-r--r-- | lzr.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,5 +1,9 @@ /* Licensing informations can be found at the end of the file. */ #pragma once +#ifdef __cplusplus +extern "C" { +#endif + #include <stdbool.h> #include <stdint.h> @@ -86,6 +90,10 @@ uint64_t LZR_GetTick(void); void LZR_ScreenTransform(int *x, int *y); void LZR_MousePosition(int *x, int *y); +#ifdef __cplusplus +} +#endif + /* ** Copyright (c) 2022 kdx ** |