Registry / utility / tgc
library2019-08-11vcpkgunverified

A tiny garbage collector for C.

vcpkg install tgc
INSTALL
IMPORT
SIG · TGC
T
tgc
utilitycppv2019-08-11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tgc.h
#include <tgc.h>

Basic usage of tgc: initialize garbage collector, allocate memory, and stop collector.

#include "tgc.h" int main() { tgc_t gc; tgc_start(&gc, NULL); int *p = (int*)tgc_alloc(&gc, sizeof(int)); *p = 42; tgc_stop(&gc); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2019-08-11latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources

No resource links recorded.

tgc — pip install tgc · libregistry