Luna/luna/include/luna/Units.h
apio 814672c771
All checks were successful
continuous-integration/drone/push Build is passing
Remove some redundant error propagation
Why can printing to the serial port or format onto a string fail?
Even if cstyle_format returns Result<usize>, we shouldn't always follow suit.
2022-12-16 18:32:29 +01:00

6 lines
192 B
C

#pragma once
#include <luna/OwnedStringView.h>
#include <luna/Result.h>
usize to_dynamic_unit_cstr(usize value, char* buffer, usize max);
Result<OwnedStringView> to_dynamic_unit(usize value);