diff options
| author | Ben Kimock <kimockb@gmail.com> | 2024-04-15 23:46:27 -0400 |
|---|---|---|
| committer | Ben Kimock <kimockb@gmail.com> | 2024-04-17 15:08:08 -0400 |
| commit | b91c1aafecdd804f3d12eae857671d2059e87c2e (patch) | |
| tree | 1b6d30b6f15ee851bf9a46b9e63feb3495b07529 /tests/auxiliary | |
| parent | c45dee5efd0c042e9d1e24559ebd0d6424d8aa70 (diff) | |
| download | rust-b91c1aafecdd804f3d12eae857671d2059e87c2e.tar.gz rust-b91c1aafecdd804f3d12eae857671d2059e87c2e.zip | |
Clean up users of rust_dbg_call
Diffstat (limited to 'tests/auxiliary')
| -rw-r--r-- | tests/auxiliary/rust_test_helpers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auxiliary/rust_test_helpers.c b/tests/auxiliary/rust_test_helpers.c index 965df44c676..34cc7fd5dfb 100644 --- a/tests/auxiliary/rust_test_helpers.c +++ b/tests/auxiliary/rust_test_helpers.c @@ -27,10 +27,10 @@ rust_dbg_extern_identity_u8(char u) { return u; } -typedef void *(*dbg_callback)(void*); +typedef uint64_t (*dbg_callback)(uint64_t); -void * -rust_dbg_call(dbg_callback cb, void *data) { +uint64_t +rust_dbg_call(dbg_callback cb, uint64_t data) { return cb(data); } |
