mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-08 08:55:30 +00:00
8bbe074251
Backports commit 0b3cd70e67ef8cd564e86f502a411d4e98b9f752 from unicorn.
29 lines
1.5 KiB
Forth
29 lines
1.5 KiB
Forth
namespace UnicornManaged.Binding
|
|
|
|
open System
|
|
|
|
type IBinding =
|
|
interface
|
|
abstract Version : UIntPtr * UIntPtr -> Int32
|
|
abstract ArchSupported : Int32 -> Boolean
|
|
abstract UcOpen : UInt32 * UInt32 * UIntPtr array -> Int32
|
|
abstract Close : UIntPtr -> Int32
|
|
abstract Strerror : Int32 -> IntPtr
|
|
abstract Errono : UIntPtr -> Int32
|
|
abstract RegRead : UIntPtr * Int32 * Byte array -> Int32
|
|
abstract RegWrite : UIntPtr * Int32 * Byte array -> Int32
|
|
abstract MemRead : UIntPtr * UInt64 * Byte array * UIntPtr -> Int32
|
|
abstract MemWrite : UIntPtr * UInt64 * Byte array * UIntPtr -> Int32
|
|
abstract EmuStart : UIntPtr * UInt64 * UInt64 * UInt64 * UInt64 -> Int32
|
|
abstract EmuStop : UIntPtr -> Int32
|
|
abstract HookDel : UIntPtr * UIntPtr -> Int32
|
|
abstract MemMap : UIntPtr * UInt64 * UIntPtr * UInt32 -> Int32
|
|
abstract MemMapPtr : UIntPtr * UInt64 * UIntPtr * UInt32 * UIntPtr -> Int32
|
|
abstract MemUnmap : UIntPtr * UInt64 * UIntPtr -> Int32
|
|
abstract MemProtect : UIntPtr * UInt64 * UIntPtr * UInt32 -> Int32
|
|
abstract HookAddNoarg : UIntPtr * UIntPtr * Int32 * UIntPtr * IntPtr * UInt64 * UInt64 -> Int32
|
|
abstract HookAddArg0 : UIntPtr * UIntPtr * Int32 * UIntPtr * IntPtr * UInt64 * UInt64 * Int32 -> Int32
|
|
abstract HookAddArg0Arg1 : UIntPtr * UIntPtr * Int32 * UIntPtr * IntPtr * UInt64 * UInt64 * UInt64 * UInt64 -> Int32
|
|
end
|
|
|