summaryrefslogtreecommitdiff
path: root/iupe-dbuffer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'iupe-dbuffer.lua')
-rw-r--r--iupe-dbuffer.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/iupe-dbuffer.lua b/iupe-dbuffer.lua
index 4321206..8c1412f 100644
--- a/iupe-dbuffer.lua
+++ b/iupe-dbuffer.lua
@@ -4,6 +4,8 @@ loadmodule "lualibs"
if not iupep then iupep = {} end
+if not iupep.dbuffer then
+
iupep.dbuffer = {
map_cb = function (self)
self.cv = cd.CreateCanvas(cd.IUP, self)
@@ -41,3 +43,5 @@ iupep.dbuffer = {
return iup.DEFAULT
end,
}
+
+end