Cthulhu
0.2.10
Cthulhu compiler collection
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Typedefs
Enumerations
Enumerator
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Typedefs
Enumerations
Enumerator
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Functions
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Variables
d
f
g
i
k
s
Typedefs
a
b
c
e
f
h
i
j
l
m
n
o
p
s
t
u
v
w
Enumerations
a
b
c
d
e
f
j
l
m
n
o
p
q
s
t
u
Enumerator
e
Macros
_
a
b
c
d
e
f
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
scan.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-3.0-only
2
3
#pragma once
4
5
#include "
core/where.h
"
6
7
#include <stddef.h>
8
9
typedef
struct
scan_t
scan_t
;
10
typedef
struct
vector_t
vector_t
;
11
12
typedef
struct
ctu_integer_t
ctu_integer_t
;
13
14
#define CTULTYPE where_t
15
16
void
ctu_parse_digit
(
scan_t
*scan,
where_t
where,
ctu_integer_t
*integer,
const
char
*str,
int
len,
size_t
base);
ctu_parse_digit
void ctu_parse_digit(scan_t *scan, where_t where, ctu_integer_t *integer, const char *str, int len, size_t base)
Definition:
scan.c:15
ctu_integer_t
Definition:
ast.h:15
scan_t
a source file scanner
Definition:
scan.h:24
vector_t
a generic vector of pointers
Definition:
vector.c:16
where_t
a location inside a scanner locations are inclusive and 0-based
Definition:
where.h:23
where.h
language
ctu
include
ctu
scan.h
Generated by
1.9.1