mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
os/os2: add get_executable_path and get_executable_directory
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package darwin
|
||||
|
||||
foreign import system "system:System.framework"
|
||||
|
||||
foreign system {
|
||||
_NSGetExecutablePath :: proc(buf: [^]byte, bufsize: ^u32) -> i32 ---
|
||||
}
|
||||
Reference in New Issue
Block a user