summaryrefslogtreecommitdiffstats
path: root/DOCS/man/lua.rst
diff options
context:
space:
mode:
authorrcombs <rcombs@rcombs.me>2023-01-28 14:55:24 -0600
committerrcombs <rcombs@rcombs.me>2023-01-28 14:55:24 -0600
commit0f3a041796d9dcdcfe847ff9965fa1de02af7bff (patch)
treec9bc53c588acf02d3565b7f98a1e0702d0b7e5f8 /DOCS/man/lua.rst
parent3ec2a0988aca7cba4620b6c22929b91a34ea6eb4 (diff)
downloadmpv-0f3a041796d9dcdcfe847ff9965fa1de02af7bff.tar.bz2
mpv-0f3a041796d9dcdcfe847ff9965fa1de02af7bff.tar.xz
doc: correct spelling of user-data/user_data JS/lua helpers
Diffstat (limited to 'DOCS/man/lua.rst')
-rw-r--r--DOCS/man/lua.rst24
1 files changed, 12 insertions, 12 deletions
diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst
index 8a6a165630..c8a30bce9f 100644
--- a/DOCS/man/lua.rst
+++ b/DOCS/man/lua.rst
@@ -824,31 +824,31 @@ strictly part of the guaranteed API.
This is a legacy wrapper around calling the ``run`` command with
``mp.commandv`` and other functions.
-``utils.udata_set(path, val)``
- Sets a udata value.
+``utils.user_data_set(path, val)``
+ Sets a user-data value.
- ``path`` is a path within the ``udata`` property.
+ ``path`` is a path within the ``user-data`` property.
This is a convenience wrapper around ``mp.set_property_native``.
-``utils.udata_get(path)``
- Gets a udata value.
+``utils.user_data_get(path)``
+ Gets a user-data value.
- ``path`` is a path within the ``udata`` property.
+ ``path`` is a path within the ``user-data`` property.
This is a convenience wrapper around ``mp.get_property_native``.
-``utils.udata_del(path)``
- Deletes a udata value.
+``utils.user_data_del(path)``
+ Deletes a user-data value.
- ``path`` is a path within the ``udata`` property.
+ ``path`` is a path within the ``user-data`` property.
This is a convenience wrapper around ``mp.del_property_native``.
-``utils.udata_observe(path, type, fn)``
- Observes a udata value.
+``utils.user_data_observe(path, type, fn)``
+ Observes a user-data value.
- ``path`` is a path within the ``udata`` property.
+ ``path`` is a path within the ``user-data`` property.
See ``mp.observe_property`` for further details.