We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdcb159 commit 4b85a73Copy full SHA for 4b85a73
testcrate/src/lib.rs
@@ -21,7 +21,7 @@ pub struct lua_CompileOptions {
21
disabledBuiltins: *const *const c_char,
22
}
23
24
-extern "C" {
+unsafe extern "C" {
25
pub fn free(ptr: *mut c_void);
26
27
pub fn luaL_newstate() -> *mut c_void;
@@ -65,7 +65,7 @@ extern "C" {
65
66
67
#[cfg(not(target_os = "emscripten"))]
68
69
pub fn luau_codegen_supported() -> c_int;
70
pub fn luau_codegen_create(state: *mut c_void);
71
pub fn luau_codegen_compile(state: *mut c_void, idx: c_int);
0 commit comments