C++版本的lua交互库 nua

码农软件 · 软件分类 · 其他开发相关 · 2019-10-19 08:28:53

软件介绍

C++版本的lua交互库。

依赖

  • cmake 2.8+(可选, 如果不编译测试用例就不用)

  • lua 5.2+

  • 一个支持C++14的编译器(最好不要是clang, 因为用它过不了测试用例, 推荐gcc)


特性与用法

创建lua context

nua::Context ctx;

如果不需要打开lua标准库:

nua::Context ctx{false};

当nua::Context析构时, 所有其关联的资源都会被回收(包括通过值传入的C++对象)


本文地址:https://www.codercto.com/soft/d/17078.html

Programming PHP

Programming PHP

Rasmus Lerdorf、Kevin Tatroe、Peter MacIntyre / O'Reilly Media / 2006-5-5 / USD 39.99

Programming PHP, 2nd Edition, is the authoritative guide to PHP 5 and is filled with the unique knowledge of the creator of PHP (Rasmus Lerdorf) and other PHP experts. When it comes to creating websit......一起来看看 《Programming PHP》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具