os/os2: add get_executable_path and get_executable_directory
This commit is contained in:
1 parent
223970671f
commit
b673642412
10 files changed
+234
-3
No files matched your search
@@ -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