diff options
author | wm4 <wm4@nowhere> | 2013-12-17 02:39:45 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-17 02:39:45 +0100 |
commit | 0112143fdaae0a6264d9e02355e9dc0ca4f7741c (patch) | |
tree | bbbe9527d1e1490e37b67d97398c5bc19c7794cd /common/global.h | |
parent | 73a5417950a2d21a397597c05521725f3d125993 (diff) | |
download | mpv-0112143fdaae0a6264d9e02355e9dc0ca4f7741c.tar.bz2 mpv-0112143fdaae0a6264d9e02355e9dc0ca4f7741c.tar.xz |
Split mpvcore/ into common/, misc/, bstr/
Diffstat (limited to 'common/global.h')
-rw-r--r-- | common/global.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/common/global.h b/common/global.h new file mode 100644 index 0000000000..546c585294 --- /dev/null +++ b/common/global.h @@ -0,0 +1,12 @@ +#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 MPOpts *opts; + struct mp_log *log; +}; + +#endif |