Browse Source

Add open file explorer helper

master
Macoy Madson 5 months ago
parent
commit
46bc64d57d
  1. 6
      src/SDL.cake

6
src/SDL.cake

@ -310,6 +310,12 @@
(snprintf buffer buffer-size "%s%s" pref-path path)
(SDL_free pref-path))
(defun sdl-open-system-file-explorer (in-directory (* (const char)))
(var url-current-directory ([] 1048 char) (array 0))
(snprintf url-current-directory (sizeof url-current-directory) "file://%s"
in-directory)
(SDL_OpenURL url-current-directory))
;;
;; Test
;;

Loading…
Cancel
Save