Write the C/C++ code. ○ Map Lua names to the C names. ○ Register the library. As an example, let's write a add1 function: > require('test'). > ...
確定! 回上一頁