mirror of
https://github.com/mpv-player/mpv
synced 2024-12-12 01:46:16 +00:00
3e631b9cb8
Seems like a good idea, even if it's basically unused (yet). Also document requirements on the functions (they're not obvious). OSX changes untested.
16 lines
488 B
C
16 lines
488 B
C
#ifndef OSDEP_PATH_H
|
|
#define OSDEP_PATH_H
|
|
|
|
#define MAX_CONFIG_PATHS 32
|
|
|
|
struct mpv_global;
|
|
|
|
// Append paths starting at dirs[i]. The dirs array has place only for at most
|
|
// MAX_CONFIG_PATHS paths, but it's guaranteed that at least 4 paths can be
|
|
// added without checking for i>=MAX_CONFIG_PATHS.
|
|
// Return the new value of i.
|
|
int mp_add_win_config_dirs(struct mpv_global *global, char **dirs, int i);
|
|
int mp_add_macosx_bundle_dir(struct mpv_global *global, char **dirs, int i);
|
|
|
|
#endif
|