All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m7s
13 lines
323 B
C
13 lines
323 B
C
#ifndef _LIBSTRING_STRCONV_H
|
|
#define _LIBSTRING_STRCONV_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#define str_to_uint32(s) ((uint32_t)str_to_uint64 ((s)))
|
|
#define str_to_uint16(s) ((uint16_t)str_to_uint64 ((s)))
|
|
#define str_to_uint8(s) ((uint8_t)str_to_uint64 ((s)))
|
|
|
|
uint64_t str_to_uint64 (const char* s);
|
|
|
|
#endif // _LIBSTRING_STRCONV_H
|