We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ad8866 commit fbf67c9Copy full SHA for fbf67c9
src/data/mod.rs
@@ -40,8 +40,8 @@ extern {
40
fn af_randu(out: MutAfArray, ndims: c_uint, dims: *const DimT, afdtype: uint8_t) -> c_int;
41
fn af_randn(out: MutAfArray, ndims: c_uint, dims: *const DimT, afdtype: uint8_t) -> c_int;
42
43
- fn af_set_seed(seed: Uintl);
44
- fn af_get_seed(seed: *mut Uintl);
+ fn af_set_seed(seed: Uintl) -> c_int;
+ fn af_get_seed(seed: *mut Uintl) -> c_int;
45
46
fn af_identity(out: MutAfArray, ndims: c_uint, dims: *const DimT, afdtype: uint8_t) -> c_int;
47
fn af_diag_create(out: MutAfArray, arr: AfArray, num: c_int) -> c_int;
0 commit comments