Freeciv21
Develop your civilization from humble roots to a global empire
api_server_luadata.h
Go to the documentation of this file.
1 /**************************************************************************
2  Copyright (c) 1996-2020 Freeciv21 and Freeciv contributors. This file is
3  part of Freeciv21. Freeciv21 is free software: you can redistribute it
4  and/or modify it under the terms of the GNU General Public License as
5  published by the Free Software Foundation, either version 3 of the
6  License, or (at your option) any later version. You should have received
7  a copy of the GNU General Public License along with Freeciv21. If not,
8  see https://www.gnu.org/licenses/.
9 **************************************************************************/
10 
11 #pragma once
12 
13 struct lua_State;
14 
15 const char *api_luadata_get_str(lua_State *L, const char *field);
const char * api_luadata_get_str(lua_State *L, const char *field)
Get string value from luadata.