pass over help menu; typeof in eval

This commit is contained in:
Ryan Fleury committed 2024-10-10 07:44:26 -07:00
1 parent 848b26bbd9
commit 9c5d9caa32
10 files changed
+79 -39

No files matched your search

+6
View File
@@ -492,3 +492,9 @@ os_show_in_filesystem_ui(String8 path)
{
}
internal void
os_open_in_browser(String8 url)
{
}
+1
View File
@@ -192,5 +192,6 @@ internal void os_graphical_message(B32 error, String8 title, String8 m
//~ rjf: @os_hooks Shell Operations
internal void os_show_in_filesystem_ui(String8 path);
internal void os_open_in_browser(String8 url);
#endif // OS_GFX_H
+5
View File
@@ -238,3 +238,8 @@ internal void
os_show_in_filesystem_ui(String8 path)
{
}
internal void
os_open_in_browser(String8 url)
{
}
+9
View File
@@ -1542,3 +1542,12 @@ os_show_in_filesystem_ui(String8 path)
}
scratch_end(scratch);
}
internal void
os_open_in_browser(String8 url)
{
Temp scratch = scratch_begin(0, 0);
String16 url16 = str16_from_8(scratch.arena, url);
ShellExecuteW(0, L"open", (WCHAR *)url16.str, 0, 0, SW_SHOWNORMAL);
scratch_end(scratch);
}