Skip to content

Commit 6ce7aef

Browse files
committed
---
yaml --- r: 11283 b: refs/heads/master c: 4cc1e31 h: refs/heads/master i: 11281: 4274869 11279: 209b63a v: v3
1 parent 1f7c8f0 commit 6ce7aef

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: c4c89dd68475a0f2fb227abdda854760a2cd8459
2+
refs/heads/master: 4cc1e31f74e2714c10ca06daa7a446a32fda6b2a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/rt/rust_builtin.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,13 @@ rust_dbg_lock_signal(lock_and_signal *lock) {
654654
lock->signal();
655655
}
656656

657+
typedef void *(*dbg_callback)(void*);
658+
659+
extern "C" CDECL void *
660+
rust_dbg_call(dbg_callback *cb, void *data) {
661+
return (*cb)(data);
662+
}
663+
657664
//
658665
// Local Variables:
659666
// mode: C++

trunk/src/rt/rustrt.def.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,4 @@ rust_dbg_lock_lock
104104
rust_dbg_lock_unlock
105105
rust_dbg_lock_wait
106106
rust_dbg_lock_signal
107+
rust_dbg_call

0 commit comments

Comments
 (0)