inlined free functions

to allow inclusion of header files in multiple compilation units