diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-25 13:22:42 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-25 13:22:42 -0300 |
| commit | 13635f7de7c51b26c447ce444a2c045cba83fe7c (patch) | |
| tree | b9461626b368e8ca1161b01e2771447898fdecd8 /lstate.h | |
| parent | d8a442206d2845e1749cc36dd59208428ef1d117 (diff) | |
| download | lua-13635f7de7c51b26c447ce444a2c045cba83fe7c.tar.gz lua-13635f7de7c51b26c447ce444a2c045cba83fe7c.tar.bz2 lua-13635f7de7c51b26c447ce444a2c045cba83fe7c.zip | |
new version of protected execution
Diffstat (limited to 'lstate.h')
| -rw-r--r-- | lstate.h | 14 |
1 files changed, 2 insertions, 12 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.h,v 1.37 2000/08/28 17:57:04 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.38 2000/09/11 17:38:42 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 | */ |
| @@ -7,8 +7,6 @@ | |||
| 7 | #ifndef lstate_h | 7 | #ifndef lstate_h |
| 8 | #define lstate_h | 8 | #define lstate_h |
| 9 | 9 | ||
| 10 | #include <setjmp.h> | ||
| 11 | |||
| 12 | #include "lobject.h" | 10 | #include "lobject.h" |
| 13 | #include "lua.h" | 11 | #include "lua.h" |
| 14 | #include "luadebug.h" | 12 | #include "luadebug.h" |
| @@ -33,15 +31,7 @@ struct Ref { | |||
| 33 | }; | 31 | }; |
| 34 | 32 | ||
| 35 | 33 | ||
| 36 | /* | 34 | struct lua_longjmp; /* defined in ldo.c */ |
| 37 | ** chain list of long jumps | ||
| 38 | */ | ||
| 39 | struct lua_longjmp { | ||
| 40 | jmp_buf b; | ||
| 41 | struct lua_longjmp *previous; | ||
| 42 | volatile int status; /* error code */ | ||
| 43 | StkId base; | ||
| 44 | }; | ||
| 45 | 35 | ||
| 46 | 36 | ||
| 47 | typedef struct stringtable { | 37 | typedef struct stringtable { |
