w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

mfluac.c
Go to the documentation of this file.
1 #include <string.h>
2 
3 #define EXTERN extern
4 
5 
6 #if defined(JIT)
7 #include "mfluajitd.h"
8 #else
9 #include "mfluad.h"
10 #endif
11 
12 #include <lua.h>
13 #include <lualib.h>
14 #include <lauxlib.h>
15 #include <kpathsea/kpathsea.h>
16 #if defined(JIT)
17 #include <luajit.h>
18 #endif
19 
20 
21 #if defined(NO_OTFCC)
22 /* */
23 #else
24 extern int otfcc_build(int argc, char *argv[]);
25 extern int otfcc_dump(int argc, char *argv[]);
26 #endif
27 
28 /* See shell_cmd_is_allowed below */
29 int shellenabledp = 1;
31 
32 /**************************************************************/
33 /* */
34 /* MFbuiltin private functions */
35 /* */
36 /**************************************************************/
37 static lua_State *Luas[1];
38 
39 /* static */
40 /* void stackdump_g(lua_State* L) */
41 /* { */
42 /* int i; */
43 /* int top = lua_gettop(L); */
44 
45 /* printf("total in stack %d\n",top); */
46 
47 /* for (i = 1; i <= top; i++) */
48 /* { /\* repeat for each level *\/ */
49 /* int t = lua_type(L, i); */
50 /* printf("[%d][%d] ",i,i-top-1); */
51 /* switch (t) { */
52 /* case LUA_TSTRING: /\* strings *\/ */
53 /* printf("string: '%s'\n", lua_tostring(L, i)); */
54 /* break; */
55 /* case LUA_TBOOLEAN: /\* booleans *\/ */
56 /* printf("boolean %s\n",lua_toboolean(L, i) ? "true" : "false"); */
57 /* break; */
58 /* case LUA_TNUMBER: /\* numbers *\/ */
59 /* printf("number: %g\n", lua_tonumber(L, i)); */
60 /* break; */
61 /* default: /\* other values *\/ */
62 /* printf("%s\n", lua_typename(L, t)); */
63 /* break; */
64 /* } */
65 /* printf(" "); /\* put a separator *\/ */
66 /* } */
67 /* printf("\n"); /\* end the listing *\/ */
68 /* } */
69 
70 
71 static
73 {
74  if ( status!=0 ) {
75  fprintf(stderr,"\n! %s\n",lua_tostring(L, -1));
76  lua_pop(L, 1); /* remove error message */
77  }
78 }
79 
80 
81 /* static */
82 /* void priv_lua_writemessage(lua_State *L, char *startmsg, char *bodymsg, char *endmsg, int status) */
83 /* { */
84 /* (void) L; */
85 /* if ( status!=0 ) { */
86 /* fprintf(stdout,"%s%s%s\n",startmsg,bodymsg,endmsg); */
87 /* } */
88 /* } */
89 
90 
91 #define link_field(p) mem[p].hhfield.rh /* {the |link| field of a memory word} */
93 {
94  halfword p,q;
95  p = (halfword) lua_tonumber(L,1);
96  q = link_field(p);
98  return 1;
99 }
100 
101 #define info_field(p) mem[p].hhfield.lhfield /* {the |info| field of a memory word} */
103 {
104  halfword p,q;
105  p = (halfword) lua_tonumber(L,1);
106  q = info_field(p);
107  lua_pushnumber(L,q);
108  return 1;
109 }
110 
111 
112 #define x_coord(p) mem[p+1].cint /* {the |x| coordinate of this knot} */
114 {
115  halfword p;
116  int q;
117  p = (halfword) lua_tonumber(L,1);
118  q = x_coord(p);
119  lua_pushnumber(L,q);
120  return 1;
121 }
122 
123 #define y_coord(p) mem[p+2].cint /* {the |y| coordinate of this knot} */
125 {
126  halfword p,q;
127  p = (halfword) lua_tonumber(L,1);
128  q = y_coord(p);
129  lua_pushnumber(L,q);
130  return 1;
131 }
132 
133 
134 #define left_type(p) mem[p].hhfield.b0 /* {characterizes the path entering this knot} */
136 {
137  halfword p,q;
138  p = (halfword) lua_tonumber(L,1);
139  q = left_type(p);
140  lua_pushnumber(L,q);
141  return 1;
142 }
143 
144 #define right_type(p) mem[p].hhfield.b1 /* {characterizes the path leaving this knot} */
146 {
147  halfword p,q;
148  p = (halfword) lua_tonumber(L,1);
149  q = right_type(p);
150  lua_pushnumber(L,q);
151  return 1;
152 }
153 
154 
155 #define left_x(p) mem[p+3].cint /* {the |x| coordinate of previous control point} */
157 {
158  halfword p;
159  integer q ;
160  p = (halfword) lua_tonumber(L,1);
161  q = left_x(p);
162  lua_pushnumber(L,q);
163  return 1;
164 }
165 
166 
167 #define left_y(p) mem[p+4].cint /* {the |y| coordinate of previous control point} */
169 {
170  halfword p;
171  integer q ;
172  p = (halfword) lua_tonumber(L,1);
173  q = left_y(p);
174  lua_pushnumber(L,q);
175  return 1;
176 }
177 
178 
179 #define right_x(p) mem[p+5].cint /* {the |x| coordinate of next control point} */
181 {
182  halfword p;
183  integer q ;
184  p = (halfword) lua_tonumber(L,1);
185  q = right_x(p);
186  lua_pushnumber(L,q);
187  return 1;
188 }
189 
190 #define right_y(p) mem[p+6].cint /* {the |y| coordinate of next control point} */
192 {
193  halfword p;
194  integer q;
195  p = (halfword) lua_tonumber(L,1);
196  q = right_y(p);
197  lua_pushnumber(L,q);
198  return 1;
199 }
200 
201 /* @ Conversely, the |n_sin_cos| routine takes an |angle| and produces the sine */
202 /* and cosine of that angle. The results of this routine are */
203 /* stored in global integer variables |n_sin| and |n_cos|. */
204 
205 /* @<Glob...@>= */
206 /* @!n_sin,@!n_cos:fraction; {results computed by |n_sin_cos|} */
207 
208 /* @ Given an integer |z| that is $2^{20}$ times an angle $\theta$ in degrees, */
209 /* the purpose of |n_sin_cos(z)| is to set */
210 /* |x=@t$r\cos\theta$@>| and |y=@t$r\sin\theta$@>| (approximately), */
211 /* for some rather large number~|r|. The maximum of |x| and |y| */
212 /* will be between $2^{28}$ and $2^{30}$, so that there will be hardly */
213 /* any loss of accuracy. Then |x| and~|y| are divided by~|r|. */
215 {
216  nsincos(lua_tonumber(L,1));
217  return 0;
218 }
219 
220 
221 /* @ When a lot of work is being done on a particular edge structure, we plant */
222 /* a pointer to its main header in the global variable |cur_edges|. */
223 /* This saves us from having to pass this pointer as a parameter over and */
224 /* over again between subroutines. */
225 
226 /* Similarly, |cur_wt| is a global weight that is being used by several */
227 /* procedures at once. */
228 
229 /* @<Glob...@>= */
230 /* @!cur_edges:pointer; {the edge structure of current interest} */
231 /* @!cur_wt:integer; {the edge weight of current interest} */
233 {
234  halfword p = curedges;
235  lua_pushnumber(L,p);
236  return 1;
237 }
238 
239 
240 /* @<Glob...@>= */
241 /* @!cur_type:small_number; {the type of the expression just found} */
242 /* @!cur_exp:integer; {the value of the expression just found} */
244 {
245  halfword p = curexp;
246  lua_pushnumber(L,p);
247  return 1;
248 }
249 
250 
251 
252 
253 
254 
255 /* @d mem_top==30000 {largest index in the |mem| array dumped by \.{INIMF}; */
256 /* must be substantially larger than |mem_min| */
257 /* and not greater than |mem_max|} */
259 {
260  integer p = memtop;
261  lua_pushnumber(L,p);
262  return 1;
263 }
264 
265 
266 
267 /* And there are two global variables that affect the rounding */
268 /* decisions, as we'll see later; they are called |cur_pen| and |cur_path_type|. */
269 /* The latter will be |double_path_code| if |make_spec| is being */
270 /* applied to a double path.*/
271 /* @!cur_pen:pointer; {an implicit input of |make_spec|, used in autorounding} */
273 {
274  halfword p = curpen;
275  lua_pushnumber(L,p);
276  return 1;
277 }
278 
279 
280 /* @ The current octant code appears in a global variable. If, for example, */
281 /* we have |octant=third_octant|, it means that a curve traveling in a north to */
282 /* north-westerly direction has been rotated for the purposes of internal */
283 /* calculations so that the |move| data travels in an east to north-easterly */
284 /* direction. We want to unrotate as we update the edge structure. */
285 /* */
286 /* @<Glob...@>= */
287 /* @!octant:first_octant..sixth_octant; {the current octant of interest} */
289 {
290  char p = octant;
291  lua_pushnumber(L,p);
292  return 1;
293 }
294 
295 
296 /* @ The |make_spec| routine has an interesting side effect, namely to set */
297 /* the global variable |turning_number| to the number of times the tangent */
298 /* vector of the given cyclic path winds around the origin. */
299 /* */
300 /* @<Glob...@>= */
301 /* @!turning_number:integer; {another output of |make_spec|} */
303 {
304  integer p = turningnumber;
305  lua_pushnumber(L,p);
306  return 1;
307 }
308 
309 
310 
311 /* @ \MF\ also has a bunch of internal parameters that a user might want to */
312 /* fuss with. Every such parameter has an identifying code number, defined here. */
313 /* Warning: these parameters must be the same of the original MF !! */
314 #define tracing_titles 1 /*show titles online when they appear} */
315 #define tracing_equations 2 /*show each variable when it becomes known} */
316 #define tracing_capsules 3 /*show capsules too} */
317 #define tracing_choices 4 /*show the control points chosen for paths} */
318 #define tracing_specs 5 /*show subdivision of paths into octants before digitizing} */
319 #define tracing_pens 6 /*show details of pens that are made} */
320 #define tracing_commands 7 /*show commands and operations before they are performed} */
321 #define tracing_restores 8 /*show when a variable or internal is restored} */
322 #define tracing_macros 9 /*show macros before they are expanded} */
323 #define tracing_edges 10 /*show digitized edges as they are computed} */
324 #define tracing_output 11 /*show digitized edges as they are output} */
325 #define tracing_stats 12 /*show memory usage at end of job} */
326 #define tracing_online 13 /*show long diagnostics on terminal and in the log file} */
327 #define year 14 /*the current year (e.g., 1984)} */
328 #define month 15 /*the current month (e.g., 3 $\equiv$ March)} */
329 #define day 16 /*the current day of the month} */
330 #define time 17 /*the number of minutes past midnight when this job started} */
331 #define char_code 18 /*the number of the next character to be output} */
332 #define char_ext 19 /*the extension code of the next character to be output} */
333 #define char_wd 20 /*the width of the next character to be output} */
334 #define char_ht 21 /*the height of the next character to be output} */
335 #define char_dp 22 /*the depth of the next character to be output} */
336 #define char_ic 23 /*the italic correction of the next character to be output} */
337 #define char_dx 24 /*the device's $x$ movement for the next character, in pixels} */
338 #define char_dy 25 /*the device's $y$ movement for the next character, in pixels} */
339 #define design_size 26 /*the unit of measure used for |char_wd..char_ic|, in points} */
340 #define hppp 27 /*the number of horizontal pixels per point} */
341 #define vppp 28 /*the number of vertical pixels per point} */
342 #define x_offset 29 /*horizontal displacement of shipped-out characters} */
343 #define y_offset 30 /*vertical displacement of shipped-out characters} */
344 #define pausing 31 /*positive to display lines on the terminal before they are read} */
345 #define showstopping 32 /*positive to stop after each \&{show} command} */
346 #define fontmaking 33 /*positive if font metric output is to be produced} */
347 #define proofing 34 /*positive for proof mode, negative to suppress output} */
348 #define smoothing 35 /*positive if moves are to be ``smoothed''} */
349 #define autorounding 36 /*controls path modification to ``good'' points} */
350 #define granularity 37 /*autorounding uses this pixel size} */
351 #define fillin 38 /*extra darkness of diagonal lines} */
352 #define turning_check 39 /*controls reorientation of clockwise paths} */
353 #define warning_check 40 /*controls error message when variable value is large} */
354 #define boundary_char 41 /*the right boundary character for ligatures} */
355 /* @d max_given_internal=41 */
356 
358 {
359  integer p = roundunscaled ( internal [char_code]) % 256 ;
360  lua_pushnumber(L,p);
361  return 1;
362 }
364 {
365  integer p = roundunscaled ( internal [char_ext]) ;
366  lua_pushnumber(L,p);
367  return 1;
368 }
369 
370 
372 {
373  integer p = internal [char_wd] ;
374  lua_pushnumber(L,p);
375  return 1;
376 }
378 {
379  integer p = internal [char_ht] ;
380  lua_pushnumber(L,p);
381  return 1;
382 }
384 {
385  integer p = internal [char_dp] ;
386  lua_pushnumber(L,p);
387  return 1;
388 }
390 {
391  integer p = internal [char_ic] ;
392  lua_pushnumber(L,p);
393  return 1;
394 }
395 
397 {
398  integer p = internal [char_dx] ;
399  lua_pushnumber(L,p);
400  return 1;
401 }
402 
404 {
405  integer p = internal [char_dy] ;
406  lua_pushnumber(L,p);
407  return 1;
408 }
409 
411 {
412  integer p = internal [design_size] ;
413  lua_pushnumber(L,p);
414  return 1;
415 }
416 
418 {
419  integer p = internal [hppp] ;
420  lua_pushnumber(L,p);
421  return 1;
422 }
423 
425 {
426  integer p = internal [vppp] ;
427  lua_pushnumber(L,p);
428  return 1;
429 }
430 
432 {
433  integer p = internal [x_offset] ;
434  lua_pushnumber(L,p);
435  return 1;
436 }
437 
439 {
440  integer p = internal [y_offset] ;
441  lua_pushnumber(L,p);
442  return 1;
443 }
444 
446 {
447  integer p = internal [granularity] ;
448  lua_pushnumber(L,p);
449  return 1;
450 }
451 
453 {
454  integer p = internal [fillin] ;
455  lua_pushnumber(L,p);
456  return 1;
457 }
458 
460 {
461  integer p = internal [turning_check] ;
462  lua_pushnumber(L,p);
463  return 1;
464 }
465 
467 {
468  integer p = internal [boundary_char] ;
469  lua_pushnumber(L,p);
470  return 1;
471 }
472 
474 {
476  return 1;
477 }
478 
480 {
482  return 1;
483 }
484 
485 
486 /**************************************************************/
487 /* */
488 /* otfcc private functions */
489 /* */
490 /**************************************************************/
491 
492 #ifdef MFLuaJIT
493 static void lua_len (lua_State *L, int i) {
494  switch (lua_type(L, i)) {
495  case LUA_TSTRING:
497  break;
498  case LUA_TTABLE:
499  if (!luaL_callmeta(L, i, "__len"))
501  break;
502  case LUA_TUSERDATA:
503  if (luaL_callmeta(L, i, "__len"))
504  break;
505  /* FALLTHROUGH */
506  default:
507  luaL_error(L, "attempt to get length of a %s value",
508  lua_typename(L, lua_type(L, i)));
509  }
510 }
511 
512 static int lua_absindex (lua_State *L, int i) {
513  if (i < 0 && i > LUA_REGISTRYINDEX)
514  i += lua_gettop(L) + 1;
515  return i;
516 }
517 static int lua_geti (lua_State *L, int index, lua_Integer i) {
519  lua_pushinteger(L, i);
520  lua_gettable(L, index);
521  return lua_type(L, -1);
522 }
523 #endif
524 
526  if (!lua_istable(L, -1)) {
527  fprintf(stderr, "! dump: expected a table\n");
528  lua_pop(L,1);
529  return 0;
530  } else {
531  /* table is in the stack at index '-1' */
532  size_t l=0;
533  int j;
534  char **av;
535 
536  lua_len (L, -1);
537  l = (size_t)(lua_tonumber(L,-1));
538  lua_pop(L,1);
539  if (l==0 )
540  return 0;
541  av = malloc((l+1) * sizeof(char*));
542  if (av==NULL) {
543  fprintf(stderr, "! dump: unable to allocate av\n");
544  return 0;
545  }
546  av[0] = malloc((strlen("/dump")+1)*sizeof(char));
547  if (av[0]==NULL) {
548  fprintf(stderr, "! dump: unable to allocate av[0]\n");
549  return 0;
550  }
551  strcpy(av[0], "/dump");
552  /* fill the av array */
553  for(j=1;j<=l;j++){
554  const char *k;
555  lua_geti(L,-1,j);
556  k = lua_tostring(L, -1);
557  av[j] = malloc((strlen(k)+1)*sizeof(char));
558  if (av[j]==NULL) {
559  fprintf(stderr, "! dump: unable to allocate av[%d]\n",j);
560  return 0;
561  }
562  strcpy(av[j], k);
563  lua_pop(L,1);
564  }
565 #if defined(NO_OTFCC)
566 /* */
567 #else
568  otfcc_dump(l+1,av);
569 #endif
570  /* release the av */
571  free(av[0]);
572  for(j=1;j<=l;j++)
573  free(av[j]);
574  free(av);
575  return 0;
576  }
577 }
578 
579 
581  if (!lua_istable(L, -1)) {
582  fprintf(stderr, "! build: expected a table\n");
583  lua_pop(L,1);
584  return 0;
585  } else {
586  /* table is in the stack at index '-1' */
587  size_t l=0;
588  int j;
589  char **av;
590 
591  lua_len (L, -1);
592  l = (size_t)(lua_tonumber(L,-1)) ;
593  lua_pop(L,1);
594  if (l==0 )
595  return 0;
596  av = malloc((l+1) * sizeof(char*));
597  if (av==NULL) {
598  fprintf(stderr, "! build: unable to allocate av\n");
599  return 0;
600  }
601  av[0] = malloc((strlen("/build")+1)*sizeof(char));
602  if (av[0]==NULL) {
603  fprintf(stderr, "! build: unable to allocate av[0]\n");
604  return 0;
605  }
606  strcpy(av[0], "/build");
607  /* fill the av array */
608  for(j=1;j<=l;j++){
609  const char *k;
610  lua_geti(L,-1,j);
611  k = lua_tostring(L, -1);
612  av[j] = malloc((strlen(k)+1)*sizeof(char));
613  if (av[j]==NULL) {
614  fprintf(stderr, "! build: unable to allocate av[%d]\n",j);
615  return 0;
616  }
617  strcpy(av[j], k);
618  lua_pop(L,1);
619  }
620 #if defined(NO_OTFCC)
621 /* */
622 #else
623  otfcc_build(l+1,av);
624 #endif
625  /* release the av */
626  free(av[0]);
627  for(j=1;j<=l;j++)
628  free(av[j]);
629  free(av);
630  return 0;
631  }
632 }
633 
634 
635 
636 /**************************************************************/
637 /* */
638 /* mflua layer */
639 /* */
640 /**************************************************************/
641 static const struct luaL_Reg MFbuiltin_l[] = {
642  {"link", priv_mfweb_link},
643  {"info", priv_mfweb_info},
644  {"x_coord", priv_mfweb_x_coord},
645  {"y_coord", priv_mfweb_y_coord},
646  {"left_type", priv_mfweb_left_type},
647  {"right_type", priv_mfweb_right_type},
648  {"left_x", priv_mfweb_left_x},
649  {"left_y", priv_mfweb_left_y},
650  {"right_x", priv_mfweb_right_x},
651  {"right_y", priv_mfweb_right_y},
652  {"n_sin_cos", priv_mfweb_n_sin_cos},
653  {"cur_edges", priv_mfweb_LUAGLOBALGET_cur_edges},
654  {"cur_exp", priv_mfweb_LUAGLOBALGET_cur_exp},
655  {"mem_top", priv_mfweb_LUAGLOBALGET_mem_top},
656  {"cur_pen", priv_mfweb_LUAGLOBALGET_cur_pen},
657  {"octant", priv_mfweb_LUAGLOBALGET_octant},
658  {"char_code", priv_mfweb_LUAGLOBALGET_char_code},
659  {"char_ext", priv_mfweb_LUAGLOBALGET_char_ext},
660  {"char_wd", priv_mfweb_LUAGLOBALGET_char_wd},
661  {"char_ht", priv_mfweb_LUAGLOBALGET_char_ht},
662  {"char_dp", priv_mfweb_LUAGLOBALGET_char_dp},
663  {"char_ic", priv_mfweb_LUAGLOBALGET_char_ic},
664  {"char_dx", priv_mfweb_LUAGLOBALGET_char_dx},
665  {"char_dy", priv_mfweb_LUAGLOBALGET_char_dy},
666  {"designsize", priv_mfweb_LUAGLOBALGET_designsize},
669  {"x_offset", priv_mfweb_LUAGLOBALGET_x_offset},
670  {"y_offset", priv_mfweb_LUAGLOBALGET_y_offset},
671  {"granularity", priv_mfweb_LUAGLOBALGET_granularity},
672  {"fillin", priv_mfweb_LUAGLOBALGET_fillin},
673  {"turning_check", priv_mfweb_LUAGLOBALGET_turning_check},
674  {"boundary_char", priv_mfweb_LUAGLOBALGET_boundary_char},
675  {"turning_number", priv_mfweb_LUAGLOBALGET_turning_number},
676  {"mflua_version",priv_mflua_version},
677  {"mflua_banner",priv_mflua_banner},
678  {NULL, NULL} /* sentinel */
679 };
680 
681 static struct luaL_Reg mflua_otfcc[] = {
682  { "build", priv_mflua_otf_build },
683  { "dump", priv_mflua_otf_dump },
684  { NULL, NULL}
685 };
686 
687 
688 #define lua_swap(L) lua_insert(L, -2)
689 
690 #define GETGLOBALTABLEMFLUA(a) lua_getglobal(L, "mflua");\
691  if (!lua_istable(L, -1)) { \
692  lua_pushstring(L,#a); \
693  lua_pushstring(L,":global table mflua not found"); \
694  lua_concat (L, 2); \
695  priv_lua_reporterrors(L, 1); \
696  } \
697 
698 
699 
701 {
702  lua_State *L ;
703  char* luafile ;
704  int res ;
705 
706  L = luaL_newstate();
707  luaL_openlibs(L);
708  Luas[0] = L;
709  /* register lua functions */
710  luaopen_kpse(L);
711  /* to be sure of having a clear stack */
712  lua_settop(L,0);
713 
714 
715  lua_getglobal(L, "mflua");
716  if (!lua_istable(L, -1)) {
717  lua_pop(L,1);
718  lua_newtable(L);
719  lua_setglobal(L,"mflua");
720  /* check it */
721  lua_getglobal(L,"mflua");
722  if (!lua_istable(L, -1)) {
723  printf("mflua table NOT registered!\n");
724  } else {
725  lua_pushstring(L,"MFbuiltin");
726 #ifdef MFLuaJIT
727  /* 5.1 */
729  lua_newtable(L);
731 #else
733 #endif
734  lua_settable(L, -3);
735  /* set the otfcc table */
736  lua_pushstring(L,"otf");
737 #ifdef MFLuaJIT
738  /* 5.1 */
739  lua_newtable(L);
741 #else
743 #endif
744  lua_settable(L, -3);
745 
746  }
747  lua_pop(L,1);
748  }
749 
750 
751  luafile = kpse_find_file("mflua.lua", kpse_lua_format, 0);
752  if (luafile==NULL) {
753  res = 1;
754  lua_pushstring(L,"mflua.lua not found.");
756  goto EXIT;
757  }
758  res = luaL_loadfile(L, luafile);
759  free(luafile);
760  if ( res==LUA_OK ) {
761  if((res=lua_pcall(L,0,0,0))){
763  goto EXIT;
764  }
765  } else {
767  goto EXIT;
768  }
769  /* Still a chance that mflua is around */
771  if (lua_istable(L, -1)) {
772  lua_getfield(L,-1,"begin_program");
773  if((res=lua_pcall(L,0,0,0)))
775  }
776  EXIT:
777  lua_settop(L,0);
778  return 0;
779 }
780 
781 /* /\* TODO*\/ */
782 /* int mfluaendprogram(void) */
783 /* { */
784 /* lua_State *L; */
785 /* char* luafile; */
786 /* int res; */
787 
788 /* L = Luas[0]; */
789 /* GETGLOBALTABLEMFLUA(mfluaendprogram); */
790 /* luafile = kpse_find_file("end_program.lua", kpse_lua_format, 0); */
791 /* if (luafile==NULL) { */
792 /* res = 1; */
793 /* lua_pushstring(L,"end_program.lua not found"); */
794 /* priv_lua_reporterrors(L, res); */
795 /* lua_settop(L,0); */
796 /* return 0; */
797 /* } */
798 /* priv_lua_writemessage(L,"(",luafile,")",1); */
799 /* res = luaL_loadfile(L, luafile); */
800 /* free(luafile); */
801 /* if ( res==0 ) { */
802 /* res = lua_pcall(L, 0, 0, 0); */
803 /* } */
804 /* /\* stackdump_g(L); *\/ */
805 /* priv_lua_reporterrors(L, res); */
806 /* lua_settop(L,0); */
807 /* return 0; */
808 /* } */
809 
811 {
812  lua_State *L;
813  int res;
814 
815  L = Luas[0];
817  if (lua_istable(L, -1)) {
818  lua_getfield(L,-1,"end_program");
819  /* do the call (0 arguments, 0 result) */
820  if((res=lua_pcall(L, 0, 0, 0))){
821  lua_pushstring(L,"error in end_program:");
822  lua_swap(L);lua_concat (L, 2);
824  }
825  }
826  lua_settop(L,0);
827  return 0;
828 }
829 
830 
831 
833 {
834  lua_State *L;
835  int res;
836 
837  L = Luas[0];
839  if (lua_istable(L, -1)) {
840  lua_getfield(L,-1,"PRE_start_of_MF");
841  /* do the call (0 arguments, 0 result) */
842  if((res=lua_pcall(L, 0, 0, 0))){
843  lua_pushstring(L,"error in PRE_start_of_MF:");
844  lua_swap(L);lua_concat (L, 2);
846  }
847  }
848  lua_settop(L,0);
849  return 0;
850 }
851 
852 
854 {
855  lua_State *L;
856  int res;
857 
858  L = Luas[0];
860  if (lua_istable(L, -1)) {
861  lua_getfield(L,-1, "PRE_main_control");
862  /* do the call (0 arguments, 0 result) */
863  if((res=lua_pcall(L, 0, 0, 0))){
864  lua_pushstring(L,"error in PRE_main_control:");
865  lua_swap(L);lua_concat (L, 2);
867  }
868  }
869  lua_settop(L,0);
870  return 0;
871 }
872 
874 {
875  lua_State *L;
876  int res;
877 
878  L = Luas[0];
880  if (lua_istable(L, -1)) {
881  lua_getfield(L,-1, "POST_main_control");
882  /* do the call (0 arguments, 0 result) */
883  if((res=lua_pcall(L, 0, 0, 0))){
884  lua_pushstring(L,"error in POST_main_control:");
885  lua_swap(L);lua_concat (L, 2);
887  }
888  }
889  lua_settop(L,0);
890  return 0;
891 
892 }
893 
894 
896 {
897  lua_State *L;
898  int res;
899 
900  L = Luas[0];
902  if (lua_istable(L, -1)) {
903  lua_getfield(L,-1, "mflua_initialize");
904  /* do the call (0 arguments, 0 result) */
905  if((res=lua_pcall(L, 0, 0, 0))){
906  lua_pushstring(L,"error in mflua_initialize:");
907  lua_swap(L);lua_concat (L, 2);
909  }
910  }
911  lua_settop(L,0);
912  return 0;
913 }
914 
915 
917 {
918  lua_State *L;
919  int res;
920 
921  L = Luas[0];
923  if (lua_istable(L, -1)) {
924  lua_getfield(L,-1, "POST_final_cleanup");
925  /* do the call (0 arguments, 0 result) */
926  if((res=lua_pcall(L, 0, 0, 0))){
927  lua_pushstring(L,"error in POST_final_cleanup:");
928  lua_swap(L);lua_concat (L, 2);
930  }
931  }
932  lua_settop(L,0);
933  return 0;
934 }
935 
936 
937 /* Not a good way: */
938 /* 1) these definitions are taken from mfcoerc.h which is generated at run-time */
939 /* 2) too much coupling with webc2c translation of mf.web*/
940 /* */
941 /* #define printdiagnostic(s, t, nuline) zprintdiagnostic((strnumber) (s), (strnumber) (t), (boolean) (nuline)) */
942 /* #define print(s) zprint((integer) (s)) */
943 /* #define printarg(q, n, b) zprintarg((halfword) (q), (integer) (n), (halfword) (b) */
944 /* int mfluaprintpath P3C(halfword, h , strnumber, s , boolean, nuline) */
945 /* { */
946 /* fprintf(stderr,"\n! %d \n",s); */
947 /* printdiagnostic ( 517 , s , nuline ) ; */
948 /* println () ; */
949 /* print ( 518 ) ; */
950 /* println () ; */
951 /* fprintf(stderr,"\n! %s\n","*end***************"); */
952 
953 /* lua_State *L = Luas[0]; */
954 /* char* file = kpse_find_file("print_path.lua", kpse_lua_format, 0); */
955 /* int res = luaL_loadfile(L, file); */
956 /* if (file) free (file); */
957 /* if ( res==0 ) { */
958 /* res = lua_pcall(L, 0, 0, 0); */
959 /* } */
960 /* // */
961 /* //stackdump_g(L); */
962 
963 /* // */
964 /* priv_lua_reporterrors(L, res); */
965 /* return 0; */
966 
967 /* } */
968 
969 int mfluaprintpath(halfword h, strnumber s, boolean nuline)
970 {
971  lua_State *L;
972  int res;
973 
974  L = Luas[0];
976  if (lua_istable(L, -1)) {
977  lua_getfield(L,-1, "printpath");
978  lua_pushnumber(L, h); /* push 1st argument */
979  lua_pushnumber(L, s); /* push 2nd argument */
980  lua_pushnumber(L, nuline); /* push 3nd argument */
981  /* do the call (3 arguments, 0 result) */
982  if((res=lua_pcall(L, 3, 0, 0))){
983  lua_pushstring(L,"error in printpath:");
984  lua_swap(L);lua_concat (L, 2);
986  }
987  }
988  lua_settop(L,0);
989  return 0;
990 }
991 
992 
993 int mfluaprintedges(strnumber s, boolean nuline, integer xoff, integer yoff)
994 {
995  lua_State *L;
996  int res;
997 
998  L = Luas[0];
1000  if (lua_istable(L, -1)) {
1001  lua_getfield(L,-1, "printedges");
1002  lua_pushnumber(L, s); /* push 1st argument */
1003  lua_pushnumber(L, nuline); /* push 2nd argument */
1004  lua_pushnumber(L, xoff); /* push 3nd argument */
1005  lua_pushnumber(L, yoff); /* push 4nd argument */
1006  /* do the call (4 arguments, 0 result) */
1007  if((res=lua_pcall(L, 4, 0, 0))){
1008  lua_pushstring(L,"error in printedges:");
1009  lua_swap(L);lua_concat (L, 2);
1011  }
1012  }
1013  lua_settop(L,0);
1014  return 0;
1015 }
1016 
1017 
1018 /* */
1019 /* Sensor before and after offset_prep */
1020 /* */
1022 {
1023 
1024  lua_State *L;
1025  int res;
1026 
1027  L = Luas[0];
1029  if (lua_istable(L, -1)) {
1030  lua_getfield(L,-1, "PRE_offset_prep");
1031  lua_pushnumber(L, c); /* push 1st argument */
1032  lua_pushnumber(L, h); /* push 2nd argument */
1033  /* do the call (2 arguments, 0 result) */
1034  if((res=lua_pcall(L, 2, 0, 0))){
1035  lua_pushstring(L,"error in PRE_offset_prep:");
1036  lua_swap(L);lua_concat (L, 2);
1038  }
1039  }
1040  lua_settop(L,0);
1041  return 0;
1042 }
1043 
1044 
1046 {
1047  lua_State *L;
1048  int res;
1049 
1050  L = Luas[0];
1052  if (lua_istable(L, -1)) {
1053  lua_getfield(L,-1, "POST_offset_prep");
1054  lua_pushnumber(L, c); /* push 1st argument */
1055  lua_pushnumber(L, h); /* push 2nd argument */
1056  /* do the call (2 arguments, 0 result) */
1057  if((res=lua_pcall(L, 2, 0, 0))){
1058  lua_pushstring(L,"error in POST_offset_prep:");
1059  lua_swap(L);lua_concat (L, 2);
1061  }
1062  }
1063  lua_settop(L,0);
1064  return 0;
1065 }
1066 
1067 
1069 {
1070  lua_State *L;
1071  int res;
1072 
1073  L = Luas[0];
1075  if (lua_istable(L, -1)) {
1076  lua_getfield(L,-1, "PRE_make_spec_rhs");
1077  lua_pushnumber(L, rhs); /* push 1st argument */
1078  /* do the call (1 arguments, 0result) */
1079  if((res=lua_pcall(L, 1, 0, 0))){
1080  lua_pushstring(L,"error in PRE_make_spec_rhs:");
1081  lua_swap(L);lua_concat (L, 2);
1083  }
1084  }
1085  lua_settop(L,0);
1086  return 0;
1087 }
1088 
1089 
1091 {
1092  lua_State *L;
1093  int res;
1094 
1095  L = Luas[0];
1097  if (lua_istable(L, -1)) {
1098  lua_getfield(L,-1, "POST_make_spec_rhs");
1099  lua_pushnumber(L, rhs); /* push 1st argument */
1100  /* do the call (1 arguments, 0result) */
1101  if((res=lua_pcall(L, 1, 0, 0))){
1102  lua_pushstring(L,"error in POST_make_spec_rhs:");
1103  lua_swap(L);lua_concat (L, 2);
1105  }
1106  }
1107  lua_settop(L,0);
1108  return 0;
1109 }
1110 
1111 
1113 {
1114  lua_State *L;
1115  int res;
1116 
1117  L = Luas[0];
1119  if (lua_istable(L, -1)) {
1120  lua_getfield(L,-1, "PRE_make_spec_lhs");
1121  lua_pushnumber(L, lhs); /* push 1st argument */
1122  /* do the call (1 arguments, 0 result) */
1123  if((res=lua_pcall(L, 1, 0, 0))){
1124  lua_pushstring(L,"error in PRE_make_spec_lhs:");
1125  lua_swap(L);lua_concat (L, 2);
1127  }
1128  }
1129  lua_settop(L,0);
1130  return 0;
1131 }
1132 
1134 {
1135  lua_State *L;
1136  int res;
1137 
1138  L = Luas[0];
1140  if (lua_istable(L, -1)) {
1141  lua_getfield(L,-1, "POST_make_spec_lhs");
1142  lua_pushnumber(L, lhs); /* push 1st argument */
1143  /* do the call (1 arguments, 0 result) */
1144  if((res=lua_pcall(L, 1, 0, 0))){
1145  lua_pushstring(L,"error in POST_make_spec_lhs:");
1146  lua_swap(L);lua_concat (L, 2);
1148  }
1149  }
1150  lua_settop(L,0);
1151  return 0;
1152 }
1153 
1154 
1155 
1157 {
1158  lua_State *L;
1159  int res;
1160 
1161  L = Luas[0];
1163  if (lua_istable(L, -1)) {
1164  lua_getfield(L,-1, "PRE_fill_envelope_rhs");
1165  lua_pushnumber(L, rhs); /* push 1st argument */
1166  /* do the call (1 arguments, 0 result) */
1167  if((res=lua_pcall(L, 1, 0, 0))){
1168  lua_pushstring(L,"error in PRE_fill_envelope_rhs:");
1169  lua_swap(L);lua_concat (L, 2);
1171  }
1172  }
1173  lua_settop(L,0);
1174  return 0;
1175 }
1176 
1177 
1178 
1180 {
1181  lua_State *L;
1182  int res;
1183 
1184  L = Luas[0];
1186  if (lua_istable(L, -1)) {
1187  lua_getfield(L,-1, "POST_fill_envelope_rhs");
1188  lua_pushnumber(L, rhs); /* push 1st argument */
1189  /* do the call (1 arguments, 0 result) */
1190  if((res=lua_pcall(L, 1, 0, 0))){
1191  lua_pushstring(L,"error in POST_fill_envelope_rhs:");
1192  lua_swap(L);lua_concat (L, 2);
1194  }
1195  }
1196  lua_settop(L,0);
1197  return 0;
1198 }
1199 
1200 
1201 
1203 {
1204  lua_State *L;
1205  int res;
1206 
1207  L = Luas[0];
1209  if (lua_istable(L, -1)) {
1210  lua_getfield(L,-1, "PRE_fill_envelope_lhs");
1211  lua_pushnumber(L, lhs); /* push 1st argument */
1212  /* do the call (1 arguments, 0 result) */
1213  if((res=lua_pcall(L, 1, 0, 0))){
1214  lua_pushstring(L,"error in PRE_fill_envelope_lhs:");
1215  lua_swap(L);lua_concat (L, 2);
1217  }
1218  }
1219  lua_settop(L,0);
1220  return 0;
1221 }
1222 
1223 
1224 
1226 {
1227  lua_State *L;
1228  int res;
1229 
1230  L = Luas[0];
1232  if (lua_istable(L, -1)) {
1233  lua_getfield(L,-1, "POST_fill_envelope_lhs");
1234  lua_pushnumber(L, lhs); /* push 1st argument */
1235  /* do the call (1 arguments, 0 result) */
1236  if((res=lua_pcall(L, 1, 0, 0))){
1237  lua_pushstring(L,"error in POST_fill_envelope_lhs:");
1238  lua_swap(L);lua_concat (L, 2);
1240  }
1241  }
1242  lua_settop(L,0);
1243  return 0;
1244 }
1245 
1246 
1247 
1249 {
1250  lua_State *L;
1251  int res;
1252 
1253  L = Luas[0];
1255  if (lua_istable(L, -1)) {
1256  lua_getfield(L,-1, "PRE_fill_spec_rhs");
1257  lua_pushnumber(L, rhs); /* push 1st argument */
1258  /* do the call (1 arguments, 0 result) */
1259  if((res=lua_pcall(L, 1, 0, 0))){
1260  lua_pushstring(L,"error in PRE_fill_spec_rhs:");
1261  lua_swap(L);lua_concat (L, 2);
1263  }
1264  }
1265  lua_settop(L,0);
1266  return 0;
1267 }
1268 
1270 {
1271  lua_State *L;
1272  int res;
1273 
1274  L = Luas[0];
1276  if (lua_istable(L, -1)) {
1277  lua_getfield(L,-1, "POST_fill_spec_rhs");
1278  lua_pushnumber(L, rhs); /* push 1st argument */
1279  /* do the call (1 arguments, 0 result) */
1280  if((res=lua_pcall(L, 1, 0, 0))){
1281  lua_pushstring(L,"error in POST_fill_spec_rhs:");
1282  lua_swap(L);lua_concat (L, 2);
1284  }
1285  }
1286  lua_settop(L,0);
1287  return 0;
1288 }
1289 
1291 {
1292  lua_State *L;
1293  int res;
1294 
1295  L = Luas[0];
1297  if (lua_istable(L, -1)) {
1298  lua_getfield(L,-1, "PRE_fill_spec_lhs");
1299  L = Luas[0];
1300  lua_pushnumber(L, lhs); /* push 1st argument */
1301  /* do the call (1 arguments, 0 result) */
1302  if((res=lua_pcall(L, 1, 0, 0))){
1303  lua_pushstring(L,"error in PRE_fill_spec_lhs:");
1304  lua_swap(L);lua_concat (L, 2);
1306  }
1307  }
1308  lua_settop(L,0);
1309  return 0;
1310 }
1311 
1312 
1314 {
1315  lua_State *L;
1316  int res;
1317 
1318  L = Luas[0];
1320  if (lua_istable(L, -1)) {
1321  lua_getfield(L,-1, "POST_fill_spec_lhs");
1322  L = Luas[0];
1323  lua_pushnumber(L, lhs); /* push 1st argument */
1324  /* do the call (1 arguments, 0 result) */
1325  if((res=lua_pcall(L, 1, 0, 0))){
1326  lua_pushstring(L,"error in POST_fill_spec_lhs:");
1327  lua_swap(L);lua_concat (L, 2);
1329  }
1330  }
1331  lua_settop(L,0);
1332  return 0;
1333 }
1334 
1335 
1336 
1338 {
1339  lua_State *L;
1340  int res;
1341 
1342  L = Luas[0];
1344  if (lua_istable(L, -1)) {
1345  lua_getfield(L,-1, "PRE_move_to_edges");
1346  lua_pushnumber(L, lhs); /* push 1st argument */
1347  /* do the call (1 arguments, 0 result) */
1348  if((res=lua_pcall(L, 1, 0, 0))){
1349  lua_pushstring(L,"error in PRE_move_to_edges:");
1350  lua_swap(L);lua_concat (L, 2);
1352  }
1353  }
1354  lua_settop(L,0);
1355  return 0;
1356 }
1357 
1358 
1360 {
1361  lua_State *L;
1362  int res;
1363 
1364  L = Luas[0];
1366  if (lua_istable(L, -1)) {
1367  lua_getfield(L,-1, "POST_move_to_edges");
1368  lua_pushnumber(L, lhs); /* push 1st argument */
1369  /* do the call (1 arguments, 0 result) */
1370  if((res=lua_pcall(L, 1, 0, 0))){
1371  lua_pushstring(L,"error in POST_move_to_edges:");
1372  lua_swap(L);lua_concat (L, 2);
1374  }
1375  }
1376  lua_settop(L,0);
1377  return 0;
1378 }
1379 
1380 
1382 {
1383  lua_State *L;
1384  int res;
1385 
1386  L = Luas[0];
1388  if (lua_istable(L, -1)) {
1389  lua_getfield(L,-1,"PRE_make_choices"); /* function to be called */
1390  lua_pushnumber(L, p); /* push 1st argument */
1391  /* do the call (1 arguments, 0 result) */
1392  if((res=lua_pcall(L, 1, 0, 0))){
1393  lua_pushstring(L,"error in PRE_make_choices:");
1394  lua_swap(L);lua_concat (L, 2);
1396  }
1397  }
1398  lua_settop(L,0);
1399  return 0;
1400 }
1401 
1402 
1403 
1405 {
1406  lua_State *L;
1407  int res;
1408 
1409  L = Luas[0];
1411  if (lua_istable(L, -1)) {
1412  lua_getfield(L,-1,"POST_make_choices"); /* function to be called */
1413  lua_pushnumber(L, p); /* push 1st argument */
1414  /* do the call (1 arguments, 0 result) */
1415  if((res=lua_pcall(L, 1, 0, 0))){
1416  lua_pushstring(L,"error in POST_make_choices:");
1417  lua_swap(L);lua_concat (L, 2);
1419  }
1420  }
1421  lua_settop(L,0);
1422  return 0;
1423 }
1424 
1425 
1426 
1428 {
1429  lua_State *L;
1430  int res;
1431 
1432  L = Luas[0];
1434  if (lua_istable(L, -1)) {
1435  lua_getfield(L,-1,"print_retrograde_line");
1436  lua_pushnumber(L, x0); /* push 1st argument */
1437  lua_pushnumber(L, y0); /* push 2nd argument */
1438  lua_pushnumber(L, cur_x); /* push 3th argument */
1439  lua_pushnumber(L, cur_y); /* push 4th argument */
1440  /* do the call (4 arguments, 0 result) */
1441  if((res=lua_pcall(L, 4, 0, 0))){
1442  lua_pushstring(L,"error in print_retrograde_line:");
1443  lua_swap(L);lua_concat (L, 2);
1445  }
1446  }
1447  lua_settop(L,0);
1448  return 0;
1449 }
1450 
1451 
1452 int mfluaPREmakeellipse(integer major_axis, integer minor_axis, integer theta_angle , integer tx_val, integer ty_val,integer q)
1453 {
1454  lua_State *L;
1455  int res;
1456 
1457  L = Luas[0];
1459  if (lua_istable(L, -1)) {
1460  lua_getfield(L,-1,"PRE_make_ellipse");
1461  lua_pushnumber(L, major_axis); /* push 1st argument */
1462  lua_pushnumber(L, minor_axis); /* push 2nd argument */
1463  lua_pushnumber(L, theta_angle); /* push 3th argument */
1464  lua_pushnumber(L, tx_val); /* push 4th argument */
1465  lua_pushnumber(L, ty_val); /* push 5th argument */
1466  lua_pushnumber(L, q); /* push 6th argument */
1467  /* do the call (6 arguments, 0 result) */
1468  if((res=lua_pcall(L, 6, 1, 0))){
1469  lua_pushstring(L,"error in PRE_make_ellipse:");
1470  lua_swap(L);lua_concat (L, 2);
1472  }
1473  }
1474  lua_settop(L,0);
1475  return 0;
1476 }
1477 
1478 
1479 
1480 int mfluaPOSTmakeellipse(integer major_axis, integer minor_axis, integer mfl_theta , integer mfl_tx, integer mfl_ty,integer q)
1481 {
1482  lua_State *L;
1483  int res;
1484 
1485  L = Luas[0];
1487  if (lua_istable(L, -1)) {
1488  lua_getfield(L,-1,"POST_make_ellipse");
1489  lua_pushnumber(L, major_axis); /* push 1st argument */
1490  lua_pushnumber(L, minor_axis); /* push 2nd argument */
1491  lua_pushnumber(L, mfl_theta); /* push 3th argument */
1492  lua_pushnumber(L, mfl_tx); /* push 4th argument */
1493  lua_pushnumber(L, mfl_ty); /* push 5th argument */
1494  lua_pushnumber(L, q); /* push 6th argument */
1495  /* do the call (6 arguments, 0 result) */
1496  if((res=lua_pcall(L, 6, 1, 0))){
1497  lua_pushstring(L,"error in POST_make_ellipse:");
1498  lua_swap(L);lua_concat (L, 2);
1500  }
1501  }
1502  lua_settop(L,0);
1503  return 0;
1504 }
1505 
1506 
1508 {
1509  lua_State *L;
1510  int res;
1511 
1512  L = Luas[0];
1514  if (lua_istable(L, -1)) {
1515  lua_getfield(L,-1,"print_transition_line_from");
1516  lua_pushnumber(L, x); /* push 1st argument */
1517  lua_pushnumber(L, y); /* push 2nd argument */
1518  /* do the call (2 arguments, 0 result) */
1519  if((res=lua_pcall(L, 2, 0, 0))){
1520  lua_pushstring(L,"error in print_transition_line_from:");
1521  lua_swap(L);lua_concat (L, 2);
1523  }
1524  }
1525  lua_settop(L,0);
1526  return 0;
1527 }
1528 
1529 
1531 {
1532  lua_State *L;
1533  int res;
1534 
1535  L = Luas[0];
1537  if (lua_istable(L, -1)) {
1538  lua_getfield(L,-1,"print_transition_line_to");
1539  lua_pushnumber(L, x); /* push 1st argument */
1540  lua_pushnumber(L, y); /* push 2nd argument */
1541  /* do the call (2 arguments, 0 result) */
1542  if((res=lua_pcall(L, 2, 0, 0))){
1543  lua_pushstring(L,"error in print_transition_line_to:");
1544  lua_swap(L);lua_concat (L, 2);
1546  }
1547  }
1548  lua_settop(L,0);
1549  return 0;
1550 }
1551 
1552 
1553 
1554 #define priv_append_char(c) do { \
1555  strpool[poolptr]=c; \
1556  poolptr++; \
1557 } while(0)
1558 
1559 #define priv_str_room(l) do { \
1560  if ((poolptr + l) > maxpoolptr) { \
1561  if ((poolptr + l) > poolsize) { \
1562  fprintf(stderr,"\n! (Lua) MFLua capacity exceeded, sorry [pool size=%ld]\nIf you really absolutely need more capacity,\nyou can ask a wizard to enlarge me.\n",poolsize-initpoolptr); \
1563  exit(1); \
1564  } \
1565  maxpoolptr = poolptr + l; \
1566  } \
1567 } while (0)
1568 
1570 {
1571  int i ;
1572  lua_State *L ;
1573  unsigned char last_char;
1574  int error;
1575  const char *str;
1576  size_t len;
1577  L = Luas[0];
1578  last_char = strpool[j+limit-first_val] ;
1579  /* end of a C string */
1580  strpool[j+limit-first_val] = '\0';
1581  str = (const char *)(strpool+j) ;
1582  /* do the call (0 arguments, 1 result) */
1583  error = (luaL_loadstring(L, str) || lua_pcall(L, 0, 1, 0)) ;
1584  strpool[j+limit-first_val] = last_char;
1585  if(error) {
1587  } else {
1588  /* retrieve result */
1589  str = lua_tolstring(L, -1,&len);
1590  priv_str_room(len);
1591  for(i=0;i<len;i++){
1592  priv_append_char( (unsigned char)(*(str+i))) ;
1593  }
1594  lua_pop(L, 1); /* pop returned value */
1595  }
1596  return 0;
1597 }
1598 
1599 /* TODO: check if shell_cmd_is_allowed makes sense */
1600 int shell_cmd_is_allowed(const char *cmd, char **safecmd, char **cmdname){return 1;}
return _Result< 0 ? -1 :_Result;} #line 1069 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vsnwprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsnwprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1091 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vsnwprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format, va_list _ArgList) { return _vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);} #line 1108 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format, va_list _Args);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format, va_list _ArgList) { return _vsnwprintf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1133 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_c_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1163 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_c(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1179 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);} #line 1196 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl __vswprintf_l(wchar_t *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vswprintf_l(_Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1212 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf(wchar_t *const _Buffer, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_l(_Buffer,(size_t) -1, _Format,((void *) 0), _ArgList);} #line 1227 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswprintf(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1243 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1264 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1281 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 1283 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_p_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf_p((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1312 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswprintf_p(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, va_list _ArgList) { return _vswprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1328 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf_l(wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1347 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf(wchar_t const *const _Format, va_list _ArgList) { return _vscwprintf_l(_Format,((void *) 0), _ArgList);} #line 1361 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf_p_l(wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vswprintf_p((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1380 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vscwprintf_p(wchar_t const *const _Format, va_list _ArgList) { return _vscwprintf_p_l(_Format,((void *) 0), _ArgList);} #line 1394 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl __swprintf_l(wchar_t *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__vswprintf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1414 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1435 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf(wchar_t *const _Buffer, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__vswprintf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1454 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl swprintf(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1474 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "__swprintf_l_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl __swprintf_l(wchar_t *_Buffer, wchar_t const *_Format, _locale_t _Locale,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vswprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl __vswprintf_l(wchar_t *_Buffer, wchar_t const *_Format, _locale_t _Locale, va_list _Args);__declspec(deprecated("This function or variable may be unsafe. Consider using " "swprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _swprintf(wchar_t *_Buffer, wchar_t const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "vswprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vswprintf(wchar_t *_Buffer, wchar_t const *_Format, va_list _Args);__inline int __cdecl _swprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1511 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl swprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1532 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 1534 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_p_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_p_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1562 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_p(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1582 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_c_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1603 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swprintf_c(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1623 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwprintf_l(wchar_t *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1646 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwprintf(wchar_t *_Buffer, size_t _BufferCount, wchar_t const *_Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1668 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwprintf_s_l(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1690 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwprintf_s(wchar_t *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1711 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf_l(wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1737 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf(wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_l(_Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1755 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf_p_l(wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_p_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1774 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _scwprintf_p(wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscwprintf_p_l(_Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1792 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #pragma warning(push) #pragma warning(disable:4141 6054) #pragma warning(pop) #line 1856 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" int __cdecl __stdio_common_vswscanf(unsigned __int64 _Options, wchar_t const *_Buffer, size_t _BufferCount, wchar_t const *_Format, _locale_t _Locale, va_list _ArgList);__inline int __cdecl _vswscanf_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options()), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1897 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswscanf(wchar_t const *_Buffer, wchar_t const *_Format, va_list _ArgList) { return _vswscanf_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 1912 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vswscanf_s_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1930 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl vswscanf_s(wchar_t const *const _Buffer, wchar_t const *const _Format, va_list _ArgList) { return _vswscanf_s_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 1947 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 1949 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnwscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnwscanf_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);} #line 1976 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _vsnwscanf_s_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vswscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList);} #line 1995 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_swscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _swscanf_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2015 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "swscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl swscanf(wchar_t const *const _Buffer, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2034 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _swscanf_s_l(wchar_t const *const _Buffer, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_s_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2054 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl swscanf_s(wchar_t const *const _Buffer, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vswscanf_s_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2075 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" #line 2077 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwscanf_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2100 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snwscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snwscanf(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2122 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwscanf_s_l(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2143 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __inline int __cdecl _snwscanf_s(wchar_t const *const _Buffer, size_t const _BufferCount, wchar_t const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnwscanf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2163 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstdio.h" __pragma(pack(pop))#pragma warning(pop) #pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) typedef __int64 fpos_t;errno_t __cdecl _get_stream_buffer_pointers(FILE *_Stream, char ***_Base, char ***_Pointer, int **_Count);errno_t __cdecl clearerr_s(FILE *_Stream);errno_t __cdecl fopen_s(FILE **_Stream, char const *_FileName, char const *_Mode);size_t __cdecl fread_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);errno_t __cdecl freopen_s(FILE **_Stream, char const *_FileName, char const *_Mode, FILE *_OldStream);char *__cdecl gets_s(char *_Buffer, rsize_t _Size);errno_t __cdecl tmpfile_s(FILE **_Stream);errno_t __cdecl tmpnam_s(char *_Buffer, rsize_t _Size);#line 145 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" void __cdecl clearerr(FILE *_Stream);int __cdecl fclose(FILE *_Stream);int __cdecl _fcloseall(void);FILE *__cdecl _fdopen(int _FileHandle, char const *_Mode);int __cdecl feof(FILE *_Stream);int __cdecl ferror(FILE *_Stream);int __cdecl fflush(FILE *_Stream);int __cdecl fgetc(FILE *_Stream);int __cdecl _fgetchar(void);int __cdecl fgetpos(FILE *_Stream, fpos_t *_Position);char *__cdecl fgets(char *_Buffer, int _MaxCount, FILE *_Stream);int __cdecl _fileno(FILE *_Stream);int __cdecl _flushall(void);__declspec(deprecated("This function or variable may be unsafe. Consider using " "fopen_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) FILE *__cdecl fopen(char const *_FileName, char const *_Mode);int __cdecl fputc(int _Character, FILE *_Stream);int __cdecl _fputchar(int _Character);int __cdecl fputs(char const *_Buffer, FILE *_Stream);size_t __cdecl fread(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);__declspec(deprecated("This function or variable may be unsafe. Consider using " "freopen_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) FILE *__cdecl freopen(char const *_FileName, char const *_Mode, FILE *_Stream);FILE *__cdecl _fsopen(char const *_FileName, char const *_Mode, int _ShFlag);int __cdecl fsetpos(FILE *_Stream, fpos_t const *_Position);int __cdecl fseek(FILE *_Stream, long _Offset, int _Origin);int __cdecl _fseeki64(FILE *_Stream, __int64 _Offset, int _Origin);long __cdecl ftell(FILE *_Stream);__int64 __cdecl _ftelli64(FILE *_Stream);size_t __cdecl fwrite(void const *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);int __cdecl getc(FILE *_Stream);int __cdecl getchar(void);int __cdecl _getmaxstdio(void);int __cdecl _getw(FILE *_Stream);void __cdecl perror(char const *_ErrorMessage);int __cdecl _pclose(FILE *_Stream);FILE *__cdecl _popen(char const *_Command, char const *_Mode);#line 344 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl putc(int _Character, FILE *_Stream);int __cdecl putchar(int _Character);int __cdecl puts(char const *_Buffer);int __cdecl _putw(int _Word, FILE *_Stream);int __cdecl remove(char const *_FileName);int __cdecl rename(char const *_OldFileName, char const *_NewFileName);int __cdecl _unlink(char const *_FileName);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_unlink" ". See online help for details.")) int __cdecl unlink(char const *_FileName);#line 391 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" void __cdecl rewind(FILE *_Stream);int __cdecl _rmtmp(void);__declspec(deprecated("This function or variable may be unsafe. Consider using " "setvbuf" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) void __cdecl setbuf(FILE *_Stream, char *_Buffer);int __cdecl _setmaxstdio(int _Maximum);int __cdecl setvbuf(FILE *_Stream, char *_Buffer, int _Mode, size_t _Size);__declspec(allocator) char *__cdecl _tempnam(char const *_DirectoryName, char const *_FilePrefix);__declspec(deprecated("This function or variable may be unsafe. Consider using " "tmpfile_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) FILE *__cdecl tmpfile(void);__declspec(deprecated("This function or variable may be unsafe. Consider using " "tmpnam_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl tmpnam(char *_Buffer);int __cdecl ungetc(int _Character, FILE *_Stream);void __cdecl _lock_file(FILE *_Stream);void __cdecl _unlock_file(FILE *_Stream);int __cdecl _fclose_nolock(FILE *_Stream);int __cdecl _fflush_nolock(FILE *_Stream);int __cdecl _fgetc_nolock(FILE *_Stream);int __cdecl _fputc_nolock(int _Character, FILE *_Stream);size_t __cdecl _fread_nolock(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);size_t __cdecl _fread_nolock_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);int __cdecl _fseek_nolock(FILE *_Stream, long _Offset, int _Origin);int __cdecl _fseeki64_nolock(FILE *_Stream, __int64 _Offset, int _Origin);long __cdecl _ftell_nolock(FILE *_Stream);__int64 __cdecl _ftelli64_nolock(FILE *_Stream);size_t __cdecl _fwrite_nolock(void const *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream);int __cdecl _getc_nolock(FILE *_Stream);int __cdecl _putc_nolock(int _Character, FILE *_Stream);int __cdecl _ungetc_nolock(int _Character, FILE *_Stream);int *__cdecl __p__commode(void);#line 596 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vfprintf(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vfprintf_s(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vfprintf_p(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _ArgList);__inline int __cdecl _vfprintf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfprintf((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList);} #line 648 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfprintf(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfprintf_l(_Stream, _Format,((void *) 0), _ArgList);} #line 662 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfprintf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfprintf_s((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList);} #line 677 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfprintf_s(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfprintf_s_l(_Stream, _Format,((void *) 0), _ArgList);} #line 693 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 695 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfprintf_p_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfprintf_p((*__local_stdio_printf_options()), _Stream, _Format, _Locale, _ArgList);} #line 710 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfprintf_p(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfprintf_p_l(_Stream, _Format,((void *) 0), _ArgList);} #line 724 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfprintf_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);} #line 738 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vprintf(char const *const _Format, va_list _ArgList) { return _vfprintf_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);} #line 751 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_s_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfprintf_s_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);} #line 765 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vprintf_s(char const *const _Format, va_list _ArgList) { return _vfprintf_s_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);} #line 780 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 782 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_p_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfprintf_p_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);} #line 796 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vprintf_p(char const *const _Format, va_list _ArgList) { return _vfprintf_p_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);} #line 809 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fprintf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 828 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl fprintf(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 846 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl _set_printf_count_output(int _Value);int __cdecl _get_printf_count_output(void);__inline int __cdecl _fprintf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 871 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl fprintf_s(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 891 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 893 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fprintf_p_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 912 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fprintf_p(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 930 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 948 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl printf(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 965 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_s_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 983 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl printf_s(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_s_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1002 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1004 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_p_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l((__acrt_iob_func(1)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1022 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _printf_p(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfprintf_p_l((__acrt_iob_func(1)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1039 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vfscanf(unsigned __int64 _Options, FILE *_Stream, char const *_Format, _locale_t _Locale, va_list _Arglist);__inline int __cdecl _vfscanf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfscanf((*__local_stdio_scanf_options()), _Stream, _Format, _Locale, _ArgList);} #line 1070 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfscanf(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfscanf_l(_Stream, _Format,((void *) 0), _ArgList);} #line 1084 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vfscanf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vfscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Stream, _Format, _Locale, _ArgList);} #line 1101 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vfscanf_s(FILE *const _Stream, char const *const _Format, va_list _ArgList) { return _vfscanf_s_l(_Stream, _Format,((void *) 0), _ArgList);} #line 1118 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1120 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscanf_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfscanf_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);} #line 1134 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vscanf(char const *const _Format, va_list _ArgList) { return _vfscanf_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);} #line 1147 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscanf_s_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vfscanf_s_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);} #line 1161 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vscanf_s(char const *const _Format, va_list _ArgList) { return _vfscanf_s_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);} #line 1176 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1178 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_fscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _fscanf_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1197 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "fscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl fscanf(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1215 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _fscanf_s_l(FILE *const _Stream, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l(_Stream, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1234 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl fscanf_s(FILE *const _Stream, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l(_Stream, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1254 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1256 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_scanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _scanf_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1274 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "scanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl scanf(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1291 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scanf_s_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l((__acrt_iob_func(0)), _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1309 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl scanf_s(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vfscanf_s_l((__acrt_iob_func(0)), _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1328 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1330 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vsprintf(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vsprintf_s(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vsnprintf_s(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, size_t _MaxCount, char const *_Format, _locale_t _Locale, va_list _ArgList);int __cdecl __stdio_common_vsprintf_p(unsigned __int64 _Options, char *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsnprintf_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1399 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1415 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsnprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options())|(1ULL<< 1), _Buffer, _BufferCount, _Format,((void *) 0), _ArgList);return _Result< 0 ? -1 :_Result;} #line 1446 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _vsprintf_l(char *const _Buffer, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return _vsnprintf_l(_Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 1462 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "vsprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl vsprintf(char *const _Buffer, char const *const _Format, va_list _ArgList) { return _vsnprintf_l(_Buffer,(size_t) -1, _Format,((void *) 0), _ArgList);} #line 1477 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsprintf_s_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1498 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsprintf_s(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1516 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1526 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsprintf_p_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf_p((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1547 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsprintf_p(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1563 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_s_l(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsnprintf_s((*__local_stdio_printf_options()), _Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1585 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_s(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);} #line 1602 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsnprintf_s(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);} #line 1630 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1641 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1659 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf(char const *const _Format, va_list _ArgList) { return _vscprintf_l(_Format,((void *) 0), _ArgList);} #line 1672 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf_p_l(char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf_p((*__local_stdio_printf_options())|(1ULL<< 1),((void *) 0), 0, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1690 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vscprintf_p(char const *const _Format, va_list _ArgList) { return _vscprintf_p_l(_Format,((void *) 0), _ArgList);} #line 1703 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_c_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { int const _Result=__stdio_common_vsprintf((*__local_stdio_printf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);return _Result< 0 ? -1 :_Result;} #line 1723 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsnprintf_c(char *const _Buffer, size_t const _BufferCount, char const *const _Format, va_list _ArgList) { return _vsnprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);} #line 1739 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_sprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _sprintf_l(char *const _Buffer, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1761 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl sprintf(char *const _Buffer, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1782 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "sprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl sprintf(char *_Buffer, char const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "vsprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl vsprintf(char *_Buffer, char const *_Format, va_list _Args);__inline int __cdecl _sprintf_s_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_s_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1810 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl sprintf_s(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_s_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1832 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 1834 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _sprintf_p_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_p_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1862 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _sprintf_p(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsprintf_p_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1882 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snprintf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snprintf_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1905 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl snprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=vsnprintf(_Buffer, _BufferCount, _Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1936 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf(_Buffer, _BufferCount, _Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1956 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl _snprintf(char *_Buffer, size_t _BufferCount, char const *_Format,...);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_vsnprintf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) int __cdecl _vsnprintf(char *_Buffer, size_t _BufferCount, char const *_Format, va_list _Args);__inline int __cdecl _snprintf_c_l(char *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_c_l(_Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 1986 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf_c(char *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_c_l(_Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2006 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf_s_l(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2028 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snprintf_s(char *const _Buffer, size_t const _BufferCount, size_t const _MaxCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsnprintf_s_l(_Buffer, _BufferCount, _MaxCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2049 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2075 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_l(_Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2092 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf_p_l(char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_p_l(_Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2110 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _scprintf_p(char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vscprintf_p(_Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2127 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" int __cdecl __stdio_common_vsscanf(unsigned __int64 _Options, char const *_Buffer, size_t _BufferCount, char const *_Format, _locale_t _Locale, va_list _ArgList);__inline int __cdecl _vsscanf_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vsscanf((*__local_stdio_scanf_options()), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 2158 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl vsscanf(char const *const _Buffer, char const *const _Format, va_list _ArgList) { return _vsscanf_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 2172 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _vsscanf_s_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale, va_list _ArgList) { return __stdio_common_vsscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer,(size_t) -1, _Format, _Locale, _ArgList);} #line 2189 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(push) #pragma warning(disable:6530) __inline int __cdecl vsscanf_s(char const *const _Buffer, char const *const _Format, va_list _ArgList) { return _vsscanf_s_l(_Buffer, _Format,((void *) 0), _ArgList);} #line 2208 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(pop) #line 2219 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_sscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _sscanf_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsscanf_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2238 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "sscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl sscanf(char const *const _Buffer, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsscanf_l(_Buffer, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2256 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _sscanf_s_l(char const *const _Buffer, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=_vsscanf_s_l(_Buffer, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2275 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl sscanf_s(char const *const _Buffer, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=vsscanf_s(_Buffer, _Format, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2297 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #line 2299 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(push) #pragma warning(disable:6530) __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snscanf_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snscanf_l(char const *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options()), _Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2326 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "_snscanf_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) __inline int __cdecl _snscanf(char const *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options()), _Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2349 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snscanf_s_l(char const *const _Buffer, size_t const _BufferCount, char const *const _Format, _locale_t const _Locale,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Locale))+((sizeof(_Locale)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format, _Locale, _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2374 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" __inline int __cdecl _snscanf_s(char const *const _Buffer, size_t const _BufferCount, char const *const _Format,...) { int _Result;va_list _ArgList;((void)(_ArgList=(va_list)(&(_Format))+((sizeof(_Format)+sizeof(int) - 1) &~(sizeof(int) - 1)))) ;_Result=__stdio_common_vsscanf((*__local_stdio_scanf_options())|(1ULL<< 0), _Buffer, _BufferCount, _Format,((void *) 0), _ArgList);((void)(_ArgList=(va_list) 0)) ;return _Result;} #line 2397 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h" #pragma warning(pop) __declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_tempnam" ". See online help for details.")) char *__cdecl tempnam(char const *_Directory, char const *_FilePrefix);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fcloseall" ". See online help for details.")) int __cdecl fcloseall(void);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fdopen" ". See online help for details.")) FILE *__cdecl fdopen(int _FileHandle, char const *_Format);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fgetchar" ". See online help for details.")) int __cdecl fgetchar(void);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fileno" ". See online help for details.")) int __cdecl fileno(FILE *_Stream);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_flushall" ". See online help for details.")) int __cdecl flushall(void);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_fputchar" ". See online help for details.")) int __cdecl fputchar(int _Ch);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_getw" ". See online help for details.")) int __cdecl getw(FILE *_Stream);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_putw" ". See online help for details.")) int __cdecl putw(int _Ch, FILE *_Stream);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_rmtmp" ". See online help for details.")) int __cdecl rmtmp(void);#line 2441 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\stdio.h"__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma once#pragma once#pragma once#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) int *__cdecl _errno(void);errno_t __cdecl _set_errno(int _Value);errno_t __cdecl _get_errno(int *_Value);unsigned long *__cdecl __doserrno(void);errno_t __cdecl _set_doserrno(unsigned long _Value);errno_t __cdecl _get_doserrno(unsigned long *_Value);__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4514 4820) __pragma(pack(push, 8)) void *__cdecl memchr(void const *_Buf, int _Val, size_t _MaxCount);int __cdecl memcmp(void const *_Buf1, void const *_Buf2, size_t _Size);void *__cdecl memcpy(void *_Dst, void const *_Src, size_t _Size);void *__cdecl memmove(void *_Dst, void const *_Src, size_t _Size);void *__cdecl memset(void *_Dst, int _Val, size_t _Size);char *__cdecl strchr(char const *_Str, int _Val);char *__cdecl strrchr(char const *_Str, int _Ch);char *__cdecl strstr(char const *_Str, char const *_SubStr);wchar_t *__cdecl wcschr(wchar_t const *_Str, wchar_t _Ch);wchar_t *__cdecl wcsrchr(wchar_t const *_Str, wchar_t _Ch);wchar_t *__cdecl wcsstr(wchar_t const *_Str, wchar_t const *_SubStr);__pragma(pack(pop))#pragma warning(pop) #pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) static __inline errno_t __cdecl memcpy_s(void *const _Destination, rsize_t const _DestinationSize, void const *const _Source, rsize_t const _SourceSize) { if(_SourceSize==0) { return 0;} { int _Expr_val=!!(_Destination !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;if(_Source==((void *) 0)||_DestinationSize< _SourceSize) { memset(_Destination, 0, _DestinationSize);{ int _Expr_val=!!(_Source !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;{ int _Expr_val=!!(_DestinationSize >=_SourceSize);if(!(_Expr_val)) {(*_errno())=34;_invalid_parameter_noinfo();return 34;} } ;return 22 ;} memcpy(_Destination, _Source, _SourceSize);return 0;} static __inline errno_t __cdecl memmove_s(void *const _Destination, rsize_t const _DestinationSize, void const *const _Source, rsize_t const _SourceSize) { if(_SourceSize==0) { return 0;} { int _Expr_val=!!(_Destination !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;{ int _Expr_val=!!(_Source !=((void *) 0));if(!(_Expr_val)) {(*_errno())=22;_invalid_parameter_noinfo();return 22;} } ;{ int _Expr_val=!!(_DestinationSize >=_SourceSize);if(!(_Expr_val)) {(*_errno())=34;_invalid_parameter_noinfo();return 34;} } ;memmove(_Destination, _Source, _SourceSize);return 0;}#pragma warning(pop) __pragma(pack(pop))#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) int __cdecl _memicmp(void const *_Buf1, void const *_Buf2, size_t _Size);int __cdecl _memicmp_l(void const *_Buf1, void const *_Buf2, size_t _Size, _locale_t _Locale);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_memccpy" ". See online help for details.")) void *__cdecl memccpy(void *_Dst, void const *_Src, int _Val, size_t _Size);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_memicmp" ". See online help for details.")) int __cdecl memicmp(void const *_Buf1, void const *_Buf2, size_t _Size);__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) errno_t __cdecl wcscat_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source);errno_t __cdecl wcscpy_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source);errno_t __cdecl wcsncat_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source, rsize_t _MaxCount);errno_t __cdecl wcsncpy_s(wchar_t *_Destination, rsize_t _SizeInWords, wchar_t const *_Source, rsize_t _MaxCount);wchar_t *__cdecl wcstok_s(wchar_t *_String, wchar_t const *_Delimiter, wchar_t **_Context);__declspec(allocator) wchar_t *__cdecl _wcsdup(wchar_t const *_String);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcscat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcscat(wchar_t *_Destination, wchar_t const *_Source);int __cdecl wcscmp(wchar_t const *_String1, wchar_t const *_String2);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcscpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcscpy(wchar_t *_Destination, wchar_t const *_Source);size_t __cdecl wcscspn(wchar_t const *_String, wchar_t const *_Control);size_t __cdecl wcslen(wchar_t const *_String);size_t __cdecl wcsnlen(wchar_t const *_Source, size_t _MaxCount);static __inline size_t __cdecl wcsnlen_s(wchar_t const *_Source, size_t _MaxCount) { return(_Source==0) ? 0 :wcsnlen(_Source, _MaxCount);}__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcsncat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcsncat(wchar_t *_Destination, wchar_t const *_Source, size_t _Count);int __cdecl wcsncmp(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcsncpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcsncpy(wchar_t *_Destination, wchar_t const *_Source, size_t _Count);wchar_t *__cdecl wcspbrk(wchar_t const *_String, wchar_t const *_Control);size_t __cdecl wcsspn(wchar_t const *_String, wchar_t const *_Control);__declspec(deprecated("This function or variable may be unsafe. Consider using " "wcstok_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl wcstok(wchar_t *_String, wchar_t const *_Delimiter, wchar_t **_Context);#line 237 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\corecrt_wstring.h" __declspec(deprecated("This function or variable may be unsafe. Consider using " "wcstok_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) static __inline wchar_t *__cdecl _wcstok(wchar_t *const _String, wchar_t const *const _Delimiter) { return wcstok(_String, _Delimiter, 0);} __declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcserror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcserror(int _ErrorNumber);errno_t __cdecl _wcserror_s(wchar_t *_Buffer, size_t _SizeInWords, int _ErrorNumber);__declspec(deprecated("This function or variable may be unsafe. Consider using " "__wcserror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl __wcserror(wchar_t const *_String);errno_t __cdecl __wcserror_s(wchar_t *_Buffer, size_t _SizeInWords, wchar_t const *_ErrorMessage);int __cdecl _wcsicmp(wchar_t const *_String1, wchar_t const *_String2);int __cdecl _wcsicmp_l(wchar_t const *_String1, wchar_t const *_String2, _locale_t _Locale);int __cdecl _wcsnicmp(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);int __cdecl _wcsnicmp_l(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount, _locale_t _Locale);errno_t __cdecl _wcsnset_s(wchar_t *_Destination, size_t _SizeInWords, wchar_t _Value, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsnset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsnset(wchar_t *_String, wchar_t _Value, size_t _MaxCount);wchar_t *__cdecl _wcsrev(wchar_t *_String);errno_t __cdecl _wcsset_s(wchar_t *_Destination, size_t _SizeInWords, wchar_t _Value);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsset(wchar_t *_String, wchar_t _Value);errno_t __cdecl _wcslwr_s(wchar_t *_String, size_t _SizeInWords);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcslwr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcslwr(wchar_t *_String);errno_t __cdecl _wcslwr_s_l(wchar_t *_String, size_t _SizeInWords, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcslwr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcslwr_l(wchar_t *_String, _locale_t _Locale);errno_t __cdecl _wcsupr_s(wchar_t *_String, size_t _Size);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsupr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsupr(wchar_t *_String);errno_t __cdecl _wcsupr_s_l(wchar_t *_String, size_t _Size, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_wcsupr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) wchar_t *__cdecl _wcsupr_l(wchar_t *_String, _locale_t _Locale);size_t __cdecl wcsxfrm(wchar_t *_Destination, wchar_t const *_Source, size_t _MaxCount);size_t __cdecl _wcsxfrm_l(wchar_t *_Destination, wchar_t const *_Source, size_t _MaxCount, _locale_t _Locale);int __cdecl wcscoll(wchar_t const *_String1, wchar_t const *_String2);int __cdecl _wcscoll_l(wchar_t const *_String1, wchar_t const *_String2, _locale_t _Locale);int __cdecl _wcsicoll(wchar_t const *_String1, wchar_t const *_String2);int __cdecl _wcsicoll_l(wchar_t const *_String1, wchar_t const *_String2, _locale_t _Locale);int __cdecl _wcsncoll(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);int __cdecl _wcsncoll_l(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount, _locale_t _Locale);int __cdecl _wcsnicoll(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);int __cdecl _wcsnicoll_l(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount, _locale_t _Locale);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsdup" ". See online help for details.")) wchar_t *__cdecl wcsdup(wchar_t const *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsicmp" ". See online help for details.")) int __cdecl wcsicmp(wchar_t const *_String1, wchar_t const *_String2);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsnicmp" ". See online help for details.")) int __cdecl wcsnicmp(wchar_t const *_String1, wchar_t const *_String2, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsnset" ". See online help for details.")) wchar_t *__cdecl wcsnset(wchar_t *_String, wchar_t _Value, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsrev" ". See online help for details.")) wchar_t *__cdecl wcsrev(wchar_t *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsset" ". See online help for details.")) wchar_t *__cdecl wcsset(wchar_t *_String, wchar_t _Value);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcslwr" ". See online help for details.")) wchar_t *__cdecl wcslwr(wchar_t *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsupr" ". See online help for details.")) wchar_t *__cdecl wcsupr(wchar_t *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_wcsicoll" ". See online help for details.")) int __cdecl wcsicoll(wchar_t const *_String1, wchar_t const *_String2);__pragma(pack(pop))#pragma warning(pop) #pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) __pragma(pack(push, 8)) errno_t __cdecl strcpy_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source);errno_t __cdecl strcat_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source);errno_t __cdecl strerror_s(char *_Buffer, size_t _SizeInBytes, int _ErrorNumber);errno_t __cdecl strncat_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source, rsize_t _MaxCount);errno_t __cdecl strncpy_s(char *_Destination, rsize_t _SizeInBytes, char const *_Source, rsize_t _MaxCount);char *__cdecl strtok_s(char *_String, char const *_Delimiter, char **_Context);void *__cdecl _memccpy(void *_Dst, void const *_Src, int _Val, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strcat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strcat(char *_Destination, char const *_Source);int __cdecl strcmp(char const *_Str1, char const *_Str2);int __cdecl _strcmpi(char const *_String1, char const *_String2);int __cdecl strcoll(char const *_String1, char const *_String2);int __cdecl _strcoll_l(char const *_String1, char const *_String2, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strcpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strcpy(char *_Destination, char const *_Source);size_t __cdecl strcspn(char const *_Str, char const *_Control);__declspec(allocator) char *__cdecl _strdup(char const *_Source);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strerror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strerror(char const *_ErrorMessage);errno_t __cdecl _strerror_s(char *_Buffer, size_t _SizeInBytes, char const *_ErrorMessage);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strerror_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strerror(int _ErrorMessage);int __cdecl _stricmp(char const *_String1, char const *_String2);int __cdecl _stricoll(char const *_String1, char const *_String2);int __cdecl _stricoll_l(char const *_String1, char const *_String2, _locale_t _Locale);int __cdecl _stricmp_l(char const *_String1, char const *_String2, _locale_t _Locale);size_t __cdecl strlen(char const *_Str);errno_t __cdecl _strlwr_s(char *_String, size_t _Size);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strlwr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strlwr(char *_String);errno_t __cdecl _strlwr_s_l(char *_String, size_t _Size, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strlwr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strlwr_l(char *_String, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strncat_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strncat(char *_Destination, char const *_Source, size_t _Count);int __cdecl strncmp(char const *_Str1, char const *_Str2, size_t _MaxCount);int __cdecl _strnicmp(char const *_String1, char const *_String2, size_t _MaxCount);int __cdecl _strnicmp_l(char const *_String1, char const *_String2, size_t _MaxCount, _locale_t _Locale);int __cdecl _strnicoll(char const *_String1, char const *_String2, size_t _MaxCount);int __cdecl _strnicoll_l(char const *_String1, char const *_String2, size_t _MaxCount, _locale_t _Locale);int __cdecl _strncoll(char const *_String1, char const *_String2, size_t _MaxCount);int __cdecl _strncoll_l(char const *_String1, char const *_String2, size_t _MaxCount, _locale_t _Locale);size_t __cdecl __strncnt(char const *_String, size_t _Count);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strncpy_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strncpy(char *_Destination, char const *_Source, size_t _Count);size_t __cdecl strnlen(char const *_String, size_t _MaxCount);static __inline size_t __cdecl strnlen_s(char const *_String, size_t _MaxCount) { return _String==0 ? 0 :strnlen(_String, _MaxCount);} errno_t __cdecl _strnset_s(char *_String, size_t _SizeInBytes, int _Value, size_t _MaxCount);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strnset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strnset(char *_Destination, int _Value, size_t _Count);char *__cdecl strpbrk(char const *_Str, char const *_Control);char *__cdecl _strrev(char *_Str);errno_t __cdecl _strset_s(char *_Destination, size_t _DestinationSize, int _Value);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strset_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strset(char *_Destination, int _Value);size_t __cdecl strspn(char const *_Str, char const *_Control);__declspec(deprecated("This function or variable may be unsafe. Consider using " "strtok_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl strtok(char *_String, char const *_Delimiter);errno_t __cdecl _strupr_s(char *_String, size_t _Size);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strupr_s" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strupr(char *_String);errno_t __cdecl _strupr_s_l(char *_String, size_t _Size, _locale_t _Locale);__declspec(deprecated("This function or variable may be unsafe. Consider using " "_strupr_s_l" " instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. " "See online help for details.")) char *__cdecl _strupr_l(char *_String, _locale_t _Locale);size_t __cdecl strxfrm(char *_Destination, char const *_Source, size_t _MaxCount);size_t __cdecl _strxfrm_l(char *_Destination, char const *_Source, size_t _MaxCount, _locale_t _Locale);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strdup" ". See online help for details.")) char *__cdecl strdup(char const *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strcmpi" ". See online help for details.")) int __cdecl strcmpi(char const *_String1, char const *_String2);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_stricmp" ". See online help for details.")) int __cdecl stricmp(char const *_String1, char const *_String2);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strlwr" ". See online help for details.")) char *__cdecl strlwr(char *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strnicmp" ". See online help for details.")) int __cdecl strnicmp(char const *_String1, char const *_String2, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strnset" ". See online help for details.")) char *__cdecl strnset(char *_String, int _Value, size_t _MaxCount);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strrev" ". See online help for details.")) char *__cdecl strrev(char *_String);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strset" ". See online help for details.")) char *__cdecl strset(char *_String, int _Value);__declspec(deprecated("The POSIX name for this item is deprecated. Instead, use the ISO C " "and C++ conformant name: " "_strupr" ". See online help for details.")) char *__cdecl strupr(char *_String);__pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4514 4820) __pragma(pack(push, 8)) __pragma(pack(pop))#pragma warning(pop) #pragma once#pragma warning(push)#pragma warning(disable:4324 4514 4574 4710 4793 4820 4995 4996 28719 28726 28727) typedef unsigned short _ino_t;typedef _ino_t ino_t;#line 24 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\sys/types.h" typedef unsigned int _dev_t;typedef _dev_t dev_t;#line 36 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\sys/types.h" typedef long _off_t;typedef _off_t off_t;#line 48 "C:/Program Files (x86)/Windows Kits/10/include/10.0.19041.0/ucrt\\sys/types.h"#pragma warning(pop) typedef char *sds;#pragma pack(push, 1) struct sdshdr5 { unsigned char flags;char buf[];};struct sdshdr8 { uint8_t len;uint8_t alloc;unsigned char flags;char buf[];};struct sdshdr16 { uint16_t len;uint16_t alloc;unsigned char flags;char buf[];};struct sdshdr32 { uint32_t len;uint32_t alloc;unsigned char flags;char buf[];};struct sdshdr64 { uint64_t len;uint64_t alloc;unsigned char flags;char buf[];};#pragma pack(pop) static inline size_t sdslen(const sds s) { unsigned char flags=s[-1];switch(flags &7) { case 0 :return((flags) >> 3) ;case 1 :return((struct sdshdr8 *)((s) -(sizeof(struct sdshdr8)))) ->len;case 2 :return((struct sdshdr16 *)((s) -(sizeof(struct sdshdr16)))) ->len;case 3 :return((struct sdshdr32 *)((s) -(sizeof(struct sdshdr32)))) ->len;case 4 :return((struct sdshdr64 *)((s) -(sizeof(struct sdshdr64)))) ->len;} return 0;}static inline size_t sdsavail(const sds s) { unsigned char flags=s[-1];switch(flags &7) { case 0 :{ return 0;} case 1 :{ struct sdshdr8 *sh=(void *)((s) -(sizeof(struct sdshdr8)));;return sh->alloc - sh->len;} case 2 :{ struct sdshdr16 *sh=(void *)((s) -(sizeof(struct sdshdr16)));;return sh->alloc - sh->len;} case 3 :{ struct sdshdr32 *sh=(void *)((s) -(sizeof(struct sdshdr32)));;return sh->alloc - sh->len;} case 4 :{ struct sdshdr64 *sh=(void *)((s) -(sizeof(struct sdshdr64)));;return sh->alloc - sh->len;} } return 0;}static inline void sdssetlen(sds s, size_t newlen) { unsigned char flags=s[-1];switch(flags &7) { case 0 :{ unsigned char *fp=((unsigned char *) s) - 1;*fp=0|(newlen<< 3);} break;case 1 :((struct sdshdr8 *)((s) -(sizeof(struct sdshdr8)))) ->len=(uint8_t) newlen;break;case 2 :((struct sdshdr16 *)((s) -(sizeof(struct sdshdr16)))) ->len=(uint16_t) newlen;break;case 3 :((struct sdshdr32 *)((s) -(sizeof(struct sdshdr32)))) -> len
Definition: CPAL.d:15583
q
Definition: afm2pl.c:2287
#define y0
#define x0
#define free(a)
Definition: decNumber.cpp:310
int h
Definition: dviconv.c:9
unsigned short halfword
Definition: dvips.h:68
int printf()
char * strcpy()
#define BANNER
Definition: dvidvi.c:37
#define error(a)
Definition: dviinfo.c:48
#define lua_absindex(L, idx)
Definition: ffi.h:82
static constexpr int octant(const double x, const double y)
Definition: fillpoly.cpp:102
#define s
Definition: afcover.h:80
#define c(n)
Definition: gpos-common.c:150
int last_char
Definition: hbf2gf.c:340
#define NULL
Definition: ftobjs.h:61
small capitals from c petite p
Definition: afcover.h:72
small capitals from c petite p scientific i
Definition: afcover.h:80
kerning y
Definition: ttdriver.c:212
@ kpse_lua_format
Definition: types.h:154
#define fprintf
Definition: mendex.h:64
#define roundunscaled(i)
Definition: cpascal.h:60
#define malloc
Definition: alloca.c:91
#define size_t
Definition: glob.c:257
#define MFLUA_VERSION
Definition: mflua_version.h:1
#define priv_append_char(c)
Definition: mfluac.c:1554
int shellenabledp
Definition: mfluac.c:29
int mfluaPREfillspeclhs(halfword lhs)
Definition: mfluac.c:1290
static int priv_mfweb_LUAGLOBALGET_vppp(lua_State *L)
Definition: mfluac.c:424
int mfluaendprogram(void)
Definition: mfluac.c:810
int mfluaPOSTmovetoedges(halfword lhs)
Definition: mfluac.c:1359
static int priv_mfweb_LUAGLOBALGET_char_ic(lua_State *L)
Definition: mfluac.c:389
#define turning_check
Definition: mfluac.c:352
int restrictedshell
Definition: mfluac.c:30
int mfluaPREmovetoedges(halfword lhs)
Definition: mfluac.c:1337
#define char_ht
Definition: mfluac.c:334
static int priv_mfweb_info(lua_State *L)
Definition: mfluac.c:102
static lua_State * Luas[1]
Definition: mfluac.c:37
static int priv_mfweb_LUAGLOBALGET_char_dx(lua_State *L)
Definition: mfluac.c:396
static int priv_mfweb_LUAGLOBALGET_fillin(lua_State *L)
Definition: mfluac.c:452
#define lua_swap(L)
Definition: mfluac.c:688
int mfluaPOSTfillspecrhs(halfword rhs)
Definition: mfluac.c:1269
#define left_x(p)
Definition: mfluac.c:155
static int priv_mfweb_LUAGLOBALGET_hppp(lua_State *L)
Definition: mfluac.c:417
int mfluaPREfillspecrhs(halfword rhs)
Definition: mfluac.c:1248
#define vppp
Definition: mfluac.c:341
#define hppp
Definition: mfluac.c:340
static int priv_mfweb_right_x(lua_State *L)
Definition: mfluac.c:180
static int priv_mfweb_LUAGLOBALGET_char_ext(lua_State *L)
Definition: mfluac.c:363
int mfluaPREstartofMF(void)
Definition: mfluac.c:832
static int priv_mfweb_right_type(lua_State *L)
Definition: mfluac.c:145
int mfluaprintpath(halfword h, strnumber s, boolean nuline)
Definition: mfluac.c:969
static int priv_mfweb_link(lua_State *L)
Definition: mfluac.c:92
#define x_offset
Definition: mfluac.c:342
static int priv_mfweb_left_x(lua_State *L)
Definition: mfluac.c:156
#define right_type(p)
Definition: mfluac.c:144
#define boundary_char
Definition: mfluac.c:354
static int priv_mfweb_LUAGLOBALGET_granularity(lua_State *L)
Definition: mfluac.c:445
int mfluaPREmakespeclhs(halfword lhs)
Definition: mfluac.c:1112
int mfluabeginprogram(void)
Definition: mfluac.c:700
#define right_y(p)
Definition: mfluac.c:190
#define left_y(p)
Definition: mfluac.c:167
int mfluaPOSTfinalcleanup(void)
Definition: mfluac.c:916
int mfluaPOSTmakechoices(halfword p)
Definition: mfluac.c:1404
#define y_coord(p)
Definition: mfluac.c:123
int mfluaPREfillenvelopelhs(halfword lhs)
Definition: mfluac.c:1202
#define char_ext
Definition: mfluac.c:332
static int priv_mflua_otf_dump(lua_State *L)
Definition: mfluac.c:525
int mfluaPOSTmaincontrol(void)
Definition: mfluac.c:873
static int priv_mflua_version(lua_State *L)
Definition: mfluac.c:473
#define GETGLOBALTABLEMFLUA(a)
Definition: mfluac.c:690
static int priv_mfweb_y_coord(lua_State *L)
Definition: mfluac.c:124
int mfluaPREmakeellipse(integer major_axis, integer minor_axis, integer theta_angle, integer tx_val, integer ty_val, integer q)
Definition: mfluac.c:1452
#define link_field(p)
Definition: mfluac.c:91
int mfluaPOSTmakespecrhs(halfword rhs)
Definition: mfluac.c:1090
static const struct luaL_Reg MFbuiltin_l[]
Definition: mfluac.c:641
#define info_field(p)
Definition: mfluac.c:101
static int priv_mfweb_LUAGLOBALGET_y_offset(lua_State *L)
Definition: mfluac.c:438
#define y_offset
Definition: mfluac.c:343
int mfluaPOSToffsetprep(halfword c, halfword h)
Definition: mfluac.c:1045
static int priv_mfweb_LUAGLOBALGET_char_wd(lua_State *L)
Definition: mfluac.c:371
int mfluaPOSTfillenveloperhs(halfword rhs)
Definition: mfluac.c:1179
static int priv_mfweb_LUAGLOBALGET_x_offset(lua_State *L)
Definition: mfluac.c:431
int mfluaPOSTfillspeclhs(halfword lhs)
Definition: mfluac.c:1313
#define right_x(p)
Definition: mfluac.c:179
#define char_dx
Definition: mfluac.c:337
int mfluaPREoffsetprep(halfword c, halfword h)
Definition: mfluac.c:1021
int mfluaPREmaincontrol(void)
Definition: mfluac.c:853
static int priv_mflua_otf_build(lua_State *L)
Definition: mfluac.c:580
int mfluaprintedges(strnumber s, boolean nuline, integer xoff, integer yoff)
Definition: mfluac.c:993
int mfluaPOSTfillenvelopelhs(halfword lhs)
Definition: mfluac.c:1225
int mfluarunscript(halfword j, halfword first_val, halfword limit)
Definition: mfluac.c:1569
#define char_wd
Definition: mfluac.c:333
int otfcc_build(int argc, char *argv[])
Definition: luafunc.c:143
static int priv_mfweb_right_y(lua_State *L)
Definition: mfluac.c:191
#define char_ic
Definition: mfluac.c:336
#define left_type(p)
Definition: mfluac.c:134
static int priv_mfweb_LUAGLOBALGET_turning_check(lua_State *L)
Definition: mfluac.c:459
#define char_dy
Definition: mfluac.c:338
int mfluaPREmakechoices(halfword p)
Definition: mfluac.c:1381
static int priv_mfweb_LUAGLOBALGET_cur_pen(lua_State *L)
Definition: mfluac.c:272
#define x_coord(p)
Definition: mfluac.c:112
static int priv_mfweb_LUAGLOBALGET_boundary_char(lua_State *L)
Definition: mfluac.c:466
#define fillin
Definition: mfluac.c:351
int otfcc_dump(int argc, char *argv[])
Definition: luafunc.c:351
int mfluainitialize(void)
Definition: mfluac.c:895
static int priv_mfweb_x_coord(lua_State *L)
Definition: mfluac.c:113
static int priv_mfweb_LUAGLOBALGET_char_dy(lua_State *L)
Definition: mfluac.c:403
#define char_dp
Definition: mfluac.c:335
static int priv_mfweb_LUAGLOBALGET_turning_number(lua_State *L)
Definition: mfluac.c:302
int mfluaPOSTmakeellipse(integer major_axis, integer minor_axis, integer mfl_theta, integer mfl_tx, integer mfl_ty, integer q)
Definition: mfluac.c:1480
static int priv_mfweb_LUAGLOBALGET_octant(lua_State *L)
Definition: mfluac.c:288
static int priv_mfweb_LUAGLOBALGET_cur_edges(lua_State *L)
Definition: mfluac.c:232
static int priv_mfweb_LUAGLOBALGET_char_dp(lua_State *L)
Definition: mfluac.c:383
static struct luaL_Reg mflua_otfcc[]
Definition: mfluac.c:681
static int priv_mfweb_LUAGLOBALGET_char_code(lua_State *L)
Definition: mfluac.c:357
#define priv_str_room(l)
Definition: mfluac.c:1559
#define granularity
Definition: mfluac.c:350
int mfluaPREfillenveloperhs(halfword rhs)
Definition: mfluac.c:1156
static int priv_mflua_banner(lua_State *L)
Definition: mfluac.c:479
int mfluaprinttransitionlinefrom(integer x, integer y)
Definition: mfluac.c:1507
int mfluaPREmakespecrhs(halfword rhs)
Definition: mfluac.c:1068
int mfluaprintretrogradeline(integer x0, integer y0, integer cur_x, integer cur_y)
Definition: mfluac.c:1427
static int priv_mfweb_n_sin_cos(lua_State *L)
Definition: mfluac.c:214
static void priv_lua_reporterrors(lua_State *L, int status)
Definition: mfluac.c:72
static int priv_mfweb_LUAGLOBALGET_char_ht(lua_State *L)
Definition: mfluac.c:377
int mfluaPOSTmakespeclhs(halfword lhs)
Definition: mfluac.c:1133
static int priv_mfweb_left_type(lua_State *L)
Definition: mfluac.c:135
static int priv_mfweb_LUAGLOBALGET_cur_exp(lua_State *L)
Definition: mfluac.c:243
int shell_cmd_is_allowed(const char *cmd, char **safecmd, char **cmdname)
Definition: mfluac.c:1600
int mfluaprinttransitionlineto(integer x, integer y)
Definition: mfluac.c:1530
#define design_size
Definition: mfluac.c:339
static int priv_mfweb_LUAGLOBALGET_designsize(lua_State *L)
Definition: mfluac.c:410
#define char_code
Definition: mfluac.c:331
static int priv_mfweb_LUAGLOBALGET_mem_top(lua_State *L)
Definition: mfluac.c:258
static int priv_mfweb_left_y(lua_State *L)
Definition: mfluac.c:168
int luaopen_kpse(lua_State *L)
Definition: lkpselib.c:928
#define cmd(arg)
Definition: mitsu.h:44
#define EXIT
Definition: mkind.h:185
float x
Definition: cordic.py:15
integer strnumber
Definition: omega-pool.h:4
packedASCIIcode * strpool
int k
Definition: otp-parser.c:70
int integer
Definition: pbmtopk.c:38
#define res(length)
Definition: picttoppm.c:287
#define status
static void luaL_register(lua_State *L, const char *libname, const luaL_Reg *l)
Definition: minilua.c:5995
#define lua_setglobal(L, s)
Definition: minilua.c:189
int luaJIT_setmode(lua_State *L, int idx, int mode)
Definition: lj_dispatch.c:239
#define lua_getglobal(L, s)
Definition: lua.h:280
#define LUAJIT_MODE_OFF
Definition: luajit.h:58
@ LUAJIT_MODE_ENGINE
Definition: luajit.h:43
int lua_gettop(lua_State *L)
Definition: lapi.c:167
void lua_pushinteger(lua_State *L, lua_Integer n)
Definition: lapi.c:466
void lua_len(lua_State *L, int idx)
Definition: lapi.c:1156
void lua_concat(lua_State *L, int n)
Definition: lapi.c:1140
void lua_pushnumber(lua_State *L, lua_Number n)
Definition: lapi.c:458
const char * lua_typename(lua_State *L, int t)
Definition: lapi.c:257
int lua_type(lua_State *L, int idx)
Definition: lapi.c:251
void lua_settop(lua_State *L, int idx)
Definition: lapi.c:172
const char * lua_pushstring(lua_State *L, const char *s)
Definition: lapi.c:491
const char * lua_tolstring(lua_State *L, int idx, size_t *len)
Definition: lapi.c:373
void lua_settable(lua_State *L, int idx)
Definition: lapi.c:766
int lua_getfield(lua_State *L, int idx, const char *k)
Definition: lapi.c:622
int lua_gettable(lua_State *L, int idx)
Definition: lapi.c:612
int lua_geti(lua_State *L, int idx, lua_Integer n)
Definition: lapi.c:628
int luaL_callmeta(lua_State *L, int obj, const char *event)
Definition: lauxlib.c:788
int luaL_error(lua_State *L, const char *fmt,...)
Definition: lauxlib.c:223
int luaL_loadstring(lua_State *L, const char *s)
Definition: lauxlib.c:764
lua_State * luaL_newstate(void)
Definition: lauxlib.c:1031
#define luaL_loadfile(L, f)
Definition: lauxlib.h:86
#define luaL_newlib(L, l)
Definition: lauxlib.h:119
void luaL_openlibs(lua_State *L)
Definition: linit.c:60
#define lua_istable(L, n)
Definition: lua.h:352
#define LUA_TTABLE
Definition: lua.h:68
#define lua_tonumber(L, i)
Definition: lua.h:340
#define LUA_REGISTRYINDEX
Definition: lua.h:41
LUA_INTEGER lua_Integer
Definition: lua.h:92
#define LUA_TSTRING
Definition: lua.h:67
#define lua_pcall(L, n, r, f)
Definition: lua.h:277
#define LUA_TUSERDATA
Definition: lua.h:70
#define lua_newtable(L)
Definition: lua.h:345
#define LUA_OK
Definition: lua.h:46
#define lua_pop(L, n)
Definition: lua.h:343
#define lua_tostring(L, i)
Definition: lua.h:365
double lua_Number
Definition: lua.h:88
#define lua_objlen
Definition: lmplib.c:47
#define str(s)
Definition: sh6.c:399
Definition: mendex.h:20
Definition: sh2.c:920
int j
Definition: t4ht.c:1589
*job_name strlen((char *) job_name) - 4)
@ L
Definition: ubidiimp.h:45
#define argv
Definition: xmain.c:270
#define argc
Definition: xmain.c:269
#define limit(x)
Definition: yuvsplittoppm.c:26