1
0
mirror of https://github.com/blawar/ooot.git synced 2024-07-04 18:13:37 +00:00
ooot/include/global.h
2022-03-01 14:19:45 -05:00

28 lines
551 B
C

#pragma once
#include "porting_defs.h"
#include "z64.h"
#ifdef __cplusplus
#define _LANGUAGE_C_PLUS_PLUS
#endif
#include "macros.h"
#include <stdarg.h>
void osSyncPrintf(const char* fmt, ...);
#if defined(_MSC_VER) && 0
#define bcopy(b1, b2, len) (memmove((b2), (b1), (len)), (void)0)
#define bzero(b, len) (memset((b), '\0', (len)), (void)0)
#else
void bzero(void* __s, size_t __n);
void bcopy(void* __s, void* __d, size_t __n);
#endif
u64 osGetTime();
void __assert(const char* exp, const char* file, s32 line);
#include "z_debug_display.h"