using System;
using System.Runtime.InteropServices;
namespace PkmnLibSharp.FFI.DynamicData.Libraries
{
internal static class DynamicLibrary
{
///
/// Instantiates a new DynamicLibrary with given parameters.
///
[DllImport(Data.DllName, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
internal static extern IdentifiablePointer dynamic_library_new(IntPtr staticData, IntPtr statCalculator,
IntPtr damageLibrary, IntPtr miscLibrary, IntPtr scriptResolver);
///
/// Drops a dynamic library.
///
[DllImport(Data.DllName, CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
internal static extern void dynamic_library_drop(IntPtr dynamicLibrary);
}
}