~ubuntu-branches/debian/squeeze/ffcall/squeeze

« back to all changes in this revision

Viewing changes to ffcall/trampoline/trampoline.h.in

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger
  • Date: 2010-06-26 15:29:30 UTC
  • mfrom: (5.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20100626152930-c09y01gk3szcnykn
Tags: 1.10+cvs20100619-2
Ship to unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _TRAMPOLINE_H
2
 
#define _TRAMPOLINE_H
3
 
 
4
 
/*
5
 
 * Copyright 1995-1999, 2005 Bruno Haible, <bruno@clisp.org>
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
 
#ifdef __cplusplus
14
 
typedef int (*__TR_function) (...);
15
 
#else
16
 
typedef int (*__TR_function) ();
17
 
#endif
18
 
extern __TR_function alloc_trampoline (__TR_function, void*, void*);
19
 
extern void free_trampoline (__TR_function);
20
 
extern int is_trampoline (void*);
21
 
extern __TR_function trampoline_address (void*);
22
 
extern void* trampoline_variable (void*);
23
 
extern void* trampoline_data (void*);
24
 
 
25
 
#endif /* _TRAMPOLINE_H */