mirror of
https://github.com/devkitPro/wut.git
synced 2026-09-13 13:46:02 -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:
@@ -2,9 +2,7 @@
|
||||
#include <wut.h>
|
||||
#include "threadqueue.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
WUT_LIB_HEADER_START
|
||||
|
||||
typedef struct OSFastMutex OSFastMutex;
|
||||
typedef struct OSFastMutexLink OSFastMutexLink;
|
||||
@@ -48,6 +46,4 @@ OSFastMutex_Unlock(OSFastMutex *mutex);
|
||||
BOOL
|
||||
OSFastMutex_TryLock(OSFastMutex *mutex);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
WUT_LIB_HEADER_END
|
||||
|
||||
Reference in New Issue
Block a user