Replacing the direct UndoEventNative parameter with an nint (which is then used to read the struct instance) in the ObserveAddedCallback and ObservePoppedCallback delegates
Add [StructLayout(Sequential)] to the struct UndoEventNative (optional, this was meant to fix a warning)
I won't wait for a reviewer because the fix is simple and should unblock moving this repo into the y-crdt organization soon (since the tests are passing now).
Fixed the issues by:
UndoEventNative
parameter with annint
(which is then used to read thestruct
instance) in theObserveAddedCallback
andObservePoppedCallback
delegates[StructLayout(Sequential)]
to thestruct UndoEventNative
(optional, this was meant to fix a warning)Closes #70.