mirror of
https://github.com/CompeyDev/lei.git
synced 2024-12-13 05:20:36 +00:00
1076 lines
26 KiB
C
1076 lines
26 KiB
C
|
|
#line 1 "cgo-builtin-prolog"
|
|
#include <stddef.h>
|
|
|
|
/* Define intgo when compiling with GCC. */
|
|
typedef ptrdiff_t intgo;
|
|
|
|
#define GO_CGO_GOSTRING_TYPEDEF
|
|
typedef struct { const char *p; intgo n; } _GoString_;
|
|
typedef struct { char *p; intgo n; intgo c; } _GoBytes_;
|
|
_GoString_ GoString(char *p);
|
|
_GoString_ GoStringN(char *p, int l);
|
|
_GoBytes_ GoBytes(void *p, int n);
|
|
char *CString(_GoString_);
|
|
void *CBytes(_GoBytes_);
|
|
void *_CMalloc(size_t);
|
|
|
|
__attribute__ ((unused))
|
|
static size_t _GoStringLen(_GoString_ s) { return (size_t)s.n; }
|
|
|
|
__attribute__ ((unused))
|
|
static const char *_GoStringPtr(_GoString_ s) { return s.p; }
|
|
|
|
#line 3 "/home/compey/dev/gluau/internal/lua.go"
|
|
|
|
|
|
// #cgo LDFLAGS: -L${SRCDIR}/luau/cmake -lLuau.VM -lm -lstdc++
|
|
#include "/home/compey/dev/gluau/internal/luau/VM/include/lua.h"
|
|
#include "/home/compey/dev/gluau/internal/luau/VM/include/lualib.h"
|
|
#include <stdlib.h>
|
|
#include "/home/compey/dev/gluau/internal/clua.h"
|
|
|
|
#line 1 "cgo-generated-wrapper"
|
|
|
|
|
|
#line 1 "cgo-gcc-prolog"
|
|
/*
|
|
If x and y are not equal, the type will be invalid
|
|
(have a negative array count) and an inscrutable error will come
|
|
out of the compiler and hopefully mention "name".
|
|
*/
|
|
#define __cgo_compile_assert_eq(x, y, name) typedef char name[(x-y)*(x-y)*-2UL+1UL];
|
|
|
|
/* Check at compile time that the sizes we use match our expectations. */
|
|
#define __cgo_size_assert(t, n) __cgo_compile_assert_eq(sizeof(t), (size_t)n, _cgo_sizeof_##t##_is_not_##n)
|
|
|
|
__cgo_size_assert(char, 1)
|
|
__cgo_size_assert(short, 2)
|
|
__cgo_size_assert(int, 4)
|
|
typedef long long __cgo_long_long;
|
|
__cgo_size_assert(__cgo_long_long, 8)
|
|
__cgo_size_assert(float, 4)
|
|
__cgo_size_assert(double, 8)
|
|
|
|
extern char* _cgo_topofstack(void);
|
|
|
|
/*
|
|
We use packed structs, but they are always aligned.
|
|
The pragmas and address-of-packed-member are only recognized as warning
|
|
groups in clang 4.0+, so ignore unknown pragmas first.
|
|
*/
|
|
#pragma GCC diagnostic ignored "-Wunknown-pragmas"
|
|
#pragma GCC diagnostic ignored "-Wpragmas"
|
|
#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
|
|
#pragma GCC diagnostic ignored "-Wunknown-warning-option"
|
|
#pragma GCC diagnostic ignored "-Wunaligned-access"
|
|
|
|
#include <errno.h>
|
|
#include <string.h>
|
|
|
|
|
|
#define CGO_NO_SANITIZE_THREAD
|
|
#define _cgo_tsan_acquire()
|
|
#define _cgo_tsan_release()
|
|
|
|
|
|
#define _cgo_msan_write(addr, sz)
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cmacro_NULL(void *v)
|
|
{
|
|
struct {
|
|
void* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) NULL;
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_clua_newstate(void *v)
|
|
{
|
|
struct {
|
|
void* p0;
|
|
lua_State* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) clua_newstate(_cgo_a->p0);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_free(void *v)
|
|
{
|
|
struct {
|
|
void* p0;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
free(_cgo_a->p0);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_absindex(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int r;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_absindex(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_checkstack(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int r;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_checkstack(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_close(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_close(_cgo_a->p0);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_equal(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
int p2;
|
|
int r;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_equal(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_gettop(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int r;
|
|
char __pad12[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_gettop(_cgo_a->p0);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_insert(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_insert(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_isLfunction(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int r;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_isLfunction(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_iscfunction(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int r;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_iscfunction(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_isnumber(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int r;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_isnumber(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_isstring(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int r;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_isstring(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_isthreadreset(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int r;
|
|
char __pad12[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_isthreadreset(_cgo_a->p0);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_isuserdata(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int r;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_isuserdata(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_lessthan(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
int p2;
|
|
int r;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_lessthan(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_lightuserdatatag(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int r;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_lightuserdatatag(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_mainthread(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
lua_State* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) lua_mainthread(_cgo_a->p0);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_namecallatom(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int* p1;
|
|
char const* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) lua_namecallatom(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_newthread(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
lua_State* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) lua_newthread(_cgo_a->p0);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_objlen(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int r;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_objlen(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_pushcclosurek(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
void* p1;
|
|
char const* p2;
|
|
int p3;
|
|
char __pad28[4];
|
|
void* p4;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_pushcclosurek(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2, _cgo_a->p3, _cgo_a->p4);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_pushinteger(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_pushinteger(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_pushlstring(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
char const* p1;
|
|
size_t p2;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_pushlstring(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_pushnil(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_pushnil(_cgo_a->p0);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_pushnumber(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
double p1;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_pushnumber(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_pushstring(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
char const* p1;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_pushstring(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_pushunsigned(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
unsigned int p1;
|
|
char __pad12[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_pushunsigned(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_pushvalue(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_pushvalue(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_rawcheckstack(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_rawcheckstack(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_rawequal(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
int p2;
|
|
int r;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_rawequal(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_remove(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_remove(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_replace(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_replace(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_resetthread(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_resetthread(_cgo_a->p0);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_settop(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_settop(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_toboolean(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int r;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_toboolean(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_tobuffer(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
size_t* p2;
|
|
void* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) lua_tobuffer(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_tocfunction(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
lua_CFunction r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_tocfunction(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_tointegerx(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int* p2;
|
|
int r;
|
|
char __pad28[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_tointegerx(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_tolightuserdata(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
void* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) lua_tolightuserdata(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_tolightuserdatatagged(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
int p2;
|
|
void* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) lua_tolightuserdatatagged(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_tolstring(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
size_t* p2;
|
|
char const* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) lua_tolstring(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_tonumberx(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int* p2;
|
|
double r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_tonumberx(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_topointer(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
const void* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) lua_topointer(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_tostringatom(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int* p2;
|
|
char const* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) lua_tostringatom(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_tothread(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
lua_State* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) lua_tothread(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_tounsignedx(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int* p2;
|
|
unsigned int r;
|
|
char __pad28[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_tounsignedx(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_touserdata(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
void* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) lua_touserdata(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_touserdatatagged(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
int p2;
|
|
void* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) lua_touserdatatagged(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_tovector(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
float const* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) lua_tovector(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_type(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int r;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_type(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_typename(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
char const* r;
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = (__typeof__(_cgo_a->r)) lua_typename(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_userdatatag(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
int p1;
|
|
char __pad12[4];
|
|
int r;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
char *_cgo_stktop = _cgo_topofstack();
|
|
__typeof__(_cgo_a->r) _cgo_r;
|
|
_cgo_tsan_acquire();
|
|
_cgo_r = lua_userdatatag(_cgo_a->p0, _cgo_a->p1);
|
|
_cgo_tsan_release();
|
|
_cgo_a = (void*)((char*)_cgo_a + (_cgo_topofstack() - _cgo_stktop));
|
|
_cgo_a->r = _cgo_r;
|
|
_cgo_msan_write(&_cgo_a->r, sizeof(_cgo_a->r));
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_xmove(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
lua_State* p1;
|
|
int p2;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_xmove(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
|
|
_cgo_tsan_release();
|
|
}
|
|
|
|
CGO_NO_SANITIZE_THREAD
|
|
void
|
|
_cgo_4543809e40d5_Cfunc_lua_xpush(void *v)
|
|
{
|
|
struct {
|
|
lua_State* p0;
|
|
lua_State* p1;
|
|
int p2;
|
|
char __pad20[4];
|
|
} __attribute__((__packed__, __gcc_struct__)) *_cgo_a = v;
|
|
_cgo_tsan_acquire();
|
|
lua_xpush(_cgo_a->p0, _cgo_a->p1, _cgo_a->p2);
|
|
_cgo_tsan_release();
|
|
}
|
|
|