summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_camera.cpp
Commit message (Expand)AuthorAge
* Cleanup various headers to reduce compilation times (#6255)Loïc Blot2017-08-16
* C++11 cleanup on constructors (#6000)Vincent Glize2017-06-19
* Replace occurrence of luaL_reg in l_camera.cppT0ny22017-05-07
* Fix codestyle since CSM Camera APILoic Blot2017-05-06
* [CSM] Add camera API (#5609)bigfoot5472017-05-05
"hl opt">, function() local test_in = {cat={sound="nyan", speed=400}, dog={sound="woof"}} local test_out = core.deserialize(core.serialize(test_in)) assert.same(test_in, test_out) end) it("handles characters", function() local test_in = {escape_chars="\n\r\t\v\\\"\'", non_european="θשׁ٩∂"} local test_out = core.deserialize(core.serialize(test_in)) assert.same(test_in, test_out) end) it("handles recursive structures", function() local test_in = { hello = "world" } test_in.foo = test_in local test_out = core.deserialize(core.serialize(test_in)) assert.same(test_in, test_out) end) end)