add tons of stuff

This commit is contained in:
Ash Wolf
2022-10-14 23:15:32 +01:00
parent b8df05413a
commit 775b686166
32 changed files with 4014 additions and 687 deletions

View File

@@ -1,7 +1,5 @@
#include "oslib.h"
#define OPTION_ASSERT(cond) do { if (!(cond)) { printf("%s:%u: failed assertion\n", __FILE__, __LINE__); abort(); } } while(0)
static OSFileTypeMappings *defaultList;
static OSFileTypeMappings **fmList = &defaultList;
int (*__OS_ExtendedGetMacFileTypeHook)(const OSSpec *, OSType *);

View File

@@ -3,8 +3,6 @@
extern char STSbuf[256];
#define OPTION_ASSERT(cond) do { if (!(cond)) { printf("%s:%u: failed assertion\n", __FILE__, __LINE__); abort(); } } while(0)
typedef struct DirNode {
char *name;
unsigned int dirID;

View File

@@ -1,8 +1,6 @@
#include "oslib.h"
#include "macemul.h"
#define OPTION_ASSERT(cond) do { if (!(cond)) { printf("%s:%u: failed assertion\n", __FILE__, __LINE__); abort(); } } while(0)
static char pfbuf[256];
StringPtr _pstrcpy(StringPtr dst, ConstStringPtr src) {