From 1fa8e2b60203643019a11a84ac23d7a95ae714d1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 17 Feb 2014 00:18:24 +0100 Subject: lua: remove redundant inline documentation Nobody will loom at this, and the proper documentation of these functions is in lua.rst. --- player/lua/defaults.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'player/lua') 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, -- cgit v1.2.3