Skip to content

Commit a5ae2a1

Browse files
committed
Update useratom doc
1 parent 59872da commit a5ae2a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlua-sys/src/luau/lua.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ pub struct lua_Callbacks {
565565

566566
/// gets called when L is created (LP == parent) or destroyed (LP == NULL)
567567
pub userthread: Option<unsafe extern "C-unwind" fn(LP: *mut lua_State, L: *mut lua_State)>,
568-
/// gets called when a string is created; returned atom can be retrieved via tostringatom
568+
/// gets called when a string is created to assign an atom id
569569
pub useratom: Option<unsafe extern "C-unwind" fn(L: *mut lua_State, s: *const c_char, l: usize) -> i16>,
570570

571571
/// gets called when BREAK instruction is encountered

0 commit comments

Comments
 (0)