diff options
Diffstat (limited to 'src/rt/rust_upcall.h')
| -rw-r--r-- | src/rt/rust_upcall.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/rt/rust_upcall.h b/src/rt/rust_upcall.h index e5ee5bb6948..46676497d63 100644 --- a/src/rt/rust_upcall.h +++ b/src/rt/rust_upcall.h @@ -1,17 +1,7 @@ #pragma once -#ifdef __GNUC__ -#define LOG_UPCALL_ENTRY(task) \ - LOG(task, upcall, \ - "> UPCALL %s - task: %s 0x%" PRIxPTR \ - " retpc: x%" PRIxPTR, \ - __FUNCTION__, \ - (task)->name, (task), \ - __builtin_return_address(0)); -#else -#define LOG_UPCALL_ENTRY(task) \ - LOG(task, upcall, "> UPCALL task: %s @x%" PRIxPTR, \ - (task)->name, (task)); -#endif +// Upcalls used from C code on occasion: +extern "C" CDECL void upcall_shared_free(void* ptr); +extern "C" CDECL void upcall_free_shared_type_desc(type_desc *td); |
