forked from M-Labs/artiq
coredevice/core: add syscall type annotation
This commit is contained in:
parent
c8dc6ca07c
commit
c6e54e3016
|
@ -38,7 +38,7 @@ class CompileError(Exception):
|
||||||
|
|
||||||
|
|
||||||
@syscall
|
@syscall
|
||||||
def rtio_init():
|
def rtio_init() -> TNone:
|
||||||
raise NotImplementedError("syscall not simulated")
|
raise NotImplementedError("syscall not simulated")
|
||||||
|
|
||||||
@syscall(flags={"nounwind", "nowrite"})
|
@syscall(flags={"nounwind", "nowrite"})
|
||||||
|
|
Loading…
Reference in New Issue