Freeciv-3.3
Loading...
Searching...
No Matches
Functions
api_game_specenum.c File Reference
#include <string.h>
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
#include "support.h"
#include "events.h"
#include "fc_types.h"
#include "api_specenum.h"
#include "api_game_specenum.h"

Go to the source code of this file.

Functions

int api_game_specenum_open (lua_State *L)
 

Function Documentation

◆ api_game_specenum_open()

int api_game_specenum_open ( lua_State L)

Define the __index function for each exported specenum type. Load the specenum modules into Lua state L.

Definition at line 46 of file api_game_specenum.c.

Referenced by script_client_init(), and script_server_init().