summaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.c')
-rw-r--r--lobject.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/lobject.c b/lobject.c
index b9cabb0b..e06e89e5 100644
--- a/lobject.c
+++ b/lobject.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: $ 2** $Id: lobject.c,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $
3** Some generic functions over Lua objects 3** Some generic functions over Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -66,3 +66,12 @@ int luaO_findstring (char *name, char *list[])
66 return -1; /* name not found */ 66 return -1; /* name not found */
67} 67}
68 68
69
70void luaO_insertlist (GCnode *root, GCnode *node)
71{
72 ++luaO_nentities;
73 node->next = root->next;
74 root->next = node;
75 node->marked = 0;
76}
77