summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-12-17 01:01:53 +0100
committerWuzzy <almikes@aol.com>2016-12-17 01:01:53 +0100
commit1b9c901c8132e548d4edf4d62f7a0ab91e10eac0 (patch)
tree93ddab3cc0a856d4a2f6783395d17f4f26beb29c
parent1da0bb06996a42704b06ae6850c2f5da93114656 (diff)
Mention eid in sorting table API doc
-rw-r--r--API.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/API.md b/API.md
index ea0ef71..407ae67 100644
--- a/API.md
+++ b/API.md
@@ -142,8 +142,9 @@ Note: For function-based sorting, the entries provided to the compare function
will have the following format:
{
- name = n, -- entry name
- data = d, -- arbitrary entry data
+ eid = e, -- unique entry identifier
+ name = n, -- entry name
+ data = d, -- arbitrary entry data
}
#### Using `build_formspec`