From 92041d35e7b742b65a399e01ddc3bfb3d03a50ab Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Mon, 13 May 2024 20:55:38 +0200 Subject: [PATCH] add apache2 license header in zig files --- LICENSE | 2 +- build.zig | 14 ++++++++++++++ src/api.zig | 14 ++++++++++++++ src/bench.zig | 14 ++++++++++++++ src/block.zig | 14 ++++++++++++++ src/console.zig | 14 ++++++++++++++ src/engine.zig | 14 ++++++++++++++ src/engines/v8/callback.zig | 14 ++++++++++++++ src/engines/v8/generate.zig | 14 ++++++++++++++ src/engines/v8/types_primitives.zig | 14 ++++++++++++++ src/engines/v8/v8.zig | 14 ++++++++++++++ src/generate.zig | 14 ++++++++++++++ src/interfaces.zig | 14 ++++++++++++++ src/internal_api.zig | 14 ++++++++++++++ src/loop.zig | 14 ++++++++++++++ src/main_bench.zig | 14 ++++++++++++++ src/main_shell.zig | 14 ++++++++++++++ src/native_context.zig | 14 ++++++++++++++ src/pretty.zig | 14 ++++++++++++++ src/private_api.zig | 14 ++++++++++++++ src/reflect.zig | 14 ++++++++++++++ src/refs.zig | 14 ++++++++++++++ src/run_tests.zig | 14 ++++++++++++++ src/shell.zig | 14 ++++++++++++++ src/test_runner.zig | 14 ++++++++++++++ src/tests/cbk_test.zig | 14 ++++++++++++++ src/tests/global_test.zig | 14 ++++++++++++++ src/tests/proto_test.zig | 14 ++++++++++++++ src/tests/test_utils.zig | 14 ++++++++++++++ src/tests/types_complex_test.zig | 14 ++++++++++++++ src/tests/types_multiple_test.zig | 14 ++++++++++++++ src/tests/types_native_test.zig | 14 ++++++++++++++ src/tests/types_object.zig | 14 ++++++++++++++ src/tests/types_primitives_test.zig | 14 ++++++++++++++ src/types.zig | 14 ++++++++++++++ 35 files changed, 477 insertions(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index a0be6a6..261eeb9 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright 2024 Lightpanda (Selecy SAS) + Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/build.zig b/build.zig index b6f60de..39ea76b 100644 --- a/build.zig +++ b/build.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const builtin = @import("builtin"); diff --git a/src/api.zig b/src/api.zig index f74e21e..8bd1890 100644 --- a/src/api.zig +++ b/src/api.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // ---------- // Public API // ---------- diff --git a/src/bench.zig b/src/bench.zig index e942142..ddcecf2 100644 --- a/src/bench.zig +++ b/src/bench.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); pub const Result = struct { diff --git a/src/block.zig b/src/block.zig index b6e6ff9..5859157 100644 --- a/src/block.zig +++ b/src/block.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const builtin = @import("builtin"); const std = @import("std"); const sort = std.sort; diff --git a/src/console.zig b/src/console.zig index 2cd70d0..8d832fd 100644 --- a/src/console.zig +++ b/src/console.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const log = std.log.scoped(.console); diff --git a/src/engine.zig b/src/engine.zig index 3084acc..e9c0137 100644 --- a/src/engine.zig +++ b/src/engine.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const builtin = @import("builtin"); diff --git a/src/engines/v8/callback.zig b/src/engines/v8/callback.zig index fa23105..4856467 100644 --- a/src/engines/v8/callback.zig +++ b/src/engines/v8/callback.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const v8 = @import("v8"); // TODO: remove diff --git a/src/engines/v8/generate.zig b/src/engines/v8/generate.zig index ad10cc8..8b24d2a 100644 --- a/src/engines/v8/generate.zig +++ b/src/engines/v8/generate.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const v8 = @import("v8"); diff --git a/src/engines/v8/types_primitives.zig b/src/engines/v8/types_primitives.zig index 74228b9..dfc7f60 100644 --- a/src/engines/v8/types_primitives.zig +++ b/src/engines/v8/types_primitives.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const v8 = @import("v8"); diff --git a/src/engines/v8/v8.zig b/src/engines/v8/v8.zig index 04538c9..bd6d22e 100644 --- a/src/engines/v8/v8.zig +++ b/src/engines/v8/v8.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const builtin = @import("builtin"); diff --git a/src/generate.zig b/src/generate.zig index 163a626..f0b9661 100644 --- a/src/generate.zig +++ b/src/generate.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const internal = @import("internal_api.zig"); diff --git a/src/interfaces.zig b/src/interfaces.zig index 857e7e6..36c8f1c 100644 --- a/src/interfaces.zig +++ b/src/interfaces.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const internal = @import("internal_api.zig"); diff --git a/src/internal_api.zig b/src/internal_api.zig index 01b9e23..f13c21a 100644 --- a/src/internal_api.zig +++ b/src/internal_api.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + pub const refs = @import("refs.zig"); pub const refl = @import("reflect.zig"); pub const gen = @import("generate.zig"); diff --git a/src/loop.zig b/src/loop.zig index 229c342..74f1233 100644 --- a/src/loop.zig +++ b/src/loop.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const builtin = @import("builtin"); diff --git a/src/main_bench.zig b/src/main_bench.zig index a24acc2..059e8cd 100644 --- a/src/main_bench.zig +++ b/src/main_bench.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const io = @import("std").io; diff --git a/src/main_shell.zig b/src/main_shell.zig index fd6faca..3b7969a 100644 --- a/src/main_shell.zig +++ b/src/main_shell.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const public = @import("api.zig"); diff --git a/src/native_context.zig b/src/native_context.zig index df7f44c..b8c27d7 100644 --- a/src/native_context.zig +++ b/src/native_context.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const Loop = @import("api.zig").Loop; diff --git a/src/pretty.zig b/src/pretty.zig index 6853930..fb7abb7 100644 --- a/src/pretty.zig +++ b/src/pretty.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); fn checkArgs(args: anytype) void { diff --git a/src/private_api.zig b/src/private_api.zig index 5087ddd..9937b12 100644 --- a/src/private_api.zig +++ b/src/private_api.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const interfaces = @import("interfaces.zig"); diff --git a/src/reflect.zig b/src/reflect.zig index 55e9160..2757aff 100644 --- a/src/reflect.zig +++ b/src/reflect.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const sort = @import("block.zig"); const builtin = @import("builtin"); diff --git a/src/refs.zig b/src/refs.zig index 75e0dc3..88987c0 100644 --- a/src/refs.zig +++ b/src/refs.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const internal = @import("internal_api.zig"); diff --git a/src/run_tests.zig b/src/run_tests.zig index b44ef81..9539790 100644 --- a/src/run_tests.zig +++ b/src/run_tests.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const eng = @import("engine.zig"); diff --git a/src/shell.zig b/src/shell.zig index 7b4b02d..b2c21e2 100644 --- a/src/shell.zig +++ b/src/shell.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const builtin = @import("builtin"); diff --git a/src/test_runner.zig b/src/test_runner.zig index a573cbc..3dacc25 100644 --- a/src/test_runner.zig +++ b/src/test_runner.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const tests = @import("run_tests.zig"); diff --git a/src/tests/cbk_test.zig b/src/tests/cbk_test.zig index fecf9f0..79c1f3e 100644 --- a/src/tests/cbk_test.zig +++ b/src/tests/cbk_test.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const jsruntime = @import("../api.zig"); diff --git a/src/tests/global_test.zig b/src/tests/global_test.zig index 0c0829a..09bf928 100644 --- a/src/tests/global_test.zig +++ b/src/tests/global_test.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const public = @import("../api.zig"); diff --git a/src/tests/proto_test.zig b/src/tests/proto_test.zig index 0239c6a..e20eead 100644 --- a/src/tests/proto_test.zig +++ b/src/tests/proto_test.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const public = @import("../api.zig"); diff --git a/src/tests/test_utils.zig b/src/tests/test_utils.zig index 9ad48b1..557c6ed 100644 --- a/src/tests/test_utils.zig +++ b/src/tests/test_utils.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const public = @import("../api.zig"); diff --git a/src/tests/types_complex_test.zig b/src/tests/types_complex_test.zig index c684065..0d31fad 100644 --- a/src/tests/types_complex_test.zig +++ b/src/tests/types_complex_test.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const public = @import("../api.zig"); diff --git a/src/tests/types_multiple_test.zig b/src/tests/types_multiple_test.zig index 3a91dbc..4974f86 100644 --- a/src/tests/types_multiple_test.zig +++ b/src/tests/types_multiple_test.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const public = @import("../api.zig"); diff --git a/src/tests/types_native_test.zig b/src/tests/types_native_test.zig index e956e30..040571b 100644 --- a/src/tests/types_native_test.zig +++ b/src/tests/types_native_test.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const public = @import("../api.zig"); diff --git a/src/tests/types_object.zig b/src/tests/types_object.zig index bb84160..f7095e8 100644 --- a/src/tests/types_object.zig +++ b/src/tests/types_object.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const public = @import("../api.zig"); diff --git a/src/tests/types_primitives_test.zig b/src/tests/types_primitives_test.zig index 77f30e3..9d45ef4 100644 --- a/src/tests/types_primitives_test.zig +++ b/src/tests/types_primitives_test.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + const std = @import("std"); const public = @import("../api.zig"); diff --git a/src/types.zig b/src/types.zig index dbc278a..a632a0f 100644 --- a/src/types.zig +++ b/src/types.zig @@ -1,3 +1,17 @@ +// Copyright 2023-2024 Lightpanda (Selecy SAS) +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + pub const i64Num = struct { value: i64,