diff options
Diffstat (limited to 'lstate.h')
| -rw-r--r-- | lstate.h | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.h,v 2.36 2008/08/26 13:27:42 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.37 2009/02/18 17:20:56 roberto Exp roberto $ |
| 3 | ** Global State | 3 | ** Global State |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -83,7 +83,11 @@ typedef struct CallInfo { | |||
| 83 | const Instruction *savedpc; | 83 | const Instruction *savedpc; |
| 84 | short nresults; /* expected number of results from this function */ | 84 | short nresults; /* expected number of results from this function */ |
| 85 | lu_byte callstatus; | 85 | lu_byte callstatus; |
| 86 | int tailcalls; /* number of tail calls lost under this entry */ | 86 | union { |
| 87 | struct { /* only for Lua functions */ | ||
| 88 | int tailcalls; /* number of tail calls lost under this entry */ | ||
| 89 | } l; | ||
| 90 | } u; | ||
| 87 | } CallInfo; | 91 | } CallInfo; |
| 88 | 92 | ||
| 89 | 93 | ||
