Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Macros
functionreg.h File Reference
#include <sol/sol.hpp>

Go to the source code of this file.

Macros

#define REGISTER_FUNCTION(name, lambda)   lua_namespace.set_function(name, lambda)
 
#define CREATE_NAMESPACE(name)   auto lua_namespace = script_engine[#name].get_or_create<sol::table>()
 

Macro Definition Documentation

◆ CREATE_NAMESPACE

#define CREATE_NAMESPACE (   name)    auto lua_namespace = script_engine[#name].get_or_create<sol::table>()

◆ REGISTER_FUNCTION

#define REGISTER_FUNCTION (   name,
  lambda 
)    lua_namespace.set_function(name, lambda)