File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 35e01e0137e5edced626b201f2f2ca569247e95a
2
+ refs/heads/master: 96629d5c21f6b9b1310c1fe7a4a7505c79ed8e2b
Original file line number Diff line number Diff line change 4
4
/**
5
5
* Bindings the runtime's random number generator (ISAAC).
6
6
*/
7
- native "rust " mod rustrt {
7
+ native "c-stack-cdecl " mod rustrt {
8
8
type rctx ;
9
9
fn rand_new ( ) -> rctx ;
10
10
fn rand_next ( c : rctx ) -> u32 ;
Original file line number Diff line number Diff line change @@ -160,12 +160,22 @@ rand_new() {
160
160
}
161
161
162
162
extern " C" CDECL size_t
163
+ <<<<<<< HEAD
163
164
rand_next (randctx *rctx) {
165
+ =======
166
+ rand_next (randctx *rctx)
167
+ {
168
+ >>>>>>> move rand functions into c-stack-cdecl mode
164
169
return isaac_rand (rctx);
165
170
}
166
171
167
172
extern " C" CDECL void
173
+ <<<<<<< HEAD
168
174
rand_free (randctx *rctx) {
175
+ =======
176
+ rand_free (randctx *rctx)
177
+ {
178
+ >>>>>>> move rand functions into c-stack-cdecl mode
169
179
rust_task *task = rust_scheduler::get_task ();
170
180
task->free (rctx);
171
181
}
You can’t perform that action at this time.
0 commit comments