0123456789101112131415161718192021222324252627282930
|
// util/strconv.h
// String conversion header file from libutil
// Copyright (C) 2021, Jakob Wakeling
// MIT Licence
#ifndef UTIL_STRCONV_H_3EQMSZZK
#define UTIL_STRCONV_H_3EQMSZZK
#define UTIL_STRCONV_H_VERSION "1.1.3"
#ifdef __cplusplus
extern "C" {
#endif
#include "util.h"
extern s8 strtos8(const char *nptr, char **endptr, register int base);
extern s16 strtos16(const char *nptr, char **endptr, register int base);
extern s32 strtos32(const char *nptr, char **endptr, register int base);
extern s64 strtos64(const char *nptr, char **endptr, register int base);
extern u8 strtou8(const char *nptr, char **endptr, register int base);
extern u16 strtou16(const char *nptr, char **endptr, register int base);
extern u32 strtou32(const char *nptr, char **endptr, register int base);
extern u64 strtou64(const char *nptr, char **endptr, register int base);
#ifdef __cplusplus
} // extern "C"
#endif
#endif // UTIL_STRCONV_H_3EQMSZZK
|