Skip to content

luiseduardohdbackup/LuaBridgeCpp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#LuaBridgeCpp

##About A C++ wrapper for using Lua.

##Features

  • Call C++ functions inside Lua.
  • Call Lua functions inside C++.
  • Get variables from one language to another.
  • OOP Design.

##How to

In C++ use it like this:

// Create a Lua Instance with libraries loaded
LuaBridge* b = new LuaBridge(true);

// Parse a lua file
b->parseFile("test.lua");

// Get variables from the lua file by name
const char* aStringFromLua   = b->getString("variable1");
int aNumberFromLua 			 = b->getInt("variable2");

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 93.2%
  • C++ 4.8%
  • Makefile 1.7%
  • Other 0.3%