Skip to content

Instantly share code, notes, and snippets.

Patricio M. Ros pmros

Block or report user

Report or block pmros

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View oos_make_error_000
rock code:
handlerInstall: static func (irq: Int, handler: Func (Registers*)) {
irqRoutines[irq] = handler as Closure thunk
}
clang error:
src/devices/cpu/IRQ.ooc:58:5: error: used type 'lang_types__Closure' (aka
'struct _lang_types__Closure') where arithmetic or pointer type is
required
..._lang_array__Array_set(devices_cpu_IRQ__IRQ_class()->irqRoutines, irq, lang_types__Pointer, ((lang_types__Closure) (handler)).thunk)...
You can’t perform that action at this time.