ludic.devlink: the interface's verbs (ui_screen, ui_model, ui_tree, ui_override) through a DevlinkUi port
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
9f07fc8a62
commit
5bc2342174
8 changed files with 203 additions and 1 deletions
|
|
@ -39,6 +39,10 @@ function dl_verb(st: mut DevlinkState, id: int) -> void {
|
|||
else if dl_word(st, "pause") { dl_answer(st, id, DevlinkWorld.pause(true)) }
|
||||
else if dl_word(st, "resume") { dl_answer(st, id, DevlinkWorld.pause(false)) }
|
||||
else if dl_word(st, "step") { dl_step(st, id) }
|
||||
else if dl_word(st, "ui_screen") { dl_ui_screen(st, id) }
|
||||
else if dl_word(st, "ui_model") { dl_ui_model(st, id) }
|
||||
else if dl_word(st, "ui_tree") { dl_ui_tree(st, id) }
|
||||
else if dl_word(st, "ui_override") { dl_ui_override(st, id) }
|
||||
else { dl_err(st, id, "unknown_verb", "no such verb") }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue