diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-15 16:03:12 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-15 16:03:12 +0000 |
commit | 58ed2c3fe035313bfc7feca7fd18abb84fa4fad1 (patch) | |
tree | 75a071a62db73e1bfb50be8ae3caa0a8054f2ea2 /m_property.h | |
parent | 9dd64b49e89cefd2158e8a5bb25798bd72ac2575 (diff) | |
download | mpv-58ed2c3fe035313bfc7feca7fd18abb84fa4fad1.tar.bz2 mpv-58ed2c3fe035313bfc7feca7fd18abb84fa4fad1.tar.xz |
marks several read-only string parameters which aren't modified inside the called function as const. Patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19109 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'm_property.h')
-rw-r--r-- | m_property.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m_property.h b/m_property.h index dffdf523a0..e43dc597ad 100644 --- a/m_property.h +++ b/m_property.h @@ -123,7 +123,7 @@ char* m_properties_expand_string(m_option_t* prop_list,char* str); m_option_t* mp_property_find(const char* name); /// Do an action with an MPlayer property. -int mp_property_do(char* name,int action, void* val); +int mp_property_do(const char* name,int action, void* val); /// \defgroup PropertyImplHelper Property implementation helpers /// \ingroup Properties |