BEAST/BSE - Better Audio System and Sound Engine  0.8.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
sfivmarshal.hh
Go to the documentation of this file.
00001  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
00002 #ifndef __SFI_VMARSHAL_H__
00003 #define __SFI_VMARSHAL_H__
00004 
00005 #include <sfi/sfitypes.hh>
00006 
00007 G_BEGIN_DECLS
00008 
00009 /* --- hard limit --- */
00010 #define SFI_VMARSHAL_MAX_ARGS   5
00011 
00012 
00013 /* --- invocations --- */
00014 void    sfi_vmarshal_void       (void         *func,
00015                                  void         *arg0,
00016                                  uint          n_args,
00017                                  const GValue *args,  /* 1..n */
00018                                  void         *data); /* n+1 */
00019 
00020 
00021 /* --- internal --- */
00022 #if GLIB_SIZEOF_VOID_P == 4
00023 #define SFI_VMARSHAL_PTR_ID  1
00024 #else
00025 #define SFI_VMARSHAL_PTR_ID  2
00026 #endif
00027 
00028 G_END_DECLS
00029 
00030 #endif /* __SFI_VMARSHAL_H__ */
00031 
00032 /* vim:set ts=8 sts=2 sw=2: */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines