# Copyright (c) 2022, 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.

# =================== GENERATING TEST BINDINGS ==================
#    dart run ffigen --config test/rename_test/config.yaml
# ===============================================================

name: RenameLibrary
description: 'Rename test'
language: objc
output: 'rename_bindings.dart'
exclude-all-by-default: true
objc-interfaces:
  include:
    - _Renamed
  rename:
    '_(.*)': '$1'
  member-rename:
    '_Renamed':
      'renamedMethod:otherArg:': 'fooBarBaz'
      'ren.*P.*rty': 'reProp'
structs:
  include:
    - CollidingStructName
headers:
  entry-points:
    - 'rename_test.m'
preamble: |
  // ignore_for_file: camel_case_types, non_constant_identifier_names, unnecessary_non_null_assertion, unused_element, unused_field
