|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
-** $Id: lstate.h,v 2.131 2016/06/16 13:36:09 roberto Exp roberto $
|
|
|
|
|
|
+** $Id: lstate.h,v 2.132 2016/10/19 12:31:42 roberto Exp roberto $
|
|
** Global State
|
|
** Global State
|
|
** See Copyright Notice in lua.h
|
|
** See Copyright Notice in lua.h
|
|
*/
|
|
*/
|
|
@@ -23,7 +23,7 @@
|
|
**
|
|
**
|
|
** 'allgc': all objects not marked for finalization;
|
|
** 'allgc': all objects not marked for finalization;
|
|
** 'finobj': all objects marked for finalization;
|
|
** 'finobj': all objects marked for finalization;
|
|
-** 'tobefnz': all objects ready to be finalized;
|
|
|
|
|
|
+** 'tobefnz': all objects ready to be finalized;
|
|
** 'fixedgc': all objects that are not to be collected (currently
|
|
** 'fixedgc': all objects that are not to be collected (currently
|
|
** only small strings, such as reserved words).
|
|
** only small strings, such as reserved words).
|
|
|
|
|
|
@@ -34,7 +34,7 @@ struct lua_longjmp; /* defined in ldo.c */
|
|
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
-** Atomic type (relative to signals) to better ensure that 'lua_sethook'
|
|
|
|
|
|
+** Atomic type (relative to signals) to better ensure that 'lua_sethook'
|
|
** is thread safe
|
|
** is thread safe
|
|
*/
|
|
*/
|
|
#if !defined(l_signalT)
|
|
#if !defined(l_signalT)
|
|
@@ -66,7 +66,7 @@ typedef struct stringtable {
|
|
** Information about a call.
|
|
** Information about a call.
|
|
** When a thread yields, 'func' is adjusted to pretend that the
|
|
** When a thread yields, 'func' is adjusted to pretend that the
|
|
** top function has only the yielded values in its stack; in that
|
|
** top function has only the yielded values in its stack; in that
|
|
-** case, the actual 'func' value is saved in field 'extra'.
|
|
|
|
|
|
+** case, the actual 'func' value is saved in field 'extra'.
|
|
** When a function calls another with a continuation, 'extra' keeps
|
|
** When a function calls another with a continuation, 'extra' keeps
|
|
** the function index so that, in case of errors, the continuation
|
|
** the function index so that, in case of errors, the continuation
|
|
** function can be called with the correct top.
|
|
** function can be called with the correct top.
|