mirror of
https://github.com/PoroCYon/teakra.git
synced 2025-06-18 14:25:33 -04:00
fix extern C stuff in header files
This commit is contained in:
parent
3e032a73d7
commit
5b9019e9a6
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
# Build directory
|
||||
[Bb]uild/
|
||||
cmake-build/
|
||||
doc-build/
|
||||
|
||||
test/
|
||||
|
@ -2,7 +2,9 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct TeakraObject;
|
||||
typedef struct TeakraObject TeakraContext;
|
||||
@ -37,4 +39,6 @@ void Teakra_SetAHBMCallback(TeakraContext* context, Teakra_AHBMReadCallback read
|
||||
Teakra_AHBMWriteCallback write, void* userdata);
|
||||
|
||||
void Teakra_SetAudioCallback(TeakraContext* context, Teakra_AudioCallback callback, void* userdata);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user