From acdb0b741e31adebfa4f608f8bf23e65fa68d741 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 27 Dec 1999 15:33:22 -0200 Subject: comments. --- lobject.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index 8f63a9e3..e971c85b 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 1.40 1999/12/14 18:33:29 roberto Exp roberto $ +** $Id: lobject.h,v 1.41 1999/12/23 18:19:57 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -46,7 +46,7 @@ typedef unsigned char Byte; /* unsigned 8 bits */ #define MAX_INT (INT_MAX-2) /* maximum value of an int (-2 for safety) */ -/* convertion of pointer to int (for hashing only) */ +/* conversion of pointer to int (for hashing only) */ /* (the shift removes bits that are usually 0 because of alignment) */ #define IntPoint(L, p) (((unsigned int)(p)) >> 3) @@ -65,10 +65,10 @@ typedef unsigned char Byte; /* unsigned 8 bits */ ** grep "ORDER LUA_T" */ typedef enum { - LUA_T_USERDATA = 0, /* tag default for userdata */ + LUA_T_USERDATA = 0, /* default tag for userdata */ LUA_T_NUMBER = -1, /* fixed tag for numbers */ LUA_T_STRING = -2, /* fixed tag for strings */ - LUA_T_ARRAY = -3, /* tag default for tables (or arrays) */ + LUA_T_ARRAY = -3, /* default tag for tables (or arrays) */ LUA_T_LPROTO = -4, /* fixed tag for Lua functions */ LUA_T_CPROTO = -5, /* fixed tag for C functions */ LUA_T_NIL = -6, /* last "pre-defined" tag */ @@ -84,7 +84,7 @@ typedef enum { #define NUM_TAGS 7 /* -** chech whether t is a mark; ttypes are negative numbers, so the +** chech whether `t' is a mark; ttypes are negative numbers, so the ** comparisons look reversed. (ORDER LUA_T) */ #define is_T_MARK(t) (LUA_T_CMARK <= (t) && (t) <= LUA_T_LCLMARK) @@ -181,7 +181,7 @@ typedef struct LocVar { typedef struct Closure { struct Closure *next; int marked; - int nelems; /* not included the first one (always the prototype) */ + int nelems; /* not including the first one (always the prototype) */ TObject consts[1]; /* at least one for prototype */ } Closure; -- cgit v1.2.3-55-g6feb