Quote |
local base = _G local socket = require("socket") -- -- Quick override to the FLTK functions -- murgaLuagloabl = {} |
Quote |
-- Loading and initializing the murgalua-fltk extension -- name of the init function in fltk extension is "init_lua_fltk_State", -- but the symbol corresponding to this function in the shared library -- is changed by the C++ name mangling scheme of gcc. assert( package.loadlib("/usr/local/lib/lua/5.1/murgalua-fltk.so.0.6.8", "_Z19init_lua_fltk_StateP9lua_State") )() -- The following is to setup Fltk theme for lua fltk bindings. pcall ( function() dofile(os.getenv("HOME").."/.luafltkrc") end ) -- The following functions are the additional bindings (menus) for FLTK -- and are extracted from MurgaLua 0.6.8 distro (file src/MurgaLuaLib.lua) local base = _G local socket = require("socket") -- -- Quick override to the FLTK functions -- murgaLua__global = {} function getMenu(self) ... |
Quote |
We could add lines to give credit to John Murga in this modified script and add a generic reference to gpl2 with a link to the the full GPL license which already exists in every DSL iso. |