1
0
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:
Martin Guy 2011-04-13 11:34:31 +02:00
parent 873c731568
commit d6042df51f

View File

@ -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*."
},