Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
sfiserial.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_SERIAL_H__
3 #define __SFI_SERIAL_H__
4 
5 #include <sfi/sfivalues.hh>
6 
7 
8 /* --- functions --- */
9 GTokenType sfi_value_parse_typed (GValue *value,
10  GScanner *scanner);
11 GTokenType sfi_value_parse_param_rest (GValue *value,
12  GScanner *scanner,
13  GParamSpec *pspec);
14 void sfi_value_store_typed (const GValue *value,
15  GString *gstring);
16 void sfi_value_store_param (const GValue *value,
17  GString *gstring,
18  GParamSpec *pspec,
19  guint indent);
20 void sfi_value_store_stderr (const GValue *value);
21 
22 
23 /* --- NULL (nil) token handling --- */
24 #define SFI_SERIAL_NULL_TOKEN "#f"
25 /* parse NULL token if possible and return TRUE, otherwise
26  * return FALSE and don't advance scanner
27  */
28 gboolean sfi_serial_check_parse_null_token (GScanner *scanner);
29 
30 
31 /* --- GScanner config --- */
32 extern const GScannerConfig *sfi_storage_scanner_config;
33 
34 
35 #endif /* __SFI_SERIAL_H__ */
36 
37 /* vim:set ts=8 sts=2 sw=2: */