Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
standalone
coff_dwarf
shared_lib.c
pretty
plain
permalink
blame
history
•
6 lines
•
154 B
1
#include <stdint.h>
2
3
__declspec(dllexport) uint32_t add(uint32_t a, uint32_t b, uintptr_t* addr) {
4
*addr = (uintptr_t)&add;
5
return a + b;
6
}