diff options
author | wm4 <wm4@nowhere> | 2014-02-17 00:18:24 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-17 02:52:58 +0100 |
commit | 1fa8e2b60203643019a11a84ac23d7a95ae714d1 (patch) | |
tree | 7de4f5cd05e4020f51458444af60505ab50a4065 /player/lua/defaults.lua | |
parent | d85e2588cf9c2120bec7960ab4e793f4208b27c1 (diff) | |
download | mpv-1fa8e2b60203643019a11a84ac23d7a95ae714d1.tar.bz2 mpv-1fa8e2b60203643019a11a84ac23d7a95ae714d1.tar.xz |
lua: remove redundant inline documentation
Nobody will loom at this, and the proper documentation of these
functions is in lua.rst.
Diffstat (limited to 'player/lua/defaults.lua')
-rw-r--r-- | player/lua/defaults.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/player/lua/defaults.lua b/player/lua/defaults.lua index 8efa8d6315..037529940f 100644 --- a/player/lua/defaults.lua +++ b/player/lua/defaults.lua @@ -68,16 +68,12 @@ end local timers = {} --- Install a one-shot timer. Once the given amount of seconds has passed from --- now, the callback will be called as cb(), and the timer is removed. function mp.add_timeout(seconds, cb) local t = mp.add_periodic_timer(seconds, cb) t.oneshot = true return t end --- Install a periodic timer. It works like add_timeout(), but after cb() is --- called, the timer is re-added. function mp.add_periodic_timer(seconds, cb) local t = { timeout = seconds, |