fixed build errors

This commit is contained in:
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, '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);

View File

@ -18,40 +18,40 @@ OSX_Vars osx;
// TODO(allen): Implement a real allocate
#include <stdlib.h>
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
}