Jump to content

Can I load a module with ?.so in main.lua


Recommended Posts

I found script.readme.txt in data. As mentioned above, I can extract script.zip in databundle to data directory and do some special debugging.  Now need to develop some functions to use luasocket, which is a socket module implemented for lua, it provides some c implementation, so I compiled it into socket.so, and hope to require this socket.so in main.lua,  But in my testing it seems that the require function always returns a boolean instead of what the module really returns

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...