Skip to content

Releases: rickbrew/PointerToolkit

v1.0.1

30 Dec 20:54
Compare
Choose a tag to compare

This isn't a big update, it just adds the implicit cast operators from T* to CastPtr<T, ...> that weren't always being generated.

v1.0.0

29 Nov 22:02
Compare
Choose a tag to compare

This release removes the preview designation, making this the first stable release.

v1.0.0-preview8

09 Nov 21:23
Compare
Choose a tag to compare
v1.0.0-preview8 Pre-release
Pre-release

This releases increases the number of generated CastPtr<T, TBase1, ..., TBaseN> structs from 12 to 16. The latest version of TerraFX.Interop.Windows adds support for some new COM interfaces, and so the new version of PointerToolkit.TerraFX.Interop.Windows now requires support for 13 base interfaces.

v1.0.0-preview7

26 Jan 03:57
Compare
Choose a tag to compare
v1.0.0-preview7 Pre-release
Pre-release

This release fleshes out the Ptr structs by marking them as readonly and adding all of the comparison operators (>, >=, <, <=), arithmetic operators (+, -), and casting operators that you would expect/need for pointers. Indexers are also now provided. There's now a Value property on each struct, which permits you to pass a pointer into an iterator or into async code and use it (using Get() wouldn't work since it returns a pointer). ToString() methods are provided which default to hex notation (e.g. 0x123456789ABCDEF), and IFormattable is also implemented.

v1.0.0-preview6

03 Jan 19:47
Compare
Choose a tag to compare
v1.0.0-preview6 Pre-release
Pre-release

This release adds UnsafePtr.AddByteOffset() and SubtractByteOffset(), and reworks UnsafePtr.AsPointer() to return pointers, not ref pointers. The latter returns a pointer with the same level of indirection as the input parameter, so ref T -> T* (same as Unsafe.AsPointer() but strongly-typed), ref T* -> T**, and ref T** -> T***.

v1.0.0-preview5

07 Dec 03:28
Compare
Choose a tag to compare
v1.0.0-preview5 Pre-release
Pre-release

This release adds the PtrOperators class, meant to be used in conjunction with a global using static PointerToolkit.PtrOperators; statment. See the README.md for an example of where this is useful.

v1.0.0-preview4

07 Dec 02:32
Compare
Choose a tag to compare
v1.0.0-preview4 Pre-release
Pre-release

This release adds a Get() method to all of the Ptr types, and fixes the PtrPtrPtr types to have *** instead of ** (copypasta error).

v1.0.0-preview3

04 Dec 21:01
d62c78a
Compare
Choose a tag to compare
v1.0.0-preview3 Pre-release
Pre-release