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)  

lapi.c
Go to the documentation of this file.
1 /*
2 ** $Id: lapi.c,v 2.259.1.2 2017/12/06 18:35:12 roberto Exp $
3 ** Lua API
4 ** See Copyright Notice in lua.h
5 */
6 
7 #define lapi_c
8 #define LUA_CORE
9 
10 #include "lprefix.h"
11 
12 
13 #include <stdarg.h>
14 #include <string.h>
15 
16 #include "lua.h"
17 
18 #include "lapi.h"
19 #include "ldebug.h"
20 #include "ldo.h"
21 #include "lfunc.h"
22 #include "lgc.h"
23 #include "lmem.h"
24 #include "lobject.h"
25 #include "lstate.h"
26 #include "lstring.h"
27 #include "ltable.h"
28 #include "ltm.h"
29 #include "lundump.h"
30 #include "lvm.h"
31 
32 
33 
34 const char lua_ident[] =
35  "$LuaVersion: " LUA_COPYRIGHT " $"
36  "$LuaAuthors: " LUA_AUTHORS " $";
37 
38 
39 /* value at a non-valid index */
40 #define NONVALIDVALUE cast(TValue *, luaO_nilobject)
41 
42 /* corresponding test */
43 #define isvalid(o) ((o) != luaO_nilobject)
44 
45 /* test for pseudo index */
46 #define ispseudo(i) ((i) <= LUA_REGISTRYINDEX)
47 
48 /* test for upvalue */
49 #define isupvalue(i) ((i) < LUA_REGISTRYINDEX)
50 
51 /* test for valid but not pseudo index */
52 #define isstackindex(i, o) (isvalid(o) && !ispseudo(i))
53 
54 #define api_checkvalidindex(l,o) api_check(l, isvalid(o), "invalid index")
55 
56 #define api_checkstackindex(l, i, o) \
57  api_check(l, isstackindex(i, o), "index not in the stack")
58 
59 
60 static TValue *index2addr (lua_State *L, int idx) {
61  CallInfo *ci = L->ci;
62  if (idx > 0) {
63  TValue *o = ci->func + idx;
64  api_check(L, idx <= ci->top - (ci->func + 1), "unacceptable index");
65  if (o >= L->top) return NONVALIDVALUE;
66  else return o;
67  }
68  else if (!ispseudo(idx)) { /* negative index */
69  api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index");
70  return L->top + idx;
71  }
72  else if (idx == LUA_REGISTRYINDEX)
73  return &G(L)->l_registry;
74  else { /* upvalues */
76  api_check(L, idx <= MAXUPVAL + 1, "upvalue index too large");
77  if (ttislcf(ci->func)) /* light C function? */
78  return NONVALIDVALUE; /* it has no upvalues */
79  else {
80  CClosure *func = clCvalue(ci->func);
81  return (idx <= func->nupvalues) ? &func->upvalue[idx-1] : NONVALIDVALUE;
82  }
83  }
84 }
85 
86 
87 /*
88 ** to be called by 'lua_checkstack' in protected mode, to grow stack
89 ** capturing memory errors
90 */
91 static void growstack (lua_State *L, void *ud) {
92  int size = *(int *)ud;
94 }
95 
96 
98  int res;
99  CallInfo *ci = L->ci;
100  lua_lock(L);
101  api_check(L, n >= 0, "negative 'n'");
102  if (L->stack_last - L->top > n) /* stack large enough? */
103  res = 1; /* yes; check is OK */
104  else { /* no; need to grow stack */
105  int inuse = cast_int(L->top - L->stack) + EXTRA_STACK;
106  if (inuse > LUAI_MAXSTACK - n) /* can grow without overflow? */
107  res = 0; /* no */
108  else /* try to grow stack */
110  }
111  if (res && ci->top < L->top + n)
112  ci->top = L->top + n; /* adjust frame top */
113  lua_unlock(L);
114  return res;
115 }
116 
117 
118 LUA_API void lua_xmove (lua_State *from, lua_State *to, int n) {
119  int i;
120  if (from == to) return;
121  lua_lock(to);
122  api_checknelems(from, n);
123  api_check(from, G(from) == G(to), "moving among independent states");
124  api_check(from, to->ci->top - to->top >= n, "stack overflow");
125  from->top -= n;
126  for (i = 0; i < n; i++) {
127  setobj2s(to, to->top, from->top + i);
128  to->top++; /* stack already checked by previous 'api_check' */
129  }
130  lua_unlock(to);
131 }
132 
133 
135  lua_CFunction old;
136  lua_lock(L);
137  old = G(L)->panic;
138  G(L)->panic = panicf;
139  lua_unlock(L);
140  return old;
141 }
142 
143 
145  static const lua_Number version = LUA_VERSION_NUM;
146  if (L == NULL) return &version;
147  else return G(L)->version;
148 }
149 
150 
151 
152 /*
153 ** basic stack manipulation
154 */
155 
156 
157 /*
158 ** convert an acceptable stack index into an absolute index
159 */
161  return (idx > 0 || ispseudo(idx))
162  ? idx
163  : cast_int(L->top - L->ci->func) + idx;
164 }
165 
166 
168  return cast_int(L->top - (L->ci->func + 1));
169 }
170 
171 
173  StkId func = L->ci->func;
174  lua_lock(L);
175  if (idx >= 0) {
176  api_check(L, idx <= L->stack_last - (func + 1), "new top too large");
177  while (L->top < (func + 1) + idx)
178  setnilvalue(L->top++);
179  L->top = (func + 1) + idx;
180  }
181  else {
182  api_check(L, -(idx+1) <= (L->top - (func + 1)), "invalid new top");
183  L->top += idx+1; /* 'subtract' index (index is negative) */
184  }
185  lua_unlock(L);
186 }
187 
188 
189 /*
190 ** Reverse the stack segment from 'from' to 'to'
191 ** (auxiliary to 'lua_rotate')
192 */
193 static void reverse (lua_State *L, StkId from, StkId to) {
194  for (; from < to; from++, to--) {
195  TValue temp;
196  setobj(L, &temp, from);
197  setobjs2s(L, from, to);
198  setobj2s(L, to, &temp);
199  }
200 }
201 
202 
203 /*
204 ** Let x = AB, where A is a prefix of length 'n'. Then,
205 ** rotate x n == BA. But BA == (A^r . B^r)^r.
206 */
207 LUA_API void lua_rotate (lua_State *L, int idx, int n) {
208  StkId p, t, m;
209  lua_lock(L);
210  t = L->top - 1; /* end of stack segment being rotated */
211  p = index2addr(L, idx); /* start of segment */
213  api_check(L, (n >= 0 ? n : -n) <= (t - p + 1), "invalid 'n'");
214  m = (n >= 0 ? t - n : p - n - 1); /* end of prefix */
215  reverse(L, p, m); /* reverse the prefix with length 'n' */
216  reverse(L, m + 1, t); /* reverse the suffix */
217  reverse(L, p, t); /* reverse the entire segment */
218  lua_unlock(L);
219 }
220 
221 
222 LUA_API void lua_copy (lua_State *L, int fromidx, int toidx) {
223  TValue *fr, *to;
224  lua_lock(L);
225  fr = index2addr(L, fromidx);
226  to = index2addr(L, toidx);
228  setobj(L, to, fr);
229  if (isupvalue(toidx)) /* function upvalue? */
230  luaC_barrier(L, clCvalue(L->ci->func), fr);
231  /* LUA_REGISTRYINDEX does not need gc barrier
232  (collector revisits it before finishing collection) */
233  lua_unlock(L);
234 }
235 
236 
238  lua_lock(L);
239  setobj2s(L, L->top, index2addr(L, idx));
240  api_incr_top(L);
241  lua_unlock(L);
242 }
243 
244 
245 
246 /*
247 ** access functions (stack -> C)
248 */
249 
250 
252  StkId o = index2addr(L, idx);
253  return (isvalid(o) ? ttnov(o) : LUA_TNONE);
254 }
255 
256 
257 LUA_API const char *lua_typename (lua_State *L, int t) {
258  UNUSED(L);
259  api_check(L, LUA_TNONE <= t && t < LUA_NUMTAGS, "invalid tag");
260  return ttypename(t);
261 }
262 
263 
265  StkId o = index2addr(L, idx);
266  return (ttislcf(o) || (ttisCclosure(o)));
267 }
268 
269 
271  StkId o = index2addr(L, idx);
272  return ttisinteger(o);
273 }
274 
275 
277  lua_Number n;
278  const TValue *o = index2addr(L, idx);
279  return tonumber(o, &n);
280 }
281 
282 
284  const TValue *o = index2addr(L, idx);
285  return (ttisstring(o) || cvt2str(o));
286 }
287 
288 
290  const TValue *o = index2addr(L, idx);
291  return (ttisfulluserdata(o) || ttislightuserdata(o));
292 }
293 
294 
295 LUA_API int lua_rawequal (lua_State *L, int index1, int index2) {
296  StkId o1 = index2addr(L, index1);
297  StkId o2 = index2addr(L, index2);
298  return (isvalid(o1) && isvalid(o2)) ? luaV_rawequalobj(o1, o2) : 0;
299 }
300 
301 
303  lua_lock(L);
304  if (op != LUA_OPUNM && op != LUA_OPBNOT)
305  api_checknelems(L, 2); /* all other operations expect two operands */
306  else { /* for unary operations, add fake 2nd operand */
307  api_checknelems(L, 1);
308  setobjs2s(L, L->top, L->top - 1);
309  api_incr_top(L);
310  }
311  /* first operand at top - 2, second at top - 1; result go to top - 2 */
312  luaO_arith(L, op, L->top - 2, L->top - 1, L->top - 2);
313  L->top--; /* remove second operand */
314  lua_unlock(L);
315 }
316 
317 
318 LUA_API int lua_compare (lua_State *L, int index1, int index2, int op) {
319  StkId o1, o2;
320  int i = 0;
321  lua_lock(L); /* may call tag method */
322  o1 = index2addr(L, index1);
323  o2 = index2addr(L, index2);
324  if (isvalid(o1) && isvalid(o2)) {
325  switch (op) {
326  case LUA_OPEQ: i = luaV_equalobj(L, o1, o2); break;
327  case LUA_OPLT: i = luaV_lessthan(L, o1, o2); break;
328  case LUA_OPLE: i = luaV_lessequal(L, o1, o2); break;
329  default: api_check(L, 0, "invalid option");
330  }
331  }
332  lua_unlock(L);
333  return i;
334 }
335 
336 
337 LUA_API size_t lua_stringtonumber (lua_State *L, const char *s) {
338  size_t sz = luaO_str2num(s, L->top);
339  if (sz != 0)
340  api_incr_top(L);
341  return sz;
342 }
343 
344 
346  lua_Number n;
347  const TValue *o = index2addr(L, idx);
348  int isnum = tonumber(o, &n);
349  if (!isnum)
350  n = 0; /* call to 'tonumber' may change 'n' even if it fails */
351  if (pisnum) *pisnum = isnum;
352  return n;
353 }
354 
355 
358  const TValue *o = index2addr(L, idx);
359  int isnum = tointeger(o, &res);
360  if (!isnum)
361  res = 0; /* call to 'tointeger' may change 'n' even if it fails */
362  if (pisnum) *pisnum = isnum;
363  return res;
364 }
365 
366 
368  const TValue *o = index2addr(L, idx);
369  return !l_isfalse(o);
370 }
371 
372 
373 LUA_API const char *lua_tolstring (lua_State *L, int idx, size_t *len) {
374  StkId o = index2addr(L, idx);
375  if (!ttisstring(o)) {
376  if (!cvt2str(o)) { /* not convertible? */
377  if (len != NULL) *len = 0;
378  return NULL;
379  }
380  lua_lock(L); /* 'luaO_tostring' may create a new string */
381  luaO_tostring(L, o);
382  luaC_checkGC(L);
383  o = index2addr(L, idx); /* previous call may reallocate the stack */
384  lua_unlock(L);
385  }
386  if (len != NULL)
387  *len = vslen(o);
388  return svalue(o);
389 }
390 
391 
392 LUA_API size_t lua_rawlen (lua_State *L, int idx) {
393  StkId o = index2addr(L, idx);
394  switch (ttype(o)) {
395  case LUA_TSHRSTR: return tsvalue(o)->shrlen;
396  case LUA_TLNGSTR: return tsvalue(o)->u.lnglen;
397  case LUA_TUSERDATA: return uvalue(o)->len;
398  case LUA_TTABLE: return luaH_getn(hvalue(o));
399  default: return 0;
400  }
401 }
402 
403 
405  StkId o = index2addr(L, idx);
406  if (ttislcf(o)) return fvalue(o);
407  else if (ttisCclosure(o))
408  return clCvalue(o)->f;
409  else return NULL; /* not a C function */
410 }
411 
412 
414  StkId o = index2addr(L, idx);
415  switch (ttnov(o)) {
416  case LUA_TUSERDATA: return getudatamem(uvalue(o));
417  case LUA_TLIGHTUSERDATA: return pvalue(o);
418  default: return NULL;
419  }
420 }
421 
422 
424  StkId o = index2addr(L, idx);
425  return (!ttisthread(o)) ? NULL : thvalue(o);
426 }
427 
428 
429 LUA_API const void *lua_topointer (lua_State *L, int idx) {
430  StkId o = index2addr(L, idx);
431  switch (ttype(o)) {
432  case LUA_TTABLE: return hvalue(o);
433  case LUA_TLCL: return clLvalue(o);
434  case LUA_TCCL: return clCvalue(o);
435  case LUA_TLCF: return cast(void *, cast(size_t, fvalue(o)));
436  case LUA_TTHREAD: return thvalue(o);
437  case LUA_TUSERDATA: return getudatamem(uvalue(o));
438  case LUA_TLIGHTUSERDATA: return pvalue(o);
439  default: return NULL;
440  }
441 }
442 
443 
444 
445 /*
446 ** push functions (C -> stack)
447 */
448 
449 
451  lua_lock(L);
452  setnilvalue(L->top);
453  api_incr_top(L);
454  lua_unlock(L);
455 }
456 
457 
459  lua_lock(L);
460  setfltvalue(L->top, n);
461  api_incr_top(L);
462  lua_unlock(L);
463 }
464 
465 
467  lua_lock(L);
468  setivalue(L->top, n);
469  api_incr_top(L);
470  lua_unlock(L);
471 }
472 
473 
474 /*
475 ** Pushes on the stack a string with given length. Avoid using 's' when
476 ** 'len' == 0 (as 's' can be NULL in that case), due to later use of
477 ** 'memcmp' and 'memcpy'.
478 */
479 LUA_API const char *lua_pushlstring (lua_State *L, const char *s, size_t len) {
480  TString *ts;
481  lua_lock(L);
482  ts = (len == 0) ? luaS_new(L, "") : luaS_newlstr(L, s, len);
483  setsvalue2s(L, L->top, ts);
484  api_incr_top(L);
485  luaC_checkGC(L);
486  lua_unlock(L);
487  return getstr(ts);
488 }
489 
490 
491 LUA_API const char *lua_pushstring (lua_State *L, const char *s) {
492  lua_lock(L);
493  if (s == NULL)
494  setnilvalue(L->top);
495  else {
496  TString *ts;
497  ts = luaS_new(L, s);
498  setsvalue2s(L, L->top, ts);
499  s = getstr(ts); /* internal copy's address */
500  }
501  api_incr_top(L);
502  luaC_checkGC(L);
503  lua_unlock(L);
504  return s;
505 }
506 
507 
508 LUA_API const char *lua_pushvfstring (lua_State *L, const char *fmt,
509  va_list argp) {
510  const char *ret;
511  lua_lock(L);
513  luaC_checkGC(L);
514  lua_unlock(L);
515  return ret;
516 }
517 
518 
519 LUA_API const char *lua_pushfstring (lua_State *L, const char *fmt, ...) {
520  const char *ret;
521  va_list argp;
522  lua_lock(L);
523  va_start(argp, fmt);
525  va_end(argp);
526  luaC_checkGC(L);
527  lua_unlock(L);
528  return ret;
529 }
530 
531 
533  lua_lock(L);
534  if (n == 0) {
535  setfvalue(L->top, fn);
536  api_incr_top(L);
537  }
538  else {
539  CClosure *cl;
540  api_checknelems(L, n);
541  api_check(L, n <= MAXUPVAL, "upvalue index too large");
542  cl = luaF_newCclosure(L, n);
543  cl->f = fn;
544  L->top -= n;
545  while (n--) {
546  setobj2n(L, &cl->upvalue[n], L->top + n);
547  /* does not need barrier because closure is white */
548  }
549  setclCvalue(L, L->top, cl);
550  api_incr_top(L);
551  luaC_checkGC(L);
552  }
553  lua_unlock(L);
554 }
555 
556 
558  lua_lock(L);
559  setbvalue(L->top, (b != 0)); /* ensure that true is 1 */
560  api_incr_top(L);
561  lua_unlock(L);
562 }
563 
564 
566  lua_lock(L);
567  setpvalue(L->top, p);
568  api_incr_top(L);
569  lua_unlock(L);
570 }
571 
572 
574  lua_lock(L);
575  setthvalue(L, L->top, L);
576  api_incr_top(L);
577  lua_unlock(L);
578  return (G(L)->mainthread == L);
579 }
580 
581 
582 
583 /*
584 ** get functions (Lua -> stack)
585 */
586 
587 
588 static int auxgetstr (lua_State *L, const TValue *t, const char *k) {
589  const TValue *slot;
590  TString *str = luaS_new(L, k);
591  if (luaV_fastget(L, t, str, slot, luaH_getstr)) {
592  setobj2s(L, L->top, slot);
593  api_incr_top(L);
594  }
595  else {
596  setsvalue2s(L, L->top, str);
597  api_incr_top(L);
598  luaV_finishget(L, t, L->top - 1, L->top - 1, slot);
599  }
600  lua_unlock(L);
601  return ttnov(L->top - 1);
602 }
603 
604 
605 LUA_API int lua_getglobal (lua_State *L, const char *name) {
606  Table *reg = hvalue(&G(L)->l_registry);
607  lua_lock(L);
609 }
610 
611 
613  StkId t;
614  lua_lock(L);
615  t = index2addr(L, idx);
616  luaV_gettable(L, t, L->top - 1, L->top - 1);
617  lua_unlock(L);
618  return ttnov(L->top - 1);
619 }
620 
621 
622 LUA_API int lua_getfield (lua_State *L, int idx, const char *k) {
623  lua_lock(L);
624  return auxgetstr(L, index2addr(L, idx), k);
625 }
626 
627 
629  StkId t;
630  const TValue *slot;
631  lua_lock(L);
632  t = index2addr(L, idx);
633  if (luaV_fastget(L, t, n, slot, luaH_getint)) {
634  setobj2s(L, L->top, slot);
635  api_incr_top(L);
636  }
637  else {
638  setivalue(L->top, n);
639  api_incr_top(L);
640  luaV_finishget(L, t, L->top - 1, L->top - 1, slot);
641  }
642  lua_unlock(L);
643  return ttnov(L->top - 1);
644 }
645 
646 
648  StkId t;
649  lua_lock(L);
650  t = index2addr(L, idx);
651  api_check(L, ttistable(t), "table expected");
652  setobj2s(L, L->top - 1, luaH_get(hvalue(t), L->top - 1));
653  lua_unlock(L);
654  return ttnov(L->top - 1);
655 }
656 
657 
659  StkId t;
660  lua_lock(L);
661  t = index2addr(L, idx);
662  api_check(L, ttistable(t), "table expected");
663  setobj2s(L, L->top, luaH_getint(hvalue(t), n));
664  api_incr_top(L);
665  lua_unlock(L);
666  return ttnov(L->top - 1);
667 }
668 
669 
670 LUA_API int lua_rawgetp (lua_State *L, int idx, const void *p) {
671  StkId t;
672  TValue k;
673  lua_lock(L);
674  t = index2addr(L, idx);
675  api_check(L, ttistable(t), "table expected");
676  setpvalue(&k, cast(void *, p));
677  setobj2s(L, L->top, luaH_get(hvalue(t), &k));
678  api_incr_top(L);
679  lua_unlock(L);
680  return ttnov(L->top - 1);
681 }
682 
683 
684 LUA_API void lua_createtable (lua_State *L, int narray, int nrec) {
685  Table *t;
686  lua_lock(L);
687  t = luaH_new(L);
688  sethvalue(L, L->top, t);
689  api_incr_top(L);
690  if (narray > 0 || nrec > 0)
691  luaH_resize(L, t, narray, nrec);
692  luaC_checkGC(L);
693  lua_unlock(L);
694 }
695 
696 
697 LUA_API int lua_getmetatable (lua_State *L, int objindex) {
698  const TValue *obj;
699  Table *mt;
700  int res = 0;
701  lua_lock(L);
702  obj = index2addr(L, objindex);
703  switch (ttnov(obj)) {
704  case LUA_TTABLE:
705  mt = hvalue(obj)->metatable;
706  break;
707  case LUA_TUSERDATA:
708  mt = uvalue(obj)->metatable;
709  break;
710  default:
711  mt = G(L)->mt[ttnov(obj)];
712  break;
713  }
714  if (mt != NULL) {
715  sethvalue(L, L->top, mt);
716  api_incr_top(L);
717  res = 1;
718  }
719  lua_unlock(L);
720  return res;
721 }
722 
723 
725  StkId o;
726  lua_lock(L);
727  o = index2addr(L, idx);
728  api_check(L, ttisfulluserdata(o), "full userdata expected");
729  getuservalue(L, uvalue(o), L->top);
730  api_incr_top(L);
731  lua_unlock(L);
732  return ttnov(L->top - 1);
733 }
734 
735 
736 /*
737 ** set functions (stack -> Lua)
738 */
739 
740 /*
741 ** t[k] = value at the top of the stack (where 'k' is a string)
742 */
743 static void auxsetstr (lua_State *L, const TValue *t, const char *k) {
744  const TValue *slot;
745  TString *str = luaS_new(L, k);
746  api_checknelems(L, 1);
747  if (luaV_fastset(L, t, str, slot, luaH_getstr, L->top - 1))
748  L->top--; /* pop value */
749  else {
750  setsvalue2s(L, L->top, str); /* push 'str' (to make it a TValue) */
751  api_incr_top(L);
752  luaV_finishset(L, t, L->top - 1, L->top - 2, slot);
753  L->top -= 2; /* pop value and key */
754  }
755  lua_unlock(L); /* lock done by caller */
756 }
757 
758 
759 LUA_API void lua_setglobal (lua_State *L, const char *name) {
760  Table *reg = hvalue(&G(L)->l_registry);
761  lua_lock(L); /* unlock done in 'auxsetstr' */
763 }
764 
765 
767  StkId t;
768  lua_lock(L);
769  api_checknelems(L, 2);
770  t = index2addr(L, idx);
771  luaV_settable(L, t, L->top - 2, L->top - 1);
772  L->top -= 2; /* pop index and value */
773  lua_unlock(L);
774 }
775 
776 
777 LUA_API void lua_setfield (lua_State *L, int idx, const char *k) {
778  lua_lock(L); /* unlock done in 'auxsetstr' */
779  auxsetstr(L, index2addr(L, idx), k);
780 }
781 
782 
784  StkId t;
785  const TValue *slot;
786  lua_lock(L);
787  api_checknelems(L, 1);
788  t = index2addr(L, idx);
789  if (luaV_fastset(L, t, n, slot, luaH_getint, L->top - 1))
790  L->top--; /* pop value */
791  else {
792  setivalue(L->top, n);
793  api_incr_top(L);
794  luaV_finishset(L, t, L->top - 1, L->top - 2, slot);
795  L->top -= 2; /* pop value and key */
796  }
797  lua_unlock(L);
798 }
799 
800 
802  StkId o;
803  TValue *slot;
804  lua_lock(L);
805  api_checknelems(L, 2);
806  o = index2addr(L, idx);
807  api_check(L, ttistable(o), "table expected");
808  slot = luaH_set(L, hvalue(o), L->top - 2);
809  setobj2t(L, slot, L->top - 1);
811  luaC_barrierback(L, hvalue(o), L->top-1);
812  L->top -= 2;
813  lua_unlock(L);
814 }
815 
816 
818  StkId o;
819  lua_lock(L);
820  api_checknelems(L, 1);
821  o = index2addr(L, idx);
822  api_check(L, ttistable(o), "table expected");
823  luaH_setint(L, hvalue(o), n, L->top - 1);
824  luaC_barrierback(L, hvalue(o), L->top-1);
825  L->top--;
826  lua_unlock(L);
827 }
828 
829 
830 LUA_API void lua_rawsetp (lua_State *L, int idx, const void *p) {
831  StkId o;
832  TValue k, *slot;
833  lua_lock(L);
834  api_checknelems(L, 1);
835  o = index2addr(L, idx);
836  api_check(L, ttistable(o), "table expected");
837  setpvalue(&k, cast(void *, p));
838  slot = luaH_set(L, hvalue(o), &k);
839  setobj2t(L, slot, L->top - 1);
840  luaC_barrierback(L, hvalue(o), L->top - 1);
841  L->top--;
842  lua_unlock(L);
843 }
844 
845 
846 LUA_API int lua_setmetatable (lua_State *L, int objindex) {
847  TValue *obj;
848  Table *mt;
849  lua_lock(L);
850  api_checknelems(L, 1);
851  obj = index2addr(L, objindex);
852  if (ttisnil(L->top - 1))
853  mt = NULL;
854  else {
855  api_check(L, ttistable(L->top - 1), "table expected");
856  mt = hvalue(L->top - 1);
857  }
858  switch (ttnov(obj)) {
859  case LUA_TTABLE: {
860  hvalue(obj)->metatable = mt;
861  if (mt) {
862  luaC_objbarrier(L, gcvalue(obj), mt);
864  }
865  break;
866  }
867  case LUA_TUSERDATA: {
868  uvalue(obj)->metatable = mt;
869  if (mt) {
870  luaC_objbarrier(L, uvalue(obj), mt);
872  }
873  break;
874  }
875  default: {
876  G(L)->mt[ttnov(obj)] = mt;
877  break;
878  }
879  }
880  L->top--;
881  lua_unlock(L);
882  return 1;
883 }
884 
885 
887  StkId o;
888  lua_lock(L);
889  api_checknelems(L, 1);
890  o = index2addr(L, idx);
891  api_check(L, ttisfulluserdata(o), "full userdata expected");
892  setuservalue(L, uvalue(o), L->top - 1);
893  luaC_barrier(L, gcvalue(o), L->top - 1);
894  L->top--;
895  lua_unlock(L);
896 }
897 
898 
899 /*
900 ** 'load' and 'call' functions (run Lua code)
901 */
902 
903 
904 #define checkresults(L,na,nr) \
905  api_check(L, (nr) == LUA_MULTRET || (L->ci->top - L->top >= (nr) - (na)), \
906  "results from function overflow current stack size")
907 
908 
909 LUA_API void lua_callk (lua_State *L, int nargs, int nresults,
911  StkId func;
912  lua_lock(L);
913  api_check(L, k == NULL || !isLua(L->ci),
914  "cannot use continuations inside hooks");
915  api_checknelems(L, nargs+1);
916  api_check(L, L->status == LUA_OK, "cannot do calls on non-normal thread");
917  checkresults(L, nargs, nresults);
918  func = L->top - (nargs+1);
919  if (k != NULL && L->nny == 0) { /* need to prepare continuation? */
920  L->ci->u.c.k = k; /* save continuation */
921  L->ci->u.c.ctx = ctx; /* save context */
922  luaD_call(L, func, nresults); /* do the call */
923  }
924  else /* no continuation or no yieldable */
925  luaD_callnoyield(L, func, nresults); /* just do the call */
926  adjustresults(L, nresults);
927  lua_unlock(L);
928 }
929 
930 
931 
932 /*
933 ** Execute a protected call.
934 */
935 struct CallS { /* data to 'f_call' */
937  int nresults;
938 };
939 
940 
941 static void f_call (lua_State *L, void *ud) {
942  struct CallS *c = cast(struct CallS *, ud);
943  luaD_callnoyield(L, c->func, c->nresults);
944 }
945 
946 
947 
948 LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc,
950  struct CallS c;
951  int status;
952  ptrdiff_t func;
953  lua_lock(L);
954  api_check(L, k == NULL || !isLua(L->ci),
955  "cannot use continuations inside hooks");
956  api_checknelems(L, nargs+1);
957  api_check(L, L->status == LUA_OK, "cannot do calls on non-normal thread");
959  if (errfunc == 0)
960  func = 0;
961  else {
962  StkId o = index2addr(L, errfunc);
963  api_checkstackindex(L, errfunc, o);
964  func = savestack(L, o);
965  }
966  c.func = L->top - (nargs+1); /* function to be called */
967  if (k == NULL || L->nny > 0) { /* no continuation or no yieldable? */
968  c.nresults = nresults; /* do a 'conventional' protected call */
969  status = luaD_pcall(L, f_call, &c, savestack(L, c.func), func);
970  }
971  else { /* prepare continuation (call is already protected by 'resume') */
972  CallInfo *ci = L->ci;
973  ci->u.c.k = k; /* save continuation */
974  ci->u.c.ctx = ctx; /* save context */
975  /* save information for error recovery */
976  ci->extra = savestack(L, c.func);
977  ci->u.c.old_errfunc = L->errfunc;
978  L->errfunc = func;
979  setoah(ci->callstatus, L->allowhook); /* save value of 'allowhook' */
980  ci->callstatus |= CIST_YPCALL; /* function can do error recovery */
981  luaD_call(L, c.func, nresults); /* do the call */
982  ci->callstatus &= ~~CIST_YPCALL;
983  L->errfunc = ci->u.c.old_errfunc;
984  status = LUA_OK; /* if it is here, there were no errors */
985  }
987  lua_unlock(L);
988  return status;
989 }
990 
991 
993  const char *chunkname, const char *mode) {
994  ZIO z;
995  int status;
996  lua_lock(L);
997  if (!chunkname) chunkname = "?";
998  luaZ_init(L, &z, reader, data);
999  status = luaD_protectedparser(L, &z, chunkname, mode);
1000  if (status == LUA_OK) { /* no errors? */
1001  LClosure *f = clLvalue(L->top - 1); /* get newly created function */
1002  if (f->nupvalues >= 1) { /* does it have an upvalue? */
1003  /* get global table from registry */
1004  Table *reg = hvalue(&G(L)->l_registry);
1006  /* set global table as 1st upvalue of 'f' (may be LUA_ENV) */
1007  setobj(L, f->upvals[0]->v, gt);
1008  luaC_upvalbarrier(L, f->upvals[0]);
1009  }
1010  }
1011  lua_unlock(L);
1012  return status;
1013 }
1014 
1015 
1017  int status;
1018  TValue *o;
1019  lua_lock(L);
1020  api_checknelems(L, 1);
1021  o = L->top - 1;
1022  if (isLfunction(o))
1024  else
1025  status = 1;
1026  lua_unlock(L);
1027  return status;
1028 }
1029 
1030 
1032  return L->status;
1033 }
1034 
1035 
1036 /*
1037 ** Garbage-collection function
1038 */
1039 
1040 LUA_API int lua_gc (lua_State *L, int what, int data) {
1041  int res = 0;
1042  global_State *g;
1043  lua_lock(L);
1044  g = G(L);
1045  switch (what) {
1046  case LUA_GCSTOP: {
1047  g->gcrunning = 0;
1048  break;
1049  }
1050  case LUA_GCRESTART: {
1051  luaE_setdebt(g, 0);
1052  g->gcrunning = 1;
1053  break;
1054  }
1055  case LUA_GCCOLLECT: {
1056  luaC_fullgc(L, 0);
1057  break;
1058  }
1059  case LUA_GCCOUNT: {
1060  /* GC values are expressed in Kbytes: #bytes/2^10 */
1061  res = cast_int(gettotalbytes(g) >> 10);
1062  break;
1063  }
1064  case LUA_GCCOUNTB: {
1065  res = cast_int(gettotalbytes(g) & 0x3ff);
1066  break;
1067  }
1068  case LUA_GCSTEP: {
1069  l_mem debt = 1; /* =1 to signal that it did an actual step */
1070  lu_byte oldrunning = g->gcrunning;
1071  g->gcrunning = 1; /* allow GC to run */
1072  if (data == 0) {
1073  luaE_setdebt(g, -GCSTEPSIZE); /* to do a "small" step */
1074  luaC_step(L);
1075  }
1076  else { /* add 'data' to total debt */
1077  debt = cast(l_mem, data) * 1024 + g->GCdebt;
1078  luaE_setdebt(g, debt);
1079  luaC_checkGC(L);
1080  }
1081  g->gcrunning = oldrunning; /* restore previous state */
1082  if (debt > 0 && g->gcstate == GCSpause) /* end of cycle? */
1083  res = 1; /* signal it */
1084  break;
1085  }
1086  case LUA_GCSETPAUSE: {
1087  res = g->gcpause;
1088  g->gcpause = data;
1089  break;
1090  }
1091  case LUA_GCSETSTEPMUL: {
1092  res = g->gcstepmul;
1093  if (data < 40) data = 40; /* avoid ridiculous low values (and 0) */
1094  g->gcstepmul = data;
1095  break;
1096  }
1097  case LUA_GCISRUNNING: {
1098  res = g->gcrunning;
1099  break;
1100  }
1101  default: res = -1; /* invalid option */
1102  }
1103  lua_unlock(L);
1104  return res;
1105 }
1106 
1107 
1108 
1109 /*
1110 ** miscellaneous functions
1111 */
1112 
1113 
1115  lua_lock(L);
1116  api_checknelems(L, 1);
1117  luaG_errormsg(L);
1118  /* code unreachable; will unlock when control actually leaves the kernel */
1119  return 0; /* to avoid warnings */
1120 }
1121 
1122 
1124  StkId t;
1125  int more;
1126  lua_lock(L);
1127  t = index2addr(L, idx);
1128  api_check(L, ttistable(t), "table expected");
1129  more = luaH_next(L, hvalue(t), L->top - 1);
1130  if (more) {
1131  api_incr_top(L);
1132  }
1133  else /* no more elements */
1134  L->top -= 1; /* remove key */
1135  lua_unlock(L);
1136  return more;
1137 }
1138 
1139 
1141  lua_lock(L);
1142  api_checknelems(L, n);
1143  if (n >= 2) {
1144  luaV_concat(L, n);
1145  }
1146  else if (n == 0) { /* push empty string */
1147  setsvalue2s(L, L->top, luaS_newlstr(L, "", 0));
1148  api_incr_top(L);
1149  }
1150  /* else n == 1; nothing to do */
1151  luaC_checkGC(L);
1152  lua_unlock(L);
1153 }
1154 
1155 
1157  StkId t;
1158  lua_lock(L);
1159  t = index2addr(L, idx);
1160  luaV_objlen(L, L->top, t);
1161  api_incr_top(L);
1162  lua_unlock(L);
1163 }
1164 
1165 
1167  lua_Alloc f;
1168  lua_lock(L);
1169  if (ud) *ud = G(L)->ud;
1170  f = G(L)->frealloc;
1171  lua_unlock(L);
1172  return f;
1173 }
1174 
1175 
1177  lua_lock(L);
1178  G(L)->ud = ud;
1179  G(L)->frealloc = f;
1180  lua_unlock(L);
1181 }
1182 
1183 
1185  Udata *u;
1186  lua_lock(L);
1187  u = luaS_newudata(L, size);
1188  setuvalue(L, L->top, u);
1189  api_incr_top(L);
1190  luaC_checkGC(L);
1191  lua_unlock(L);
1192  return getudatamem(u);
1193 }
1194 
1195 
1196 
1197 static const char *aux_upvalue (StkId fi, int n, TValue **val,
1198  CClosure **owner, UpVal **uv) {
1199  switch (ttype(fi)) {
1200  case LUA_TCCL: { /* C closure */
1201  CClosure *f = clCvalue(fi);
1202  if (!(1 <= n && n <= f->nupvalues)) return NULL;
1203  *val = &f->upvalue[n-1];
1204  if (owner) *owner = f;
1205  return "";
1206  }
1207  case LUA_TLCL: { /* Lua closure */
1208  LClosure *f = clLvalue(fi);
1209  TString *name;
1210  Proto *p = f->p;
1211  if (!(1 <= n && n <= p->sizeupvalues)) return NULL;
1212  *val = f->upvals[n-1]->v;
1213  if (uv) *uv = f->upvals[n - 1];
1214  name = p->upvalues[n-1].name;
1215  return (name == NULL) ? "(*no name)" : getstr(name);
1216  }
1217  default: return NULL; /* not a closure */
1218  }
1219 }
1220 
1221 
1222 LUA_API const char *lua_getupvalue (lua_State *L, int funcindex, int n) {
1223  const char *name;
1224  TValue *val = NULL; /* to avoid warnings */
1225  lua_lock(L);
1226  name = aux_upvalue(index2addr(L, funcindex), n, &val, NULL, NULL);
1227  if (name) {
1228  setobj2s(L, L->top, val);
1229  api_incr_top(L);
1230  }
1231  lua_unlock(L);
1232  return name;
1233 }
1234 
1235 
1236 LUA_API const char *lua_setupvalue (lua_State *L, int funcindex, int n) {
1237  const char *name;
1238  TValue *val = NULL; /* to avoid warnings */
1239  CClosure *owner = NULL;
1240  UpVal *uv = NULL;
1241  StkId fi;
1242  lua_lock(L);
1243  fi = index2addr(L, funcindex);
1244  api_checknelems(L, 1);
1245  name = aux_upvalue(fi, n, &val, &owner, &uv);
1246  if (name) {
1247  L->top--;
1248  setobj(L, val, L->top);
1249  if (owner) { luaC_barrier(L, owner, L->top); }
1250  else if (uv) { luaC_upvalbarrier(L, uv); }
1251  }
1252  lua_unlock(L);
1253  return name;
1254 }
1255 
1256 
1257 static UpVal **getupvalref (lua_State *L, int fidx, int n) {
1258  LClosure *f;
1259  StkId fi = index2addr(L, fidx);
1260  api_check(L, ttisLclosure(fi), "Lua function expected");
1261  f = clLvalue(fi);
1262  api_check(L, (1 <= n && n <= f->p->sizeupvalues), "invalid upvalue index");
1263  return &f->upvals[n - 1]; /* get its upvalue pointer */
1264 }
1265 
1266 
1267 LUA_API void *lua_upvalueid (lua_State *L, int fidx, int n) {
1268  StkId fi = index2addr(L, fidx);
1269  switch (ttype(fi)) {
1270  case LUA_TLCL: { /* lua closure */
1271  return *getupvalref(L, fidx, n);
1272  }
1273  case LUA_TCCL: { /* C closure */
1274  CClosure *f = clCvalue(fi);
1275  api_check(L, 1 <= n && n <= f->nupvalues, "invalid upvalue index");
1276  return &f->upvalue[n - 1];
1277  }
1278  default: {
1279  api_check(L, 0, "closure expected");
1280  return NULL;
1281  }
1282  }
1283 }
1284 
1285 
1286 LUA_API void lua_upvaluejoin (lua_State *L, int fidx1, int n1,
1287  int fidx2, int n2) {
1288  UpVal **up1 = getupvalref(L, fidx1, n1);
1289  UpVal **up2 = getupvalref(L, fidx2, n2);
1290  if (*up1 == *up2)
1291  return;
1292  luaC_upvdeccount(L, *up1);
1293  *up1 = *up2;
1294  (*up1)->refcount++;
1295  if (upisopen(*up1)) (*up1)->u.open.touched = 1;
1296  luaC_upvalbarrier(L, *up1);
1297 }
1298 
1299 
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
int ptrdiff_t
Definition: CPAL.d:3845
char * strip(char *str, const enum Strip flags)
Definition: Utility.c:168
#define name
#define mode
Definition: aptex-macros.h:510
#define n
Definition: t4ht.c:1290
#define b
Definition: jpegint.h:372
int z
Definition: dviconv.c:26
char * temp
Definition: dvidvi.c:137
struct rect data
Definition: dvipdfm.c:64
mpz_t * f
Definition: gen-fib.c:34
#define s
Definition: afcover.h:80
#define t
Definition: afcover.h:96
#define c(n)
Definition: gpos-common.c:150
#define reg
Definition: hbf.c:83
int inuse
Definition: hints.c:76
#define NULL
Definition: ftobjs.h:61
small capitals from c petite p scientific f u
Definition: afcover.h:88
small capitals from c petite p
Definition: afcover.h:72
small capitals from c petite p scientific i
Definition: afcover.h:80
#define G(x, y, z)
Definition: md5.c:52
FT_UInt idx
Definition: cffcmap.c:135
int int double double double char double char * top
Definition: gdfx.h:19
static unsigned long mt[624]
Definition: mt19937ar.c:53
static int ret
Definition: convert.c:72
char * argp
Definition: fixwrites.c:8
static luaL_Reg func[]
Definition: except.c:32
#define UNUSED
Definition: makeint.h:237
string fn
Definition: fc-lang.py:335
#define version
Definition: nup.c:10
int k
Definition: otp-parser.c:70
static int sz
Definition: pdftocairo.cc:114
#define res(length)
Definition: picttoppm.c:287
real to[600]
Definition: pmxab.c:87
static int size
Definition: ppmlabel.c:24
int g
Definition: ppmqvga.c:68
#define status
slotref slot
Definition: opcodes.h:237
#define gt(L)
Definition: minilua.c:415
#define luaS_new(L, s)
Definition: minilua.c:592
#define mainthread(g)
Definition: lj_obj.h:625
void lua_pushcclosure(lua_State *L, lua_CFunction fn, int n)
Definition: lapi.c:532
int lua_setmetatable(lua_State *L, int objindex)
Definition: lapi.c:846
static void auxsetstr(lua_State *L, const TValue *t, const char *k)
Definition: lapi.c:743
int lua_getmetatable(lua_State *L, int objindex)
Definition: lapi.c:697
int lua_getuservalue(lua_State *L, int idx)
Definition: lapi.c:724
int lua_iscfunction(lua_State *L, int idx)
Definition: lapi.c:264
#define api_checkstackindex(l, i, o)
Definition: lapi.c:56
int lua_load(lua_State *L, lua_Reader reader, void *data, const char *chunkname, const char *mode)
Definition: lapi.c:992
int lua_rawgetp(lua_State *L, int idx, const void *p)
Definition: lapi.c:670
static int auxgetstr(lua_State *L, const TValue *t, const char *k)
Definition: lapi.c:588
const char * lua_setupvalue(lua_State *L, int funcindex, int n)
Definition: lapi.c:1236
void lua_upvaluejoin(lua_State *L, int fidx1, int n1, int fidx2, int n2)
Definition: lapi.c:1286
void lua_xmove(lua_State *from, lua_State *to, int n)
Definition: lapi.c:118
static const char * aux_upvalue(StkId fi, int n, TValue **val, CClosure **owner, UpVal **uv)
Definition: lapi.c:1197
const char * lua_getupvalue(lua_State *L, int funcindex, int n)
Definition: lapi.c:1222
#define ispseudo(i)
Definition: lapi.c:46
lua_Alloc lua_getallocf(lua_State *L, void **ud)
Definition: lapi.c:1166
void * lua_touserdata(lua_State *L, int idx)
Definition: lapi.c:413
static void reverse(lua_State *L, StkId from, StkId to)
Definition: lapi.c:193
int lua_dump(lua_State *L, lua_Writer writer, void *data, int strip)
Definition: lapi.c:1016
#define isvalid(o)
Definition: lapi.c:43
int lua_gettop(lua_State *L)
Definition: lapi.c:167
int lua_pcallk(lua_State *L, int nargs, int nresults, int errfunc, lua_KContext ctx, lua_KFunction k)
Definition: lapi.c:948
#define api_checkvalidindex(l, o)
Definition: lapi.c:54
void lua_copy(lua_State *L, int fromidx, int toidx)
Definition: lapi.c:222
int lua_isstring(lua_State *L, int idx)
Definition: lapi.c:283
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
size_t lua_stringtonumber(lua_State *L, const char *s)
Definition: lapi.c:337
void lua_concat(lua_State *L, int n)
Definition: lapi.c:1140
void lua_setfield(lua_State *L, int idx, const char *k)
Definition: lapi.c:777
const char * lua_pushfstring(lua_State *L, const char *fmt,...)
Definition: lapi.c:519
void lua_pushnumber(lua_State *L, lua_Number n)
Definition: lapi.c:458
int lua_absindex(lua_State *L, int idx)
Definition: lapi.c:160
void lua_pushvalue(lua_State *L, int idx)
Definition: lapi.c:237
int lua_gc(lua_State *L, int what, int data)
Definition: lapi.c:1040
void lua_rawsetp(lua_State *L, int idx, const void *p)
Definition: lapi.c:830
void lua_setglobal(lua_State *L, const char *name)
Definition: lapi.c:759
int lua_status(lua_State *L)
Definition: lapi.c:1031
lua_Integer lua_tointegerx(lua_State *L, int idx, int *pisnum)
Definition: lapi.c:356
size_t lua_rawlen(lua_State *L, int idx)
Definition: lapi.c:392
const char * lua_typename(lua_State *L, int t)
Definition: lapi.c:257
lua_Number lua_tonumberx(lua_State *L, int idx, int *pisnum)
Definition: lapi.c:345
int lua_pushthread(lua_State *L)
Definition: lapi.c:573
#define checkresults(L, na, nr)
Definition: lapi.c:904
const void * lua_topointer(lua_State *L, int idx)
Definition: lapi.c:429
#define NONVALIDVALUE
Definition: lapi.c:40
void lua_setallocf(lua_State *L, lua_Alloc f, void *ud)
Definition: lapi.c:1176
int lua_rawget(lua_State *L, int idx)
Definition: lapi.c:647
void * lua_upvalueid(lua_State *L, int fidx, int n)
Definition: lapi.c:1267
void lua_seti(lua_State *L, int idx, lua_Integer n)
Definition: lapi.c:783
int lua_getglobal(lua_State *L, const char *name)
Definition: lapi.c:605
lua_CFunction lua_atpanic(lua_State *L, lua_CFunction panicf)
Definition: lapi.c:134
int lua_type(lua_State *L, int idx)
Definition: lapi.c:251
int lua_isnumber(lua_State *L, int idx)
Definition: lapi.c:276
static UpVal ** getupvalref(lua_State *L, int fidx, int n)
Definition: lapi.c:1257
void lua_callk(lua_State *L, int nargs, int nresults, lua_KContext ctx, lua_KFunction k)
Definition: lapi.c:909
void lua_pushnil(lua_State *L)
Definition: lapi.c:450
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_pushvfstring(lua_State *L, const char *fmt, va_list argp)
Definition: lapi.c:508
const char * lua_tolstring(lua_State *L, int idx, size_t *len)
Definition: lapi.c:373
int lua_isuserdata(lua_State *L, int idx)
Definition: lapi.c:289
void lua_setuservalue(lua_State *L, int idx)
Definition: lapi.c:886
int lua_error(lua_State *L)
Definition: lapi.c:1114
#define isupvalue(i)
Definition: lapi.c:49
void lua_createtable(lua_State *L, int narray, int nrec)
Definition: lapi.c:684
lua_CFunction lua_tocfunction(lua_State *L, int idx)
Definition: lapi.c:404
void lua_settable(lua_State *L, int idx)
Definition: lapi.c:766
static void growstack(lua_State *L, void *ud)
Definition: lapi.c:91
void lua_arith(lua_State *L, int op)
Definition: lapi.c:302
int lua_rawgeti(lua_State *L, int idx, lua_Integer n)
Definition: lapi.c:658
lua_State * lua_tothread(lua_State *L, int idx)
Definition: lapi.c:423
int lua_getfield(lua_State *L, int idx, const char *k)
Definition: lapi.c:622
void lua_rawset(lua_State *L, int idx)
Definition: lapi.c:801
const lua_Number * lua_version(lua_State *L)
Definition: lapi.c:144
static void f_call(lua_State *L, void *ud)
Definition: lapi.c:941
void lua_rawseti(lua_State *L, int idx, lua_Integer n)
Definition: lapi.c:817
const char lua_ident[]
Definition: lapi.c:34
void lua_pushboolean(lua_State *L, int b)
Definition: lapi.c:557
int lua_gettable(lua_State *L, int idx)
Definition: lapi.c:612
int lua_isinteger(lua_State *L, int idx)
Definition: lapi.c:270
void * lua_newuserdata(lua_State *L, size_t size)
Definition: lapi.c:1184
int lua_checkstack(lua_State *L, int n)
Definition: lapi.c:97
int lua_toboolean(lua_State *L, int idx)
Definition: lapi.c:367
int lua_rawequal(lua_State *L, int index1, int index2)
Definition: lapi.c:295
static TValue * index2addr(lua_State *L, int idx)
Definition: lapi.c:60
int lua_compare(lua_State *L, int index1, int index2, int op)
Definition: lapi.c:318
void lua_pushlightuserdata(lua_State *L, void *p)
Definition: lapi.c:565
void lua_rotate(lua_State *L, int idx, int n)
Definition: lapi.c:207
const char * lua_pushlstring(lua_State *L, const char *s, size_t len)
Definition: lapi.c:479
int lua_geti(lua_State *L, int idx, lua_Integer n)
Definition: lapi.c:628
int lua_next(lua_State *L, int idx)
Definition: lapi.c:1123
#define api_checknelems(L, n)
Definition: lapi.h:20
#define adjustresults(L, nres)
Definition: lapi.h:17
#define api_incr_top(L)
Definition: lapi.h:14
void luaG_errormsg(lua_State *L)
Definition: ldebug.c:641
void luaD_growstack(lua_State *L, int n)
Definition: ldo.c:191
int luaD_pcall(lua_State *L, Pfunc func, void *u, ptrdiff_t old_top, ptrdiff_t ef)
Definition: ldo.c:721
int luaD_protectedparser(lua_State *L, ZIO *z, const char *name, const char *mode)
Definition: ldo.c:783
void luaD_call(lua_State *L, StkId func, int nResults)
Definition: ldo.c:495
void luaD_callnoyield(lua_State *L, StkId func, int nResults)
Definition: ldo.c:507
int luaD_rawrunprotected(lua_State *L, Pfunc f, void *ud)
Definition: ldo.c:136
#define savestack(L, p)
Definition: ldo.h:32
int luaU_dump(lua_State *L, const Proto *f, lua_Writer w, void *data, int strip)
Definition: ldump.c:203
CClosure * luaF_newCclosure(lua_State *L, int n)
Definition: lfunc.c:25
#define upisopen(up)
Definition: lfunc.h:47
#define MAXUPVAL
Definition: lfunc.h:29
void luaC_checkfinalizer(lua_State *L, GCObject *o, Table *mt)
Definition: lgc.c:902
void luaC_upvdeccount(lua_State *L, UpVal *uv)
Definition: lgc.c:678
void luaC_step(lua_State *L)
Definition: lgc.c:1129
void luaC_fullgc(lua_State *L, int isemergency)
Definition: lgc.c:1159
#define luaC_barrier(L, p, v)
Definition: lgc.h:118
#define luaC_barrierback(L, p, v)
Definition: lgc.h:122
#define luaC_objbarrier(L, p, o)
Definition: lgc.h:126
#define GCSpause
Definition: lgc.h:46
#define luaC_checkGC(L)
Definition: lgc.h:115
#define GCSTEPSIZE
Definition: lgc.h:32
#define luaC_upvalbarrier(L, uv)
Definition: lgc.h:130
#define lua_unlock(L)
Definition: llimits.h:215
ptrdiff_t l_mem
Definition: llimits.h:27
#define cast_int(i)
Definition: llimits.h:116
#define lua_lock(L)
Definition: llimits.h:214
#define api_check(l, e, msg)
Definition: llimits.h:101
unsigned char lu_byte
Definition: llimits.h:35
#define cast(t, exp)
Definition: llimits.h:111
void luaO_tostring(lua_State *L, StkId obj)
Definition: lobject.c:371
void luaO_arith(lua_State *L, int op, const TValue *p1, const TValue *p2, TValue *res)
Definition: lobject.c:123
const char * luaO_pushvfstring(lua_State *L, const char *fmt, va_list argp)
Definition: lobject.c:400
size_t luaO_str2num(const char *s, TValue *o)
Definition: lobject.c:331
#define LUA_TSHRSTR
Definition: lobject.h:53
#define gcvalue(o)
Definition: lobject.h:167
#define setpvalue(obj, x)
Definition: lobject.h:215
#define LUA_TLCL
Definition: lobject.h:47
#define pvalue(o)
Definition: lobject.h:168
#define l_isfalse(o)
Definition: lobject.h:181
#define uvalue(o)
Definition: lobject.h:170
#define setobj2s
Definition: lobject.h:271
#define getuservalue(L, u, o)
Definition: lobject.h:377
#define setbvalue(obj, x)
Definition: lobject.h:218
#define fvalue(o)
Definition: lobject.h:174
#define ttisfulluserdata(o)
Definition: lobject.h:157
#define clCvalue(o)
Definition: lobject.h:173
#define getudatamem(u)
Definition: lobject.h:368
#define setsvalue2s
Definition: lobject.h:272
#define hvalue(o)
Definition: lobject.h:175
#define getproto(o)
Definition: lobject.h:468
#define ttnov(o)
Definition: lobject.h:136
#define setfvalue(obj, x)
Definition: lobject.h:212
#define thvalue(o)
Definition: lobject.h:177
#define setclCvalue(L, obj, x)
Definition: lobject.h:245
#define ttisthread(o)
Definition: lobject.h:158
#define LUA_TLNGSTR
Definition: lobject.h:54
#define ttislightuserdata(o)
Definition: lobject.h:147
#define setobjs2s
Definition: lobject.h:269
#define isLfunction(o)
Definition: lobject.h:466
#define ttisLclosure(o)
Definition: lobject.h:155
#define ttisnil(o)
Definition: lobject.h:145
#define tsvalue(o)
Definition: lobject.h:169
#define ttislcf(o)
Definition: lobject.h:156
#define ttisCclosure(o)
Definition: lobject.h:154
#define vslen(o)
Definition: lobject.h:339
#define ttisstring(o)
Definition: lobject.h:148
#define setthvalue(L, obj, x)
Definition: lobject.h:235
#define setuvalue(L, obj, x)
Definition: lobject.h:230
#define sethvalue(L, obj, x)
Definition: lobject.h:250
#define ttisinteger(o)
Definition: lobject.h:144
#define svalue(o)
Definition: lobject.h:333
#define setuservalue(L, u, o)
Definition: lobject.h:371
#define ttistable(o)
Definition: lobject.h:151
#define getstr(ts)
Definition: lobject.h:328
#define ttype(o)
Definition: lobject.h:133
#define setobj(L, obj1, obj2)
Definition: lobject.h:259
#define LUA_TCCL
Definition: lobject.h:49
#define LUA_TLCF
Definition: lobject.h:48
#define setobj2n
Definition: lobject.h:278
#define setnilvalue(obj)
Definition: lobject.h:210
#define setfltvalue(obj, x)
Definition: lobject.h:198
#define setivalue(obj, x)
Definition: lobject.h:204
#define clLvalue(o)
Definition: lobject.h:172
#define setobj2t(L, o1, o2)
Definition: lobject.h:282
void luaE_setdebt(global_State *g, l_mem debt)
Definition: lstate.c:98
#define gettotalbytes(g)
Definition: lstate.h:243
#define isLua(ci)
Definition: lstate.h:127
#define CIST_YPCALL
Definition: lstate.h:121
#define setoah(st, v)
Definition: lstate.h:130
#define EXTRA_STACK
Definition: lstate.h:65
TString * luaS_newlstr(lua_State *L, const char *str, size_t l)
Definition: lstring.c:199
Udata * luaS_newudata(lua_State *L, size_t s)
Definition: lstring.c:236
static int writer(lua_State *L, const void *b, size_t size, void *B)
Definition: lstrlib.c:182
void luaH_resize(lua_State *L, Table *t, unsigned int nasize, unsigned int nhsize)
Definition: ltable.c:347
int luaH_next(lua_State *L, Table *t, StkId key)
Definition: ltable.c:186
const TValue * luaH_getstr(Table *t, TString *key)
Definition: ltable.c:575
Table * luaH_new(lua_State *L)
Definition: ltable.c:421
const TValue * luaH_get(Table *t, const TValue *key)
Definition: ltable.c:589
lua_Unsigned luaH_getn(Table *t)
Definition: ltable.c:660
void luaH_setint(lua_State *L, Table *t, lua_Integer key, TValue *value)
Definition: ltable.c:618
TValue * luaH_set(lua_State *L, Table *t, const TValue *key)
Definition: ltable.c:610
const TValue * luaH_getint(Table *t, lua_Integer key)
Definition: ltable.c:516
#define invalidateTMcache(t)
Definition: ltable.h:27
#define ttypename(x)
Definition: ltm.h:53
#define LUA_TTHREAD
Definition: lua.h:71
#define LUA_OPLT
Definition: lua.h:213
#define LUA_RIDX_GLOBALS
Definition: lua.h:83
#define LUA_OPLE
Definition: lua.h:214
#define LUA_GCSETPAUSE
Definition: lua.h:307
void *(* lua_Alloc)(void *ud, void *ptr, size_t osize, size_t nsize)
Definition: lua.h:123
#define LUA_TTABLE
Definition: lua.h:68
#define LUA_REGISTRYINDEX
Definition: lua.h:41
LUA_INTEGER lua_Integer
Definition: lua.h:92
#define LUA_TNONE
Definition: lua.h:61
#define LUA_GCCOUNT
Definition: lua.h:304
const char *(* lua_Reader)(lua_State *L, void *ud, size_t *sz)
Definition: lua.h:115
int(* lua_KFunction)(lua_State *L, int status, lua_KContext ctx)
Definition: lua.h:109
#define LUA_VERSION_NUM
Definition: lua.h:20
#define LUA_COPYRIGHT
Definition: lua.h:25
#define LUA_OPBNOT
Definition: lua.h:208
#define LUA_GCCOLLECT
Definition: lua.h:303
#define LUA_GCISRUNNING
Definition: lua.h:309
#define LUA_GCSTOP
Definition: lua.h:301
#define LUA_GCRESTART
Definition: lua.h:302
#define LUA_TUSERDATA
Definition: lua.h:70
int(* lua_Writer)(lua_State *L, const void *p, size_t sz, void *ud)
Definition: lua.h:117
int(* lua_CFunction)(lua_State *L)
Definition: lua.h:104
#define LUA_GCCOUNTB
Definition: lua.h:305
#define LUA_GCSTEP
Definition: lua.h:306
#define LUA_TLIGHTUSERDATA
Definition: lua.h:65
#define LUA_AUTHORS
Definition: lua.h:26
#define LUA_OK
Definition: lua.h:46
#define LUA_NUMTAGS
Definition: lua.h:73
#define LUA_OPEQ
Definition: lua.h:212
#define LUA_OPUNM
Definition: lua.h:207
#define LUA_GCSETSTEPMUL
Definition: lua.h:308
double lua_Number
Definition: lua.h:88
ptrdiff_t lua_KContext
Definition: lua.h:98
static const char * reader(lua_State *L, void *ud, size_t *size)
Definition: luac.c:122
#define LUAI_MAXSTACK
Definition: luaconf.h:734
#define LUA_API
Definition: luaconf.h:259
int luaV_lessequal(lua_State *L, const TValue *l, const TValue *r)
Definition: lvm.c:384
void luaV_concat(lua_State *L, int total)
Definition: lvm.c:474
void luaV_finishget(lua_State *L, const TValue *t, TValue *key, StkId val, const TValue *slot)
Definition: lvm.c:160
int luaV_equalobj(lua_State *L, const TValue *t1, const TValue *t2)
Definition: lvm.c:407
int luaV_lessthan(lua_State *L, const TValue *l, const TValue *r)
Definition: lvm.c:364
void luaV_objlen(lua_State *L, StkId ra, const TValue *rb)
Definition: lvm.c:517
void luaV_finishset(lua_State *L, const TValue *t, TValue *key, StkId val, const TValue *slot)
Definition: lvm.c:203
#define luaV_fastget(L, t, k, slot, f)
Definition: lvm.h:58
#define luaV_fastset(L, t, k, slot, f, v)
Definition: lvm.h:80
#define tointeger(o, i)
Definition: lvm.h:43
#define cvt2str(o)
Definition: lvm.h:17
#define luaV_gettable(L, t, k, v)
Definition: lvm.h:67
#define luaV_settable(L, t, k, v)
Definition: lvm.h:90
#define luaV_rawequalobj(t1, t2)
Definition: lvm.h:48
#define tonumber(o, n)
Definition: lvm.h:40
void luaZ_init(lua_State *L, ZIO *z, lua_Reader reader, void *data)
Definition: lzio.c:38
#define str(s)
Definition: sh6.c:399
TValue upvalue[1]
Definition: lobject.h:449
lua_CFunction f
Definition: lobject.h:448
struct CallInfo::@1689::@1691 c
StkId func
Definition: lstate.h:93
ptrdiff_t extra
Definition: lstate.h:107
lua_KContext ctx
Definition: lstate.h:104
lua_KFunction k
Definition: lstate.h:102
union CallInfo::@1689 u
unsigned short callstatus
Definition: lstate.h:109
ptrdiff_t old_errfunc
Definition: lstate.h:103
StkId top
Definition: lstate.h:94
Definition: lapi.c:935
StkId func
Definition: lapi.c:936
int nresults
Definition: lapi.c:937
Definition: lobject.h:407
Definition: lobject.h:497
Definition: lobject.h:346
Definition: lfunc.h:35
lu_mem refcount
Definition: lfunc.h:37
Definition: lzio.h:55
StkId top
Definition: lstate.h:182
Definition: sh.h:1226
Definition: sh2.c:920
Definition: dvips.h:235
Definition: strexpr.c:21
char fmt[256]
Definition: tex4ht.c:3925
m
Definition: tex4ht.c:3990
@ L
Definition: ubidiimp.h:45
#define va_start(pvar)
Definition: varargs.h:30
#define va_end(pvar)
Definition: varargs.h:38
char * va_list
Definition: varargs.h:22