aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-10-25 09:50:46 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-10-25 09:50:46 -0200
commitbdf566a8a32450c2eb6273c8c1a92e2181b6846e (patch)
treeb301da541fbad81034216a6e0465cc381082431e /lobject.h
parentc3c78030f79fdbbb06265d50645e408d60e7798e (diff)
downloadlua-bdf566a8a32450c2eb6273c8c1a92e2181b6846e.tar.gz
lua-bdf566a8a32450c2eb6273c8c1a92e2181b6846e.tar.bz2
lua-bdf566a8a32450c2eb6273c8c1a92e2181b6846e.zip
`name' in comments changed to 'name'
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lobject.h b/lobject.h
index c721d3e8..54e4c020 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 2.102 2014/09/04 18:15:29 roberto Exp roberto $ 2** $Id: lobject.h,v 2.103 2014/10/01 11:52:33 roberto Exp roberto $
3** Type definitions for Lua objects 3** Type definitions for Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -345,7 +345,7 @@ typedef struct Udata {
345** Ensures that address after this type is always fully aligned. 345** Ensures that address after this type is always fully aligned.
346*/ 346*/
347typedef union UUdata { 347typedef union UUdata {
348 L_Umaxalign dummy; /* ensures maximum alignment for `local' udata */ 348 L_Umaxalign dummy; /* ensures maximum alignment for 'local' udata */
349 Udata uv; 349 Udata uv;
350} UUdata; 350} UUdata;
351 351
@@ -399,10 +399,10 @@ typedef struct Proto {
399 lu_byte is_vararg; 399 lu_byte is_vararg;
400 lu_byte maxstacksize; /* maximum stack used by this function */ 400 lu_byte maxstacksize; /* maximum stack used by this function */
401 int sizeupvalues; /* size of 'upvalues' */ 401 int sizeupvalues; /* size of 'upvalues' */
402 int sizek; /* size of `k' */ 402 int sizek; /* size of 'k' */
403 int sizecode; 403 int sizecode;
404 int sizelineinfo; 404 int sizelineinfo;
405 int sizep; /* size of `p' */ 405 int sizep; /* size of 'p' */
406 int sizelocvars; 406 int sizelocvars;
407 int linedefined; 407 int linedefined;
408 int lastlinedefined; 408 int lastlinedefined;
@@ -486,8 +486,8 @@ typedef struct Node {
486typedef struct Table { 486typedef struct Table {
487 CommonHeader; 487 CommonHeader;
488 lu_byte flags; /* 1<<p means tagmethod(p) is not present */ 488 lu_byte flags; /* 1<<p means tagmethod(p) is not present */
489 lu_byte lsizenode; /* log2 of size of `node' array */ 489 lu_byte lsizenode; /* log2 of size of 'node' array */
490 unsigned int sizearray; /* size of `array' array */ 490 unsigned int sizearray; /* size of 'array' array */
491 TValue *array; /* array part */ 491 TValue *array; /* array part */
492 Node *node; 492 Node *node;
493 Node *lastfree; /* any free position is before this position */ 493 Node *lastfree; /* any free position is before this position */
@@ -498,7 +498,7 @@ typedef struct Table {
498 498
499 499
500/* 500/*
501** `module' operation for hashing (size is always a power of 2) 501** 'module' operation for hashing (size is always a power of 2)
502*/ 502*/
503#define lmod(s,size) \ 503#define lmod(s,size) \
504 (check_exp((size&(size-1))==0, (cast(int, (s) & ((size)-1))))) 504 (check_exp((size&(size-1))==0, (cast(int, (s) & ((size)-1)))))