From cd633312dc80b66cb82210571ff9737aac526189 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Thu, 29 Jun 2017 21:26:02 -0400 Subject: [PATCH] fixed build errors --- 4coder_default_bindings.cpp | 2 +- platform_mac/mac_4ed.cpp | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/4coder_default_bindings.cpp b/4coder_default_bindings.cpp index 5e33a81c..430f77da 100644 --- a/4coder_default_bindings.cpp +++ b/4coder_default_bindings.cpp @@ -28,7 +28,7 @@ default_keys(Bind_Helper *context){ bind(context, 'i', MDFR_CTRL, interactive_switch_buffer); bind(context, 'w', MDFR_CTRL, save_as); bind(context, 'h', MDFR_CTRL, project_go_to_root_directory); - bind(context, 'S', MDFR_CTRL, save_dirty_buffers); + bind(context, 'S', MDFR_CTRL, save_all_dirty_buffers); bind(context, 'c', MDFR_ALT, open_color_tweaker); bind(context, 'd', MDFR_ALT, open_debug); diff --git a/platform_mac/mac_4ed.cpp b/platform_mac/mac_4ed.cpp index 601e3437..945a6c75 100644 --- a/platform_mac/mac_4ed.cpp +++ b/platform_mac/mac_4ed.cpp @@ -18,40 +18,40 @@ OSX_Vars osx; // TODO(allen): Implement a real allocate #include -internal void* +void* osx_allocate(umem size){ void *result = malloc(size); return(result); } -internal void +void osx_resize(int width, int height){ osx.width = width; osx.height = height; // TODO } -internal void +void osx_character_input(u32 code, OSX_Keyboard_Modifiers modifier_flags){ // TODO } -internal void +void osx_mouse(i32 mx, i32 my, u32 type){ // TODO } -internal void +void osx_mouse_wheel(float dx, float dy){ // TODO } -internal void +void osx_step(){ // TODO } -internal void +void osx_init(){ // TODO }