mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
fallback table now has number of parameters and results of each
fallback. This information is used by opcode.c, when calling a fallback.
This commit is contained in:
parent
7e01348658
commit
1bb3fb73cc
2 changed files with 14 additions and 11 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: fallback.h,v 1.7 1994/11/21 18:22:58 roberto Stab roberto $
|
||||
** $Id: fallback.h,v 1.8 1995/10/04 14:20:26 roberto Exp roberto $
|
||||
*/
|
||||
|
||||
#ifndef fallback_h
|
||||
|
|
@ -10,6 +10,8 @@
|
|||
extern struct FB {
|
||||
char *kind;
|
||||
Object function;
|
||||
int nParams;
|
||||
int nResults;
|
||||
} luaI_fallBacks[];
|
||||
|
||||
#define FB_ERROR 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue