Skip to content

Commit

Permalink
strict callback attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
NickKhalow committed Oct 1, 2024
1 parent a7b4a69 commit e56e6fd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using AOT;
using DCL.Diagnostics;
using DCL.PerformanceAndDiagnostics.Analytics;
using Plugins.RustSegment.SegmentServerWrap.ContextSources;
Expand Down Expand Up @@ -115,6 +116,7 @@ public void Flush()
}
}

[MonoPInvokeCallback(typeof(NativeMethods.SegmentFfiCallback))]
private static void Callback(ulong operationId, NativeMethods.Response response)
{
if (current == null) return;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e56e6fd

Please sign in to comment.