fixed build errors

master
Allen Webster 2017-06-29 21:26:02 -04:00
parent 586d041efe
commit cd633312dc
2 changed files with 8 additions and 8 deletions

View File

@ -28,7 +28,7 @@ default_keys(Bind_Helper *context){
bind(context, 'i', MDFR_CTRL, interactive_switch_buffer); bind(context, 'i', MDFR_CTRL, interactive_switch_buffer);
bind(context, 'w', MDFR_CTRL, save_as); bind(context, 'w', MDFR_CTRL, save_as);
bind(context, 'h', MDFR_CTRL, project_go_to_root_directory); 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, 'c', MDFR_ALT, open_color_tweaker);
bind(context, 'd', MDFR_ALT, open_debug); bind(context, 'd', MDFR_ALT, open_debug);

View File

@ -18,40 +18,40 @@ OSX_Vars osx;
// TODO(allen): Implement a real allocate // TODO(allen): Implement a real allocate
#include <stdlib.h> #include <stdlib.h>
internal void* void*
osx_allocate(umem size){ osx_allocate(umem size){
void *result = malloc(size); void *result = malloc(size);
return(result); return(result);
} }
internal void void
osx_resize(int width, int height){ osx_resize(int width, int height){
osx.width = width; osx.width = width;
osx.height = height; osx.height = height;
// TODO // TODO
} }
internal void void
osx_character_input(u32 code, OSX_Keyboard_Modifiers modifier_flags){ osx_character_input(u32 code, OSX_Keyboard_Modifiers modifier_flags){
// TODO // TODO
} }
internal void void
osx_mouse(i32 mx, i32 my, u32 type){ osx_mouse(i32 mx, i32 my, u32 type){
// TODO // TODO
} }
internal void void
osx_mouse_wheel(float dx, float dy){ osx_mouse_wheel(float dx, float dy){
// TODO // TODO
} }
internal void void
osx_step(){ osx_step(){
// TODO // TODO
} }
internal void void
osx_init(){ osx_init(){
// TODO // TODO
} }