public domain header file libraries (forked from
Go to file
Peter McGoron 0fad166f2e bump gb_string version in 2021-07-21 23:30:24 -04:00
.gitattributes Try fixing GitHub project language 2016-05-08 00:04:01 +01:00
.gitignore Default allocator flags and generic hash table 2016-06-27 11:07:52 +01:00 bump gb_string version in 2021-07-21 23:30:24 -04:00
gb.h Fix race condition 2018-12-24 16:11:49 +00:00
gb_gl.h docs: fix simple typo, systen -> system 2020-12-20 08:13:35 +11:00
gb_ini.h C90 Support 2016-04-28 15:00:44 +01:00
gb_math.h fix: vector transforms 2020-06-26 00:52:54 +02:00
gb_string.h copyright info and version bump 2021-07-21 23:28:05 -04:00
gb_string_test.c copyright info and version bump 2021-07-21 23:28:05 -04:00


gb single-file public domain libraries for C & C++

library latest version category description
gb.h 0.27 misc Helper library (Standard library improvement)
gb_math.h 0.07e math Vector math library geared towards game development
gb_gl.h 0.05 graphics OpenGL Helper Library
gb_string.h 0.96 strings A better string library (this is built into gb.h too with custom allocator support!)
gb_ini.h 0.93 misc Simple ini file loader library


What's the license?

These libraries are in the public domain. You can do anything you want with them. You have no legal obligation to do anything else, although I would appreciate attribution.

If I wrap an gb library in a new library, does the new library have to be public domain?


Is this in the style of the stb libraries?

Yes. I think these libraries are brilliant and use many of these on a daily basis.

May I contribute?


What is the versioning system that you use?

I may change it in the future but at the moment it is like this this:


  • 1 = major version
  • 23 = minor version
  • b = patch
    • 1.23 => zero patches
    • 1.23a => patch 1
    • 1.23b => patch 2
    • etc.