Freeciv-3.1
Loading...
Searching...
No Matches
tolua_common_a_gen.c
Go to the documentation of this file.
1/*
2** Lua binding: common_a
3*/
4
5#include "tolua.h"
6
7#ifndef __cplusplus
8#include <stdlib.h>
9#endif
10#ifdef __cplusplus
11 extern "C" int tolua_bnd_takeownership (lua_State* L); // from tolua_map.c
12#else
13 int tolua_bnd_takeownership (lua_State* L); /* from tolua_map.c */
14#endif
15#include <string.h>
16
17/* Exported function */
18TOLUA_API int tolua_common_a_open (lua_State* tolua_S);
19LUALIB_API int luaopen_common_a (lua_State* tolua_S);
20
21#ifdef HAVE_CONFIG_H
22#include <fc_config.h>
23#endif
24#include "api_common_intl.h"
26#include "luascript.h"
27#include "luascript_types.h"
28
29/* function to register type */
30static void tolua_reg_types (lua_State* tolua_S)
31{
32 tolua_usertype(tolua_S,"Nonexistent");
33}
34
35/* function: api_intl__ */
36static int tolua_common_a__00(lua_State* tolua_S)
37{
38#ifndef TOLUA_RELEASE
39 tolua_Error tolua_err;
40 if (
41 !tolua_isstring(tolua_S,1,0,&tolua_err) ||
42 !tolua_isnoobj(tolua_S,2,&tolua_err)
43 )
44 goto tolua_lerror;
45 else
46#endif
47 {
48 lua_State* L = tolua_S;
49 const char* untranslated = ((const char*) tolua_tostring(tolua_S,1,0));
50 {
51 const char* tolua_ret = (const char*) api_intl__(L,untranslated);
52 tolua_pushstring(tolua_S,(const char*)tolua_ret);
53 }
54 }
55 return 1;
56#ifndef TOLUA_RELEASE
57 tolua_lerror:
58 tolua_error(tolua_S,"#ferror in function '_'.",&tolua_err);
59 return 0;
60#endif
61}
62
63/* function: api_intl_N_ */
64static int tolua_common_a_N_00(lua_State* tolua_S)
65{
66#ifndef TOLUA_RELEASE
67 tolua_Error tolua_err;
68 if (
69 !tolua_isstring(tolua_S,1,0,&tolua_err) ||
70 !tolua_isnoobj(tolua_S,2,&tolua_err)
71 )
72 goto tolua_lerror;
73 else
74#endif
75 {
76 lua_State* L = tolua_S;
77 const char* untranslated = ((const char*) tolua_tostring(tolua_S,1,0));
78 {
79 const char* tolua_ret = (const char*) api_intl_N_(L,untranslated);
80 tolua_pushstring(tolua_S,(const char*)tolua_ret);
81 }
82 }
83 return 1;
84#ifndef TOLUA_RELEASE
85 tolua_lerror:
86 tolua_error(tolua_S,"#ferror in function 'N_'.",&tolua_err);
87 return 0;
88#endif
89}
90
91/* function: api_intl_Q_ */
92static int tolua_common_a_Q_00(lua_State* tolua_S)
93{
94#ifndef TOLUA_RELEASE
95 tolua_Error tolua_err;
96 if (
97 !tolua_isstring(tolua_S,1,0,&tolua_err) ||
98 !tolua_isnoobj(tolua_S,2,&tolua_err)
99 )
100 goto tolua_lerror;
101 else
102#endif
103 {
104 lua_State* L = tolua_S;
105 const char* untranslated = ((const char*) tolua_tostring(tolua_S,1,0));
106 {
107 const char* tolua_ret = (const char*) api_intl_Q_(L,untranslated);
108 tolua_pushstring(tolua_S,(const char*)tolua_ret);
109 }
110 }
111 return 1;
112#ifndef TOLUA_RELEASE
113 tolua_lerror:
114 tolua_error(tolua_S,"#ferror in function 'Q_'.",&tolua_err);
115 return 0;
116#endif
117}
118
119/* function: api_intl_PL_ */
120static int tolua_common_a_PL_00(lua_State* tolua_S)
121{
122#ifndef TOLUA_RELEASE
123 tolua_Error tolua_err;
124 if (
125 !tolua_isstring(tolua_S,1,0,&tolua_err) ||
126 !tolua_isstring(tolua_S,2,0,&tolua_err) ||
127 !tolua_isnumber(tolua_S,3,0,&tolua_err) ||
128 !tolua_isnoobj(tolua_S,4,&tolua_err)
129 )
130 goto tolua_lerror;
131 else
132#endif
133 {
134 lua_State* L = tolua_S;
135 const char* singular = ((const char*) tolua_tostring(tolua_S,1,0));
136 const char* plural = ((const char*) tolua_tostring(tolua_S,2,0));
137 int n = ((int) tolua_tonumber(tolua_S,3,0));
138 {
139 const char* tolua_ret = (const char*) api_intl_PL_(L,singular,plural,n);
140 tolua_pushstring(tolua_S,(const char*)tolua_ret);
141 }
142 }
143 return 1;
144#ifndef TOLUA_RELEASE
145 tolua_lerror:
146 tolua_error(tolua_S,"#ferror in function 'PL_'.",&tolua_err);
147 return 0;
148#endif
149}
150
151/* function: api_utilities_log_base */
152static int tolua_common_a_log_base00(lua_State* tolua_S)
153{
154#ifndef TOLUA_RELEASE
155 tolua_Error tolua_err;
156 if (
157 !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
158 !tolua_isstring(tolua_S,2,0,&tolua_err) ||
159 !tolua_isnoobj(tolua_S,3,&tolua_err)
160 )
161 goto tolua_lerror;
162 else
163#endif
164 {
165 lua_State* L = tolua_S;
166 int log_level = ((int) tolua_tonumber(tolua_S,1,0));
167 const char* message = ((const char*) tolua_tostring(tolua_S,2,0));
168 {
170 }
171 }
172 return 0;
173#ifndef TOLUA_RELEASE
174 tolua_lerror:
175 tolua_error(tolua_S,"#ferror in function 'base'.",&tolua_err);
176 return 0;
177#endif
178}
179
180/* function: api_utilities_deprecation_warning */
181static int tolua_common_a_log_deprecation_warning00(lua_State* tolua_S)
182{
183#ifndef TOLUA_RELEASE
184 tolua_Error tolua_err;
185 if (
186 !tolua_isstring(tolua_S,1,0,&tolua_err) ||
187 !tolua_isstring(tolua_S,2,0,&tolua_err) ||
188 !tolua_isstring(tolua_S,3,0,&tolua_err) ||
189 !tolua_isnoobj(tolua_S,4,&tolua_err)
190 )
191 goto tolua_lerror;
192 else
193#endif
194 {
195 lua_State* L = tolua_S;
196 char* method = ((char*) tolua_tostring(tolua_S,1,0));
197 char* replacement = ((char*) tolua_tostring(tolua_S,2,0));
198 char* deprecated_since = ((char*) tolua_tostring(tolua_S,3,0));
199 {
200 api_utilities_deprecation_warning(L,method,replacement,deprecated_since);
201 }
202 }
203 return 0;
204#ifndef TOLUA_RELEASE
205 tolua_lerror:
206 tolua_error(tolua_S,"#ferror in function 'deprecation_warning'.",&tolua_err);
207 return 0;
208#endif
209}
210
211/* function: api_utilities_random */
212static int tolua_common_a_random00(lua_State* tolua_S)
213{
214#ifndef TOLUA_RELEASE
215 tolua_Error tolua_err;
216 if (
217 !tolua_isnumber(tolua_S,1,0,&tolua_err) ||
218 !tolua_isnumber(tolua_S,2,0,&tolua_err) ||
219 !tolua_isnoobj(tolua_S,3,&tolua_err)
220 )
221 goto tolua_lerror;
222 else
223#endif
224 {
225 lua_State* L = tolua_S;
226 int min = ((int) tolua_tonumber(tolua_S,1,0));
227 int max = ((int) tolua_tonumber(tolua_S,2,0));
228 {
229 int tolua_ret = (int) api_utilities_random(L,min,max);
230 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
231 }
232 }
233 return 1;
234#ifndef TOLUA_RELEASE
235 tolua_lerror:
236 tolua_error(tolua_S,"#ferror in function 'random'.",&tolua_err);
237 return 0;
238#endif
239}
240
241/* function: api_utilities_fc_version */
242static int tolua_common_a_fc_version00(lua_State* tolua_S)
243{
244#ifndef TOLUA_RELEASE
245 tolua_Error tolua_err;
246 if (
247 !tolua_isnoobj(tolua_S,1,&tolua_err)
248 )
249 goto tolua_lerror;
250 else
251#endif
252 {
253 lua_State* L = tolua_S;
254 {
255 const char* tolua_ret = (const char*) api_utilities_fc_version(L);
256 tolua_pushstring(tolua_S,(const char*)tolua_ret);
257 }
258 }
259 return 1;
260#ifndef TOLUA_RELEASE
261 tolua_lerror:
262 tolua_error(tolua_S,"#ferror in function 'fc_version'.",&tolua_err);
263 return 0;
264#endif
265}
266
267/* Open lib function */
268LUALIB_API int luaopen_common_a (lua_State* tolua_S)
269{
270 tolua_open(tolua_S);
271 tolua_reg_types(tolua_S);
272 tolua_module(tolua_S,NULL,0);
273 tolua_beginmodule(tolua_S,NULL);
274 tolua_cclass(tolua_S,"Nonexistent","Nonexistent","",NULL);
275 tolua_beginmodule(tolua_S,"Nonexistent");
276 tolua_endmodule(tolua_S);
277
278 { /* begin embedded lua code */
279 static unsigned char B[] = {
280 10,102,117,110, 99,116,105,111,110, 32, 78,111,110,101,120,
281 105,115,116,101,110,116, 58,101,120,105,115,116,115, 40, 41,
282 10,114,101,116,117,114,110, 32,102, 97,108,115,101, 10,101,
283 110,100,32
284 };
285 if (luaL_loadbuffer(tolua_S,(char*)B,sizeof(B),"tolua: embedded Lua code") == LUA_OK)
286 lua_pcall(tolua_S,0,LUA_MULTRET,0);
287 } /* end of embedded lua code */
288
289 tolua_function(tolua_S,"_",tolua_common_a__00);
290 tolua_function(tolua_S,"N_",tolua_common_a_N_00);
291 tolua_function(tolua_S,"Q_",tolua_common_a_Q_00);
292 tolua_function(tolua_S,"PL_",tolua_common_a_PL_00);
293 tolua_module(tolua_S,"log",0);
294 tolua_beginmodule(tolua_S,"log");
295 tolua_module(tolua_S,"level",0);
296 tolua_beginmodule(tolua_S,"level");
297 tolua_constant(tolua_S,"FATAL",LOG_FATAL);
298 tolua_constant(tolua_S,"ERROR",LOG_ERROR);
299 tolua_constant(tolua_S,"WARN",LOG_WARN);
300 tolua_constant(tolua_S,"NORMAL",LOG_NORMAL);
301 tolua_constant(tolua_S,"VERBOSE",LOG_VERBOSE);
302 tolua_constant(tolua_S,"DEBUG",LOG_DEBUG);
303 tolua_endmodule(tolua_S);
304 tolua_function(tolua_S,"base",tolua_common_a_log_base00);
305 tolua_function(tolua_S,"deprecation_warning",tolua_common_a_log_deprecation_warning00);
306 tolua_endmodule(tolua_S);
307
308 { /* begin embedded lua code */
309 static unsigned char B[] = {
310 10,102,117,110, 99,116,105,111,110, 32,108,111,103, 46,102,
311 97,116, 97,108, 40,102,109,116, 44, 32, 46, 46, 46, 41, 10,
312 108,111,103, 46, 98, 97,115,101, 40,108,111,103, 46,108,101,
313 118,101,108, 46, 70, 65, 84, 65, 76, 44, 32,115,116,114,105,
314 110,103, 46,102,111,114,109, 97,116, 40,102,109,116, 44, 32,
315 46, 46, 46, 41, 41, 10,101,110,100, 10,102,117,110, 99,116,
316 105,111,110, 32,108,111,103, 46,101,114,114,111,114, 40,102,
317 109,116, 44, 32, 46, 46, 46, 41, 10,108,111,103, 46, 98, 97,
318 115,101, 40,108,111,103, 46,108,101,118,101,108, 46, 69, 82,
319 82, 79, 82, 44, 32,115,116,114,105,110,103, 46,102,111,114,
320 109, 97,116, 40,102,109,116, 44, 32, 46, 46, 46, 41, 41, 10,
321 101,110,100, 10,102,117,110, 99,116,105,111,110, 32,108,111,
322 103, 46,119, 97,114,110, 40,102,109,116, 44, 32, 46, 46, 46,
323 41, 10,108,111,103, 46, 98, 97,115,101, 40,108,111,103, 46,
324 108,101,118,101,108, 46, 87, 65, 82, 78, 44, 32,115,116,114,
325 105,110,103, 46,102,111,114,109, 97,116, 40,102,109,116, 44,
326 32, 46, 46, 46, 41, 41, 10,101,110,100, 10,102,117,110, 99,
327 116,105,111,110, 32,108,111,103, 46,110,111,114,109, 97,108,
328 40,102,109,116, 44, 32, 46, 46, 46, 41, 10,108,111,103, 46,
329 98, 97,115,101, 40,108,111,103, 46,108,101,118,101,108, 46,
330 78, 79, 82, 77, 65, 76, 44, 32,115,116,114,105,110,103, 46,
331 102,111,114,109, 97,116, 40,102,109,116, 44, 32, 46, 46, 46,
332 41, 41, 10,101,110,100, 10,102,117,110, 99,116,105,111,110,
333 32,108,111,103, 46,118,101,114, 98,111,115,101, 40,102,109,
334 116, 44, 32, 46, 46, 46, 41, 10,108,111,103, 46, 98, 97,115,
335 101, 40,108,111,103, 46,108,101,118,101,108, 46, 86, 69, 82,
336 66, 79, 83, 69, 44, 32,115,116,114,105,110,103, 46,102,111,
337 114,109, 97,116, 40,102,109,116, 44, 32, 46, 46, 46, 41, 41,
338 10,101,110,100, 10,102,117,110, 99,116,105,111,110, 32,108,
339 111,103, 46,100,101, 98,117,103, 40,102,109,116, 44, 32, 46,
340 46, 46, 41, 10,108,111,103, 46, 98, 97,115,101, 40,108,111,
341 103, 46,108,101,118,101,108, 46, 68, 69, 66, 85, 71, 44, 32,
342 115,116,114,105,110,103, 46,102,111,114,109, 97,116, 40,102,
343 109,116, 44, 32, 46, 46, 46, 41, 41, 10,101,110,100, 10,102,
344 117,110, 99,116,105,111,110, 32,101,114,114,111,114, 95,108,
345 111,103, 40,109,115,103, 41, 10,108,111,103, 46,101,114,114,
346 111,114, 40,109,115,103, 41, 10,101,110,100, 10,102,117,110,
347 99,116,105,111,110, 32,100,101, 98,117,103, 95,108,111,103,
348 40,109,115,103, 41, 10,108,111,103, 46,100,101, 98,117,103,
349 40,109,115,103, 41, 10,101,110,100,32
350 };
351 if (luaL_loadbuffer(tolua_S,(char*)B,sizeof(B),"tolua: embedded Lua code") == LUA_OK)
352 lua_pcall(tolua_S,0,LUA_MULTRET,0);
353 } /* end of embedded lua code */
354
355 tolua_function(tolua_S,"random",tolua_common_a_random00);
356 tolua_function(tolua_S,"fc_version",tolua_common_a_fc_version00);
357
358 { /* begin embedded lua code */
359 static unsigned char B[] = {
360 10,102,117,110, 99,116,105,111,110, 32, 95,102,114,101,101,
361 99,105,118, 95,115,116, 97,116,101, 95,100,117,109,112, 40,
362 41, 10,108,111, 99, 97,108, 32,114,101,115, 32, 61, 32, 39,
363 39, 10,102,111,114, 32,107, 44, 32,118, 32,105,110, 32,112,
364 97,105,114,115, 40, 95, 71, 41, 32,100,111, 10,105,102, 32,
365 107, 32, 61, 61, 32, 39, 95, 86, 69, 82, 83, 73, 79, 78, 39,
366 32,116,104,101,110, 10,101,108,115,101,105,102, 32,116,121,
367 112,101, 40,118, 41, 32, 61, 61, 32, 39, 98,111,111,108,101,
368 97,110, 39, 10,111,114, 32,116,121,112,101, 40,118, 41, 32,
369 61, 61, 32, 39,110,117,109, 98,101,114, 39, 32,116,104,101,
370 110, 10,108,111, 99, 97,108, 32,114,118, 97,108,117,101, 32,
371 61, 32,116,111,115,116,114,105,110,103, 40,118, 41, 10,114,
372 101,115, 32, 61, 32,114,101,115, 32, 46, 46, 32,107, 32, 46,
373 46, 32, 39, 61, 39, 32, 46, 46, 32,114,118, 97,108,117,101,
374 32, 46, 46, 32, 39, 92,110, 39, 10,101,108,115,101,105,102,
375 32,116,121,112,101, 40,118, 41, 32, 61, 61, 32, 39,115,116,
376 114,105,110,103, 39, 32,116,104,101,110, 10,108,111, 99, 97,
377 108, 32,114,118, 97,108,117,101, 32, 61, 32,115,116,114,105,
378 110,103, 46,102,111,114,109, 97,116, 40, 39, 37,113, 39, 44,
379 32,118, 41, 10,114,101,115, 32, 61, 32,114,101,115, 32, 46,
380 46, 32,107, 32, 46, 46, 32, 39, 61, 39, 32, 46, 46, 32,114,
381 118, 97,108,117,101, 32, 46, 46, 32, 39, 92,110, 39, 10,101,
382 108,115,101,105,102, 32,116,121,112,101, 40,118, 41, 32, 61,
383 61, 32, 39,117,115,101,114,100, 97,116, 97, 39, 32,116,104,
384 101,110, 10,108,111, 99, 97,108, 32,109,101,116,104,111,100,
385 32, 61, 32,115,116,114,105,110,103, 46,108,111,119,101,114,
386 40,116,111,108,117, 97, 46,116,121,112,101, 40,118, 41, 41,
387 10,114,101,115, 32, 61, 32,114,101,115, 32, 46, 46, 32,107,
388 32, 46, 46, 32, 39, 61,102,105,110,100, 46, 39, 32, 46, 46,
389 32,109,101,116,104,111,100, 10,105,102, 32,109,101,116,104,
390 111,100, 32, 61, 61, 32, 39, 99,105,116,121, 39, 32,111,114,
391 32,109,101,116,104,111,100, 32, 61, 61, 32, 39,117,110,105,
392 116, 39, 32,116,104,101,110, 10,114,101,115, 32, 61, 32,114,
393 101,115, 32, 46, 46, 32, 39, 40,110,105,108, 44, 39, 32, 46,
394 46, 32,115,116,114,105,110,103, 46,102,111,114,109, 97,116,
395 40, 34, 37,100, 34, 44, 32,118, 46,105,100, 41, 32, 46, 46,
396 32, 39, 41, 39, 10,101,108,115,101,105,102, 32,116,121,112,
397 101, 40,118, 46,114,117,108,101, 95,110, 97,109,101, 41, 32,
398 61, 61, 32, 39,102,117,110, 99,116,105,111,110, 39, 32,116,
399 104,101,110, 10,114,101,115, 32, 61, 32,114,101,115, 32, 46,
400 46, 32, 39, 40, 39, 32, 46, 46, 32,115,116,114,105,110,103,
401 46,102,111,114,109, 97,116, 40, 34, 39, 37,115, 39, 34, 44,
402 32,118, 46,114,117,108,101, 95,110, 97,109,101, 40,118, 41,
403 41, 32, 46, 46, 32, 39, 41, 39, 10,101,108,115,101,105,102,
404 32,116,121,112,101, 40,118, 46,110, 97,109,101, 41, 32, 61,
405 61, 32, 39,102,117,110, 99,116,105,111,110, 39, 32,116,104,
406 101,110, 10,114,101,115, 32, 61, 32,114,101,115, 32, 46, 46,
407 32, 39, 40, 39, 32, 46, 46, 32,115,116,114,105,110,103, 46,
408 102,111,114,109, 97,116, 40, 34, 39, 37,115, 39, 34, 44, 32,
409 118, 46,110, 97,109,101, 40,118, 41, 41, 32, 46, 46, 32, 39,
410 41, 39, 10,101,108,115,101,105,102, 32,118, 46,110, 97,109,
411 101, 32,126, 61, 32,110,105,108, 32,116,104,101,110, 10,114,
412 101,115, 32, 61, 32,114,101,115, 32, 46, 46, 32, 39, 40, 39,
413 32, 46, 46, 32,115,116,114,105,110,103, 46,102,111,114,109,
414 97,116, 40, 34, 39, 37,115, 39, 34, 44, 32,118, 46,110, 97,
415 109,101, 41, 32, 46, 46, 32, 39, 41, 39, 10,101,108,115,101,
416 105,102, 32,118, 46,105,100, 32,116,104,101,110, 10,114,101,
417 115, 32, 61, 32,114,101,115, 32, 46, 46, 32, 39, 40, 39, 32,
418 46, 46, 32,115,116,114,105,110,103, 46,102,111,114,109, 97,
419 116, 40, 34, 37,100, 34, 44, 32,118, 46,105,100, 41, 32, 46,
420 46, 32, 39, 41, 39, 10,101,108,115,101, 10,114,101,115, 32,
421 61, 32,114,101,115, 32, 46, 46, 32, 39, 40, 41, 39, 10,101,
422 110,100, 10,114,101,115, 32, 61, 32,114,101,115, 32, 46, 46,
423 32, 39, 92,110, 39, 10,101,110,100, 10,101,110,100, 10,114,
424 101,116,117,114,110, 32,114,101,115, 10,101,110,100, 10,102,
425 117,110, 99,116,105,111,110, 32,108,105,115,116,101,110,118,
426 40, 41, 10,102, 99,101, 40, 95, 71, 41, 10,101,110,100, 10,
427 102,117,110, 99,116,105,111,110, 32,102, 99,101, 40,100, 97,
428 116,117,109, 44, 32,100,101,112,116,104, 44, 32,112,114,101,
429 102,105,120, 44, 32,115,116,114,105,110,103, 95,112, 97,114,
430 115,101, 41, 10,108,111, 99, 97,108, 32,115, 32, 61, 32, 34,
431 32, 37,115, 32, 34, 59, 10,108,111, 99, 97,108, 32,113, 32,
432 61, 32, 34, 32, 37,113, 32, 34, 10,108,111, 99, 97,108, 32,
433 102,117,110, 99,116,105,111,110, 32,113, 95,102,109,116, 32,
434 40,100, 41, 32,114,101,116,117,114,110, 32, 40, 34, 37,113,
435 34, 41, 58,102,111,114,109, 97,116, 40,100, 41, 32,101,110,
436 100, 10,108,111, 99, 97,108, 32,102,117,110, 99,116,105,111,
437 110, 32,115, 95,102,109,116, 32, 40,100, 41, 32,114,101,116,
438 117,114,110, 32, 40, 34, 37,115, 34, 41, 58,102,111,114,109,
439 97,116, 40,100, 41, 32,101,110,100, 10,108,111, 99, 97,108,
440 32,108,105,115,116,115, 32, 61, 32,115,101,116,109,101,116,
441 97,116, 97, 98,108,101, 32, 40, 32,123,125, 44, 32,123, 10,
442 95, 95,105,110,100,101,120, 32, 61, 32,102,117,110, 99,116,
443 105,111,110, 32, 40,116, 44, 32, 84, 41, 32,116, 91, 84, 93,
444 32, 61, 32,123,110, 32, 61, 32, 48,125, 59, 32,114,101,116,
445 117,114,110, 32,116, 91, 84, 93, 32,101,110,100, 59, 10,125,
446 32, 41, 10,108,111, 99, 97,108, 32,102,117,110, 99,116,105,
447 111,110, 32,116, 97, 98,117,108, 97,114, 32, 40,100, 97,116,
448 117,109, 44, 32, 84,121,112,101, 44, 32,105,100, 41, 10,108,
449 111, 99, 97,108, 32,108,105,115,116, 32, 61, 32,108,105,115,
450 116,115, 32, 91, 84,121,112,101, 93, 59, 32,108,111, 99, 97,
451 108, 32,105,110,120, 32, 61, 32,108,105,115,116, 32, 91,100,
452 97,116,117,109, 93, 10,105,102, 32,105,110,120, 32,116,104,
453 101,110, 32,114,101,116,117,114,110, 32,105,110,120, 46, 46,
454 34, 61, 34, 44, 32, 84,121,112,101, 10,101,108,115,101,105,
455 102, 32,105,100, 32,116,104,101,110, 32,108,105,115,116, 32,
456 91,100, 97,116,117,109, 93, 32, 61, 32,105,100, 59, 32,108,
457 105,115,116, 46,110, 32, 61, 32,109, 97,116,104, 46,109, 97,
458 120, 40,105,100, 44, 32,108,105,115,116, 46,110, 41, 10,114,
459 101,116,117,114,110, 32,105,100, 44, 32, 84,121,112,101, 44,
460 32, 34, 34, 10,101,108,115,101, 32,105,110,120, 32, 61, 32,
461 108,105,115,116, 46,110, 32, 43, 49, 59, 32,108,105,115,116,
462 32, 91,100, 97,116,117,109, 93, 32, 61, 32,105,110,120, 59,
463 32,108,105,115,116, 46,110, 32, 61, 32,105,110,120, 59, 10,
464 114,101,116,117,114,110, 32,105,110,120, 44, 32, 84,121,112,
465 101, 44, 32,105,110,120, 10,101,110,100, 10,101,110,100, 10,
466 108,111, 99, 97,108, 32, 84, 84, 32, 61, 32,115,101,116,109,
467 101,116, 97,116, 97, 98,108,101, 32, 40, 32,123, 10,110,117,
468 109, 98,101,114, 32, 61, 32,102,117,110, 99,116,105,111,110,
469 32, 40,100, 44, 32, 84, 41, 32,114,101,116,117,114,110, 32,
470 115, 95,102,109,116, 40,100, 41, 44, 32,109, 97,116,104, 46,
471 116,121,112,101, 40,100, 41, 32,101,110,100, 59, 10,115,116,
472 114,105,110,103, 32, 61, 32,102,117,110, 99,116,105,111,110,
473 32, 40,100, 44, 32, 84, 41, 10,108,111, 99, 97,108, 32,115,
474 116,114, 44, 32, 99,111,117,110,116, 44, 32,105,110,120, 44,
475 32,110,101,119, 32, 61, 32,100, 58,103,115,117, 98, 32, 40,
476 34, 91, 37, 99, 92,120, 56, 48, 45, 92,120, 70, 70, 93, 34,
477 44, 32, 34, 42, 34, 41, 10,105,102, 32, 99,111,117,110,116,
478 32,126, 61, 32, 48, 32,116,104,101,110, 32,105,110,120, 44,
479 32, 84, 44, 32,110,101,119, 32, 61, 32,116, 97, 98,117,108,
480 97,114, 40,100, 44, 32, 34, 83, 84, 82, 73, 78, 71, 34, 46,
481 46, 99,111,117,110,116, 41, 32,101,110,100, 10,114,101,116,
482 117,114,110, 32,113, 95,102,109,116, 40,115,116,114, 41, 46,
483 46, 40,105,110,120, 32, 97,110,100, 32, 34, 32, 34, 46, 46,
484 32,105,110,120, 32,111,114, 32, 34, 34, 41, 44, 10,100, 58,
485 102,105,110,100, 40, 34, 94, 91, 95, 37, 97, 93, 91, 95, 37,
486 97, 37,100, 93, 42, 36, 34, 41, 32, 97,110,100, 32, 34,105,
487 100,101,110,116,105,102,105,101,114, 34, 32,111,114, 32, 84,
488 44, 10,110,105,108, 10,101,110,100, 59, 10, 91, 34,102,117,
489 110, 99,116,105,111,110, 34, 93, 32, 61, 32,116, 97, 98,117,
490 108, 97,114, 59, 10,116,104,114,101, 97,100, 32, 61, 32,116,
491 97, 98,117,108, 97,114, 59, 10,116, 97, 98,108,101, 32, 61,
492 32,116, 97, 98,117,108, 97,114, 59, 10,117,115,101,114,100,
493 97,116, 97, 32, 61, 32,102,117,110, 99,116,105,111,110, 32,
494 40,100, 44, 32, 84, 41, 32, 84, 32, 61, 32,116,111,108,117,
495 97, 46,116,121,112,101, 40,100, 41, 59, 32,108,111, 99, 97,
496 108, 32,105,100, 32, 61, 32,100, 46,105,100, 59, 10,105,102,
497 32,100, 46,114,117,108,101, 95,110, 97,109,101, 32,116,104,
498 101,110, 32,114,101,116,117,114,110, 40, 34, 37,115, 32, 37,
499 113, 32, 34, 41, 58,102,111,114,109, 97,116, 40,105,100, 44,
500 100, 58,114,117,108,101, 95,110, 97,109,101, 40, 41, 41, 44,
501 84, 10,101,108,115,101, 32,114,101,116,117,114,110, 32,116,
502 97, 98,117,108, 97,114, 32, 40,100, 44, 32, 84, 44, 32,105,
503 100, 41, 10,101,110,100, 10,101,110,100, 59, 10,125, 44, 32,
504 123, 10, 95, 95,105,110,100,101,120, 32, 61, 32,102,117,110,
505 99,116,105,111,110, 32, 40, 41, 32,114,101,116,117,114,110,
506 32, 40,102,117,110, 99,116,105,111,110, 32, 40,100, 44, 84,
507 41, 32,114,101,116,117,114,110, 32,113, 95,102,109,116, 40,
508 100, 41, 44, 84, 32,101,110,100, 41, 32,101,110,100, 59, 10,
509 95, 95, 99, 97,108,108, 32, 61, 32,102,117,110, 99,116,105,
510 111,110, 32, 40,116, 44, 32,100, 41, 32,108,111, 99, 97,108,
511 32, 84, 32, 61, 32,116,121,112,101, 40,100, 41, 59, 32,114,
512 101,116,117,114,110, 32,116, 32, 91, 84, 93, 32, 40,100, 44,
513 32, 84, 41, 32,101,110,100, 59, 10,125, 32, 41, 10,108,111,
514 99, 97,108, 32,109,116, 32, 61, 32, 34, 32,109,101,116, 97,
515 32, 37,115, 32, 34, 10,108,111, 99, 97,108, 32,102,117,110,
516 99,116,105,111,110, 32,100,111, 95,100, 97,116,117,109, 32,
517 40,116,101,120,116, 44, 32,100, 97,116,117,109, 44, 32, 84,
518 121,112,101, 41, 10,108,111, 99, 97,108, 32,109,101,116, 97,
519 44, 32,118, 97,108, 44, 32, 84, 44, 32,110,101,119, 32, 61,
520 32,103,101,116,109,101,116, 97,116, 97, 98,108,101, 32, 40,
521 100, 97,116,117,109, 41, 59, 10,105,102, 32,116,121,112,101,
522 40,109,101,116, 97, 41, 32,126, 61, 32, 34,110,105,108, 34,
523 10,116,104,101,110, 32,118, 97,108, 44, 32, 84, 44, 32,110,
524 101,119, 32, 61, 32, 84, 84, 40,109,101,116, 97, 41, 59, 32,
525 116,101,120,116, 32, 61, 32,116,101,120,116, 46, 46,109,116,
526 58,102,111,114,109, 97,116, 40, 84, 41, 46, 46,118, 97,108,
527 10,101,110,100, 59, 10, 99,111,114,111,117,116,105,110,101,
528 46,121,105,101,108,100, 32, 40,116,101,120,116, 44, 32,100,
529 97,116,117,109, 44, 32, 84,121,112,101, 41, 59, 10,105,102,
530 32,110,101,119, 32,116,104,101,110, 32,114,101,116,117,114,
531 110, 32,109,101,116, 97, 44, 32,118, 97,108, 44, 32, 84, 32,
532 101,110,100, 10,101,110,100, 10,108,111, 99, 97,108, 32,102,
533 117,110, 99,116,105,111,110, 32, 99,111, 32, 40,116,101,120,
534 116, 44, 32,100, 49, 44, 32,112,114,101,102,105,120, 41, 10,
535 108,111, 99, 97,108, 32,118, 49, 44, 32, 84, 49, 44, 32,110,
536 101,119, 32, 61, 32, 84, 84, 40,100, 49, 41, 10,108,111, 99,
537 97,108, 32,100, 50, 44, 32,118, 50, 44, 32, 84, 50, 32, 61,
538 10,100,111, 95,100, 97,116,117,109, 32, 40,116,101,120,116,
539 46, 46, 34, 32, 40, 34, 46, 46, 84, 49, 46, 46, 34, 41, 32,
540 34, 46, 46,118, 49, 44, 32,100, 49, 44, 32, 84, 49, 41, 10,
541 105,102, 32,110,101,119, 32,116,104,101,110, 10, 99,111,114,
542 111,117,116,105,110,101, 46,121,105,101,108,100, 32, 40,112,
543 114,101,102,105,120, 46, 46,115, 58,102,111,114,109, 97,116,
544 40,100, 49, 41, 46, 46,110,101,119, 44, 32,100, 49, 44, 32,
545 84, 49, 41, 10,101,110,100, 10,119,104,105,108,101, 32,100,
546 50, 32,100,111, 32,100, 50, 44, 32,118, 50, 44, 32, 84, 50,
547 32, 61, 10,100,111, 95,100, 97,116,117,109, 32, 40,112,114,
548 101,102,105,120, 46, 46,109,116, 58,102,111,114,109, 97,116,
549 40,100, 50, 41, 46, 46,118, 50, 44, 32,100, 50, 44, 32, 84,
550 50, 41, 10,101,110,100, 10,101,110,100, 10,108,111, 99, 97,
551 108, 32,112,114,105,110,116,105,116, 32, 61, 32,108,111,103,
552 46,101,114,114,111,114, 10,108,111, 99, 97,108, 32,102,117,
553 110, 99,116,105,111,110, 32,112, 97,114,116, 95, 48, 32, 40,
554 100, 97,116,117,109, 44, 32, 99,111, 95,116,101,120,116, 41,
555 10,114,101,116,117,114,110, 32,123, 99,111, 95,116, 32, 61,
556 32, 99,111,114,111,117,116,105,110,101, 46,119,114, 97,112,
557 40, 99,111, 41, 59, 32,100, 97,116,117,109, 32, 61, 32,100,
558 97,116,117,109, 59, 32, 99,111, 95,116,101,120,116, 32, 61,
559 32, 99,111, 95,116,101,120,116, 59,125, 10,101,110,100, 10,
560 108,111, 99, 97,108, 32,102,117,110, 99,116,105,111,110, 32,
561 112, 97,114,116, 95, 49, 32, 40, 99,111, 95,115, 44, 32,112,
562 114,101,102,105,120, 41, 10,114,101,116,117,114,110, 32, 99,
563 111, 95,115, 46, 99,111, 95,116, 32, 40, 99,111, 95,115, 46,
564 99,111, 95,116,101,120,116, 44, 32, 99,111, 95,115, 46,100,
565 97,116,117,109, 44, 32,112,114,101,102,105,120, 41, 10,101,
566 110,100, 10,108,111, 99, 97,108, 32,100,101,116, 97,105,108,
567 115, 10,108,111, 99, 97,108, 32,102,117,110, 99,116,105,111,
568 110, 32,112, 97,114,116, 95,120, 32, 40, 99,111, 95,115,115,
569 44, 32,100,101,112,116,104, 44, 32,112,114,101,102,105,120,
570 41, 10,108,111, 99, 97,108, 32,116,101,120,116, 44, 32,115,
571 101,112, 32, 61, 32,112,114,101,102,105,120, 44, 32, 34, 34,
572 10,102,111,114, 32, 99, 44, 32, 99,111, 95,115, 32,105,110,
573 32,105,112, 97,105,114,115, 32, 40, 99,111, 95,115,115, 41,
574 10,100,111, 32,116,101,120,116, 44, 32,115,101,112, 32, 61,
575 32,116,101,120,116, 46, 46,115,101,112, 46, 46,112, 97,114,
576 116, 95, 49, 32, 40, 99,111, 95,115, 44, 32,112,114,101,102,
577 105,120, 41, 44, 32, 34, 59, 32, 34, 10,101,110,100, 59, 32,
578 112,114,105,110,116,105,116, 32, 40,116,101,120,116, 41, 10,
579 102,111,114, 32, 99, 44, 32, 99,111, 95,115, 32,105,110, 32,
580 105,112, 97,105,114,115, 32, 40, 99,111, 95,115,115, 41, 32,
581 100,111, 10,102,111,114, 32,116,101,120,116, 44, 32,100, 97,
582 116,117,109, 44, 32, 84,121,112,101, 32,105,110, 32,112, 97,
583 114,116, 95, 49, 44, 32, 99,111, 95,115, 44, 32, 34, 34, 32,
584 100,111, 10,100,101,116, 97,105,108,115, 32, 91, 84,121,112,
585 101, 93, 32, 40,112,114,101,102,105,120, 46, 46,116,101,120,
586 116, 44, 32,100, 97,116,117,109, 44, 32,100,101,112,116,104,
587 44, 32,112,114,101,102,105,120, 41, 10,101,110,100, 10,101,
588 110,100, 10,101,110,100, 10,108,111, 99, 97,108, 32, 77, 70,
589 32, 61, 32,109, 97,116,104, 46,102,108,111,111,114, 10,108,
590 111, 99, 97,108, 32,102,117,110, 99,116,105,111,110, 32,112,
591 112, 95,116,105,108,101, 32, 40,100, 41, 10,114,101,116,117,
592 114,110, 32, 40, 34, 32, 40, 37,115, 44, 37,115, 41, 32, 34,
593 41, 58,102,111,114,109, 97,116, 40, 32, 77, 70, 40,100, 46,
594 120, 41, 44, 32, 77, 70, 40,100, 46,121, 41, 32, 41, 10,101,
595 110,100, 10,100,101,116, 97,105,108,115, 32, 61, 32,115,101,
596 116,109,101,116, 97,116, 97, 98,108,101, 32, 40,123, 10,116,
597 97, 98,108,101, 32, 61, 32,102,117,110, 99,116,105,111,110,
598 32, 40,116,101,120,116, 44, 32,100, 44, 32,100,101,112,116,
599 104, 44, 32,112,114,101,102,105,120, 41, 10,105,102, 32,100,
600 101,112,116,104, 32, 61, 61, 32, 48, 10,116,104,101,110, 32,
601 112,114,105,110,116,105,116, 32, 40,116,101,120,116, 46, 46,
602 34, 32,108,105,109,105,116, 32,114,101, 97, 99,104,101,100,
603 34, 41, 10,101,108,115,101, 32,112,114,105,110,116,105,116,
604 32, 40,116,101,120,116, 41, 59, 32,102,111,114, 32,107,101,
605 121, 44, 32,118, 97,108, 32,105,110, 32,110,101,120,116, 44,
606 32,100, 44, 32,110,105,108, 32,100,111, 10,112, 97,114,116,
607 95,120, 40,123, 32,112, 97,114,116, 95, 48, 32, 40,107,101,
608 121, 44, 32, 34,107,101,121, 34, 41, 59, 32,112, 97,114,116,
609 95, 48, 32, 40,118, 97,108, 44, 32, 34,118, 97,108,117,101,
610 34, 41, 59, 32,125, 44, 10,100,101,112,116,104, 32, 45, 49,
611 44, 32,112,114,101,102,105,120, 46, 46, 34, 46, 34, 41, 10,
612 101,110,100, 10,101,110,100, 10,101,110,100, 59, 10,116,104,
613 114,101, 97,100, 32, 61, 32,102,117,110, 99,116,105,111,110,
614 32, 40,116,101,120,116, 44, 32,100, 41, 10,112,114,105,110,
615 116,105,116, 32, 40,116,101,120,116, 46, 46,115, 58,102,111,
616 114,109, 97,116, 40,100, 41, 46, 46, 99,111,114,111,117,116,
617 105,110,101, 46,115,116, 97,116,117,115, 40,100, 41, 46, 46,
618 10, 34, 32, 34, 32, 41, 10,101,110,100, 59, 10, 68,105,114,
619 101, 99,116,105,111,110, 32, 61, 32,102,117,110, 99,116,105,
620 111,110, 32, 40,116,101,120,116, 44, 32,100, 41, 32,101,110,
621 100, 59, 10, 84,105,108,101, 32, 61, 32,102,117,110, 99,116,
622 105,111,110, 32, 40,116,101,120,116, 44, 32,100, 41, 32,112,
623 114,105,110,116,105,116, 32, 40,116,101,120,116, 46, 46,112,
624 112, 95,116,105,108,101, 32, 40,100, 41, 32, 41, 32,101,110,
625 100, 59, 10, 80,108, 97,121,101,114, 32, 61, 32,102,117,110,
626 99,116,105,111,110, 32, 40,116,101,120,116, 44, 32,100, 41,
627 32,112,114,105,110,116,105,116, 32, 40,116,101,120,116, 46,
628 46, 40, 34, 32, 37,115, 37,115, 32, 40, 37,115, 58, 37,115,
629 41, 34, 41, 58, 10,102,111,114,109, 97,116, 40, 32,100, 46,
630 110, 97,116,105,111,110, 44, 32,100, 46, 97,105, 95, 99,111,
631 110,116,114,111,108,108,101,100, 32, 97,110,100, 32, 34, 45,
632 34, 32,111,114, 32, 34, 43, 34, 44, 10, 77, 70, 40,100, 58,
633 110,117,109, 95, 99,105,116,105,101,115, 40, 41, 41, 44, 32,
634 77, 70, 40,100, 58,110,117,109, 95,117,110,105,116,115, 40,
635 41, 41, 41, 32, 41, 10,101,110,100, 59, 10, 67,105,116,121,
636 32, 61, 32,102,117,110, 99,116,105,111,110, 32, 40,116,101,
637 120,116, 44, 32,100, 41, 32,112,114,105,110,116,105,116, 32,
638 40,116,101,120,116, 46, 46, 40, 34, 32, 37,113, 32, 40, 37,
639 115, 41, 32, 37,115, 32, 37,115, 34, 41, 58, 10,102,111,114,
640 109, 97,116, 40, 32,100, 46,110, 97,109,101, 44, 32,100, 46,
641 115,105,122,101, 44, 32,100, 46,111,119,110,101,114, 44, 32,
642 100, 46,116,105,108,101, 41, 46, 46,112,112, 95,116,105,108,
643 101, 32, 40,100, 46,116,105,108,101, 41, 32, 41, 10,101,110,
644 100, 59, 10, 85,110,105,116, 32, 61, 32,102,117,110, 99,116,
645 105,111,110, 32, 40,116,101,120,116, 44, 32,100, 41, 32,112,
646 114,105,110,116,105,116, 32, 40,116,101,120,116, 46, 46, 40,
647 34, 32, 37,115, 44, 32, 37,115, 32, 37,115, 34, 41, 58, 10,
648 102,111,114,109, 97,116, 40, 32,100, 46,117,116,121,112,101,
649 44, 32,100, 46,111,119,110,101,114, 44, 32,100, 58,103,101,
650 116, 95,104,111,109,101, 99,105,116,121, 40, 41, 32,111,114,
651 32, 34,110,111, 32,104,111,109,101, 32, 99,105,116,121, 34,
652 41, 32, 41, 10,101,110,100, 59, 10, 91, 34,102,117,110, 99,
653 116,105,111,110, 34, 93, 32, 61, 32,102,117,110, 99,116,105,
654 111,110, 32, 40,116,101,120,116, 44, 32,100, 41, 32,101,110,
655 100, 59, 10,125, 44,123, 10, 95, 95,105,110,100,101,120, 32,
656 61, 32,102,117,110, 99,116,105,111,110, 32, 40,116, 44, 32,
657 84, 41, 32,114,101,116,117,114,110, 32,112,114,105,110,116,
658 105,116, 32,101,110,100, 59, 10,125, 41, 10,105,102, 32,115,
659 116,114,105,110,103, 95,112, 97,114,115,101, 32,116,104,101,
660 110, 32,101,108,115,101, 32,116, 97, 98,117,108, 97,114, 40,
661 103,101,116,109,101,116, 97,116, 97, 98,108,101, 40, 34, 34,
662 41, 44, 32, 34,116, 97, 98,108,101, 34, 41, 32,101,110,100,
663 10,112, 97,114,116, 95,120, 32, 40,123, 32,112, 97,114,116,
664 95, 48, 32, 40,100, 97,116,117,109, 44, 32, 34,104,101, 97,
665 100, 34, 32, 41,125, 44, 10,116,121,112,101, 32, 40,100,101,
666 112,116,104, 41, 32, 61, 61, 32, 34,110,117,109, 98,101,114,
667 34, 32, 97,110,100, 32,100,101,112,116,104, 32,111,114, 32,
668 45, 49, 44, 10,116,121,112,101, 32, 40,112,114,101,102,105,
669 120, 41, 32, 61, 61, 32, 34,115,116,114,105,110,103, 34, 32,
670 97,110,100, 32,112,114,101,102,105,120, 32,111,114, 32, 34,
671 34, 41, 10,114,101,116,117,114,110, 32,108,105,115,116,115,
672 10,101,110,100, 10, 99,111,110,115,116, 32, 61, 32,123,125,
673 10,108,111, 99, 97,108, 32,100, 97,116, 97, 32, 61, 32,123,
674 125, 10, 99,111,110,115,116, 95,109,116, 32, 61, 32,123, 10,
675 95, 95,110,101,119,105,110,100,101,120, 32, 61, 32,102,117,
676 110, 99,116,105,111,110, 40, 97, 44, 98, 44, 99, 41, 10,105,
677 102, 32,100, 97,116, 97, 91, 98, 93, 32, 61, 61, 32,110,105,
678 108, 32,116,104,101,110, 10,105,102, 32,116,121,112,101, 40,
679 99, 41, 32, 61, 61, 32, 39,116, 97, 98,108,101, 39, 32,116,
680 104,101,110, 10,108,111, 99, 97,108, 32,112,114,111,120,121,
681 32, 61, 32,123,125, 10,108,111, 99, 97,108, 32,109,116, 32,
682 61, 32,123, 10, 95, 95,105,110,100,101,120, 32, 61, 32, 99,
683 44, 10, 95, 95,110,101,119,105,110,100,101,120, 32, 61, 32,
684 102,117,110, 99,116,105,111,110, 32, 40,116, 44,107, 44,118,
685 41, 10,108,111,103, 46,101,114,114,111,114, 40, 91, 91, 34,
686 65,116,116,101,109,112,116, 32,116,111, 32,117,112,100, 97,
687 116,101, 32,114,101, 97,100, 45,111,110,108,121, 32,116, 97,
688 98,108,101, 32, 39, 37,115, 39, 32,105,110,100,101,120, 32,
689 39, 37,115, 39, 32, 34, 10, 34,119,105,116,104, 32, 39, 37,
690 115, 39, 46, 34, 93, 93, 44, 32, 98, 44, 32,116,111,115,116,
691 114,105,110,103, 40,107, 41, 44, 32,116,111,115,116,114,105,
692 110,103, 40,118, 41, 41, 10,101,110,100, 10,125, 10,115,101,
693 116,109,101,116, 97,116, 97, 98,108,101, 40,112,114,111,120,
694 121, 44, 32,109,116, 41, 10,100, 97,116, 97, 91, 98, 93, 32,
695 61, 32,112,114,111,120,121, 10,101,108,115,101, 10,100, 97,
696 116, 97, 91, 98, 93, 32, 61, 32, 99, 10,101,110,100, 10,101,
697 108,115,101, 10,108,111,103, 46,101,114,114,111,114, 40, 34,
698 73,108,108,101,103, 97,108, 32, 97,115,115,105,103,110,109,
699 101,110,116, 32,116,111, 32, 99,111,110,115,116, 97,110,116,
700 32, 39, 37,115, 39, 46, 34, 44, 32,116,111,115,116,114,105,
701 110,103, 40, 98, 41, 41, 10,101,110,100, 10,101,110,100, 44,
702 10, 95, 95,105,110,100,101,120, 32, 61, 32,102,117,110, 99,
703 116,105,111,110, 40, 97, 44, 98, 41, 10,114,101,116,117,114,
704 110, 32,100, 97,116, 97, 91, 98, 93, 10,101,110,100, 10,125,
705 10,115,101,116,109,101,116, 97,116, 97, 98,108,101, 40, 99,
706 111,110,115,116, 44, 32, 99,111,110,115,116, 95,109,116, 41,
707 32
708 };
709 if (luaL_loadbuffer(tolua_S,(char*)B,sizeof(B),"tolua: embedded Lua code") == LUA_OK)
710 lua_pcall(tolua_S,0,LUA_MULTRET,0);
711 } /* end of embedded lua code */
712
713 tolua_endmodule(tolua_S);
714 return 1;
715}
716/* Open tolua function */
717TOLUA_API int tolua_common_a_open (lua_State* tolua_S)
718{
719 lua_pushcfunction(tolua_S, luaopen_common_a);
720 lua_pushstring(tolua_S, "common_a");
721 lua_call(tolua_S, 1, 0);
722 return 1;
723}
const char * api_intl_N_(lua_State *L, const char *untranslated)
const char * api_intl_PL_(lua_State *L, const char *singular, const char *plural, int n)
const char * api_intl__(lua_State *L, const char *untranslated)
const char * api_intl_Q_(lua_State *L, const char *untranslated)
const char * api_utilities_fc_version(lua_State *L)
int api_utilities_random(lua_State *L, int min, int max)
void api_utilities_log_base(lua_State *L, int level, const char *message)
void api_utilities_deprecation_warning(lua_State *L, char *method, char *replacement, char *deprecated_since)
#define n
Definition astring.c:77
log_level
Definition log.h:28
@ LOG_ERROR
Definition log.h:30
@ LOG_DEBUG
Definition log.h:34
@ LOG_NORMAL
Definition log.h:32
@ LOG_FATAL
Definition log.h:29
@ LOG_VERBOSE
Definition log.h:33
@ LOG_WARN
Definition log.h:31
static int tolua_common_a__00(lua_State *tolua_S)
static int tolua_common_a_random00(lua_State *tolua_S)
static int tolua_common_a_N_00(lua_State *tolua_S)
TOLUA_API int tolua_common_a_open(lua_State *tolua_S)
static void tolua_reg_types(lua_State *tolua_S)
LUALIB_API int luaopen_common_a(lua_State *tolua_S)
static int tolua_common_a_log_deprecation_warning00(lua_State *tolua_S)
int tolua_bnd_takeownership(lua_State *L)
static int tolua_common_a_log_base00(lua_State *tolua_S)
static int tolua_common_a_fc_version00(lua_State *tolua_S)
static int tolua_common_a_Q_00(lua_State *tolua_S)
static int tolua_common_a_PL_00(lua_State *tolua_S)