mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
Fix two typos in refman_gen_cpu doc
This commit is contained in:
parent
873c731568
commit
d6042df51f
@ -115,7 +115,7 @@ This mechanism is also used to expose interrupt IDs to the CPU module, check @in
|
||||
desc = "Sets the Lua interrupt handler for interrupt *id* to function *handler*. *handler* can be #nil# to disable the interrupt handler. Only available if interrupt support is enabled, check @inthandlers.html@here@ for details.",
|
||||
args =
|
||||
{
|
||||
"$id$ - the interrup ID.",
|
||||
"$id$ - the interrupt ID.",
|
||||
"$handler$ - the Lua interrupt handler function, or *nil* to disable the Lua interrupt handler feature."
|
||||
},
|
||||
ret = "$prev_handler$ - the previous interrupt handler for interrupt *id*, or *nil* if an interrupt handler was not set for interrupt *id*."
|
||||
@ -123,7 +123,7 @@ This mechanism is also used to expose interrupt IDs to the CPU module, check @in
|
||||
|
||||
{ sig = "handler = #cpu.get_int_handler#( id )",
|
||||
desc = "Returns the Lua interrupt handler for interrupt *id*",
|
||||
args = "$id$ - the interrup ID.",
|
||||
args = "$id$ - the interrupt ID.",
|
||||
ret = "$handler$ - the interrupt handler for interrupt *id*, or *nil* if an interrupt handler is not set for interrupt *id*."
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user