比如lua中调用C函数 socket.core() , 在c中需要这样命名:luaopen_socket_core();
基本模式是添加luaopen_前缀,讲.变为_
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3