Style patches

This commit is contained in:
Artem Serebriyskiy 2013-11-01 02:09:06 +04:00 committed by William S Fulton
commit b9ba05be81
23 changed files with 90 additions and 90 deletions

View file

@ -9,9 +9,9 @@ setmetatable(env, {__index=function (t,i) error("undefined global variable `"..i
e1 = ev.ExtendMe()
answ = 1.0
assert( e1:set(7.0) )
--assert( e1:get(answ) ) -- doesn't work. Lua can't pass primitive type by non-const reference
--assert( answ == 7.0 )
assert(e1:set(7.0))
--assert(e1:get(answ)) -- doesn't work. Lua can't pass primitive type by non-const reference
--assert(answ == 7.0)
e1.ExtendVar = 5.0
assert(e1.ExtendVar == 5.0)