Skip to content

JKKross/dumb_lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dumb_lib.h

This is a single-file (or "header-only") MIT licensed library for C/C++, meant primarily for:

  • A) My personal use, as a "C extension"/my own "standard library"
  • B) My own learning purposes

That means that the library is still very much "under construction", and also, that I will most likely not accept any pull requests to dumb_lib.h. (I may change my mind on that, obviously. Pull requests adding tests, typo-fixes etc. are welcome & very much appreciated, though.)

Thus, I ask you: if you want to use this library, READ THROUGH THE CODE, VALIDATE IT, TEST IT OUT YOURSELF AND TAKE THE "NO WARRANTY..." PART OF THE LICENSE SERIOUSLY.

(For this reason, I may never take this lib over the v1.0 mark - we'll see)

NOTES

  • Originally, I pretty much tried to copy the stb libraries style (i.e. "define your own allocator" etc.), but since this library is meant basically just for my own use, I decided to make it more opinionated.

Once again, that basically means: DO NOT USE THIS LIBRARY! Of course you are free to do so, or to read through the source, yank the parts you like out etc.

  • If you're wondering why there are no "//" comments, it's because they are not part of the C89 standard. For rationale to comply with C89 see Dependable C

  • If you are wondering why I decided to use single-header style for the library, see Sean Barrett's explanation

Tested on

See TEST_LOG.txt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published