]> git.lizzy.rs Git - dragonstd.git/blob - README.md
Portable endian.h header
[dragonstd.git] / README.md
1 # Dragontype
2 Dragontype is a small C library providing the types that [dragonblocks_alpha](https://github.com/dragonblocks/dragonblocks_alpha) uses.
3 It serves a similar purpose as the C++ standard library would, but C++ is just bloated af.
4 This library is only capable of what dragonblocks needs, and it does not intend to be general purpose.
5
6 Included are Array, Bintree, List and Queue as well as numeric types and (de-)serialisation for them.
7 To use this in your project, just compile the implementation.c file into your project's binary.
8
9 ## endian.h
10 By default, dragontype will use the Linux <endian.h> header. However, since other systems may not have that header,
11 you can use [this library](https://github.com/mikepb/endian.h) to replaced. Make sure to define DRAGONTYPE_ENDIAN_HEADER
12 to the include path of this portable endian.h file.