Skip to content

Commit 4007c8e

Browse files
chore(spdx): add Copyright (c) headers to Zig+C+H files (batch 4/7) (#98)
STATS: processed=22 already_has=0 added_copyright=21 inserted_block=1 missing=0 Files: .zig/.c/.h. Mechanical SPDX-FileCopyrightText sweep using slash comment style. Batch 4/7 of the M1 foreign-WIP closure. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c10803f commit 4007c8e

22 files changed

Lines changed: 23 additions & 0 deletions

alkahest-shell-transmuter/ffi/zig/build.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Alkahest FFI Build Configuration
22
// SPDX-License-Identifier: MPL-2.0
3+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
34

45
const std = @import("std");
56

alkahest-shell-transmuter/ffi/zig/src/main.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// All types and layouts must match the Idris2 ABI definitions.
55
//
66
// SPDX-License-Identifier: MPL-2.0
7+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
78

89
const std = @import("std");
910

alkahest-shell-transmuter/ffi/zig/test/integration_test.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Alkahest Integration Tests
22
// SPDX-License-Identifier: MPL-2.0
3+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
34
//
45
// These tests verify that the Zig FFI correctly implements the Idris2 ABI
56

ffi/zig/build.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// ValenceShell FFI Build Configuration
22
// SPDX-License-Identifier: MPL-2.0
3+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
34

45
const std = @import("std");
56

ffi/zig/src/main.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// All types and layouts must match the Idris2 ABI definitions.
55
//
66
// SPDX-License-Identifier: MPL-2.0
7+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
78

89
const std = @import("std");
910

ffi/zig/test/integration_test.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// ValenceShell Integration Tests
22
// SPDX-License-Identifier: MPL-2.0
3+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
34
//
45
// These tests verify that the Zig FFI correctly implements the Idris2 ABI
56

impl/elixir/c_src/valence_nif.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
// Valence Shell - Erlang NIF wrapper for Zig FFI
34

45
#include <erl_nif.h>

impl/elixir/lib/vsh/.Elixir.VSH.NIF.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
// ref lib/vsh/nif.ex:33
44
// SPDX-License-Identifier: MPL-2.0
5+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
56
// Valence Shell - Zigler NIF implementation
67

78
const std = @import("std");

impl/ocaml/lean_wrapper.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
/* Valence Shell - C Wrapper for Lean 4 Extracted Code
34
*
45
* This file provides C-callable wrappers around Lean 4 compiled code.

impl/zig/build.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// SPDX-License-Identifier: MPL-2.0
2+
// Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
23
//! Build script for Lean FFI Zig wrapper
34

45
const std = @import("std");

0 commit comments

Comments
 (0)