Fawkes API  Fawkes Development Version
fawkesblackboard_tolua.cpp
1 /*
2 ** Lua binding: fawkesblackboard
3 ** Generated automatically by tolua++-1.0.92
4 */
5 /* This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version. A runtime exception applies to
9  * this software (see LICENSE.GPL_WRE file mentioned below for details).
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU Library General Public License for more details.
15  *
16  * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
17  */
18 
19 #include <core/exception.h>
20 
21 #ifndef __cplusplus
22 #include "stdlib.h"
23 #endif
24 #include "string.h"
25 
26 #include "tolua++.h"
27 
28 /* Exported function */
29 TOLUA_API int tolua_fawkesblackboard_open (lua_State* tolua_S);
30 
31 
32 /* function to register type */
33 static void tolua_reg_types (lua_State* tolua_S)
34 {
35 }
36 
37 /* Open function */
38 TOLUA_API int tolua_fawkesblackboard_open (lua_State* tolua_S)
39 {
40  tolua_open(tolua_S);
41  tolua_reg_types(tolua_S);
42  tolua_module(tolua_S,NULL,0);
43  tolua_beginmodule(tolua_S,NULL);
44  tolua_endmodule(tolua_S);
45  return 1;
46 }
47 
48 
49 extern "C" {
50 #if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
51  TOLUA_API int luaopen_fawkesblackboard (lua_State* tolua_S) {
52  return tolua_fawkesblackboard_open(tolua_S);
53 };
54 #endif
55 }
56 
57