File: struct.lua

package info (click to toggle)
lua-ldoc 1.5.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 928 kB
  • sloc: makefile: 63; ansic: 56
file content (13 lines) | stat: -rw-r--r-- 284 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
------
-- 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
function struct(name) end