diff options
| author | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2026-05-06 13:48:00 -0400 |
|---|---|---|
| committer | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2026-05-07 11:28:22 -0400 |
| commit | 7b95d7276fc321cf7eab88475c51b2829b8e4188 (patch) | |
| tree | 2cfe0c0984d86cacbf53ee1cb33ee536fc3979df /impls/monero.dart/lib/src/generated_bindings_monero.g.dart | |
| parent | bc8d1a0b75b97156d71579581b4cdfe58c777ed2 (diff) | |
trezorcyjan-twip
Diffstat (limited to 'impls/monero.dart/lib/src/generated_bindings_monero.g.dart')
| -rw-r--r-- | impls/monero.dart/lib/src/generated_bindings_monero.g.dart | 125 |
1 files changed, 81 insertions, 44 deletions
diff --git a/impls/monero.dart/lib/src/generated_bindings_monero.g.dart b/impls/monero.dart/lib/src/generated_bindings_monero.g.dart index b757806..b348f8b 100644 --- a/impls/monero.dart/lib/src/generated_bindings_monero.g.dart +++ b/impls/monero.dart/lib/src/generated_bindings_monero.g.dart @@ -4351,83 +4351,114 @@ class MoneroC { late final _MONERO_Wallet_getBytesSent = _MONERO_Wallet_getBytesSentPtr .asFunction<int Function(ffi.Pointer<ffi.Void>)>(); - bool MONERO_Wallet_getStateIsConnected() { - return _MONERO_Wallet_getStateIsConnected(); + bool MONERO_Wallet_getStateIsConnected( + int device, + ) { + return _MONERO_Wallet_getStateIsConnected( + device, + ); } late final _MONERO_Wallet_getStateIsConnectedPtr = - _lookup<ffi.NativeFunction<ffi.Bool Function()>>( + _lookup<ffi.NativeFunction<ffi.Bool Function(ffi.Int)>>( 'MONERO_Wallet_getStateIsConnected'); late final _MONERO_Wallet_getStateIsConnected = - _MONERO_Wallet_getStateIsConnectedPtr.asFunction<bool Function()>(); + _MONERO_Wallet_getStateIsConnectedPtr.asFunction<bool Function(int)>(); - ffi.Pointer<ffi.UnsignedChar> MONERO_Wallet_getSendToDevice() { - return _MONERO_Wallet_getSendToDevice(); + ffi.Pointer<ffi.UnsignedChar> MONERO_Wallet_getSendToDevice( + int device, + ) { + return _MONERO_Wallet_getSendToDevice( + device, + ); } - late final _MONERO_Wallet_getSendToDevicePtr = - _lookup<ffi.NativeFunction<ffi.Pointer<ffi.UnsignedChar> Function()>>( - 'MONERO_Wallet_getSendToDevice'); + late final _MONERO_Wallet_getSendToDevicePtr = _lookup< + ffi.NativeFunction<ffi.Pointer<ffi.UnsignedChar> Function(ffi.Int)>>( + 'MONERO_Wallet_getSendToDevice'); late final _MONERO_Wallet_getSendToDevice = _MONERO_Wallet_getSendToDevicePtr - .asFunction<ffi.Pointer<ffi.UnsignedChar> Function()>(); + .asFunction<ffi.Pointer<ffi.UnsignedChar> Function(int)>(); - int MONERO_Wallet_getSendToDeviceLength() { - return _MONERO_Wallet_getSendToDeviceLength(); + int MONERO_Wallet_getSendToDeviceLength( + int device, + ) { + return _MONERO_Wallet_getSendToDeviceLength( + device, + ); } late final _MONERO_Wallet_getSendToDeviceLengthPtr = - _lookup<ffi.NativeFunction<ffi.Size Function()>>( + _lookup<ffi.NativeFunction<ffi.Size Function(ffi.Int)>>( 'MONERO_Wallet_getSendToDeviceLength'); late final _MONERO_Wallet_getSendToDeviceLength = - _MONERO_Wallet_getSendToDeviceLengthPtr.asFunction<int Function()>(); + _MONERO_Wallet_getSendToDeviceLengthPtr.asFunction<int Function(int)>(); - ffi.Pointer<ffi.UnsignedChar> MONERO_Wallet_getReceivedFromDevice() { - return _MONERO_Wallet_getReceivedFromDevice(); + ffi.Pointer<ffi.UnsignedChar> MONERO_Wallet_getReceivedFromDevice( + int device, + ) { + return _MONERO_Wallet_getReceivedFromDevice( + device, + ); } - late final _MONERO_Wallet_getReceivedFromDevicePtr = - _lookup<ffi.NativeFunction<ffi.Pointer<ffi.UnsignedChar> Function()>>( - 'MONERO_Wallet_getReceivedFromDevice'); + late final _MONERO_Wallet_getReceivedFromDevicePtr = _lookup< + ffi.NativeFunction<ffi.Pointer<ffi.UnsignedChar> Function(ffi.Int)>>( + 'MONERO_Wallet_getReceivedFromDevice'); late final _MONERO_Wallet_getReceivedFromDevice = _MONERO_Wallet_getReceivedFromDevicePtr.asFunction< - ffi.Pointer<ffi.UnsignedChar> Function()>(); + ffi.Pointer<ffi.UnsignedChar> Function(int)>(); - int MONERO_Wallet_getReceivedFromDeviceLength() { - return _MONERO_Wallet_getReceivedFromDeviceLength(); + int MONERO_Wallet_getReceivedFromDeviceLength( + int device, + ) { + return _MONERO_Wallet_getReceivedFromDeviceLength( + device, + ); } late final _MONERO_Wallet_getReceivedFromDeviceLengthPtr = - _lookup<ffi.NativeFunction<ffi.Size Function()>>( + _lookup<ffi.NativeFunction<ffi.Size Function(ffi.Int)>>( 'MONERO_Wallet_getReceivedFromDeviceLength'); late final _MONERO_Wallet_getReceivedFromDeviceLength = _MONERO_Wallet_getReceivedFromDeviceLengthPtr.asFunction< - int Function()>(); + int Function(int)>(); - bool MONERO_Wallet_getWaitsForDeviceSend() { - return _MONERO_Wallet_getWaitsForDeviceSend(); + bool MONERO_Wallet_getWaitsForDeviceSend( + int device, + ) { + return _MONERO_Wallet_getWaitsForDeviceSend( + device, + ); } late final _MONERO_Wallet_getWaitsForDeviceSendPtr = - _lookup<ffi.NativeFunction<ffi.Bool Function()>>( + _lookup<ffi.NativeFunction<ffi.Bool Function(ffi.Int)>>( 'MONERO_Wallet_getWaitsForDeviceSend'); late final _MONERO_Wallet_getWaitsForDeviceSend = - _MONERO_Wallet_getWaitsForDeviceSendPtr.asFunction<bool Function()>(); + _MONERO_Wallet_getWaitsForDeviceSendPtr.asFunction<bool Function(int)>(); - bool MONERO_Wallet_getWaitsForDeviceReceive() { - return _MONERO_Wallet_getWaitsForDeviceReceive(); + bool MONERO_Wallet_getWaitsForDeviceReceive( + int device, + ) { + return _MONERO_Wallet_getWaitsForDeviceReceive( + device, + ); } late final _MONERO_Wallet_getWaitsForDeviceReceivePtr = - _lookup<ffi.NativeFunction<ffi.Bool Function()>>( + _lookup<ffi.NativeFunction<ffi.Bool Function(ffi.Int)>>( 'MONERO_Wallet_getWaitsForDeviceReceive'); late final _MONERO_Wallet_getWaitsForDeviceReceive = - _MONERO_Wallet_getWaitsForDeviceReceivePtr.asFunction<bool Function()>(); + _MONERO_Wallet_getWaitsForDeviceReceivePtr.asFunction< + bool Function(int)>(); void MONERO_Wallet_setDeviceReceivedData( + int device, ffi.Pointer<ffi.UnsignedChar> data, int len, ) { return _MONERO_Wallet_setDeviceReceivedData( + device, data, len, ); @@ -4435,17 +4466,19 @@ class MoneroC { late final _MONERO_Wallet_setDeviceReceivedDataPtr = _lookup< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<ffi.UnsignedChar>, + ffi.Void Function(ffi.Int, ffi.Pointer<ffi.UnsignedChar>, ffi.Size)>>('MONERO_Wallet_setDeviceReceivedData'); late final _MONERO_Wallet_setDeviceReceivedData = _MONERO_Wallet_setDeviceReceivedDataPtr.asFunction< - void Function(ffi.Pointer<ffi.UnsignedChar>, int)>(); + void Function(int, ffi.Pointer<ffi.UnsignedChar>, int)>(); void MONERO_Wallet_setDeviceSendData( + int device, ffi.Pointer<ffi.UnsignedChar> data, int len, ) { return _MONERO_Wallet_setDeviceSendData( + device, data, len, ); @@ -4453,36 +4486,40 @@ class MoneroC { late final _MONERO_Wallet_setDeviceSendDataPtr = _lookup< ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<ffi.UnsignedChar>, + ffi.Void Function(ffi.Int, ffi.Pointer<ffi.UnsignedChar>, ffi.Size)>>('MONERO_Wallet_setDeviceSendData'); late final _MONERO_Wallet_setDeviceSendData = _MONERO_Wallet_setDeviceSendDataPtr.asFunction< - void Function(ffi.Pointer<ffi.UnsignedChar>, int)>(); + void Function(int, ffi.Pointer<ffi.UnsignedChar>, int)>(); - void MONERO_Wallet_setLedgerCallback( + void MONERO_Wallet_setDeviceCallback( + int device, ffi.Pointer< ffi.NativeFunction< ffi.Void Function(ffi.Pointer<ffi.UnsignedChar> command, ffi.UnsignedInt cmd_len)>> - sendToLedgerDevice, + sendToDeviceCallback, ) { - return _MONERO_Wallet_setLedgerCallback( - sendToLedgerDevice, + return _MONERO_Wallet_setDeviceCallback( + device, + sendToDeviceCallback, ); } - late final _MONERO_Wallet_setLedgerCallbackPtr = _lookup< + late final _MONERO_Wallet_setDeviceCallbackPtr = _lookup< ffi.NativeFunction< ffi.Void Function( + ffi.Int, ffi.Pointer< ffi.NativeFunction< ffi.Void Function( ffi.Pointer<ffi.UnsignedChar> command, ffi.UnsignedInt cmd_len)>>)>>( - 'MONERO_Wallet_setLedgerCallback'); - late final _MONERO_Wallet_setLedgerCallback = - _MONERO_Wallet_setLedgerCallbackPtr.asFunction< + 'MONERO_Wallet_setDeviceCallback'); + late final _MONERO_Wallet_setDeviceCallback = + _MONERO_Wallet_setDeviceCallbackPtr.asFunction< void Function( + int, ffi.Pointer< ffi.NativeFunction< ffi.Void Function(ffi.Pointer<ffi.UnsignedChar> command, |
