diff options
Diffstat (limited to 'fallback.c')
-rw-r--r-- | fallback.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** TecCGraf - PUC-Rio | 3 | ** TecCGraf - PUC-Rio |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char *rcs_fallback="$Id: fallback.c,v 1.12 1995/05/02 18:43:03 roberto Exp roberto $"; | 6 | char *rcs_fallback="$Id: fallback.c,v 1.13 1995/10/02 17:03:33 roberto Exp roberto $"; |
7 | 7 | ||
8 | #include <stdio.h> | 8 | #include <stdio.h> |
9 | #include <string.h> | 9 | #include <string.h> |
@@ -168,3 +168,10 @@ void luaI_travlock (void (*fn)(Object *)) | |||
168 | fn(&lockArray[i]); | 168 | fn(&lockArray[i]); |
169 | } | 169 | } |
170 | 170 | ||
171 | |||
172 | void luaI_travfallbacks (void (*fn)(Object *)) | ||
173 | { | ||
174 | Word i; | ||
175 | for (i=0; i<N_FB; i++) | ||
176 | fn(&luaI_fallBacks[i].function); | ||
177 | } | ||