Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

JlnWntr/Lua-Adapter

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

206 Commits
206 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lua-Adapter

Use Lua 5.3+ in your C++ program.

Usage

#include "LuaAdapter.hpp"

int main(){
  LuaAdapter lua{"test.lua"}; // load lua-file

  int width {0};
  lua.Get("width", width);  // width=600

  return 0;
}

Build and test Lua-Adapter using g++

$ g++ the_program_above.cpp -std=c++17 -llua -ldl

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.