using System;
using System.Runtime.InteropServices;

namespace Gee.External.Capstone;

/// <summary>
///     Native Skip Data Option Value.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
internal struct NativeSkipDataModeConfigOptionValue {
    /// <summary>
    ///     Instruction Mnemonic.
    /// </summary>
    [MarshalAs(UnmanagedType.LPStr)]
    public string InstructionMnemonic;

    [MarshalAs(UnmanagedType.FunctionPtr)]
    public NativeCapstone.SkipDataCallback Callback;

    public IntPtr State;
}