lua_loadlib.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Freie Universit├Ąt Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
18 #ifndef LUA_LOADLIB_H
19 #define LUA_LOADLIB_H
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
31 #define LUAR_MODULE_NOTFOUND 50
32 
49 int lua_riot_getloader(lua_State *L, const char *name);
50 
51 #ifdef __cplusplus
52 extern "C"
53 }
54 #endif
55 
56 #endif /* LUA_LOADLIB_H */
57 
int lua_riot_getloader(lua_State *L, const char *name)
Load a module as a chunk.
const char * name
Definition: lua_builtin.h:61