Bind C methods to Wren using foreign declarations.
This commit is contained in:
@@ -93,4 +93,9 @@ class IO {
|
||||
IO.writeString_("[invalid toString]")
|
||||
}
|
||||
}
|
||||
|
||||
foreign static writeString_(string)
|
||||
foreign static clock
|
||||
foreign static time
|
||||
foreign static read
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user