-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
34 lines (25 loc) · 945 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
== Useful Code
For licensing conditions, see the individual source files.
Contents:
OptionParser.hpp, OptionParser.cpp
Command line option processing.
utf8.h, utf8.c
C99 utf-8 decoder/verifier and encoder.
contains code from Bjoern Hoehrmann
http://bjoern.hoehrmann.de/utf-8/decoder/dfa/
lookup3.c
One of Bob Jenkins' string/blob hash functions.
http://www.burtleburtle.net/bob/c/lookup3.c
embed-data.sh
Script to embed data files into a object (.o) file,
with controllable data alignment. That data can then
be used from C or C++ (it's just a big static array).
rand.h, rand.c
Complementary Multiply With Carry and XOR-shift RNGs.
path-operations.c
Implementations of dirname and basename. Does not try
to conform to POSIX. Don't use these, use the functions
provided by your platform.
build.ninja.sample
Sample build.ninja file (I copy this into new projects
and then adjust as necessary)