Change _mlua to __mlua prefix for internal chunk names

This commit is contained in:
Alex Orlenko 2023-05-30 00:36:09 +01:00
parent 3abf73dee5
commit baf25e263f
No known key found for this signature in database
GPG Key ID: 4C150C250863B96D
2 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ impl<'lua> Function<'lua> {
"#,
)
.try_cache()
.set_name("_mlua_bind")
.set_name("__mlua_bind")
.call((self.clone(), args_wrapper))
}

View File

@ -2887,7 +2887,7 @@ impl Lua {
"#,
)
.try_cache()
.set_name("_mlua_async_poll")
.set_name("__mlua_async_poll")
.set_environment(env)
.into_function()
}