libc8
CHIP-8 utility library
Loading...
Searching...
No Matches
util.h
Go to the documentation of this file.
1
8
#ifndef C8_UTIL_H
9
#define C8_UTIL_H
10
11
int
c8_hex_to_int
(
char
);
12
int
c8_parse_int
(
const
char
*);
13
char
*
c8_trim
(
char
*);
14
15
#endif
c8_parse_int
int c8_parse_int(const char *)
Parse decimal or hexadecimal integer from s
Definition:
util.c:45
c8_trim
char * c8_trim(char *)
Trim leading and trailing whitespace from s
Definition:
util.c:80
c8_hex_to_int
int c8_hex_to_int(char)
Get the integer value of hexadecimal ASCII representation.
Definition:
util.c:22
src
c8
private
util.h
Generated by
1.9.6