Skip to content

Commit

Permalink
Mark lua_Callbacks as non exhaustive (Luau)
Browse files Browse the repository at this point in the history
  • Loading branch information
khvzak committed May 4, 2024
1 parent 3d46fad commit 3a44729
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mlua-sys/src/luau/lua.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3a44729

Please sign in to comment.