diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-13 01:38:15 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-13 01:38:15 +0000 |
commit | 08d21a052b9afc37292ec3fad390502610e2cb32 (patch) | |
tree | 270737c790f5d1bb05f68498f8233640ada6a0c5 /includes/mwcc_decomp.h | |
parent | 54628993e0038c7bea9c064491974985b6699502 (diff) | |
parent | 9d985413ce2b60a1a8cf001913ee8dac81c03aac (diff) | |
download | MWCC-08d21a052b9afc37292ec3fad390502610e2cb32.tar.gz MWCC-08d21a052b9afc37292ec3fad390502610e2cb32.zip |
Merge remote-tracking branch 'origin/main'
Diffstat (limited to '')
-rw-r--r-- | includes/mwcc_decomp.h | 94 |
1 files changed, 0 insertions, 94 deletions
diff --git a/includes/mwcc_decomp.h b/includes/mwcc_decomp.h deleted file mode 100644 index 312c858..0000000 --- a/includes/mwcc_decomp.h +++ /dev/null @@ -1,94 +0,0 @@ -#pragma once -#include "common.h" -#include "oslib.h" -#include "macemul.h" -#include "plugin.h" - -#define OPTION_ASSERT(cond) do { if (!!(cond) == 0) { printf("%s:%u: failed assertion\n", __FILE__, __LINE__); abort(); } } while(0) - -#ifdef __cplusplus -extern "C" { -#endif - -/********************************/ -/* command_line/CmdLine/Src/Clients/CLStaticMain.c */ -extern int main(int argc, const char **argv); - -/********************************/ -/* ??? */ -extern int AddFileTypeMappingList(void *a, void *b); // TODO sig -extern void UseFileTypeMappings(void *a); // TODO sig -extern OSErr SetMacFileType(const FSSpec *fss, void *a); // TODO sig -extern OSErr GetMacFileType(const FSSpec *fss, void *a); // TODO sig - -/********************************/ -/* Might be cc-mach-ppc-mw.c? */ -extern void GetStaticTarget(OSType *cpu, OSType *os); -extern void GetStaticPluginType(OSType *language, OSType *plugintype); -extern void GetStaticParserPluginType(OSType *style); -extern int RegisterStaticTargetResources(void); -extern int RegisterStaticTargetPlugins(void); - -/********************************/ -/* Might be ParserGlue-mach-ppc-cc.c? */ -extern int RegisterStaticParserToolInfo(void); - -/********************************/ -/* Might be cc-mach-ppc.c? */ -extern int RegisterStaticCompilerPlugin(void); -extern int RegisterCompilerResources(void); - -/********************************/ -/* libimp-mach-ppc.c */ -// some statics here -extern int RegisterStaticLibImporterPlugin(void); -extern int RegisterLibImporterResources(void); - -/********************************/ -/* TargetOptimizer-ppc-mach.c */ -extern int TargetSetOptFlags(SInt16 val, Boolean set); -extern void TargetDisplayOptimizationOptions(Handle txt); -extern void TargetSetPragmaOptimizationsToUnspecified(void); - -/********************************/ -/* OptimizerHelpers.c */ -extern int SetPragmaOptimizationsToUnspecified(void); -extern int SetOptFlags(char *opt, void *str, ...); // two unknown args -extern int DisplayOptimizationOptions(void); - -/********************************/ -/* Unk name lol */ -extern int TargetSetWarningFlags(SInt16 val, Boolean set); -extern int TargetDisplayWarningOptions(Handle txt); - -/********************************/ -/* WarningHelpers.c */ -extern int SetWarningFlags(char *opt, void *str, ...); // two unknown args -extern int DisplayWarningOptions(void); - -/********************************/ -/* CCompiler.c */ -extern CWPLUGIN_ENTRY(MWC_main)(CWPluginContext context); - -// LOTS OF STUFF - -/********************************/ -/* StaticParserGlue.c */ -extern int RegisterStaticParserPlugins(void); -extern int RegisterStaticParserResources(void); - -/********************************/ -/* CmdLineBuildDate.c */ -extern char CMDLINE_BUILD_DATE[]; -extern char CMDLINE_BUILD_TIME[]; - - -/********************************/ -/* MISC */ -extern char cmdline_build_date[32]; -extern char cmdline_build_time[32]; - - -#ifdef __cplusplus -} -#endif |