The Battle for Wesnoth  1.17.4+dev
Functions
lua_race Namespace Reference

This namespace contains bindings for lua to hold a pointer to a race, and to access and modify it. More...

Functions

std::string register_metatable (lua_State *L)
 

Detailed Description

This namespace contains bindings for lua to hold a pointer to a race, and to access and modify it.

Function Documentation

◆ register_metatable()

std::string lua_race::register_metatable ( lua_State *  L)

Definition at line 103 of file lua_race.cpp.

References impl_race_get(), impl_race_tostring(), and Race.

Referenced by game_lua_kernel::game_lua_kernel().