GimpConfig-deserialize

GimpConfig-deserialize — Deserializing code for libgimpconfig.

Synopsis

gboolean            gimp_config_deserialize_properties  (GimpConfig *config,
                                                         GScanner *scanner,
                                                         gint nest_level);
GTokenType          gimp_config_deserialize_property    (GimpConfig *config,
                                                         GScanner *scanner,
                                                         gint nest_level);

Description

Deserializing code for libgimpconfig.

Details

gimp_config_deserialize_properties ()

gboolean            gimp_config_deserialize_properties  (GimpConfig *config,
                                                         GScanner *scanner,
                                                         gint nest_level);

This function uses the scanner to configure the properties of config.

config :

a GimpConfig.

scanner :

a GScanner.

nest_level :

the nest level

Returns :

TRUE on success, FALSE otherwise.

Since GIMP 2.4


gimp_config_deserialize_property ()

GTokenType          gimp_config_deserialize_property    (GimpConfig *config,
                                                         GScanner *scanner,
                                                         gint nest_level);

This function deserializes a single property of config. You shouldn't need to call this function directly. If possible, use gimp_config_deserialize_properties() instead.

config :

a GimpConfig.

scanner :

a GScanner.

nest_level :

the nest level

Returns :

G_TOKEN_RIGHT_PAREN on success, otherwise the expected GTokenType or G_TOKEN_NONE if the expected token was found but couldn't be parsed.

Since GIMP 2.4