Commit Graph

9 Commits

Author SHA1 Message Date
Peter McGoron a406b64975 fix clean 2024-07-08 20:06:01 -04:00
Peter McGoron 4f7847b2c0 Major API reorganization, test infrastructure
The API is now hidden behind functions. The GC struct can have an
unstable layout without affecting any compiled binaries (users of
Universal Service or collectors hidden behind the API). The
collectors can be called directly if desired.

The API now allows for different allocation flags. These will be
used in future extensions (like weak pointers). For now none are
used.

Tests are compiled for each collector. I can't think of a good
solution that will encompass everything I want to write, but for
now this will work on POSIX systems.
2024-07-08 19:58:22 -04:00
Peter McGoron 70df63c28e delete for hashtables 2024-06-21 16:49:55 -04:00
Peter McGoron 62f299dcf7 fix root push and pop issue; make shared library for examples 2024-06-20 23:14:25 -04:00
Peter McGoron 5b8775dab6 add fake struct to help with type checker 2024-06-13 21:01:03 -04:00
Peter McGoron 3d7e39cfd2 hashtable test 2024-06-13 20:57:07 -04:00
Peter McGoron 503b08caad change uns_root_ptr to uns_ctr 2024-06-12 21:41:35 -04:00
Peter McGoron 26afacd565 strings: add more tests
cheney_c89: fix memory leak errors
2024-06-12 08:56:49 -04:00
Peter McGoron fe131f6e4b cheney copying collector 2024-06-11 23:40:34 -04:00