Added section comments to mac_4ed_functions.cpp

master
Yuval Dolev 2019-12-27 23:30:46 +02:00
parent 074400495f
commit 874024f8fb
1 changed files with 34 additions and 0 deletions

View File

@ -1,5 +1,9 @@
/* macOS System/Graphics/Font API Implementations */ /* macOS System/Graphics/Font API Implementations */
//////////////////////
// System API //
//////////////////////
//////////////////////////////// ////////////////////////////////
function function
@ -50,6 +54,8 @@ system_get_canonical_sig(){
return(result); return(result);
} }
////////////////////////////////
function File_Attributes function File_Attributes
mac_get_file_attributes(struct stat file_stat) { mac_get_file_attributes(struct stat file_stat) {
File_Attributes result; File_Attributes result;
@ -270,6 +276,8 @@ system_save_file_sig(){
return(result); return(result);
} }
////////////////////////////////
function function
system_load_library_sig(){ system_load_library_sig(){
b32 result = false; b32 result = false;
@ -297,6 +305,8 @@ system_get_proc_sig(){
return(result); return(result);
} }
////////////////////////////////
function function
system_now_time_sig(){ system_now_time_sig(){
u64 result = 0; u64 result = 0;
@ -335,11 +345,15 @@ system_sleep_sig(){
NotImplemented; NotImplemented;
} }
////////////////////////////////
function function
system_post_clipboard_sig(){ system_post_clipboard_sig(){
NotImplemented; NotImplemented;
} }
////////////////////////////////
function function
system_cli_call_sig(){ system_cli_call_sig(){
b32 result = false; b32 result = false;
@ -372,6 +386,8 @@ system_cli_end_update_sig(){
return(result); return(result);
} }
////////////////////////////////
function function
system_open_color_picker_sig(){ system_open_color_picker_sig(){
NotImplemented; NotImplemented;
@ -386,6 +402,8 @@ system_get_screen_scale_factor_sig(){
return(result); return(result);
} }
////////////////////////////////
function function
system_thread_launch_sig(){ system_thread_launch_sig(){
System_Thread result = {}; System_Thread result = {};
@ -472,6 +490,8 @@ system_condition_variable_free_sig(){
NotImplemented; NotImplemented;
} }
////////////////////////////////
function function
system_memory_allocate_sig(){ system_memory_allocate_sig(){
void* result = 0; void* result = 0;
@ -504,6 +524,8 @@ system_memory_annotation_sig(){
return(result); return(result);
} }
////////////////////////////////
function function
system_show_mouse_cursor_sig(){ system_show_mouse_cursor_sig(){
NotImplemented; NotImplemented;
@ -538,6 +560,12 @@ system_get_keyboard_modifiers_sig(){
//////////////////////////////// ////////////////////////////////
////////////////////////
// Graphics API //
////////////////////////
////////////////////////////////
function function
graphics_get_texture_sig(){ graphics_get_texture_sig(){
u32 result = 0; u32 result = 0;
@ -558,6 +586,12 @@ graphics_fill_texture_sig(){
//////////////////////////////// ////////////////////////////////
////////////////////
// Font API //
////////////////////
////////////////////////////////
function function
font_make_face_sig(){ font_make_face_sig(){
Face* result = 0; Face* result = 0;