Skip to content

Conversation

@WASDetchan
Copy link

@WASDetchan WASDetchan commented Jan 8, 2026

See issue #671, #215, and commit 9f0fc27.
This PR solves the problem is a similar manner. It exposes a simple api Lua::exec_raw_lua(), which runs a callback, that takes a &RawLua as the argument. That allows usage of the unsafe methods of FromLua and IntoLua traits to interact with the stack on a lower level. Just like the previous solution, this PR's method is marked #[doc(hidden)].

@WASDetchan WASDetchan marked this pull request as draft January 8, 2026 19:13
@WASDetchan WASDetchan marked this pull request as ready for review January 8, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant