Skip to content

kerudev/structypes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 

Repository files navigation

structypes

Warning

Use at your own risk! This library is updated often and may not be stable.

This repository contains header files with implementations for various structs and functions that serve as a standard library for C.

All header files follow the stb library style.

Rules:

  • No external dependencies.
  • Must compile down to C99.
  • Everything must be implemented from scratch.
  • Depend as less as possible on C's standard headers (e.g.: string.h).

You can find examples on how to use every function on the tests folder.

Implemented libraries

Data structures

  • hashmap.h: a hashmap that uses closed addressing.
  • node.h: a simple node to make different kinds of trees.
  • vec.h: a dynamic array that contains generic pointers.

Utility functions

  • str.h: string management using C's char*, not a string builder implementation.

About

Implementations of structs and utilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors