From 7cb6185576586664911a813e0fcf27534dd3250b Mon Sep 17 00:00:00 2001 From: nanahi <130121847+na-na-hi@users.noreply.github.com> Date: Wed, 6 Mar 2024 23:40:37 -0500 Subject: [PATCH] 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. --- DOCS/tech-overview.txt | 15 ++++++++------- 1 file 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