libc8
CHIP-8 utility library
util.h
Go to the documentation of this file.
1
8
#ifndef C8_UTIL_H
9
#define C8_UTIL_H
10
11
int
hex_to_int
(
char
);
12
int
parse_int
(
const
char
*);
13
char
*
trim
(
char
*);
14
15
#endif
trim
char * trim(char *)
Trim leading and trailing whitespace from s
Definition:
util.c:84
hex_to_int
int hex_to_int(char)
Get the integer value of hexadecimal ASCII representation.
Definition:
util.c:25
parse_int
int parse_int(const char *)
Parse decimal or hexadecimal integer from s
Definition:
util.c:48
libc8
c8
private
util.h
Generated by
1.9.4