mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-10 16:19:23 +00:00
doc(lua): insert_lua_method: Document, that target always passed
This commit is contained in:
@@ -64,6 +64,7 @@ end
|
|||||||
-- @param func_name string name of global lua-function
|
-- @param func_name string name of global lua-function
|
||||||
-- @param ... string list of rtorrent's arguments like `(d.name)` to be
|
-- @param ... string list of rtorrent's arguments like `(d.name)` to be
|
||||||
-- passed to lua-function when it be called by rtorrent
|
-- passed to lua-function when it be called by rtorrent
|
||||||
|
-- NOTE: first one is always target, may be empty string
|
||||||
rtorrent["insert_lua_method"] = function (name, func_name, ...)
|
rtorrent["insert_lua_method"] = function (name, func_name, ...)
|
||||||
local args = {}
|
local args = {}
|
||||||
for i, v in ipairs({...}) do
|
for i, v in ipairs({...}) do
|
||||||
|
|||||||
Reference in New Issue
Block a user