Skip to content

Add Action type#26

Merged
selenil merged 19 commits into
mainfrom
feature/add-action
Feb 20, 2026
Merged

Add Action type#26
selenil merged 19 commits into
mainfrom
feature/add-action

Conversation

@selenil
Copy link
Copy Markdown
Owner

@selenil selenil commented Feb 9, 2026

Closes #24

@DynamicCake
Copy link
Copy Markdown
Contributor

I just realized that the code in the docs for glua.try are wrong, it should be

/// use return <- glua.then(glua.call_function(fun, [glua.string("Hello")]))
/// use value <- glua.then(case return {
///   [first] -> glua.success(first)
///   _ -> glua.failure(Nil)
/// })

instead of

/// use return <- glua.then(glua.call_function(fun, [glua.string("Hello")]))
/// use value <- glua.then(case return {
///   [first] -> first
///   _ -> "Error getting first return value"
/// })

@selenil selenil merged commit 13cd4a5 into main Feb 20, 2026
1 check passed
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.

Refactor how Lua state is handled

2 participants