03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
0
|
// util/strconv.h |
c01a723 |
Jamozed |
2022-02-05 19:04:03 |
1
|
// String conversion header file from libutil |
c01a723 |
Jamozed |
2022-02-05 19:04:03 |
2
|
// Copyright (C) 2021, Jakob Wakeling |
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
3
|
// MIT Licence |
0737d9e |
Jamozed |
2021-02-21 23:43:21 |
4
|
|
c01a723 |
Jamozed |
2022-02-05 19:04:03 |
5
|
#ifndef UTIL_STRCONV_H_3EQMSZZK |
c01a723 |
Jamozed |
2022-02-05 19:04:03 |
6
|
#define UTIL_STRCONV_H_3EQMSZZK |
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
7
|
#define UTIL_STRCONV_H_VERSION "1.1.3" |
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
8
|
|
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
9
|
#ifdef __cplusplus |
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
10
|
extern "C" { |
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
11
|
#endif |
c01a723 |
Jamozed |
2022-02-05 19:04:03 |
12
|
|
c01a723 |
Jamozed |
2022-02-05 19:04:03 |
13
|
#include "util.h" |
0737d9e |
Jamozed |
2021-02-21 23:43:21 |
14
|
|
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
15
|
extern s8 strtos8(const char *nptr, char **endptr, register int base); |
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
16
|
extern s16 strtos16(const char *nptr, char **endptr, register int base); |
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
17
|
extern s32 strtos32(const char *nptr, char **endptr, register int base); |
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
18
|
extern s64 strtos64(const char *nptr, char **endptr, register int base); |
0737d9e |
Jamozed |
2021-02-21 23:43:21 |
19
|
|
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
20
|
extern u8 strtou8(const char *nptr, char **endptr, register int base); |
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
21
|
extern u16 strtou16(const char *nptr, char **endptr, register int base); |
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
22
|
extern u32 strtou32(const char *nptr, char **endptr, register int base); |
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
23
|
extern u64 strtou64(const char *nptr, char **endptr, register int base); |
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
24
|
|
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
25
|
#ifdef __cplusplus |
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
26
|
} // extern "C" |
03b01d2 |
Jamozed |
2022-03-06 17:10:01 |
27
|
#endif |
0737d9e |
Jamozed |
2021-02-21 23:43:21 |
28
|
|
c01a723 |
Jamozed |
2022-02-05 19:04:03 |
29
|
#endif // UTIL_STRCONV_H_3EQMSZZK |
|
|
|
30
|
|