SupinePandora43 / UltralightNet

.NET bindings for Ultralight next-gen HTML renderer
https://github.com/SupinePandora43/UltralightNet
MIT License
63 stars 10 forks source link

Handle<XXX> isn't considered blittable #70

Closed SupinePandora43 closed 1 year ago

SupinePandora43 commented 2 years ago

In Marshal.GetFunctionPointerForDelegate it'sn't critical, but in [UnmanagedCallersOnly] it causes runtime exception on reverse pinvoke.

Regression?

45

SupinePandora43 commented 2 years ago

This is bad

SupinePandora43 commented 1 year ago

Fixed. (Handle<> was completely removed in favor of using generated marshalling with automatic GC.KeepAlive)