summaryrefslogtreecommitdiff
path: root/command_line/CmdLine/Src/Envir
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2022-10-11 03:18:42 +0100
committerAsh Wolf <ninji@wuffs.org>2022-10-11 03:18:42 +0100
commit26b57fbea1a969ef6405365ff78391e9d3605621 (patch)
treeb6f14f5c083d0fbb42c5495eea7c74099ff45315 /command_line/CmdLine/Src/Envir
parent7d4bee5f8f28b72610c8518e5cb9dc145c68b816 (diff)
downloadMWCC-26b57fbea1a969ef6405365ff78391e9d3605621.tar.gz
MWCC-26b57fbea1a969ef6405365ff78391e9d3605621.zip
add cmakelists for CLion, tons and tons of reorganisation using new info from the Pro8 compiler
Diffstat (limited to '')
-rw-r--r--command_line/CmdLine/Src/Envir/CLErrors.c37
-rw-r--r--command_line/CmdLine/Src/Envir/CLIO.c170
2 files changed, 207 insertions, 0 deletions
diff --git a/command_line/CmdLine/Src/Envir/CLErrors.c b/command_line/CmdLine/Src/Envir/CLErrors.c
new file mode 100644
index 0000000..76ff06f
--- /dev/null
+++ b/command_line/CmdLine/Src/Envir/CLErrors.c
@@ -0,0 +1,37 @@
+#include "mwcc_decomp.h"
+
+static void CLGetErrorString(SInt16 errid, char *buffer) {
+
+}
+
+static void CLMessageReporter(int flags, SInt16 errid, va_list va) {
+
+}
+
+void CLReportError(SInt16 errid, ...) {
+
+}
+
+void CLReportWarning(SInt16 errid, ...) {
+
+}
+
+void CLReport(SInt16 errid, ...) {
+
+}
+
+void CLReportOSError(SInt16 errid, int err, ...) {
+
+}
+
+void CLReportCError(SInt16 errid, int err_no, ...) {
+
+}
+
+void CLInternalError(const char *file, int line, const char *format, ...) {
+
+}
+
+void CLFatalError(const char *format, ...) {
+
+}
diff --git a/command_line/CmdLine/Src/Envir/CLIO.c b/command_line/CmdLine/Src/Envir/CLIO.c
new file mode 100644
index 0000000..ac58506
--- /dev/null
+++ b/command_line/CmdLine/Src/Envir/CLIO.c
@@ -0,0 +1,170 @@
+#include "mwcc_decomp.h"
+
+static void catchinterrupt() {
+
+}
+
+static void SetupConsoleInfo() {
+
+}
+
+static void Crash() {
+
+}
+
+void SetupDebuggingTraps() {
+
+}
+
+Boolean IO_Initialize() {
+
+}
+
+Boolean IO_Terminate() {
+
+}
+
+Boolean IO_HelpInitialize() {
+
+}
+
+Boolean IO_HelpTerminate() {
+
+}
+
+static Boolean SendHandleToFile(FILE *file, OSHandle *text) {
+
+}
+
+void FixHandleForIDE(OSHandle *text) {
+
+}
+
+Boolean ShowHandle(OSHandle *text, Boolean decorate) {
+
+}
+
+Boolean WriteHandleToFile(OSSpec *spec, OSHandle *text, CWDataType creator, CWDataType type) {
+
+}
+
+Boolean WriteBinaryHandleToFile(OSSpec *spec, CWDataType maccreator, CWDataType mactype, OSHandle *text) {
+
+}
+
+Boolean AppendHandleToFile(OSSpec *spec, OSHandle *text, CWDataType maccreator, CWDataType mactype) {
+
+}
+
+void InitWorking() {
+
+}
+
+void ShowWorking() {
+
+}
+
+void TermWorking() {
+
+}
+
+static void ProgressFunction(const char *functionname) {
+
+}
+
+Boolean CheckForUserBreak() {
+
+}
+
+typedef struct {
+ char *buffer;
+ int pos;
+ int maxlen;
+ SInt16 col;
+ Boolean origina;
+ char *newline;
+} UnkCLIOStruct;
+
+static void StartLine(UnkCLIOStruct *f) {
+
+}
+
+static void WrapText(UnkCLIOStruct *f) {
+
+}
+
+static char *IO_VFormatText(char *buffer, SInt32 size, char *newline, const char *format, va_list ap) {
+
+}
+
+char *IO_FormatText(char *buffer, SInt32 size, char *newline, const char *format, ...) {
+
+}
+
+void CLPrintDispatch(SInt16 msgtype, const char *message, FILE *out, char *ptr, char *nptr) {
+
+}
+
+static void GetFileInfo(MessageRef *ref) {
+
+}
+
+static char *Arrows(MessageRef *ref) {
+
+}
+
+static Boolean IsLikelyAnImporter(Plugin *plugin) {
+
+}
+
+static char *GuessTool(Plugin *plugin) {
+
+}
+
+static char *GuessDoing(Plugin *plugin) {
+
+}
+
+static void styledMessage_MPW(Plugin *plugin, MessageRef *ref, SInt16 msgType, const char *format, va_list va) {
+
+}
+
+static void styledMessage_Default(Plugin *plugin, MessageRef *ref, SInt16 msgType, const char *format, va_list va) {
+
+}
+
+static void styledMessage_Terse(Plugin *plugin, MessageRef *ref, SInt16 msgType, const char *format, va_list va) {
+
+}
+
+static void styledMessage_IDE(Plugin *plugin, MessageRef *ref, SInt16 msgType, const char *format, va_list va) {
+
+}
+
+static void styledMessage_Parseable(Plugin *plugin, MessageRef *ref, SInt16 msgType, const char *format, va_list va) {
+
+}
+
+void CLPrintType(SInt16 msgtype, ...) {
+
+}
+
+void CLPrint(SInt16 msgtype, ...) {
+
+}
+
+void CLPrintWarning(SInt16 msgtype, ...) {
+
+}
+
+void CLPrintErr(SInt16 msgtype, ...) {
+
+}
+
+static void FixupMessageRef(MessageRef *ref) {
+
+}
+
+SInt16 CLStyledMessageDispatch(Plugin *plugin, MessageRef *ref, SInt32 errorNumber, SInt16 msgType) {
+
+}