summaryrefslogtreecommitdiff
path: root/src/examples/elua
diff options
context:
space:
mode:
authorDaniel Kolesa <quaker66@gmail.com>2014-04-04 16:41:36 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-06-10 15:48:46 +0100
commit008925aa32c2e0c9bb6d5624162e6127e953d9e6 (patch)
treec427f54d74859113151498261b8083db949d0d17 /src/examples/elua
parentdcd2b6166b9d4af38e6387d1f2ca482ea8ef7e1f (diff)
elua: allow setting of default domain
Diffstat (limited to 'src/examples/elua')
-rw-r--r--src/examples/elua/elm_test.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/examples/elua/elm_test.lua b/src/examples/elua/elm_test.lua
index df7726f..d44248d 100644
--- a/src/examples/elua/elm_test.lua
+++ b/src/examples/elua/elm_test.lua
@@ -11,11 +11,13 @@ log.log_err("test with default log domain")
11 11
12local foo = function() 12local foo = function()
13 for i = 1, 4 do 13 for i = 1, 4 do
14 dom:log(log.level.ERR, "testing: " .. i) 14 log.log_err("testing: " .. i)
15 end 15 end
16end 16end
17 17
18foo() 18foo()
19log.set_default_domain(dom)
20foo()
19 21
20win:smart_callback_add("delete,request", function() 22win:smart_callback_add("delete,request", function()
21 elm.exit() 23 elm.exit()