483949f |
Jamozed |
2022-03-06 01:25:30 |
0
|
// util/strconv.h |
98e5939 |
Jamozed |
2021-11-27 17:53:46 |
1
|
// String conversion header file from libutil |
102f6ff |
Jamozed |
2021-02-22 11:04:53 |
2
|
// Copyright (C) 2021, Jakob Wakeling |
7f427d9 |
Jamozed |
2022-03-06 12:55:13 |
3
|
// MIT Licence |
99202e8 |
Jamozed |
2021-02-21 23:23:02 |
4
|
|
98e5939 |
Jamozed |
2021-11-27 17:53:46 |
5
|
#ifndef UTIL_STRCONV_H_3EQMSZZK |
98e5939 |
Jamozed |
2021-11-27 17:53:46 |
6
|
#define UTIL_STRCONV_H_3EQMSZZK |
483949f |
Jamozed |
2022-03-06 01:25:30 |
7
|
#define UTIL_STRCONV_H_VERSION "1.1.3" |
99202e8 |
Jamozed |
2021-02-21 23:23:02 |
8
|
|
8a5f06f |
Jamozed |
2022-02-09 20:04:50 |
9
|
#ifdef __cplusplus |
8a5f06f |
Jamozed |
2022-02-09 20:04:50 |
10
|
extern "C" { |
8a5f06f |
Jamozed |
2022-02-09 20:04:50 |
11
|
#endif |
8a5f06f |
Jamozed |
2022-02-09 20:04:50 |
12
|
|
1aa1d3f |
Jamozed |
2022-02-04 19:57:13 |
13
|
#include "util.h" |
9b704eb |
Jamozed |
2021-02-22 11:39:52 |
14
|
|
483949f |
Jamozed |
2022-03-06 01:25:30 |
15
|
extern s8 strtos8(const char *nptr, char **endptr, register int base); |
483949f |
Jamozed |
2022-03-06 01:25:30 |
16
|
extern s16 strtos16(const char *nptr, char **endptr, register int base); |
483949f |
Jamozed |
2022-03-06 01:25:30 |
17
|
extern s32 strtos32(const char *nptr, char **endptr, register int base); |
483949f |
Jamozed |
2022-03-06 01:25:30 |
18
|
extern s64 strtos64(const char *nptr, char **endptr, register int base); |
99202e8 |
Jamozed |
2021-02-21 23:23:02 |
19
|
|
483949f |
Jamozed |
2022-03-06 01:25:30 |
20
|
extern u8 strtou8(const char *nptr, char **endptr, register int base); |
483949f |
Jamozed |
2022-03-06 01:25:30 |
21
|
extern u16 strtou16(const char *nptr, char **endptr, register int base); |
483949f |
Jamozed |
2022-03-06 01:25:30 |
22
|
extern u32 strtou32(const char *nptr, char **endptr, register int base); |
483949f |
Jamozed |
2022-03-06 01:25:30 |
23
|
extern u64 strtou64(const char *nptr, char **endptr, register int base); |
8a5f06f |
Jamozed |
2022-02-09 20:04:50 |
24
|
|
8a5f06f |
Jamozed |
2022-02-09 20:04:50 |
25
|
#ifdef __cplusplus |
8a5f06f |
Jamozed |
2022-02-09 20:04:50 |
26
|
} // extern "C" |
8a5f06f |
Jamozed |
2022-02-09 20:04:50 |
27
|
#endif |
99202e8 |
Jamozed |
2021-02-21 23:23:02 |
28
|
|
98e5939 |
Jamozed |
2021-11-27 17:53:46 |
29
|
#endif // UTIL_STRCONV_H_3EQMSZZK |
|
|
|
30
|
|