Return by reference and pass by reference working with objects. Closures might present problems, however

This commit is contained in:
Nathan Braswell
2015-07-15 00:53:53 -04:00
parent 0ee44e829f
commit 06f36f2a87
12 changed files with 79 additions and 67 deletions

View File

@@ -65,7 +65,7 @@ obj future<T> {
status = pthread_create(&thread,wrapper)
}
fun get_status() {
fun get_status():int {
return status
}