// Copyright (c) 2012-2024 Wojciech Figat. All rights reserved. using System; using System.Runtime.InteropServices; namespace FlaxEngine.Mono { /// /// Attribute necessary for AOT ports of Mono to mark methods that can be invoked by the native runtime. /// /// [AttributeUsage(AttributeTargets.Method)] internal sealed class MonoPInvokeCallbackAttribute : Attribute { public MonoPInvokeCallbackAttribute(Type type) { } } [UnmanagedFunctionPointer(CallingConvention.Cdecl)] internal delegate void VoidDelegate(); }