diff options
author | nanahi <130121847+na-na-hi@users.noreply.github.com> | 2024-03-06 23:40:37 -0500 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2024-03-11 21:01:01 +0100 |
commit | 7cb6185576586664911a813e0fcf27534dd3250b (patch) | |
tree | 51224bec6141434e8fccf9767780d564858c2876 | |
parent | 7b784b9b760d642c4d8142cd573e7be5f36923fe (diff) | |
download | mpv-7cb6185576586664911a813e0fcf27534dd3250b.tar.bz2 mpv-7cb6185576586664911a813e0fcf27534dd3250b.tar.xz |
DOCS/tech-overview.txt: update for split m_config.c/h
Since eb381cbd4b38dd496ee0be609f1a66c360a76448 split the file into
m_config_core.h and m_config_frontend.h, the statements here are no
longer true. Correct them the current usage.
-rw-r--r-- | DOCS/tech-overview.txt | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/DOCS/tech-overview.txt b/DOCS/tech-overview.txt index 50a156fd02..ea2f1c6f55 100644 --- a/DOCS/tech-overview.txt +++ b/DOCS/tech-overview.txt @@ -126,15 +126,16 @@ options/options.h, options/options.c ... to get a copy of its options. - See m_config.h (below) how to access options. + See m_config_core.h (below) how to access options. - The actual option parser is spread over m_option.c, m_config.c, and - parse_commandline.c, and uses the option table in options.c. + The actual option parser is spread over m_option.c, m_config_frontend.c, + and parse_commandline.c, and uses the option table in options.c. -options/m_config.h & m_config.c: - Code for querying and managing options. This (unfortunately) contains both - declarations for the "legacy-ish" global m_config struct, and ways to access - options in a threads-safe way anywhere, like m_config_cache_alloc(). +options/m_config_*.h & m_config_*.c: + Code for querying and managing options. m_config_frontend.h contains + declarations for the "legacy-ish" global m_config struct, while + m_config_core.h provides ways to access options in a threads-safe way + anywhere, like m_config_cache_alloc(). m_config_cache_alloc() lets anyone read, observe, and write options in any thread. The only state it needs is struct mpv_global, which is an opaque |