Artifact f4b8446b57d9127845eba520ef719332ec4864fa:


/* Sample prototype for a trampoline. */

/*
 * Copyright 1995 Bruno Haible, <bruno@clisp.org>
 *
 * This is free software distributed under the GNU General Public Licence
 * described in the file COPYING. Contact the author if you don't have this
 * or can't live with it. There is ABSOLUTELY NO WARRANTY, explicit or implied,
 * on this software.
 */

#define function  (int (*) ()) 0xbabebec0
#define variable  *(void**)    0x12345678
#define data      (void*)      0x73554711

int tramp ()
{ variable = data;
  return (*function)();
}

int jump ()
{ goto *function; }