Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
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 /* --- hard limit --- */
8 #define SFI_VMARSHAL_MAX_ARGS 5
9 
10 
11 /* --- invocations --- */
12 void sfi_vmarshal_void (void *func,
13  void *arg0,
14  uint n_args,
15  const GValue *args, /* 1..n */
16  void *data); /* n+1 */
17 
18 
19 /* --- internal --- */
20 #if GLIB_SIZEOF_VOID_P == 4
21 #define SFI_VMARSHAL_PTR_ID 1
22 #else
23 #define SFI_VMARSHAL_PTR_ID 2
24 #endif
25 
26 #endif /* __SFI_VMARSHAL_H__ */
27 
28 /* vim:set ts=8 sts=2 sw=2: */