2013-07-31 19:40:30 +00:00
|
|
|
#ifndef MPV_MPV_H
|
|
|
|
#define MPV_MPV_H
|
|
|
|
|
|
|
|
// This should be accessed by glue code only, never normal code.
|
|
|
|
// The only purpose of this is to make mpv library-safe.
|
|
|
|
// Think hard before adding new members.
|
|
|
|
struct mpv_global {
|
|
|
|
struct mp_log *log;
|
2016-09-02 13:45:22 +00:00
|
|
|
struct m_config_shadow *config;
|
2016-01-15 21:49:10 +00:00
|
|
|
struct mp_client_api *client_api;
|
2018-05-21 13:49:19 +00:00
|
|
|
char *configdir;
|
2013-07-31 19:40:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|