summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Orlenko <zxteam@protonmail.com>2024-05-04 21:11:29 +0100
committerAlex Orlenko <zxteam@protonmail.com>2024-05-04 21:11:29 +0100
commit3a44729a48e216fd581193a9f234ac6fb6c0c32a (patch)
tree57c6c8c84b80b7555988d0177f4b71a7546bfcd4
parent3d46fad4595fe75f43f2ce78223843d15a2af84e (diff)
downloadmlua-3a44729a48e216fd581193a9f234ac6fb6c0c32a.zip
Mark `lua_Callbacks` as non exhaustive (Luau)
-rw-r--r--mlua-sys/src/luau/lua.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mlua-sys/src/luau/lua.rs b/mlua-sys/src/luau/lua.rs
index 084adb8..3db6a7b 100644
--- a/mlua-sys/src/luau/lua.rs
+++ b/mlua-sys/src/luau/lua.rs
@@ -525,6 +525,7 @@ pub struct lua_Debug {
//
#[repr(C)]
+#[non_exhaustive]
pub struct lua_Callbacks {
/// arbitrary userdata pointer that is never overwritten by Luau
pub userdata: *mut c_void,