summaryrefslogtreecommitdiffstats
path: root/mpvcore/m_config.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-14 23:37:58 +0200
committerwm4 <wm4@nowhere>2013-10-14 23:37:58 +0200
commitc7dee24c8cf07193b6780eb06af2fb7270204b3e (patch)
tree2a1ba84962c01e00a918ec60009746749ac6e60a /mpvcore/m_config.h
parent8c234045faefbf6bc43659a7954c5df9aaaecad1 (diff)
downloadmpv-c7dee24c8cf07193b6780eb06af2fb7270204b3e.tar.bz2
mpv-c7dee24c8cf07193b6780eb06af2fb7270204b3e.tar.xz
parser-cfg: use bstr everywhere after parsing stage
Until now it used both char[] and bstr variants in the same code, which was nasty. For example, the next commit would have additionally required using memmove() to remove the prefix from the char[] string.
Diffstat (limited to 'mpvcore/m_config.h')
-rw-r--r--mpvcore/m_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/m_config.h b/mpvcore/m_config.h
index 996d73f26e..871d1a3caf 100644
--- a/mpvcore/m_config.h
+++ b/mpvcore/m_config.h
@@ -188,7 +188,7 @@ struct m_profile *m_config_add_profile(struct m_config *config, char *name);
* \param p The profile object.
* \param arg The profile's name.
*/
-void m_profile_set_desc(struct m_profile *p, char *desc);
+void m_profile_set_desc(struct m_profile *p, bstr desc);
/* Add an option to a profile.
* Used by the config file parser when defining a profile.