1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
-
+
-
-
-
-
+
+
+
+
|
#ifndef _CALLBACK_H
#define _CALLBACK_H
/*
* Copyright 1997-1999, 2005 Bruno Haible, <bruno@clisp.org>
* Copyright 1997-1999 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.
*/
#if !defined(LIBFFCALL_VERSION)
# define LIBFFCALL_VERSION @LIBFFCALL_VERSION@
#endif
#include "vacall_r.h"
#include "trampoline_r.h"
#if defined(__STDC__) || defined(__GNUC__) || defined(__cplusplus)
typedef void (*__VA_function) (void*, va_alist);
#else
typedef void (*__VA_function) ();
#endif
#if 0
extern __TR_function alloc_callback (__VA_function, void*);
extern void free_callback (__TR_function);
extern int is_callback (void*);
extern __VA_function callback_address (void*);
extern void* callback_data (void*);
|