coredevice/core: add syscall type annotation

This commit is contained in:
Sebastien Bourdeauducq 2016-06-29 10:38:19 +08:00
parent c8dc6ca07c
commit c6e54e3016
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class CompileError(Exception):
@syscall
def rtio_init():
def rtio_init() -> TNone:
raise NotImplementedError("syscall not simulated")
@syscall(flags={"nounwind", "nowrite"})