Skip to content

Instantly share code, notes, and snippets.

@kahrl

kahrl/gist:6780442

Created Oct 1, 2013
Embed
What would you like to do?
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 335f8af..1201ced 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -518,6 +518,13 @@ pointed_thing:
{type="node", under=pos, above=pos}
{type="object", ref=ObjectRef}
+"list" and "array" are used interchangeably in this API documentation
+and refer to tables indexed by integers (without holes, unless certain
+elements explicitly are meant to be nil). The first index is 1.
+ {elem_1, elem_2, ..., elem_n}
+or equivalently:
+ {[1]=elem_1, [2]=elem_2, ..., [n]=elem_n}
+
Items
------
Node (register_node):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment