• Of course, because the userdata originates in c, there are no pre-defined operations for userdata in Lua.

    当然由于用户数据源自c,因此在Lua没有用户数据预定义操作

    youdao

  • Implementing the core logic of a program in Lua, rather than in c, might well dramatically reduce development time.

    Lua不是c来实现程序核心逻辑可以大大减少开发时间。

    youdao

  • The third, and most flexible, is to mix and match these approaches, using Lua to script some actions, and code in C to manage others.

    第三方式也是灵活的方式,混合上述两种方式,使用Lua脚本编写一些动作C代码管理其他部分。

    youdao

  • The second is to write a program primarily in C, then use embedded Lua as a way to store and report data and configuration.

    第二方法主要C编写一个程序然后使用嵌入Lua存储报告数据配置

    youdao

  • C functions can call Lua functions and vice versa, for example.

    举例来说,c函数可以调用lua函数,反之亦然

    youdao

  • The simplicity of embedding Lua in code in other languages (but especially C) makes it an easy target for substantially improving the functionality of programs in other languages.

    Lua嵌入其他语言特别是C)编写代码非常简单,因此常常使用 Lua提高其他语言编写的程序功能性

    youdao

  • The inverse -- calling a C function from Lua -- is similar.

    反之,Lua调用C函数与之类似

    youdao

  • In a C-based API, embedded code would almost certainly be able to cause a crash; using the Lua interface, if user interface code can cause a crash, there is a bug that ought to get fixed.

    基于capi中,嵌入代码几乎都会导致崩溃;当使用lua界面时,如果用户界面代码导致崩溃,则存在需要修复的bug

    youdao

  • You use lua_pushcfunction() to convert a C function pointer into an internal Lua object.

    可以使用 lua_pushcfunction()C函数指针转换成内部Lua对象

    youdao

  • You use lua_pushcfunction() to convert a C function pointer into an internal Lua object.

    可以使用 lua_pushcfunction()C函数指针转换成内部Lua对象

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定