Fix missing `self` parameter in documentation usage examples.

This commit is contained in:
Aire-One 2020-01-28 10:57:43 +01:00
parent d9998dedd2
commit 02b1a6b633
1 changed files with 2 additions and 2 deletions

View File

@ -615,13 +615,13 @@ end
-- @tparam table mod The current modifiers (like "Control" or "Shift").
-- @tparam string key The key name.
-- @tparam string event The event ("press" or "release").
-- @usage local function my_keypressed_cb(mod, key, command)
-- @usage local function my_keypressed_cb(self, mod, key, command)
-- -- do something
-- end
--- The callback function to call with mod table, key and command as arguments
-- when a key was released.
-- @usage local function my_keyreleased_cb(mod, key, command)
-- @usage local function my_keyreleased_cb(self, mod, key, command)
-- -- do something
-- end
-- @callback keyreleased_callback