|
libcfe
0.12.1
some useful C-functions
|
Go to the source code of this file.
Functions | |
| gboolean | cfe_value_to_GValue (const cfe_value_t *cfe_value, GValue *gvalue) |
| gboolean | cfe_value_type_is_compatible (const cfe_value_type_t cfe_type, const GType gtype) |
| GType | cfe_value_type_as_gtype (const cfe_value_type_t cfe_type) |
| gboolean cfe_value_to_GValue | ( | const cfe_value_t * | cfe_value, |
| GValue * | gvalue | ||
| ) |
Covert a cfe_value to a GValue. Make sure that gvalue is not initialized or has is initialized with a type that is compatible with the cfe_value. For the one-on-one transaltion from cfe_value_type_t to GType see ....
| [in] | cfe_value | The cfe_value to convert. |
| [out] | gvalue | The GValue to store the value in. Make sure it is uninitialized or initialized with a type compatible with the cfe_value. |
Definition at line 21 of file cfe_value_extra.c.
| GType cfe_value_type_as_gtype | ( | const cfe_value_type_t | cfe_type | ) |
Get the prefered GType for representing a cfe_type.
| [in] | cfe_type | A cfe_type. |
Definition at line 270 of file cfe_value_extra.c.
| gboolean cfe_value_type_is_compatible | ( | const cfe_value_type_t | cfe_type, |
| const GType | gtype | ||
| ) |
Checks if the cfe_type can be represented with the gtype.
| [in] | cfe_type | A cfe_type. |
| [in] | gtype | The GType to check the compatible with. |
Definition at line 202 of file cfe_value_extra.c.