mirror of
https://github.com/CompeyDev/lei.git
synced 2024-12-12 12:50:42 +00:00
chore: remove CGo generated objects
This commit is contained in:
parent
2077850b16
commit
594added91
7 changed files with 0 additions and 2449 deletions
BIN
_obj/_cgo_.o
BIN
_obj/_cgo_.o
Binary file not shown.
|
@ -1,63 +0,0 @@
|
|||
/* Code generated by cmd/cgo; DO NOT EDIT. */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "_cgo_export.h"
|
||||
|
||||
#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"
|
||||
extern void crosscall2(void (*fn)(void *), void *, int, size_t);
|
||||
extern size_t _cgo_wait_runtime_init_done(void);
|
||||
extern void _cgo_release_context(size_t);
|
||||
|
||||
extern char* _cgo_topofstack(void);
|
||||
#define CGO_NO_SANITIZE_THREAD
|
||||
#define _cgo_tsan_acquire()
|
||||
#define _cgo_tsan_release()
|
||||
|
||||
|
||||
#define _cgo_msan_write(addr, sz)
|
||||
|
||||
extern void _cgoexp_4543809e40d5_go_allocf(void *);
|
||||
|
||||
CGO_NO_SANITIZE_THREAD
|
||||
GoUintptr go_allocf(GoUintptr fp, GoUintptr ptr, GoUint64 osize, GoUint64 nsize)
|
||||
{
|
||||
size_t _cgo_ctxt = _cgo_wait_runtime_init_done();
|
||||
typedef struct {
|
||||
GoUintptr p0;
|
||||
GoUintptr p1;
|
||||
GoUint64 p2;
|
||||
GoUint64 p3;
|
||||
GoUintptr r0;
|
||||
} __attribute__((__packed__, __gcc_struct__)) _cgo_argtype;
|
||||
static _cgo_argtype _cgo_zero;
|
||||
_cgo_argtype _cgo_a = _cgo_zero;
|
||||
_cgo_a.p0 = fp;
|
||||
_cgo_a.p1 = ptr;
|
||||
_cgo_a.p2 = osize;
|
||||
_cgo_a.p3 = nsize;
|
||||
_cgo_tsan_release();
|
||||
crosscall2(_cgoexp_4543809e40d5_go_allocf, &_cgo_a, 40, _cgo_ctxt);
|
||||
_cgo_tsan_acquire();
|
||||
_cgo_release_context(_cgo_ctxt);
|
||||
return _cgo_a.r0;
|
||||
}
|
||||
|
||||
CGO_NO_SANITIZE_THREAD
|
||||
void _cgo_4543809e40d5_Cfunc__Cmalloc(void *v) {
|
||||
struct {
|
||||
unsigned long long p0;
|
||||
void *r1;
|
||||
} __attribute__((__packed__, __gcc_struct__)) *a = v;
|
||||
void *ret;
|
||||
_cgo_tsan_acquire();
|
||||
ret = malloc(a->p0);
|
||||
if (ret == 0 && a->p0 == 0) {
|
||||
ret = malloc(1);
|
||||
}
|
||||
a->r1 = ret;
|
||||
_cgo_tsan_release();
|
||||
}
|
|
@ -1,91 +0,0 @@
|
|||
/* Code generated by cmd/cgo; DO NOT EDIT. */
|
||||
|
||||
/* package internal */
|
||||
|
||||
|
||||
#line 1 "cgo-builtin-export-prolog"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#ifndef GO_CGO_EXPORT_PROLOGUE_H
|
||||
#define GO_CGO_EXPORT_PROLOGUE_H
|
||||
|
||||
#ifndef GO_CGO_GOSTRING_TYPEDEF
|
||||
typedef struct { const char *p; ptrdiff_t n; } _GoString_;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
/* Start of preamble from import "C" comments. */
|
||||
|
||||
|
||||
#line 3 "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"
|
||||
|
||||
|
||||
/* End of preamble from import "C" comments. */
|
||||
|
||||
|
||||
/* Start of boilerplate cgo prologue. */
|
||||
#line 1 "cgo-gcc-export-header-prolog"
|
||||
|
||||
#ifndef GO_CGO_PROLOGUE_H
|
||||
#define GO_CGO_PROLOGUE_H
|
||||
|
||||
typedef signed char GoInt8;
|
||||
typedef unsigned char GoUint8;
|
||||
typedef short GoInt16;
|
||||
typedef unsigned short GoUint16;
|
||||
typedef int GoInt32;
|
||||
typedef unsigned int GoUint32;
|
||||
typedef long long GoInt64;
|
||||
typedef unsigned long long GoUint64;
|
||||
typedef GoInt64 GoInt;
|
||||
typedef GoUint64 GoUint;
|
||||
typedef size_t GoUintptr;
|
||||
typedef float GoFloat32;
|
||||
typedef double GoFloat64;
|
||||
#ifdef _MSC_VER
|
||||
#include <complex.h>
|
||||
typedef _Fcomplex GoComplex64;
|
||||
typedef _Dcomplex GoComplex128;
|
||||
#else
|
||||
typedef float _Complex GoComplex64;
|
||||
typedef double _Complex GoComplex128;
|
||||
#endif
|
||||
|
||||
/*
|
||||
static assertion to make sure the file is being used on architecture
|
||||
at least with matching size of GoInt.
|
||||
*/
|
||||
typedef char _check_for_64_bit_pointer_matching_GoInt[sizeof(void*)==64/8 ? 1:-1];
|
||||
|
||||
#ifndef GO_CGO_GOSTRING_TYPEDEF
|
||||
typedef _GoString_ GoString;
|
||||
#endif
|
||||
typedef void *GoMap;
|
||||
typedef void *GoChan;
|
||||
typedef struct { void *t; void *v; } GoInterface;
|
||||
typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
|
||||
|
||||
#endif
|
||||
|
||||
/* End of boilerplate cgo prologue. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern GoUintptr go_allocf(GoUintptr fp, GoUintptr ptr, GoUint64 osize, GoUint64 nsize);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
|
@ -1,905 +0,0 @@
|
|||
// Code generated by cmd/cgo; DO NOT EDIT.
|
||||
|
||||
package internal
|
||||
|
||||
import "unsafe"
|
||||
|
||||
import "syscall"
|
||||
|
||||
import _cgopackage "runtime/cgo"
|
||||
|
||||
type _ _cgopackage.Incomplete
|
||||
var _ syscall.Errno
|
||||
func _Cgo_ptr(ptr unsafe.Pointer) unsafe.Pointer { return ptr }
|
||||
|
||||
//go:linkname _Cgo_always_false runtime.cgoAlwaysFalse
|
||||
var _Cgo_always_false bool
|
||||
//go:linkname _Cgo_use runtime.cgoUse
|
||||
func _Cgo_use(interface{})
|
||||
//go:linkname _Cgo_no_callback runtime.cgoNoCallback
|
||||
func _Cgo_no_callback(bool)
|
||||
type _Ctype__GoString_ string
|
||||
|
||||
type _Ctype_char int8
|
||||
|
||||
type _Ctype_double float64
|
||||
|
||||
type _Ctype_float float32
|
||||
|
||||
type _Ctype_int int32
|
||||
|
||||
type _Ctype_intgo = _Ctype_ptrdiff_t
|
||||
|
||||
type _Ctype_long int64
|
||||
|
||||
type _Ctype_lua_CFunction *[0]byte
|
||||
|
||||
type _Ctype_lua_Continuation *[0]byte
|
||||
|
||||
type _Ctype_lua_Integer = _Ctype_int
|
||||
|
||||
type _Ctype_lua_Number = _Ctype_double
|
||||
|
||||
type _Ctype_lua_State = _Ctype_struct_lua_State
|
||||
|
||||
type _Ctype_lua_Unsigned = _Ctype_uint
|
||||
|
||||
type _Ctype_ptrdiff_t = _Ctype_long
|
||||
|
||||
type _Ctype_size_t = _Ctype_ulong
|
||||
|
||||
type _Ctype_struct_lua_State _cgopackage.Incomplete
|
||||
|
||||
type _Ctype_uint uint32
|
||||
|
||||
type _Ctype_ulong uint64
|
||||
|
||||
type _Ctype_void [0]byte
|
||||
|
||||
//go:linkname _cgo_runtime_cgocall runtime.cgocall
|
||||
func _cgo_runtime_cgocall(unsafe.Pointer, uintptr) int32
|
||||
|
||||
//go:linkname _cgoCheckPointer runtime.cgoCheckPointer
|
||||
//go:noescape
|
||||
func _cgoCheckPointer(interface{}, interface{})
|
||||
|
||||
//go:linkname _cgoCheckResult runtime.cgoCheckResult
|
||||
//go:noescape
|
||||
func _cgoCheckResult(interface{})
|
||||
|
||||
|
||||
// CString converts the Go string s to a C string.
|
||||
//
|
||||
// The C string is allocated in the C heap using malloc.
|
||||
// It is the caller's responsibility to arrange for it to be
|
||||
// freed, such as by calling C.free (be sure to include stdlib.h
|
||||
// if C.free is needed).
|
||||
func _Cfunc_CString(s string) *_Ctype_char {
|
||||
if len(s)+1 <= 0 {
|
||||
panic("string too large")
|
||||
}
|
||||
p := _cgo_cmalloc(uint64(len(s)+1))
|
||||
sliceHeader := struct {
|
||||
p unsafe.Pointer
|
||||
len int
|
||||
cap int
|
||||
}{p, len(s)+1, len(s)+1}
|
||||
b := *(*[]byte)(unsafe.Pointer(&sliceHeader))
|
||||
copy(b, s)
|
||||
b[len(s)] = 0
|
||||
return (*_Ctype_char)(p)
|
||||
}
|
||||
|
||||
//go:linkname _cgo_runtime_gostring runtime.gostring
|
||||
func _cgo_runtime_gostring(*_Ctype_char) string
|
||||
|
||||
// GoString converts the C string p into a Go string.
|
||||
func _Cfunc_GoString(p *_Ctype_char) string {
|
||||
return _cgo_runtime_gostring(p)
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cmacro_NULL
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cmacro_NULL _cgo_4543809e40d5_Cmacro_NULL
|
||||
var __cgofn__cgo_4543809e40d5_Cmacro_NULL byte
|
||||
var _cgo_4543809e40d5_Cmacro_NULL = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cmacro_NULL)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cmacro_NULL() (r1 unsafe.Pointer) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cmacro_NULL, uintptr(unsafe.Pointer(&r1)))
|
||||
if _Cgo_always_false {
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_clua_newstate
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_clua_newstate _cgo_4543809e40d5_Cfunc_clua_newstate
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_clua_newstate byte
|
||||
var _cgo_4543809e40d5_Cfunc_clua_newstate = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_clua_newstate)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_clua_newstate(p0 unsafe.Pointer) (r1 *_Ctype_struct_lua_State) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_clua_newstate, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_free
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_free _cgo_4543809e40d5_Cfunc_free
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_free byte
|
||||
var _cgo_4543809e40d5_Cfunc_free = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_free)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_free(p0 unsafe.Pointer) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_free, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_absindex
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_absindex _cgo_4543809e40d5_Cfunc_lua_absindex
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_absindex byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_absindex = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_absindex)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_absindex(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_absindex, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_checkstack
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_checkstack _cgo_4543809e40d5_Cfunc_lua_checkstack
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_checkstack byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_checkstack = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_checkstack)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_checkstack(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_checkstack, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_close
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_close _cgo_4543809e40d5_Cfunc_lua_close
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_close byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_close = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_close)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_close(p0 *_Ctype_struct_lua_State) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_close, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_equal
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_equal _cgo_4543809e40d5_Cfunc_lua_equal
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_equal byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_equal = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_equal)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_equal(p0 *_Ctype_struct_lua_State, p1 _Ctype_int, p2 _Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_equal, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
_Cgo_use(p2)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_gettop
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_gettop _cgo_4543809e40d5_Cfunc_lua_gettop
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_gettop byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_gettop = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_gettop)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_gettop(p0 *_Ctype_struct_lua_State) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_gettop, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_insert
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_insert _cgo_4543809e40d5_Cfunc_lua_insert
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_insert byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_insert = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_insert)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_insert(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_insert, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_isLfunction
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_isLfunction _cgo_4543809e40d5_Cfunc_lua_isLfunction
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_isLfunction byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_isLfunction = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_isLfunction)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_isLfunction(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_isLfunction, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_iscfunction
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_iscfunction _cgo_4543809e40d5_Cfunc_lua_iscfunction
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_iscfunction byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_iscfunction = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_iscfunction)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_iscfunction(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_iscfunction, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_isnumber
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_isnumber _cgo_4543809e40d5_Cfunc_lua_isnumber
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_isnumber byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_isnumber = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_isnumber)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_isnumber(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_isnumber, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_isstring
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_isstring _cgo_4543809e40d5_Cfunc_lua_isstring
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_isstring byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_isstring = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_isstring)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_isstring(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_isstring, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_isthreadreset
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_isthreadreset _cgo_4543809e40d5_Cfunc_lua_isthreadreset
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_isthreadreset byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_isthreadreset = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_isthreadreset)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_isthreadreset(p0 *_Ctype_struct_lua_State) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_isthreadreset, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_isuserdata
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_isuserdata _cgo_4543809e40d5_Cfunc_lua_isuserdata
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_isuserdata byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_isuserdata = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_isuserdata)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_isuserdata(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_isuserdata, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_lessthan
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_lessthan _cgo_4543809e40d5_Cfunc_lua_lessthan
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_lessthan byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_lessthan = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_lessthan)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_lessthan(p0 *_Ctype_struct_lua_State, p1 _Ctype_int, p2 _Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_lessthan, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
_Cgo_use(p2)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_lightuserdatatag
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_lightuserdatatag _cgo_4543809e40d5_Cfunc_lua_lightuserdatatag
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_lightuserdatatag byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_lightuserdatatag = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_lightuserdatatag)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_lightuserdatatag(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_lightuserdatatag, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_mainthread
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_mainthread _cgo_4543809e40d5_Cfunc_lua_mainthread
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_mainthread byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_mainthread = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_mainthread)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_mainthread(p0 *_Ctype_struct_lua_State) (r1 *_Ctype_struct_lua_State) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_mainthread, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_namecallatom
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_namecallatom _cgo_4543809e40d5_Cfunc_lua_namecallatom
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_namecallatom byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_namecallatom = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_namecallatom)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_namecallatom(p0 *_Ctype_struct_lua_State, p1 *_Ctype_int) (r1 *_Ctype_char) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_namecallatom, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_newthread
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_newthread _cgo_4543809e40d5_Cfunc_lua_newthread
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_newthread byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_newthread = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_newthread)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_newthread(p0 *_Ctype_struct_lua_State) (r1 *_Ctype_struct_lua_State) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_newthread, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_objlen
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_objlen _cgo_4543809e40d5_Cfunc_lua_objlen
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_objlen byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_objlen = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_objlen)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_objlen(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_objlen, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_pushcclosurek
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_pushcclosurek _cgo_4543809e40d5_Cfunc_lua_pushcclosurek
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_pushcclosurek byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_pushcclosurek = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_pushcclosurek)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_pushcclosurek(p0 *_Ctype_struct_lua_State, p1 *[0]byte, p2 *_Ctype_char, p3 _Ctype_int, p4 *[0]byte) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_pushcclosurek, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
_Cgo_use(p2)
|
||||
_Cgo_use(p3)
|
||||
_Cgo_use(p4)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_pushinteger
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_pushinteger _cgo_4543809e40d5_Cfunc_lua_pushinteger
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_pushinteger byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_pushinteger = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_pushinteger)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_pushinteger(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_pushinteger, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_pushlstring
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_pushlstring _cgo_4543809e40d5_Cfunc_lua_pushlstring
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_pushlstring byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_pushlstring = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_pushlstring)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_pushlstring(p0 *_Ctype_struct_lua_State, p1 *_Ctype_char, p2 _Ctype_size_t) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_pushlstring, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
_Cgo_use(p2)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_pushnil
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_pushnil _cgo_4543809e40d5_Cfunc_lua_pushnil
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_pushnil byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_pushnil = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_pushnil)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_pushnil(p0 *_Ctype_struct_lua_State) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_pushnil, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_pushnumber
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_pushnumber _cgo_4543809e40d5_Cfunc_lua_pushnumber
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_pushnumber byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_pushnumber = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_pushnumber)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_pushnumber(p0 *_Ctype_struct_lua_State, p1 _Ctype_double) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_pushnumber, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_pushstring
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_pushstring _cgo_4543809e40d5_Cfunc_lua_pushstring
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_pushstring byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_pushstring = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_pushstring)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_pushstring(p0 *_Ctype_struct_lua_State, p1 *_Ctype_char) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_pushstring, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_pushunsigned
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_pushunsigned _cgo_4543809e40d5_Cfunc_lua_pushunsigned
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_pushunsigned byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_pushunsigned = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_pushunsigned)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_pushunsigned(p0 *_Ctype_struct_lua_State, p1 _Ctype_uint) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_pushunsigned, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_pushvalue
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_pushvalue _cgo_4543809e40d5_Cfunc_lua_pushvalue
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_pushvalue byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_pushvalue = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_pushvalue)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_pushvalue(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_pushvalue, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_rawcheckstack
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_rawcheckstack _cgo_4543809e40d5_Cfunc_lua_rawcheckstack
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_rawcheckstack byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_rawcheckstack = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_rawcheckstack)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_rawcheckstack(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_rawcheckstack, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_rawequal
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_rawequal _cgo_4543809e40d5_Cfunc_lua_rawequal
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_rawequal byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_rawequal = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_rawequal)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_rawequal(p0 *_Ctype_struct_lua_State, p1 _Ctype_int, p2 _Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_rawequal, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
_Cgo_use(p2)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_remove
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_remove _cgo_4543809e40d5_Cfunc_lua_remove
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_remove byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_remove = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_remove)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_remove(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_remove, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_replace
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_replace _cgo_4543809e40d5_Cfunc_lua_replace
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_replace byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_replace = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_replace)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_replace(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_replace, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_resetthread
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_resetthread _cgo_4543809e40d5_Cfunc_lua_resetthread
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_resetthread byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_resetthread = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_resetthread)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_resetthread(p0 *_Ctype_struct_lua_State) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_resetthread, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_settop
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_settop _cgo_4543809e40d5_Cfunc_lua_settop
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_settop byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_settop = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_settop)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_settop(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_settop, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_toboolean
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_toboolean _cgo_4543809e40d5_Cfunc_lua_toboolean
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_toboolean byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_toboolean = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_toboolean)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_toboolean(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_toboolean, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_tobuffer
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_tobuffer _cgo_4543809e40d5_Cfunc_lua_tobuffer
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_tobuffer byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_tobuffer = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_tobuffer)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_tobuffer(p0 *_Ctype_struct_lua_State, p1 _Ctype_int, p2 *_Ctype_size_t) (r1 unsafe.Pointer) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_tobuffer, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
_Cgo_use(p2)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_tocfunction
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_tocfunction _cgo_4543809e40d5_Cfunc_lua_tocfunction
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_tocfunction byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_tocfunction = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_tocfunction)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_tocfunction(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_lua_CFunction) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_tocfunction, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_tointegerx
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_tointegerx _cgo_4543809e40d5_Cfunc_lua_tointegerx
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_tointegerx byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_tointegerx = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_tointegerx)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_tointegerx(p0 *_Ctype_struct_lua_State, p1 _Ctype_int, p2 *_Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_tointegerx, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
_Cgo_use(p2)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_tolightuserdata
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_tolightuserdata _cgo_4543809e40d5_Cfunc_lua_tolightuserdata
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_tolightuserdata byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_tolightuserdata = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_tolightuserdata)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_tolightuserdata(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 unsafe.Pointer) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_tolightuserdata, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_tolightuserdatatagged
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_tolightuserdatatagged _cgo_4543809e40d5_Cfunc_lua_tolightuserdatatagged
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_tolightuserdatatagged byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_tolightuserdatatagged = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_tolightuserdatatagged)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_tolightuserdatatagged(p0 *_Ctype_struct_lua_State, p1 _Ctype_int, p2 _Ctype_int) (r1 unsafe.Pointer) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_tolightuserdatatagged, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
_Cgo_use(p2)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_tolstring
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_tolstring _cgo_4543809e40d5_Cfunc_lua_tolstring
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_tolstring byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_tolstring = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_tolstring)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_tolstring(p0 *_Ctype_struct_lua_State, p1 _Ctype_int, p2 *_Ctype_size_t) (r1 *_Ctype_char) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_tolstring, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
_Cgo_use(p2)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_tonumberx
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_tonumberx _cgo_4543809e40d5_Cfunc_lua_tonumberx
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_tonumberx byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_tonumberx = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_tonumberx)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_tonumberx(p0 *_Ctype_struct_lua_State, p1 _Ctype_int, p2 *_Ctype_int) (r1 _Ctype_double) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_tonumberx, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
_Cgo_use(p2)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_topointer
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_topointer _cgo_4543809e40d5_Cfunc_lua_topointer
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_topointer byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_topointer = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_topointer)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_topointer(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 unsafe.Pointer) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_topointer, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_tostringatom
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_tostringatom _cgo_4543809e40d5_Cfunc_lua_tostringatom
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_tostringatom byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_tostringatom = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_tostringatom)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_tostringatom(p0 *_Ctype_struct_lua_State, p1 _Ctype_int, p2 *_Ctype_int) (r1 *_Ctype_char) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_tostringatom, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
_Cgo_use(p2)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_tothread
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_tothread _cgo_4543809e40d5_Cfunc_lua_tothread
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_tothread byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_tothread = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_tothread)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_tothread(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 *_Ctype_struct_lua_State) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_tothread, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_tounsignedx
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_tounsignedx _cgo_4543809e40d5_Cfunc_lua_tounsignedx
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_tounsignedx byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_tounsignedx = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_tounsignedx)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_tounsignedx(p0 *_Ctype_struct_lua_State, p1 _Ctype_int, p2 *_Ctype_int) (r1 _Ctype_uint) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_tounsignedx, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
_Cgo_use(p2)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_touserdata
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_touserdata _cgo_4543809e40d5_Cfunc_lua_touserdata
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_touserdata byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_touserdata = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_touserdata)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_touserdata(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 unsafe.Pointer) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_touserdata, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_touserdatatagged
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_touserdatatagged _cgo_4543809e40d5_Cfunc_lua_touserdatatagged
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_touserdatatagged byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_touserdatatagged = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_touserdatatagged)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_touserdatatagged(p0 *_Ctype_struct_lua_State, p1 _Ctype_int, p2 _Ctype_int) (r1 unsafe.Pointer) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_touserdatatagged, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
_Cgo_use(p2)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_tovector
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_tovector _cgo_4543809e40d5_Cfunc_lua_tovector
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_tovector byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_tovector = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_tovector)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_tovector(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 *_Ctype_float) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_tovector, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_type
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_type _cgo_4543809e40d5_Cfunc_lua_type
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_type byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_type = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_type)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_type(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_type, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_typename
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_typename _cgo_4543809e40d5_Cfunc_lua_typename
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_typename byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_typename = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_typename)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_typename(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 *_Ctype_char) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_typename, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_userdatatag
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_userdatatag _cgo_4543809e40d5_Cfunc_lua_userdatatag
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_userdatatag byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_userdatatag = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_userdatatag)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_userdatatag(p0 *_Ctype_struct_lua_State, p1 _Ctype_int) (r1 _Ctype_int) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_userdatatag, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_xmove
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_xmove _cgo_4543809e40d5_Cfunc_lua_xmove
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_xmove byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_xmove = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_xmove)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_xmove(p0 *_Ctype_struct_lua_State, p1 *_Ctype_struct_lua_State, p2 _Ctype_int) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_xmove, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
_Cgo_use(p2)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc_lua_xpush
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc_lua_xpush _cgo_4543809e40d5_Cfunc_lua_xpush
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc_lua_xpush byte
|
||||
var _cgo_4543809e40d5_Cfunc_lua_xpush = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc_lua_xpush)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _Cfunc_lua_xpush(p0 *_Ctype_struct_lua_State, p1 *_Ctype_struct_lua_State, p2 _Ctype_int) (r1 _Ctype_void) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc_lua_xpush, uintptr(unsafe.Pointer(&p0)))
|
||||
if _Cgo_always_false {
|
||||
_Cgo_use(p0)
|
||||
_Cgo_use(p1)
|
||||
_Cgo_use(p2)
|
||||
}
|
||||
return
|
||||
}
|
||||
//go:cgo_export_dynamic go_allocf
|
||||
//go:linkname _cgoexp_4543809e40d5_go_allocf _cgoexp_4543809e40d5_go_allocf
|
||||
//go:cgo_export_static _cgoexp_4543809e40d5_go_allocf
|
||||
func _cgoexp_4543809e40d5_go_allocf(a *struct {
|
||||
p0 uintptr
|
||||
p1 uintptr
|
||||
p2 uint64
|
||||
p3 uint64
|
||||
r0 uintptr
|
||||
}) {
|
||||
a.r0 = go_allocf(a.p0, a.p1, a.p2, a.p3)
|
||||
_cgoCheckResult(a.r0)
|
||||
}
|
||||
|
||||
//go:cgo_import_static _cgo_4543809e40d5_Cfunc__Cmalloc
|
||||
//go:linkname __cgofn__cgo_4543809e40d5_Cfunc__Cmalloc _cgo_4543809e40d5_Cfunc__Cmalloc
|
||||
var __cgofn__cgo_4543809e40d5_Cfunc__Cmalloc byte
|
||||
var _cgo_4543809e40d5_Cfunc__Cmalloc = unsafe.Pointer(&__cgofn__cgo_4543809e40d5_Cfunc__Cmalloc)
|
||||
|
||||
//go:linkname runtime_throw runtime.throw
|
||||
func runtime_throw(string)
|
||||
|
||||
//go:cgo_unsafe_args
|
||||
func _cgo_cmalloc(p0 uint64) (r1 unsafe.Pointer) {
|
||||
_cgo_runtime_cgocall(_cgo_4543809e40d5_Cfunc__Cmalloc, uintptr(unsafe.Pointer(&p0)))
|
||||
if r1 == nil {
|
||||
runtime_throw("runtime: C malloc failed")
|
||||
}
|
||||
return
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
#include <stddef.h>
|
||||
int main() { return 0; }
|
||||
void crosscall2(void(*fn)(void*) __attribute__((unused)), void *a __attribute__((unused)), int c __attribute__((unused)), size_t ctxt __attribute__((unused))) { }
|
||||
size_t _cgo_wait_runtime_init_done(void) { return 0; }
|
||||
void _cgo_release_context(size_t ctxt __attribute__((unused))) { }
|
||||
char* _cgo_topofstack(void) { return (char*)0; }
|
||||
void _cgo_allocate(void *a __attribute__((unused)), int c __attribute__((unused))) { }
|
||||
void _cgo_panic(void *a __attribute__((unused)), int c __attribute__((unused))) { }
|
||||
void _cgo_reginit(void) { }
|
||||
#line 1 "cgo-generated-wrappers"
|
||||
void _cgoexp_4543809e40d5_go_allocf(void* p){}
|
303
_obj/lua.cgo1.go
303
_obj/lua.cgo1.go
|
@ -1,303 +0,0 @@
|
|||
// Code generated by cmd/cgo; DO NOT EDIT.
|
||||
|
||||
//line /home/compey/dev/gluau/internal/lua.go:1:1
|
||||
package internal; import _cgo_unsafe "unsafe"
|
||||
|
||||
/*
|
||||
#cgo CFLAGS: -Iluau/VM/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/include
|
||||
// #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"
|
||||
*/
|
||||
import _ "unsafe"
|
||||
import "unsafe"
|
||||
|
||||
type lua_Number float64
|
||||
type lua_Integer int32
|
||||
type lua_Unsigned int32
|
||||
|
||||
type lua_CFunction func(L * /*line :18:28*/_Ctype_lua_State /*line :18:39*/) int32
|
||||
type lua_Continuation func(L * /*line :19:31*/_Ctype_lua_State /*line :19:42*/, status int32) int32
|
||||
|
||||
type lua_Udestructor = func(* /*line :21:30*/_Ctype_void /*line :21:36*/)
|
||||
type lua_Destructor = func(L * /*line :22:31*/_Ctype_lua_State /*line :22:42*/, _ unsafe.Pointer)
|
||||
|
||||
// type lua_Alloc = func(ud, ptr *C.void, osize, nsize C.size_t) *C.void
|
||||
type lua_Alloc = func(ptr unsafe.Pointer, osize, nsize uint64) unsafe.Pointer
|
||||
|
||||
//export go_allocf
|
||||
func go_allocf(fp uintptr, ptr uintptr, osize uint64, nsize uint64) uintptr {
|
||||
p := ((*((*lua_Alloc)(unsafe.Pointer(fp))))(unsafe.Pointer(ptr), osize, nsize))
|
||||
return uintptr(p)
|
||||
}
|
||||
|
||||
//
|
||||
// ==================
|
||||
// VM state
|
||||
// ==================
|
||||
//
|
||||
|
||||
func NewState(ud unsafe.Pointer) * /*line :39:35*/_Ctype_lua_State /*line :39:46*/ {
|
||||
return func() *_Ctype_struct_lua_State{ _cgo0 := /*line :40:25*/unsafe.Pointer(ud); _cgoCheckPointer(_cgo0, nil); return /*line :40:44*/_Cfunc_clua_newstate(_cgo0); }()
|
||||
}
|
||||
|
||||
func LuaClose(L * /*line :43:18*/_Ctype_lua_State /*line :43:29*/) {
|
||||
func() { _cgo0 := /*line :44:14*/L; _cgoCheckPointer(_cgo0, nil); /*line :44:16*/_Cfunc_lua_close(_cgo0); }()
|
||||
}
|
||||
|
||||
func NewThread(L * /*line :47:19*/_Ctype_lua_State /*line :47:30*/) * /*line :47:33*/_Ctype_lua_State /*line :47:44*/ {
|
||||
return func() *_Ctype_struct_lua_State{ _cgo0 := /*line :48:25*/L; _cgoCheckPointer(_cgo0, nil); return /*line :48:27*/_Cfunc_lua_newthread(_cgo0); }()
|
||||
}
|
||||
|
||||
func MainThread(L * /*line :51:20*/_Ctype_lua_State /*line :51:31*/) * /*line :51:34*/_Ctype_lua_State /*line :51:45*/ {
|
||||
return func() *_Ctype_struct_lua_State{ _cgo0 := /*line :52:26*/L; _cgoCheckPointer(_cgo0, nil); return /*line :52:28*/_Cfunc_lua_mainthread(_cgo0); }()
|
||||
}
|
||||
|
||||
func ResetThread(L * /*line :55:21*/_Ctype_lua_State /*line :55:32*/) {
|
||||
func() { _cgo0 := /*line :56:20*/L; _cgoCheckPointer(_cgo0, nil); /*line :56:22*/_Cfunc_lua_resetthread(_cgo0); }()
|
||||
}
|
||||
|
||||
func IsThreadReset(L * /*line :59:23*/_Ctype_lua_State /*line :59:34*/) bool {
|
||||
return func() _Ctype_int{ _cgo0 := /*line :60:29*/L; _cgoCheckPointer(_cgo0, nil); return /*line :60:31*/_Cfunc_lua_isthreadreset(_cgo0); }() != 0
|
||||
}
|
||||
|
||||
//
|
||||
// ==================
|
||||
// VM Stack
|
||||
// ==================
|
||||
//
|
||||
|
||||
func AbsIndex(L * /*line :69:18*/_Ctype_lua_State /*line :69:29*/, idx int32) int32 {
|
||||
return int32(func() _Ctype_int{ _cgo0 := /*line :70:30*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :70:38*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :70:44*/_Cfunc_lua_absindex(_cgo0, _cgo1); }())
|
||||
}
|
||||
|
||||
func GetTop(L * /*line :73:16*/_Ctype_lua_State /*line :73:27*/) int32 {
|
||||
return int32(func() _Ctype_int{ _cgo0 := /*line :74:28*/L; _cgoCheckPointer(_cgo0, nil); return /*line :74:30*/_Cfunc_lua_gettop(_cgo0); }())
|
||||
}
|
||||
|
||||
func SetTop(L * /*line :77:16*/_Ctype_lua_State /*line :77:27*/, idx int32) {
|
||||
func() { _cgo0 := /*line :78:15*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :78:23*/(idx); _cgoCheckPointer(_cgo0, nil); /*line :78:29*/_Cfunc_lua_settop(_cgo0, _cgo1); }()
|
||||
}
|
||||
|
||||
func PushValue(L * /*line :81:19*/_Ctype_lua_State /*line :81:30*/, idx int32) {
|
||||
func() { _cgo0 := /*line :82:18*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :82:26*/(idx); _cgoCheckPointer(_cgo0, nil); /*line :82:32*/_Cfunc_lua_pushvalue(_cgo0, _cgo1); }()
|
||||
}
|
||||
|
||||
func Remove(L * /*line :85:16*/_Ctype_lua_State /*line :85:27*/, idx int32) {
|
||||
func() { _cgo0 := /*line :86:15*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :86:23*/(idx); _cgoCheckPointer(_cgo0, nil); /*line :86:29*/_Cfunc_lua_remove(_cgo0, _cgo1); }()
|
||||
}
|
||||
|
||||
func Insert(L * /*line :89:16*/_Ctype_lua_State /*line :89:27*/, idx int32) {
|
||||
func() { _cgo0 := /*line :90:15*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :90:23*/(idx); _cgoCheckPointer(_cgo0, nil); /*line :90:29*/_Cfunc_lua_insert(_cgo0, _cgo1); }()
|
||||
}
|
||||
|
||||
func Replace(L * /*line :93:17*/_Ctype_lua_State /*line :93:28*/, idx int32) {
|
||||
func() { _cgo0 := /*line :94:16*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :94:24*/(idx); _cgoCheckPointer(_cgo0, nil); /*line :94:30*/_Cfunc_lua_replace(_cgo0, _cgo1); }()
|
||||
}
|
||||
|
||||
func CheckStack(L * /*line :97:20*/_Ctype_lua_State /*line :97:31*/, sz int32) bool {
|
||||
return func() _Ctype_int{ _cgo0 := /*line :98:26*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :98:34*/(sz); _cgoCheckPointer(_cgo0, nil); return /*line :98:39*/_Cfunc_lua_checkstack(_cgo0, _cgo1); }() != 0
|
||||
}
|
||||
|
||||
func RawCheckStack(L * /*line :101:23*/_Ctype_lua_State /*line :101:34*/, sz int32) {
|
||||
func() { _cgo0 := /*line :102:22*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :102:30*/(sz); _cgoCheckPointer(_cgo0, nil); /*line :102:35*/_Cfunc_lua_rawcheckstack(_cgo0, _cgo1); }()
|
||||
}
|
||||
|
||||
func XMove(from, to * /*line :105:22*/_Ctype_lua_State /*line :105:33*/, n int32) {
|
||||
func() { _cgo0 := /*line :106:14*/from; _cgo1 := /*line :106:20*/to; var _cgo2 _Ctype_int = _Ctype_int /*line :106:29*/(n); _cgoCheckPointer(_cgo0, nil); _cgoCheckPointer(_cgo1, nil); /*line :106:33*/_Cfunc_lua_xmove(_cgo0, _cgo1, _cgo2); }()
|
||||
}
|
||||
|
||||
func XPush(from, to * /*line :109:22*/_Ctype_lua_State /*line :109:33*/, idx int32) {
|
||||
func() { _cgo0 := /*line :110:14*/from; _cgo1 := /*line :110:20*/to; var _cgo2 _Ctype_int = _Ctype_int /*line :110:29*/(idx); _cgoCheckPointer(_cgo0, nil); _cgoCheckPointer(_cgo1, nil); /*line :110:35*/_Cfunc_lua_xpush(_cgo0, _cgo1, _cgo2); }()
|
||||
}
|
||||
|
||||
//
|
||||
// ======================
|
||||
// Stack Values
|
||||
// ======================
|
||||
//
|
||||
|
||||
func IsNumber(L * /*line :119:18*/_Ctype_lua_State /*line :119:29*/, idx int32) bool {
|
||||
return func() _Ctype_int{ _cgo0 := /*line :120:24*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :120:32*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :120:38*/_Cfunc_lua_isnumber(_cgo0, _cgo1); }() != 0
|
||||
}
|
||||
|
||||
func IsString(L * /*line :123:18*/_Ctype_lua_State /*line :123:29*/, idx int32) bool {
|
||||
return func() _Ctype_int{ _cgo0 := /*line :124:24*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :124:32*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :124:38*/_Cfunc_lua_isstring(_cgo0, _cgo1); }() != 0
|
||||
}
|
||||
|
||||
func IsCFunction(L * /*line :127:21*/_Ctype_lua_State /*line :127:32*/, idx int32) bool {
|
||||
return func() _Ctype_int{ _cgo0 := /*line :128:27*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :128:35*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :128:41*/_Cfunc_lua_iscfunction(_cgo0, _cgo1); }() != 0
|
||||
}
|
||||
|
||||
func IsLFunction(L * /*line :131:21*/_Ctype_lua_State /*line :131:32*/, idx int32) bool {
|
||||
return func() _Ctype_int{ _cgo0 := /*line :132:27*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :132:35*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :132:41*/_Cfunc_lua_isLfunction(_cgo0, _cgo1); }() != 0
|
||||
}
|
||||
|
||||
func IsUserData(L * /*line :135:20*/_Ctype_lua_State /*line :135:31*/, idx int32) bool {
|
||||
return func() _Ctype_int{ _cgo0 := /*line :136:26*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :136:34*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :136:40*/_Cfunc_lua_isuserdata(_cgo0, _cgo1); }() != 0
|
||||
}
|
||||
|
||||
func Type(L * /*line :139:14*/_Ctype_lua_State /*line :139:25*/, idx int32) bool {
|
||||
return func() _Ctype_int{ _cgo0 := /*line :140:20*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :140:28*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :140:34*/_Cfunc_lua_type(_cgo0, _cgo1); }() != 0
|
||||
}
|
||||
|
||||
func TypeName(L * /*line :143:18*/_Ctype_lua_State /*line :143:29*/, tp int32) string {
|
||||
return ( /*line :144:9*/_Cfunc_GoString /*line :144:18*/)(func() *_Ctype_char{ _cgo0 := /*line :144:35*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :144:43*/(tp); _cgoCheckPointer(_cgo0, nil); return /*line :144:48*/_Cfunc_lua_typename(_cgo0, _cgo1); }())
|
||||
}
|
||||
|
||||
func Equal(L * /*line :147:15*/_Ctype_lua_State /*line :147:26*/, idx1, idx2 int32) bool {
|
||||
return func() _Ctype_int{ _cgo0 := /*line :148:21*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :148:29*/(idx1); var _cgo2 _Ctype_int = _Ctype_int /*line :148:42*/(idx2); _cgoCheckPointer(_cgo0, nil); return /*line :148:49*/_Cfunc_lua_equal(_cgo0, _cgo1, _cgo2); }() != 0
|
||||
}
|
||||
|
||||
func RawEqual(L * /*line :151:18*/_Ctype_lua_State /*line :151:29*/, idx1, idx2 int32) bool {
|
||||
return func() _Ctype_int{ _cgo0 := /*line :152:24*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :152:32*/(idx1); var _cgo2 _Ctype_int = _Ctype_int /*line :152:45*/(idx2); _cgoCheckPointer(_cgo0, nil); return /*line :152:52*/_Cfunc_lua_rawequal(_cgo0, _cgo1, _cgo2); }() != 0
|
||||
}
|
||||
|
||||
func LessThan(L * /*line :155:18*/_Ctype_lua_State /*line :155:29*/, idx1, idx2 int32) bool {
|
||||
return func() _Ctype_int{ _cgo0 := /*line :156:24*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :156:32*/(idx1); var _cgo2 _Ctype_int = _Ctype_int /*line :156:45*/(idx2); _cgoCheckPointer(_cgo0, nil); return /*line :156:52*/_Cfunc_lua_lessthan(_cgo0, _cgo1, _cgo2); }() != 0
|
||||
}
|
||||
|
||||
func ToNumberX(L * /*line :159:19*/_Ctype_lua_State /*line :159:30*/, idx int32, isnum bool) lua_Number {
|
||||
isnumInner := /*line :160:16*/_Ctype_int /*line :160:21*/(0)
|
||||
if isnum {
|
||||
isnumInner = /*line :162:16*/_Ctype_int /*line :162:21*/(1)
|
||||
}
|
||||
|
||||
return lua_Number(func() _Ctype_double{ _cgo0 := /*line :165:36*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :165:44*/(idx); var _cgo2 *_Ctype_int = /*line :165:51*/&isnumInner; _cgoCheckPointer(_cgo0, nil); return /*line :165:63*/_Cfunc_lua_tonumberx(_cgo0, _cgo1, _cgo2); }())
|
||||
}
|
||||
|
||||
func ToIntegerX(L * /*line :168:20*/_Ctype_lua_State /*line :168:31*/, idx int32, isnum bool) lua_Integer {
|
||||
isnumInner := /*line :169:16*/_Ctype_int /*line :169:21*/(0)
|
||||
if isnum {
|
||||
isnumInner = /*line :171:16*/_Ctype_int /*line :171:21*/(1)
|
||||
}
|
||||
|
||||
return lua_Integer(func() _Ctype_int{ _cgo0 := /*line :174:38*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :174:46*/(idx); var _cgo2 *_Ctype_int = /*line :174:53*/&isnumInner; _cgoCheckPointer(_cgo0, nil); return /*line :174:65*/_Cfunc_lua_tointegerx(_cgo0, _cgo1, _cgo2); }())
|
||||
}
|
||||
|
||||
func ToUnsignedX(L * /*line :177:21*/_Ctype_lua_State /*line :177:32*/, idx int32, isnum bool) lua_Unsigned {
|
||||
isnumInner := /*line :178:16*/_Ctype_int /*line :178:21*/(0)
|
||||
if isnum {
|
||||
isnumInner = /*line :180:16*/_Ctype_int /*line :180:21*/(1)
|
||||
}
|
||||
|
||||
return lua_Unsigned(func() _Ctype_uint{ _cgo0 := /*line :183:40*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :183:48*/(idx); var _cgo2 *_Ctype_int = /*line :183:55*/&isnumInner; _cgoCheckPointer(_cgo0, nil); return /*line :183:67*/_Cfunc_lua_tounsignedx(_cgo0, _cgo1, _cgo2); }())
|
||||
}
|
||||
|
||||
func ToVector(L * /*line :186:18*/_Ctype_lua_State /*line :186:29*/, idx int32) {
|
||||
func() *_Ctype_float{ _cgo0 := /*line :187:17*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :187:25*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :187:31*/_Cfunc_lua_tovector(_cgo0, _cgo1); }()
|
||||
}
|
||||
|
||||
func ToBoolean(L * /*line :190:19*/_Ctype_lua_State /*line :190:30*/, idx int32) bool {
|
||||
return func() _Ctype_int{ _cgo0 := /*line :191:25*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :191:33*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :191:39*/_Cfunc_lua_toboolean(_cgo0, _cgo1); }() != 0
|
||||
}
|
||||
|
||||
func ToLString(L * /*line :194:19*/_Ctype_lua_State /*line :194:30*/, idx int32, len *uint64) string {
|
||||
return ( /*line :195:9*/_Cfunc_GoString /*line :195:18*/)(func() *_Ctype_char{ _cgo0 := /*line :195:36*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :195:44*/(idx); var _cgo2 *_Ctype_size_t = /*line :195:51*/(*_Ctype_size_t /*line :195:61*/)(len); _cgoCheckPointer(_cgo0, nil); return /*line :195:68*/_Cfunc_lua_tolstring(_cgo0, _cgo1, _cgo2); }())
|
||||
}
|
||||
|
||||
func ToStringAtom(L * /*line :198:22*/_Ctype_lua_State /*line :198:33*/, idx int32, atom *int32) string {
|
||||
return ( /*line :199:9*/_Cfunc_GoString /*line :199:18*/)(func() *_Ctype_char{ _cgo0 := /*line :199:39*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :199:47*/(idx); var _cgo2 *_Ctype_int = /*line :199:54*/(*_Ctype_int /*line :199:61*/)(atom); _cgoCheckPointer(_cgo0, nil); return /*line :199:69*/_Cfunc_lua_tostringatom(_cgo0, _cgo1, _cgo2); }())
|
||||
}
|
||||
|
||||
func NameCallAtom(L * /*line :202:22*/_Ctype_lua_State /*line :202:33*/, atom *int32) string {
|
||||
return ( /*line :203:9*/_Cfunc_GoString /*line :203:18*/)(func() *_Ctype_char{ _cgo0 := /*line :203:39*/L; var _cgo1 *_Ctype_int = /*line :203:42*/(*_Ctype_int /*line :203:49*/)(atom); _cgoCheckPointer(_cgo0, nil); return /*line :203:57*/_Cfunc_lua_namecallatom(_cgo0, _cgo1); }())
|
||||
}
|
||||
|
||||
func ObjLen(L * /*line :206:16*/_Ctype_lua_State /*line :206:27*/, idx int32) uint64 {
|
||||
return uint64(func() _Ctype_int{ _cgo0 := /*line :207:29*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :207:37*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :207:43*/_Cfunc_lua_objlen(_cgo0, _cgo1); }())
|
||||
}
|
||||
|
||||
func ToCFunction(L * /*line :210:21*/_Ctype_lua_State /*line :210:32*/, idx int32) lua_CFunction {
|
||||
p := unsafe.Pointer(func() _Ctype_lua_CFunction{ _cgo0 := /*line :211:40*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :211:48*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :211:54*/_Cfunc_lua_tocfunction(_cgo0, _cgo1); }())
|
||||
if p == ( /*line :212:10*/_Cmacro_NULL() /*line :212:15*/) {
|
||||
return nil
|
||||
}
|
||||
|
||||
return *(*lua_CFunction)(p)
|
||||
}
|
||||
|
||||
func ToLightUserdata(L * /*line :219:25*/_Ctype_lua_State /*line :219:36*/, idx int32) unsafe.Pointer {
|
||||
return unsafe.Pointer(func() _cgo_unsafe.Pointer{ _cgo0 := /*line :220:46*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :220:54*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :220:60*/_Cfunc_lua_tolightuserdata(_cgo0, _cgo1); }())
|
||||
}
|
||||
|
||||
func ToLightUserdataTagged(L * /*line :223:31*/_Ctype_lua_State /*line :223:42*/, idx int32, tag int32) unsafe.Pointer {
|
||||
return unsafe.Pointer(func() _cgo_unsafe.Pointer{ _cgo0 := /*line :224:52*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :224:60*/(idx); var _cgo2 _Ctype_int = _Ctype_int /*line :224:72*/(tag); _cgoCheckPointer(_cgo0, nil); return /*line :224:78*/_Cfunc_lua_tolightuserdatatagged(_cgo0, _cgo1, _cgo2); }())
|
||||
}
|
||||
|
||||
func ToUserdata(L * /*line :227:20*/_Ctype_lua_State /*line :227:31*/, idx int32) unsafe.Pointer {
|
||||
return unsafe.Pointer(func() _cgo_unsafe.Pointer{ _cgo0 := /*line :228:41*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :228:49*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :228:55*/_Cfunc_lua_touserdata(_cgo0, _cgo1); }())
|
||||
}
|
||||
|
||||
func ToUserdataTagged(L * /*line :231:26*/_Ctype_lua_State /*line :231:37*/, idx int32, tag int32) unsafe.Pointer {
|
||||
return unsafe.Pointer(func() _cgo_unsafe.Pointer{ _cgo0 := /*line :232:47*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :232:55*/(idx); var _cgo2 _Ctype_int = _Ctype_int /*line :232:67*/(tag); _cgoCheckPointer(_cgo0, nil); return /*line :232:73*/_Cfunc_lua_touserdatatagged(_cgo0, _cgo1, _cgo2); }())
|
||||
}
|
||||
|
||||
func UserdataTag(L * /*line :235:21*/_Ctype_lua_State /*line :235:32*/, idx int32) int32 {
|
||||
return int32(func() _Ctype_int{ _cgo0 := /*line :236:33*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :236:41*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :236:47*/_Cfunc_lua_userdatatag(_cgo0, _cgo1); }())
|
||||
}
|
||||
|
||||
func LightUserdataTag(L * /*line :239:26*/_Ctype_lua_State /*line :239:37*/, idx int32) int32 {
|
||||
return int32(func() _Ctype_int{ _cgo0 := /*line :240:38*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :240:46*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :240:52*/_Cfunc_lua_lightuserdatatag(_cgo0, _cgo1); }())
|
||||
}
|
||||
|
||||
func ToThread(L * /*line :243:18*/_Ctype_lua_State /*line :243:29*/, idx int32) * /*line :243:43*/_Ctype_lua_State /*line :243:54*/ {
|
||||
return func() *_Ctype_struct_lua_State{ _cgo0 := /*line :244:24*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :244:32*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :244:38*/_Cfunc_lua_tothread(_cgo0, _cgo1); }()
|
||||
}
|
||||
|
||||
func ToBuffer(L * /*line :247:18*/_Ctype_lua_State /*line :247:29*/, idx int32, len *uint64) unsafe.Pointer {
|
||||
return unsafe.Pointer(func() _cgo_unsafe.Pointer{ _cgo0 := /*line :248:39*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :248:47*/(idx); var _cgo2 *_Ctype_size_t = /*line :248:54*/(*_Ctype_size_t /*line :248:64*/)(len); _cgoCheckPointer(_cgo0, nil); return /*line :248:71*/_Cfunc_lua_tobuffer(_cgo0, _cgo1, _cgo2); }())
|
||||
}
|
||||
|
||||
func ToPointer(L * /*line :251:19*/_Ctype_lua_State /*line :251:30*/, idx int32) unsafe.Pointer {
|
||||
return unsafe.Pointer(func() _cgo_unsafe.Pointer{ _cgo0 := /*line :252:40*/L; var _cgo1 _Ctype_int = _Ctype_int /*line :252:48*/(idx); _cgoCheckPointer(_cgo0, nil); return /*line :252:54*/_Cfunc_lua_topointer(_cgo0, _cgo1); }())
|
||||
}
|
||||
|
||||
// =======================
|
||||
// Stack Manipulation
|
||||
// =======================
|
||||
|
||||
func PushNil(L * /*line :259:17*/_Ctype_lua_State /*line :259:28*/) {
|
||||
func() { _cgo0 := /*line :260:16*/L; _cgoCheckPointer(_cgo0, nil); /*line :260:18*/_Cfunc_lua_pushnil(_cgo0); }()
|
||||
}
|
||||
|
||||
func PushNumber(L * /*line :263:20*/_Ctype_lua_State /*line :263:31*/, n lua_Number) {
|
||||
func() { _cgo0 := /*line :264:19*/L; var _cgo1 _Ctype_double = _Ctype_lua_Number /*line :264:34*/(n); _cgoCheckPointer(_cgo0, nil); /*line :264:38*/_Cfunc_lua_pushnumber(_cgo0, _cgo1); }()
|
||||
}
|
||||
|
||||
func PushInteger(L * /*line :267:21*/_Ctype_lua_State /*line :267:32*/, n lua_Integer) {
|
||||
func() { _cgo0 := /*line :268:20*/L; var _cgo1 _Ctype_int = _Ctype_lua_Integer /*line :268:36*/(n); _cgoCheckPointer(_cgo0, nil); /*line :268:40*/_Cfunc_lua_pushinteger(_cgo0, _cgo1); }()
|
||||
}
|
||||
|
||||
func PushUnsigned(L * /*line :271:22*/_Ctype_lua_State /*line :271:33*/, n lua_Unsigned) {
|
||||
func() { _cgo0 := /*line :272:21*/L; var _cgo1 _Ctype_uint = _Ctype_lua_Unsigned /*line :272:38*/(n); _cgoCheckPointer(_cgo0, nil); /*line :272:42*/_Cfunc_lua_pushunsigned(_cgo0, _cgo1); }()
|
||||
}
|
||||
|
||||
func PushLString(L * /*line :275:21*/_Ctype_lua_State /*line :275:32*/, s string, l uint64) {
|
||||
cs := ( /*line :276:8*/_Cfunc_CString /*line :276:16*/)(s)
|
||||
defer func() func() { _cgo0 := /*line :277:15*/unsafe.Pointer(cs); return func() { _cgoCheckPointer(_cgo0, nil); /*line :277:34*/_Cfunc_free(_cgo0); }}()()
|
||||
|
||||
func() { _cgo0 := /*line :279:20*/L; var _cgo1 *_Ctype_char = /*line :279:23*/cs; var _cgo2 _Ctype_size_t = _Ctype_size_t /*line :279:35*/(l); _cgoCheckPointer(_cgo0, nil); /*line :279:39*/_Cfunc_lua_pushlstring(_cgo0, _cgo1, _cgo2); }()
|
||||
}
|
||||
|
||||
func PushString(L * /*line :282:20*/_Ctype_lua_State /*line :282:31*/, s string) {
|
||||
cs := ( /*line :283:8*/_Cfunc_CString /*line :283:16*/)(s)
|
||||
defer func() func() { _cgo0 := /*line :284:15*/unsafe.Pointer(cs); return func() { _cgoCheckPointer(_cgo0, nil); /*line :284:34*/_Cfunc_free(_cgo0); }}()()
|
||||
|
||||
func() { _cgo0 := /*line :286:19*/L; var _cgo1 *_Ctype_char = /*line :286:22*/cs; _cgoCheckPointer(_cgo0, nil); /*line :286:25*/_Cfunc_lua_pushstring(_cgo0, _cgo1); }()
|
||||
}
|
||||
|
||||
// NOTE: We can't have lua_pushfstringL, since varadic
|
||||
// arguments from Go->C isn't something that is possible.
|
||||
// func PushFStringL(L *C.lua_State, fmt string) {}
|
||||
|
||||
func PushCClosureK(L * /*line :293:23*/_Ctype_lua_State /*line :293:34*/, f lua_CFunction, debugname string, nup int32, cont lua_Continuation) {
|
||||
cdebugname := ( /*line :294:16*/_Cfunc_CString /*line :294:24*/)(debugname)
|
||||
defer func() func() { _cgo0 := /*line :295:15*/unsafe.Pointer(cdebugname); return func() { _cgoCheckPointer(_cgo0, nil); /*line :295:42*/_Cfunc_free(_cgo0); }}()()
|
||||
|
||||
func() { _cgo0 := /*line :297:22*/L; var _cgo1 *[0]byte = /*line :297:25*/(_Ctype_lua_CFunction /*line :297:41*/)(f); var _cgo2 *_Ctype_char = /*line :297:47*/cdebugname; var _cgo3 _Ctype_int = _Ctype_int /*line :297:64*/(nup); var _cgo4 *[0]byte = /*line :297:71*/(*_Ctype_lua_Continuation /*line :297:91*/)(cont); _cgoCheckPointer(_cgo0, nil); /*line :297:99*/_Cfunc_lua_pushcclosurek(_cgo0, _cgo1, _cgo2, _cgo3, _cgo4); }()
|
||||
}
|
||||
|
||||
// TODO: Rest of it
|
1076
_obj/lua.cgo2.c
1076
_obj/lua.cgo2.c
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue