Functions
go_unit_convert ()
double
go_unit_convert (GoUnit const *from,
GoUnit const *to,
double value);
go_unit_define ()
GoUnit const *
go_unit_define (char const *symbol,
char const *dim,
double factor_to_SI);
Returns
the named GoUnit. If a GoUnit of that name
already exists, the existing is returned. Otherwise a new one is
created.
[transfer none]
go_unit_get ()
GoUnit const *
go_unit_get (GoUnitId id);
Returns
the GoUnit corresponding to id
.
[transfer none][nullable]
go_unit_get_from_symbol ()
GoUnit const *
go_unit_get_from_symbol (char const *symbol);
go_unit_get_symbol ()
char const *
go_unit_get_symbol (GoUnit const *unit);
go_unit_get_type ()
GType
go_unit_get_type (void);