Skip to content

Commit

Permalink
Update ffi.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 authored and Desdaemon committed Jan 3, 2024
1 parent a149c02 commit 420ac73
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/ffi.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ export 'bridge_definitions.dart';
export 'bridge_generated.dart';

const _libName = 'native';
// Use for Darwin framework lookup under the DEBUG mode.
// Use an explicit package constant to avoid
// if the library name and the package name are not the same.
// The value must be equal to the package name defined in pubspec.yaml.

/// Use for Darwin framework lookup.
/// Use an explicit package constant to avoid
/// if the library name and the package name are not the same.
/// The value must be equal to the package name defined in pubspec.yaml.
const _package = 'native';

final _dylib = switch (Platform.operatingSystem) {
Expand Down

0 comments on commit 420ac73

Please sign in to comment.