A simple API to offload memory management to a subsystem, freeing the programmer from that responsibility. The only file you need to start using this is garbage.h. Once you have included it in a projects, replace any malloc() calls with gmalloc(). Also replace any free() calls with gfree(). Before you return from main, call gclear(). That is it, just let the system do its work and all your dynamic memory will be taken care of for you.
-
Notifications
You must be signed in to change notification settings - Fork 0
upthagrg/cgarbage
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple API to offload memory management to a subsystem, freeing the programmer from that responsibility.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published