Thursday, 04 June, 2026г.
russian english deutsch french spanish portuguese czech greek georgian chinese japanese korean indonesian turkish thai uzbek

пример: покупка автомобиля в Запорожье

 

Embedding Lua in C++ #20 - Upvalues & Light Userdata

Embedding Lua in C++ #20 - Upvalues & Light UserdataУ вашего броузера проблема в совместимости с HTML5
We look at another way of storign global values (inside C functions) which Lua calls C closures, and we store a plain C pointers which Lua calls Light Userdata. The stub project for these videos is available here. https://github.com/davepoo/EmbeddingLuaTutorial How to embed Lua into a C++ application and interface with the Lua C API. To follow along you should be familiar with how to code in C++, some knowledge of the Lua scripting langage itself is preferable as this is not a scripting language tutorial. The tutorial is on Windows and using CMake and Visual Studio, but you could build this code on pretty much any platform. See https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html for the CMake documenation on how to make for your platform if you aren't using Visual Studio.
Мой аккаунт