aboutsummaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ltable.c b/ltable.c
index 5561d45e..4c7ae994 100644
--- a/ltable.c
+++ b/ltable.c
@@ -155,6 +155,9 @@ static Node *mainposition (const Table *t, int ktt, const Value *kvl) {
155} 155}
156 156
157 157
158/*
159** Returns the main position of an element given as a 'TValue'
160*/
158static Node *mainpositionTV (const Table *t, const TValue *key) { 161static Node *mainpositionTV (const Table *t, const TValue *key) {
159 return mainposition(t, rawtt(key), valraw(key)); 162 return mainposition(t, rawtt(key), valraw(key));
160} 163}