From 874024f8fb5f7eeabaec5cb556baff415bda9018 Mon Sep 17 00:00:00 2001 From: Yuval Dolev Date: Fri, 27 Dec 2019 23:30:46 +0200 Subject: [PATCH] Added section comments to mac_4ed_functions.cpp --- platform_mac/mac_4ed_functions.cpp | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/platform_mac/mac_4ed_functions.cpp b/platform_mac/mac_4ed_functions.cpp index e0b3d198..2c22135e 100644 --- a/platform_mac/mac_4ed_functions.cpp +++ b/platform_mac/mac_4ed_functions.cpp @@ -1,5 +1,9 @@ /* macOS System/Graphics/Font API Implementations */ +////////////////////// +// System API // +////////////////////// + //////////////////////////////// function @@ -50,6 +54,8 @@ system_get_canonical_sig(){ return(result); } +//////////////////////////////// + function File_Attributes mac_get_file_attributes(struct stat file_stat) { File_Attributes result; @@ -270,6 +276,8 @@ system_save_file_sig(){ return(result); } +//////////////////////////////// + function system_load_library_sig(){ b32 result = false; @@ -297,6 +305,8 @@ system_get_proc_sig(){ return(result); } +//////////////////////////////// + function system_now_time_sig(){ u64 result = 0; @@ -335,11 +345,15 @@ system_sleep_sig(){ NotImplemented; } +//////////////////////////////// + function system_post_clipboard_sig(){ NotImplemented; } +//////////////////////////////// + function system_cli_call_sig(){ b32 result = false; @@ -372,6 +386,8 @@ system_cli_end_update_sig(){ return(result); } +//////////////////////////////// + function system_open_color_picker_sig(){ NotImplemented; @@ -386,6 +402,8 @@ system_get_screen_scale_factor_sig(){ return(result); } +//////////////////////////////// + function system_thread_launch_sig(){ System_Thread result = {}; @@ -472,6 +490,8 @@ system_condition_variable_free_sig(){ NotImplemented; } +//////////////////////////////// + function system_memory_allocate_sig(){ void* result = 0; @@ -504,6 +524,8 @@ system_memory_annotation_sig(){ return(result); } +//////////////////////////////// + function system_show_mouse_cursor_sig(){ NotImplemented; @@ -538,6 +560,12 @@ system_get_keyboard_modifiers_sig(){ //////////////////////////////// +//////////////////////// +// Graphics API // +//////////////////////// + +//////////////////////////////// + function graphics_get_texture_sig(){ u32 result = 0; @@ -558,6 +586,12 @@ graphics_fill_texture_sig(){ //////////////////////////////// +//////////////////// +// Font API // +//////////////////// + +//////////////////////////////// + function font_make_face_sig(){ Face* result = 0;