On 10/21/06, Ulf Lamping <ulf.lamping@xxxxxx> wrote:
LEGO wrote:
> Can you check if wslua_datafile_path is added to the generated
> WSLUA_DECLARE_FUNCTIONS() ( in declare_wslua.h ) and to
> wslua_register_functions() (in register_wslua.c) ?
>
Yes for .h, no for .c (.c does include datafile_path, so it seems the
prefix is missing), see attached files.
the missing prefix is added by the macro... that's ugly and I'll fix
it but it is not our problem.
I do not have access to a windows box on which to test this so I need help.
Can you:
comment out ('--') the line in question (init.lua:230) and maybe also
231 if the problem happens with that one too...
if the error is gone (it should) you should have the
Tools/Lua/Evaluate menu item, open it and type:
---
local w = TextWindow.new("Globals")
for i,j in pairs(_G) do
w:append(i .. "\t" .. tostring(j) .. "\n")
end
---
click 'Evaluate'
send the text of the Globals window back to the list.
Thanks
--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan