MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / swap_symbol

Function swap_symbol

src/debugmem.cpp:2446–2453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2444 lswp(&d->entsize);
2445}
2446static void swap_symbol(struct symbol *d, struct symbol *s)
2447{
2448 memcpy(d, s, sizeof(struct symbol));
2449 lswp(&d->name);
2450 wswp(&d->shindex);
2451 lswp(&d->value);
2452 lswp(&d->size);
2453}
2454static void swap_rel(struct rel *d, struct rel *s)
2455{
2456 memcpy(d, s, sizeof(struct rel));

Callers 1

loadelffileFunction · 0.85

Calls 2

lswpFunction · 0.85
wswpFunction · 0.85

Tested by

no test coverage detected