summaryrefslogtreecommitdiffstats
path: root/DOCS/man/lua.rst
diff options
context:
space:
mode:
authorAvi Halachmi (:avih) <avihpit@yahoo.com>2023-01-29 00:58:43 +0200
committeravih <avih@users.noreply.github.com>2023-01-29 01:52:31 +0200
commit86093fcae7881f1a2be2e481af8d6a566733a99a (patch)
tree5d3087970c9b4c8234e472d04dc8e3d129b5290c /DOCS/man/lua.rst
parent0051037957f733d800ae3f086969978ebc5c56c7 (diff)
downloadmpv-86093fcae7881f1a2be2e481af8d6a566733a99a.tar.bz2
mpv-86093fcae7881f1a2be2e481af8d6a566733a99a.tar.xz
lua/js: remove user-data helpers
This reverts: 3fb4140c lua/defaults: add user_data helpers 68a20e7a javascript/defaults: add user_data helpers 00510379 lua/js: fix user_data_del util function As well as the lua/js parts of: 3ec2a098 docs: document new user-data property user-data and its sub-properties can be set/get/observed/deleted via the standard properties interface, so there's no need for additional helpers specific to user-data, which only added maintenance burden.
Diffstat (limited to 'DOCS/man/lua.rst')
-rw-r--r--DOCS/man/lua.rst28
1 files changed, 0 insertions, 28 deletions
diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst
index c8a30bce9f..ae9c14f55f 100644
--- a/DOCS/man/lua.rst
+++ b/DOCS/man/lua.rst
@@ -824,34 +824,6 @@ strictly part of the guaranteed API.
This is a legacy wrapper around calling the ``run`` command with
``mp.commandv`` and other functions.
-``utils.user_data_set(path, val)``
- Sets a user-data value.
-
- ``path`` is a path within the ``user-data`` property.
-
- This is a convenience wrapper around ``mp.set_property_native``.
-
-``utils.user_data_get(path)``
- Gets a user-data value.
-
- ``path`` is a path within the ``user-data`` property.
-
- This is a convenience wrapper around ``mp.get_property_native``.
-
-``utils.user_data_del(path)``
- Deletes a user-data value.
-
- ``path`` is a path within the ``user-data`` property.
-
- This is a convenience wrapper around ``mp.del_property_native``.
-
-``utils.user_data_observe(path, type, fn)``
- Observes a user-data value.
-
- ``path`` is a path within the ``user-data`` property.
-
- See ``mp.observe_property`` for further details.
-
``utils.getpid()``
Returns the process ID of the running mpv process. This can be used to identify
the calling mpv when launching (detached) subprocesses.