Skip to content

Commit

Permalink
chore: ./codegen.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ethicnology committed Jan 14, 2025
1 parent 5715b8c commit d1b77e2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/boltz.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library boltz;
library;

export './src/generated/frb_generated.dart';
export './src/generated/api/btc_ln.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/src/generated/frb_generated.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class BoltzCore

static const kDefaultExternalLibraryLoaderConfig =
ExternalLibraryLoaderConfig(
stem: 'boltz_dart',
stem: 'boltz',
ioDirectory: 'rust/target/release/',
webPrefix: 'pkg/',
);
Expand Down
10 changes: 7 additions & 3 deletions lib/src/generated/frb_generated.io.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2330,10 +2330,14 @@ class BoltzCoreWire implements BaseWire {
_dummy_method_to_enforce_bundlingPtr.asFunction<int Function()>();
}

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

final class wire_cst_list_prim_u_8_strict extends ffi.Struct {
external ffi.Pointer<ffi.Uint8> ptr;
Expand Down

0 comments on commit d1b77e2

Please sign in to comment.