home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / CLISP-2.LHA / CLISP960530-ki.lha / ffcall / trampoline / trampoline.h.in < prev    next >
Encoding:
Text File  |  1996-04-15  |  966 b   |  31 lines

  1. #ifndef _TRAMPOLINE_H
  2. #define _TRAMPOLINE_H
  3.  
  4. /*
  5.  * Copyright 1995 Bruno Haible, <haible@ma2s2.mathematik.uni-karlsruhe.de>
  6.  *
  7.  * This is free software distributed under the GNU General Public Licence
  8.  * described in the file COPYING. Contact the author if you don't have this
  9.  * or can't live with it. There is ABSOLUTELY NO WARRANTY, explicit or implied,
  10.  * on this software.
  11.  */
  12.  
  13. typedef int (*__TR_function) ();
  14. #ifdef __STDC__
  15. extern __TR_function alloc_trampoline (__TR_function, void*, void*);
  16. extern void free_trampoline (__TR_function);
  17. extern int is_trampoline (void*);
  18. extern __TR_function trampoline_address (void*);
  19. extern void* trampoline_variable (void*);
  20. extern void* trampoline_data (void*);
  21. #else
  22. extern __TR_function alloc_trampoline ();
  23. extern void free_trampoline ();
  24. extern int is_trampoline ();
  25. extern __TR_function trampoline_address ();
  26. extern void* trampoline_variable ();
  27. extern void* trampoline_data ();
  28. #endif
  29.  
  30. #endif /* _TRAMPOLINE_H */
  31.