Update of /cvsroot/wxlua/wxLua/bindings
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15118/wxLua/bindings
Added Files:
wxluawrap.lua
Log Message:
still moving files to module and app directory
--- NEW FILE: wxluawrap.lua ---
----------------------------------------------------------------------------------
-- Name: wxLuaWrap.i
-- Purpose: definition of interface data, functions and classes
-- Author: J Winwood
-- Created: 3/11/2001
-- Modified by: J Winwood. 21/1/2002
-- Automatic generation of event handler table.
-- Minor modifications for code generation.
-- RCS-ID: $Id: wxluawrap.lua,v 1.1 2005/06/07 04:17:38 jrl1 Exp $
-- Copyright:
-- Original files for wxBasic (Wrap.bas, others)
-- (c) 2001 David Cuny
-- Conversion to Lua, modification to generate Lua wrappers
-- Modified interface for %override, %define and %includefile etc.
-- (c) 2001-2002 J Winwood
-- Modified interface for lua 5.
-- (c) 2003 J Winwood
-- Licence: wxWindows licence
----------------------------------------------------------------------------------
[...3186 lines suppressed...]
for idx, val in pointerList do
if idx ~= nil and idx ~= "n" and idx ~= "" and val then
outfile:write(" { 0, (const void **) &",idx,", \"",idx,"\", &",val," },\n")
count = count + 1
end
end
pointerList = nil
outfile:write(" };\n")
outfile:write(" count = ",count,";\n")
outfile:write(" return objectList;\n")
outfile:write("};\n")
io.write()
print("Generated File: "..fileout)
end
main()
|