From 6a1e6a7d6b6a3d987f2fccb3c06f4f5da071f504 Mon Sep 17 00:00:00 2001 From: Nicholas Tay Date: Tue, 10 May 2022 00:40:10 +1000 Subject: Dynamic load boards as DLL (windows only for now) The .h files are pretty weird, should look at other C projects to see how they load plugins. This function pointer business with typedefs is kinda weird, not sure where they should live. --- clak.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 clak.h (limited to 'clak.h') diff --git a/clak.h b/clak.h new file mode 100644 index 0000000..c700a12 --- /dev/null +++ b/clak.h @@ -0,0 +1,8 @@ +#ifndef CLAK_H_ +#define CLAK_H_ + +#include + +typedef void (*fn_sound_play)(unsigned char *buffer); + +#endif /* CLAK_H_ */ \ No newline at end of file -- cgit