Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
ObjectiveCMarshal.cs
Go to the documentation of this file.
2
4
5[SupportedOSPlatform("macos")]
6[CLSCompliant(false)]
7public static class ObjectiveCMarshal
8{
9 public unsafe delegate delegate* unmanaged<IntPtr, void> UnhandledExceptionPropagationHandler(Exception exception, RuntimeMethodHandle lastMethod, out IntPtr context);
10
19
20 public unsafe static void Initialize(delegate* unmanaged<void> beginEndCallback, delegate* unmanaged<IntPtr, int> isReferencedCallback, delegate* unmanaged<IntPtr, void> trackedObjectEnteredFinalization, UnhandledExceptionPropagationHandler unhandledExceptionPropagationHandler)
21 {
23 }
24
25 public static GCHandle CreateReferenceTrackingHandle(object obj, out Span<IntPtr> taggedMemory)
26 {
28 }
29
30 public static void SetMessageSendCallback(MessageSendFunction msgSendFunction, IntPtr func)
31 {
33 }
34
39}
unsafe delegate delegate *unmanaged< IntPtr, void > UnhandledExceptionPropagationHandler(Exception exception, RuntimeMethodHandle lastMethod, out IntPtr context)
static unsafe void Initialize(delegate *unmanaged< void > beginEndCallback, delegate *unmanaged< IntPtr, int > isReferencedCallback, delegate *unmanaged< IntPtr, void > trackedObjectEnteredFinalization, UnhandledExceptionPropagationHandler unhandledExceptionPropagationHandler)
static void SetMessageSendCallback(MessageSendFunction msgSendFunction, IntPtr func)
static GCHandle CreateReferenceTrackingHandle(object obj, out Span< IntPtr > taggedMemory)