mirror of
https://github.com/nmap/nmap.git
synced 2026-01-04 21:59:02 +00:00
Remove module and object prefixes from function names in .luadoc files, as
suggested by jah in http://seclists.org/nmap-dev/2008/q4/0232.html. This makes @see cross-references to functions in these files work from other modules.
This commit is contained in:
@@ -52,7 +52,7 @@ module "bin"
|
||||
-- @param format Format string, used to pack following arguments.
|
||||
-- @param ... The values to pack.
|
||||
-- @return String containing packed data.
|
||||
function bin.pack(format, ...)
|
||||
function pack(format, ...)
|
||||
|
||||
|
||||
--- Returns values read from the binary packed data string.
|
||||
@@ -70,5 +70,5 @@ function bin.pack(format, ...)
|
||||
-- @param init Optional starting position within the string.
|
||||
-- @return Position in the data string where unpacking stopped.
|
||||
-- @return All unpacked values.
|
||||
function bin.unpack(format, data, init)
|
||||
function unpack(format, data, init)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user