zig/test/standalone/coff_dwarf/shared_lib.c
2023-07-20 22:58:16 -04:00

7 lines
154 B
C

#include <stdint.h>
__declspec(dllexport) uint32_t add(uint32_t a, uint32_t b, uintptr_t* addr) {
*addr = (uintptr_t)&add;
return a + b;
}