1 /*
2                                     __
3                                    / _|
4   __ _ _   _ _ __ ___  _ __ __ _  | |_ ___  ___ ___
5  / _` | | | | '__/ _ \| '__/ _` | |  _/ _ \/ __/ __|
6 | (_| | |_| | | | (_) | | | (_| | | || (_) \__ \__ \
7  \__,_|\__,_|_|  \___/|_|  \__,_| |_| \___/|___/___/
8 
9 Copyright (C) 1994-2020 Lua.org, PUC-Rio.
10 Copyright (C) 2018-2020 Aurora Free Open Source Software.
11 Copyright (C) 2018-2020 Luís Ferreira <luis@aurorafoss.org>
12 
13 This file is part of the Aurora Free Open Source Software. This
14 organization promote free and open source software that you can
15 redistribute and/or modify under the terms of the GNU Lesser General
16 Public License Version 3 as published by the Free Software Foundation or
17 (at your option) any later version approved by the Aurora Free Open Source
18 Software Organization. The license is available in the package root path
19 as 'LICENSE' file. Please review the following information to ensure the
20 GNU Lesser General Public License version 3 requirements will be met:
21 https://www.gnu.org/licenses/lgpl.html .
22 
23 Alternatively, this file may be used under the terms of the GNU General
24 Public License version 3 or later as published by the Free Software
25 Foundation. Please review the following information to ensure the GNU
26 General Public License requirements will be met:
27 http://www.gnu.org/licenses/gpl-3.0.html.
28 
29 NOTE: All products, services or anything associated to trademarks and
30 service marks used or referenced on this file are the property of their
31 respective companies/owners or its subsidiaries. Other names and brands
32 may be claimed as the property of others.
33 
34 For more info about intellectual property visit: aurorafoss.org or
35 directly send an email to: contact (at) aurorafoss.org .
36 */
37 
38 /++
39 Dynamic function declarations for Lua bindings
40 
41 This file defines all dynamic function declarations for Lua library bindings.
42 
43 Authors: Luís Ferreira <luis@aurorafoss.org>
44 Copyright: All rights reserved, Aurora Free Open Source Software
45 License: GNU Lesser General Public License (Version 3, 29 June 2007)
46 Date: 2018-2019
47 +/
48 module riverd.lua.dynfun;
49 
50 import riverd.lua.types;
51 
52 
53 __gshared
54 {
55 	// stfu
56 	da_lua_newstate lua_newstate; ///
57 	da_lua_close lua_close; ///
58 	da_lua_newthread lua_newthread; ///
59 	da_lua_resetthread lua_resetthread; ///
60 	da_lua_atpanic lua_atpanic; ///
61 	da_lua_version lua_version; ///
62 	da_lua_absindex lua_absindex; ///
63 	da_lua_gettop lua_gettop; ///
64 	da_lua_settop lua_settop; ///
65 	da_lua_pushvalue lua_pushvalue; ///
66 	da_lua_rotate lua_rotate; ///
67 	da_lua_copy lua_copy; ///
68 	da_lua_checkstack lua_checkstack; ///
69 	da_lua_xmove lua_xmove; ///
70 	da_lua_isnumber lua_isnumber; ///
71 	da_lua_isstring lua_isstring; ///
72 	da_lua_iscfunction lua_iscfunction; ///
73 	da_lua_isinteger lua_isinteger; ///
74 	da_lua_isuserdata lua_isuserdata; ///
75 	da_lua_type lua_type; ///
76 	da_lua_typename lua_typename; ///
77 	da_lua_tonumberx lua_tonumberx; ///
78 	da_lua_tointegerx lua_tointegerx; ///
79 	da_lua_toboolean lua_toboolean; ///
80 	da_lua_tolstring lua_tolstring; ///
81 	da_lua_rawlen lua_rawlen; ///
82 	da_lua_tocfunction lua_tocfunction; ///
83 	da_lua_touserdata lua_touserdata; ///
84 	da_lua_tothread lua_tothread; ///
85 	da_lua_topointer lua_topointer; ///
86 	da_lua_arith lua_arith; ///
87 	da_lua_rawequal lua_rawequal; ///
88 	da_lua_compare lua_compare; ///
89 	da_lua_pushnil lua_pushnil; ///
90 	da_lua_pushnumber lua_pushnumber; ///
91 	da_lua_pushinteger lua_pushinteger; ///
92 	da_lua_pushlstring lua_pushlstring; ///
93 	da_lua_pushstring lua_pushstring; ///
94 	da_lua_pushvfstring lua_pushvfstring; ///
95 	da_lua_pushfstring lua_pushfstring; ///
96 	da_lua_pushcclosure lua_pushcclosure; ///
97 	da_lua_pushboolean lua_pushboolean; ///
98 	da_lua_pushlightuserdata lua_pushlightuserdata; ///
99 	da_lua_pushthread lua_pushthread; ///
100 	da_lua_getglobal lua_getglobal; ///
101 	da_lua_gettable lua_gettable; ///
102 	da_lua_getfield lua_getfield; ///
103 	da_lua_geti lua_geti; ///
104 	da_lua_rawget lua_rawget; ///
105 	da_lua_rawgeti lua_rawgeti; ///
106 	da_lua_rawgetp lua_rawgetp; ///
107 	da_lua_createtable lua_createtable; ///
108 	da_lua_newuserdatauv lua_newuserdatauv; ///
109 	da_lua_getmetatable lua_getmetatable; ///
110 	da_lua_getiuservalue lua_getiuservalue; ///
111 	da_lua_setglobal lua_setglobal; ///
112 	da_lua_settable lua_settable; ///
113 	da_lua_setfield lua_setfield; ///
114 	da_lua_rawset lua_rawset; ///
115 	da_lua_rawseti lua_rawseti; ///
116 	da_lua_rawsetp lua_rawsetp; ///
117 	da_lua_setmetatable lua_setmetatable; ///
118 	da_lua_setiuservalue lua_setiuservalue; ///
119 	da_lua_callk lua_callk; ///
120 	da_lua_pcallk lua_pcallk; ///
121 	da_lua_load lua_load; ///
122 	da_lua_dump lua_dump; ///
123 	da_lua_yieldk lua_yieldk; ///
124 	da_lua_resume lua_resume; ///
125 	da_lua_status lua_status; ///
126 	da_lua_isyieldable lua_isyieldable; ///
127 	da_lua_setwarnf lua_setwarnf; ///
128 	da_lua_warning lua_warning; ///
129 	da_lua_gc lua_gc; ///
130 	da_lua_error lua_error; ///
131 	da_lua_next lua_next; ///
132 	da_lua_concat lua_concat; ///
133 	da_lua_len lua_len; ///
134 	da_lua_stringtonumber lua_stringtonumber; ///
135 	da_lua_getallocf lua_getallocf; ///
136 	da_lua_setallocf lua_setallocf; ///
137 	da_lua_toclose lua_toclose; ///
138 	da_lua_getstack lua_getstack; ///
139 	da_lua_getinfo lua_getinfo; ///
140 	da_lua_getlocal lua_getlocal; ///
141 	da_lua_setlocal lua_setlocal; ///
142 	da_lua_getupvalue lua_getupvalue; ///
143 	da_lua_setupvalue lua_setupvalue; ///
144 	da_lua_upvalueid lua_upvalueid; ///
145 	da_lua_upvaluejoin lua_upvaluejoin; ///
146 	da_lua_sethook lua_sethook; ///
147 	da_lua_gethook lua_gethook; ///
148 	da_lua_gethookmask lua_gethookmask; ///
149 	da_lua_gethookcount lua_gethookcount; ///
150 	da_lua_setcstacklimit lua_setcstacklimit; ///
151 
152 	da_luaL_checkversion_ luaL_checkversion_; ///
153 	da_luaL_getmetafield luaL_getmetafield; ///
154 	da_luaL_callmeta luaL_callmeta; ///
155 	da_luaL_tolstring luaL_tolstring; ///
156 	da_luaL_argerror luaL_argerror; ///
157 	da_luaL_checklstring luaL_checklstring; ///
158 	da_luaL_optlstring luaL_optlstring; ///
159 	da_luaL_checknumber luaL_checknumber; ///
160 	da_luaL_optnumber luaL_optnumber; ///
161 	da_luaL_checkinteger luaL_checkinteger; ///
162 	da_luaL_optinteger luaL_optinteger; ///
163 	da_luaL_checkstack luaL_checkstack; ///
164 	da_luaL_checktype luaL_checktype; ///
165 	da_luaL_checkany luaL_checkany; ///
166 	da_luaL_newmetatable luaL_newmetatable; ///
167 	da_luaL_setmetatable luaL_setmetatable; ///
168 	da_luaL_testudata luaL_testudata; ///
169 	da_luaL_checkudata luaL_checkudata; ///
170 	da_luaL_where luaL_where; ///
171 	da_luaL_error luaL_error; ///
172 	da_luaL_checkoption luaL_checkoption; ///
173 	da_luaL_fileresult luaL_fileresult; ///
174 	da_luaL_execresult luaL_execresult; ///
175 	da_luaL_ref luaL_ref; ///
176 	da_luaL_unref luaL_unref; ///
177 	da_luaL_loadfilex luaL_loadfilex; ///
178 	da_luaL_loadbufferx luaL_loadbufferx; ///
179 	da_luaL_loadstring luaL_loadstring; ///
180 	da_luaL_newstate luaL_newstate; ///
181 	da_luaL_len luaL_len; ///
182 	da_luaL_gsub luaL_gsub; ///
183 	da_luaL_setfuncs luaL_setfuncs; ///
184 	da_luaL_getsubtable luaL_getsubtable; ///
185 	da_luaL_traceback luaL_traceback; ///
186 	da_luaL_requiref luaL_requiref; ///
187 	da_luaL_buffinit luaL_buffinit; ///
188 	da_luaL_prepbuffsize luaL_prepbuffsize; ///
189 	da_luaL_addlstring luaL_addlstring; ///
190 	da_luaL_addstring luaL_addstring; ///
191 	da_luaL_addvalue luaL_addvalue; ///
192 	da_luaL_pushresult luaL_pushresult; ///
193 	da_luaL_pushresultsize luaL_pushresultsize; ///
194 	da_luaL_buffinitsize luaL_buffinitsize; ///
195 	da_luaL_pushmodule luaL_pushmodule; ///
196 	da_luaL_openlib luaL_openlib; ///
197 	da_luaopen_base luaopen_base; ///
198 	da_luaopen_coroutine luaopen_coroutine; ///
199 	da_luaopen_table luaopen_table; ///
200 	da_luaopen_io luaopen_io; ///
201 	da_luaopen_os luaopen_os; ///
202 	da_luaopen_string luaopen_string; ///
203 	da_luaopen_utf8 luaopen_utf8; ///
204 	da_luaopen_bit32 luaopen_bit32; ///
205 	da_luaopen_math luaopen_math; ///
206 	da_luaopen_debug luaopen_debug; ///
207 	da_luaopen_package luaopen_package; ///
208 	da_luaL_openlibs luaL_openlibs; ///
209 }