Retro68/gcc/libjava/sysdep/descriptor-y.h

6 lines
219 B
C
Raw Normal View History

2012-03-27 23:13:14 +00:00
// 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))