4 #define UNITY_H_LOADED 1
6 #ifndef KNOWN_SYNTAXES_H
7 #define KNOWN_SYNTAXES_H 1
86 #ifndef FUNCTION_DEFINITIONS_H
87 #define FUNCTION_DEFINITIONS_H 1
118 #ifndef UNIT_DEFINITIONS_H
119 #define UNIT_DEFINITIONS_H 1
143 const char* dimension;
152 struct unit_representation {
156 int binary_prefixes_p;
160 typedef struct unit_representation UnitRep;
162 UnitRep* u_get_unit_representation_any(
const UnitDef*);
166 const char* unity_get_syntax_name(
UnitySyntax syntax);
167 const char* unity_get_unit_uri(
const UnitDef*);
168 const char* unity_get_unit_name(
const UnitDef*);
169 const char* unity_get_unit_type(
const UnitDef*);
170 const char* unity_get_unit_dimension(
const UnitDef*);
171 const char* unity_get_unit_description(
const UnitDef*);
172 const char* unity_get_unit_latex_form(
const UnitDef*);
177 #ifndef UNITYLIB_H_LOADED
178 #define UNITYLIB_H_LOADED 1
338 #define UNITY_CHECK_RECOGNISED 1
340 #define UNITY_CHECK_RECOMMENDED 2
342 #define UNITY_CHECK_CONSTRAINTS 4
348 #define UNITY_CHECK_ALL UNITY_CHECK_RECOGNISED | UNITY_CHECK_RECOMMENDED | UNITY_CHECK_CONSTRAINTS
354 #ifdef UNITY_INTERNAL
357 Unit* u_quoted_unit(
const char* pfx,
const char* unitString,
359 Unit* u_function_application(
const char* functionName,
360 const Unit* unit_sequence,
364 void u_receive_result(
float,
const Unit* unit_sequence);
365 int u_prefix_to_power(
const char pfx);
368 void u_free_unit(
const Unit*
u);
376 #ifndef WRITERS_H_LOADED
377 #define WRITERS_H_LOADED 1
381 #ifdef UNITY_INTERNAL