Skip to content
spitulaxPublic

About

A library to help with memory allocation and other useful things in C

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

205 Commits

Folders and files

Repository files navigation

Memplus

A library to help with memory allocation and other useful things in C.

Caution

This library is still in development! Use at your own risk.

Features

  • Allocator interface
  • Arena allocators (growing, static, temp)
  • Heap allocator
  • Dynamic array
  • Sized string
  • String builder
  • UTF-8 string support
  • Hash table
  • Hash set
  • File IO
  • Logging
  • Tracking allocator
  • Testing
  • Subprocess
  • Other kinds of allocators
  • Socket IO
  • Threading

Usage

Memplus is a header only library that you can copy to your project and modify as you like.

#define MEMPLUS_IMPLEMENTATION // add this line once in a C file
#include "memplus.h"

Documentation

The documentation for this library can be built using doxygen.

cd docs
doxygen
# Open html/index.html in browser

Support

Theoretically supports POSIX systems and Windows. Tested on Linux with GCC and Clang, and on Windows with MSVC.

About

A library to help with memory allocation and other useful things in C

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages