aboutsummaryrefslogtreecommitdiff
path: root/fallback.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-10-09 10:14:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1995-10-09 10:14:29 -0300
commit1bb3fb73cc65d35df9cd737f4445ad9361f85775 (patch)
tree466c2cc19d40f11bbc7ad57e0b2335d3ff1a725a /fallback.h
parent7e0134865866951e522ad95034daf0e044fbedd2 (diff)
downloadlua-1bb3fb73cc65d35df9cd737f4445ad9361f85775.tar.gz
lua-1bb3fb73cc65d35df9cd737f4445ad9361f85775.tar.bz2
lua-1bb3fb73cc65d35df9cd737f4445ad9361f85775.zip
fallback table now has number of parameters and results of each
fallback. This information is used by opcode.c, when calling a fallback.
Diffstat (limited to 'fallback.h')
-rw-r--r--fallback.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fallback.h b/fallback.h
index 97dcb484..f1997851 100644
--- a/fallback.h
+++ b/fallback.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: fallback.h,v 1.7 1994/11/21 18:22:58 roberto Stab roberto $ 2** $Id: fallback.h,v 1.8 1995/10/04 14:20:26 roberto Exp roberto $
3*/ 3*/
4 4
5#ifndef fallback_h 5#ifndef fallback_h
@@ -10,6 +10,8 @@
10extern struct FB { 10extern struct FB {
11 char *kind; 11 char *kind;
12 Object function; 12 Object function;
13 int nParams;
14 int nResults;
13} luaI_fallBacks[]; 15} luaI_fallBacks[];
14 16
15#define FB_ERROR 0 17#define FB_ERROR 0