mirror of
https://github.com/devkitPro/wut.git
synced 2026-08-11 12:16:30 -05:00
Use a macro WUT_LIB_HEADER_{START,END}...
So we don't have to extern C and pragma pack in every header file.
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
#pragma once
|
||||
#include <wut.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
WUT_LIB_HEADER_START
|
||||
|
||||
void
|
||||
OSConsoleWrite(const char *msg,
|
||||
@@ -20,6 +18,4 @@ OSPanic(const char *file,
|
||||
void
|
||||
OSFatal(const char *msg);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
WUT_LIB_HEADER_END
|
||||
|
||||
Reference in New Issue
Block a user