From 670726442b89ebd8451831993f949a6a11b93765 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Sun, 10 Sep 2017 16:41:30 -0400 Subject: [PATCH] setup to work on mac cli calls --- platform_mac/mac_4ed.cpp | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/platform_mac/mac_4ed.cpp b/platform_mac/mac_4ed.cpp index 9700bab6..2b70c6c8 100644 --- a/platform_mac/mac_4ed.cpp +++ b/platform_mac/mac_4ed.cpp @@ -86,9 +86,6 @@ OSX_Vars osx; #include -#include "4ed_font_data.h" -#include "4ed_system_shared.cpp" - //////////////////////////////// #include "4ed_coroutine_functions.cpp" @@ -116,6 +113,40 @@ Sys_Post_Clipboard_Sig(system_post_clipboard){ osx_post_to_clipboard(string); } +// +// CLI +// + +internal +Sys_CLI_Call_Sig(system_cli_call){ + // b32 #(char *path, char *script_name, CLI_Handles *cli_out) + // TODO + return(true); +} + +internal +Sys_CLI_Begin_Update_Sig(system_cli_begin_update){ + // void #(CLI_Handles *cli) + // TODO +} + +internal +Sys_CLI_Update_Step_Sig(system_cli_update_step){ + // b32 #(CLI_Handles *cli, char *dest, u32 max, u32 *amount) + // TODO + return(0); +} + +internal +Sys_CLI_End_Update_Sig(system_cli_end_update){ + // b32 #(CLI_Handles *cli) + // TODO + return(false); +} + +#include "4ed_font_data.h" +#include "4ed_system_shared.cpp" + //////////////////////////////// #include "4ed_link_system_functions.cpp"