mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-30 04:54:52 +00:00
6 lines
219 B
C
6 lines
219 B
C
// Given a function pointer, return the code address.
|
|
|
|
// The function descriptor is actually multiple words,
|
|
// but we don't care about anything except the first.
|
|
#define UNWRAP_FUNCTION_DESCRIPTOR(X) (*(void **)(X))
|