Return by reference and pass by reference working with objects. Closures might present problems, however
This commit is contained in:
@@ -65,7 +65,7 @@ obj future<T> {
|
||||
status = pthread_create(&thread,wrapper)
|
||||
}
|
||||
|
||||
fun get_status() {
|
||||
fun get_status():int {
|
||||
return status
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user