2 #ifndef __SFI_TYPES_H__
3 #define __SFI_TYPES_H__
13 #define SFI_MAXINT (+2147483647)
14 #define SFI_MININT (-SFI_MAXINT - 1)
15 typedef long long int SfiNum;
16 static_assert (
sizeof (SfiNum) == 8,
"SfiNum");
17 #define SFI_MAXNUM ((SfiNum) +9223372036854775807LL)
18 #define SFI_MINNUM (-SFI_MAXNUM - 1)
19 typedef long long int SfiTime;
20 static_assert (
sizeof (SfiTime) == 8,
"SfiTime");
21 typedef SfiInt SfiNote;
22 typedef double SfiReal;
23 #define SFI_MINREAL (2.2250738585072014e-308)
24 #define SFI_MAXREAL (1.7976931348623157e+308)
25 typedef const gchar* SfiChoice;
26 typedef gchar* SfiString;
31 typedef GType SfiProxy;
36 typedef struct _SfiUStore SfiUStore;
37 typedef struct _SfiUPool SfiUPool;
38 typedef struct _SfiPPool SfiPPool;
41 gboolean sfi_choice_match_detailed (
const gchar *choice_val1,
42 const gchar *choice_val2,
44 gboolean sfi_choice_match (
const gchar *choice_val1,
45 const gchar *choice_val2);
46 gchar* sfi_strdup_canon (
const gchar *identifier);
54 guint sfi_constants_get_index (guint n_consts,
56 const gchar *constant);
57 const gchar* sfi_constants_get_name (guint n_consts,
60 gint sfi_constants_rcmp (
const gchar *canon_identifier1,
61 const gchar *canon_identifier2);
62 const char* sfi_category_concat (
const char *prefix,
66 #define SFI_START_ARGS() (
67 #define SFI_END_ARGS() )
68 #define SFI_END_ARGS1(a) a)
69 #define SFI_END_ARGS2(a,b) a , b)
70 #define SFI_END_ARGS3(a,b,c) a , b , c)
Definition: sfiprimitives.hh:11
Definition: sfiprimitives.hh:34
Definition: sfitypes.hh:32
Definition: sfiprimitives.hh:139
Definition: sfiprimitives.hh:61
Definition: sfitypes.hh:48