Bind C methods to Wren using foreign declarations.

This commit is contained in:
Bob Nystrom
2015-03-24 07:58:15 -07:00
parent 82fceb8361
commit 0bd19da392
11 changed files with 165 additions and 131 deletions
+5
View File
@@ -93,4 +93,9 @@ class IO {
IO.writeString_("[invalid toString]")
}
}
foreign static writeString_(string)
foreign static clock
foreign static time
foreign static read
}