lua-users home
lua-l archive

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

Tim Caswell wrote:
> I put printf statements in ll_loadfunc and it never seems to be
> called.

For symbols in the executable the lookup is performed in

> I'm sure I'm missing something simple, but I can't figure it out.

You need to export the symbols from the binary. On Windows this is
done indirectly via their declaration. On Linux etc. you need to
use -Wl,-E when linking the executable.

[And yes, this is spelled out in
from git HEAD.]