aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.3.1/libjava/sysdep/descriptor-y.h
blob: ca615505d83331a544ab76148745179d35f38b4a (plain)
1
2
3
4
5
// 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))