lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

it may be work:

 lua_getglobal(L, "test"); 
 lua_pushnumber(L, 0);
 int error = lua_pcall(L, 1, 0,0); 

----- Original Message ----- 
From: "Zulfiqar Malik" <>
To: "'Lua list'" <>
Sent: Wednesday, May 25, 2005 7:56 PM
Subject: RE: Performance problems!

> Okay, so I have loaded the string, but is the returned value the chunk
> object? Even so, there is no parameter in either lua_pcall() or
> lua_call() that indicates which chunk object to execute? Thanks for your
> response.
> Regards,
> Zulfiqar Inayat Malik.