From 5e4b97d141a2ff4d622686ea92a7819e98b9ed34 Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Thu, 21 Dec 2023 17:11:35 +0100 Subject: [PATCH] Fix license headers --- pkgs/ffigen/example/ffinative/config.yaml | 4 ++++ pkgs/ffigen/example/ffinative/lib/generated_bindings.dart | 4 ++++ pkgs/ffigen/lib/src/code_generator/utils.dart | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/pkgs/ffigen/example/ffinative/config.yaml b/pkgs/ffigen/example/ffinative/config.yaml index f24eb25c5..002d7feda 100644 --- a/pkgs/ffigen/example/ffinative/config.yaml +++ b/pkgs/ffigen/example/ffinative/config.yaml @@ -9,6 +9,10 @@ headers: entry-points: - 'headers/example.h' preamble: | + // Copyright (c) 2020, 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: deprecated_member_use functions: symbol-address: diff --git a/pkgs/ffigen/example/ffinative/lib/generated_bindings.dart b/pkgs/ffigen/example/ffinative/lib/generated_bindings.dart index ec9666f49..0d952c478 100644 --- a/pkgs/ffigen/example/ffinative/lib/generated_bindings.dart +++ b/pkgs/ffigen/example/ffinative/lib/generated_bindings.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2023, 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: deprecated_member_use // AUTO GENERATED FILE, DO NOT EDIT. diff --git a/pkgs/ffigen/lib/src/code_generator/utils.dart b/pkgs/ffigen/lib/src/code_generator/utils.dart index b34b9dcda..67d6adfd1 100644 --- a/pkgs/ffigen/lib/src/code_generator/utils.dart +++ b/pkgs/ffigen/lib/src/code_generator/utils.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2023, 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. + import 'dart_keywords.dart'; import 'writer.dart';