Skip to content

Releases: Inochi2D/numem

v0.5.4

30 Dec 15:07
6c684bd
Compare
Choose a tag to compare
  • Fixed nogc_delete and nogc_new trying to free memory that can't be freed.
  • Fixed class/struct memory leaks in nogc_delete
  • Fixed vector being unable to grow beyond a single memory page (#5 by @p0nce)
  • Change vector destruction to happen in reverse order.

v0.5.3

28 Dec 14:13
bc022e4
Compare
Choose a tag to compare
  • Smart pointers now return class references instead of typecast pointers
  • Most of the string implementation for basic_string is now const(char)[]
  • Added numem.all module
  • nogc_new can now instantiate basic types.
  • shared_new and unique_new can now instantiate basic types.
  • Vectors can now contain unique_ptr by making copy constructor a move constructor.
  • Fixed vector allocations being unaligned, too small and improperly allocated.

v0.5.2

23 Dec 15:12
Compare
Choose a tag to compare
  • Fixes wrong protocol used in fromPtr
  • Fixes rvalue being passed to nogc_delete during unique_ptr free of classes.

v0.5.1

23 Dec 14:49
Compare
Choose a tag to compare
  • Added fromPtr to unique_ptr and shared_ptr
  • Made opSlice @system

v0.5.0

19 Dec 15:15
Compare
Choose a tag to compare
Handle non-class refs in smart pointers