BEAST/BSE - Better Audio System and Sound Engine  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sfivmarshal.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __SFI_VMARSHAL_H__
3 #define __SFI_VMARSHAL_H__
4 
5 #include <sfi/sfitypes.hh>
6 
7 G_BEGIN_DECLS
8 
9 /* --- hard limit --- */
10 #define SFI_VMARSHAL_MAX_ARGS 5
11 
12 
13 /* --- invocations --- */
14 void sfi_vmarshal_void (void *func,
15  void *arg0,
16  uint n_args,
17  const GValue *args, /* 1..n */
18  void *data); /* n+1 */
19 
20 
21 /* --- internal --- */
22 #if GLIB_SIZEOF_VOID_P == 4
23 #define SFI_VMARSHAL_PTR_ID 1
24 #else
25 #define SFI_VMARSHAL_PTR_ID 2
26 #endif
27 
28 G_END_DECLS
29 
30 #endif /* __SFI_VMARSHAL_H__ */
31 
32 /* vim:set ts=8 sts=2 sw=2: */