# yaml-language-server: $schema=../../ffigen.schema.json

name: SwiftLibrary
description: Bindings for swift_api.
language: objc
output: 'swift_api_bindings.dart'
exclude-all-by-default: true
objc-interfaces:
  include:
    - 'SwiftClass'
  module:
    'SwiftClass': 'swift_module'
headers:
  entry-points:
    - 'third_party/swift_api.h'
preamble: |
  // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
  // for details. All rights reserved. Use of this source code is governed by a
  // BSD-style license that can be found in the LICENSE file.

  // ignore_for_file: camel_case_types, non_constant_identifier_names
  // ignore_for_file: unused_element, unused_field, return_of_invalid_type
  // ignore_for_file: void_checks, annotate_overrides
  // ignore_for_file: no_leading_underscores_for_local_identifiers
  // ignore_for_file: library_private_types_in_public_api
