lua-users home
lua-l archive

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

> For example, you could decide that the place to look for your function
> is a global variable with a specific name:
>   lua_getglobal(L, "on_trackbar");

You can even use "strange" names such as "on trackbar" -- note the space.
In this way you avoid clashes with names in scripts.