libflint is a library of common C data structures and algorithms designed to be as agnostic as possible for its users. It is, essentially, my personal library of reusable C code.
libflint
requires Cmake to be built. It can then be built using either cmake
or make
with the provided build files. The Makefile
is a wrapper around Cmake for Makefile compatibility.
# If libflint is in ./lib/libflint add_subdirectory(lib/libflint) # when building target... target_include_directories(${TARGET} PRIVATE lib/libflint/include) target_link_libraries(${TARGET} PRIVATE flint )
Requires libbsd
. This should be available on all major Linux distros.
Requires no extra dependencies
The parts of this library that create data structures pass all responsibility of memory management to the user. This is clearly documented in the individual module’s documentation.