Skip to content

Commit

Permalink
Updated generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
i5hi committed Apr 11, 2024
1 parent 066cab2 commit f1a753e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions lib/src/generated/bindings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -757,18 +757,18 @@ class BoltzDartWire implements FlutterRustBridgeWireBase {
: _lookup = lookup;

void store_dart_post_cobject(
int ptr,
DartPostCObjectFnType ptr,
) {
return _store_dart_post_cobject(
ptr,
);
}

late final _store_dart_post_cobjectPtr =
_lookup<ffi.NativeFunction<ffi.Void Function(ffi.Int)>>(
_lookup<ffi.NativeFunction<ffi.Void Function(DartPostCObjectFnType)>>(
'store_dart_post_cobject');
late final _store_dart_post_cobject =
_store_dart_post_cobjectPtr.asFunction<void Function(int)>();
late final _store_dart_post_cobject = _store_dart_post_cobjectPtr
.asFunction<void Function(DartPostCObjectFnType)>();

Object get_dart_object(
int ptr,
Expand Down Expand Up @@ -1337,3 +1337,8 @@ final class wire_LbtcLnSwap extends ffi.Struct {

external ffi.Pointer<wire_uint_8_list> boltz_url;
}

typedef DartPostCObjectFnType = ffi.Pointer<
ffi.NativeFunction<
ffi.Bool Function(DartPort port_id, ffi.Pointer<ffi.Void> message)>>;
typedef DartPort = ffi.Int64;

0 comments on commit f1a753e

Please sign in to comment.