drawterm/win32-386/getcallerpc.c

9 lines
90 B
C

#include "u.h"
#include "libc.h"
ulong
getcallerpc(void *a)
{
return ((ulong*)a)[-1];
}