2024-08-13 12:57:36 -07:00
2024-08-13 12:57:36 -07:00
2024-07-09 21:03:23 +00:00
2024-07-09 21:03:23 +00:00
2024-07-16 10:49:08 -07:00
2021-02-01 14:06:37 -08:00
2024-08-13 12:57:36 -07:00
2024-07-16 21:56:11 -07:00
2024-07-09 21:03:23 +00:00

libflint

My personal library of common C data structures and algorithms. Supports Linux, macOS, OpenBSD, and FreeBSD.

Documentation

Extensive documentation can be found here. You can also check out tests/tests.c to see example usage from most of the library's API.

Building

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.

Cmake

# 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 )

Requirements

Building on Linux requires libbsd. Building on macOS, OpenBSD, or FreeBSD requires no extra dependencies.

Libraries

libflint includes uthash for a hash table implementation. uthash is a single header file included in the source code of libflint. See the top of include/uthash.h for license information

Description
Personal collection of C utilities and data structures
Readme ISC 310 KiB
Languages
C 98.4%
CMake 1%
Shell 0.4%
Makefile 0.2%