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

Charlotte's Web

Charlotte's Web

E. B. White / Puffin Classics / 2010-6-3 / GBP 6.99

This is the story of a little girl named Fern who loved a little pig named Wilbur and of Wilbur's dear friend, Charlotte A. Cavatica, a beautiful large grey spider. With the unlikely help of Templeton......一起来看看 《Charlotte's Web》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具