diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-03-29 11:47:12 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2021-03-29 11:47:12 -0300 |
commit | bef250eb8d44ba58fa04f82df7550a79b068d2d0 (patch) | |
tree | 62c7ca754b529b907c701e93a1e8f364904a7907 /lobject.h | |
parent | ba81adaad9a72530d1ac81149a1fdd154b010b06 (diff) | |
download | lua-bef250eb8d44ba58fa04f82df7550a79b068d2d0.tar.gz lua-bef250eb8d44ba58fa04f82df7550a79b068d2d0.tar.bz2 lua-bef250eb8d44ba58fa04f82df7550a79b068d2d0.zip |
Details
Comments and small improvements in the manual.
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,7 +112,7 @@ typedef struct TValue { | |||
112 | #define settt_(o,t) ((o)->tt_=(t)) | 112 | #define settt_(o,t) ((o)->tt_=(t)) |
113 | 113 | ||
114 | 114 | ||
115 | /* main macro to copy values (from 'obj1' to 'obj2') */ | 115 | /* main macro to copy values (from 'obj2' to 'obj1') */ |
116 | #define setobj(L,obj1,obj2) \ | 116 | #define setobj(L,obj1,obj2) \ |
117 | { TValue *io1=(obj1); const TValue *io2=(obj2); \ | 117 | { TValue *io1=(obj1); const TValue *io2=(obj2); \ |
118 | io1->value_ = io2->value_; settt_(io1, io2->tt_); \ | 118 | io1->value_ = io2->value_; settt_(io1, io2->tt_); \ |