LDoc2tl/tests/styles/struct.lua

14 lines
284 B
Lua
Raw Normal View History

2013-08-25 10:47:45 +02:00
------
-- functions returning compound types
-- @module struct
-----
-- returns a 'struct'.
-- @string name your name dammit
-- @tfield string arb stuff
-- @treturn st details of person
-- @tfield[st] string name of person
-- @tfield[st] int age of person
2013-08-25 10:47:45 +02:00
function struct(name) end