Skip to content

Commit d7bb86c

Browse files
committed
---
yaml --- r: 6310 b: refs/heads/master c: b78c096 h: refs/heads/master v: v3
1 parent f058f0b commit d7bb86c

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: c997a353aa66aca3cdc9fbe2ce899061a662a095
2+
refs/heads/master: b78c096ebc73b81f77a58c0224ec037837dab8e4

trunk/src/rt/rust_task.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@ struct rust_task_user {
5151
};
5252

5353
// std::lib::task::task_result
54-
enum task_result {
55-
tr_success = 0,
56-
tr_failure = 1
57-
};
54+
typedef unsigned long task_result;
55+
#define tr_success 0
56+
#define tr_failure 1
5857

5958
// std::lib::task::task_notification
6059
//

0 commit comments

Comments
 (0)