rewrite copyright file header to provide more information about where the file is from.

This commit is contained in:
2025-11-13 22:24:09 +01:00
parent 5f909d1d65
commit 8d0e825157
36 changed files with 111 additions and 70 deletions

View File

@@ -1,5 +1,6 @@
/* Copyright (c) 2025 Quinn
* Licensed under the MIT Licence. See LICENSE for details */
/* Copyright (c) 2025 Quinn.
* This is a file from the project MCA-Selector-Lite and is
* licensed under the MIT Licence. See included LICENSE file for details. */
#pragma once
#if defined(__GNUC__)

View File

@@ -1,5 +1,6 @@
/* Copyright (c) 2025 Quinn
* Licensed under the MIT Licence. See LICENSE for details */
/* Copyright (c) 2025 Quinn.
* This is a file from the project MCA-Selector-Lite and is
* licensed under the MIT Licence. See included LICENSE file for details. */
#pragma once
#if defined __unix__

View File

@@ -1,5 +1,6 @@
/* Copyright (c) 2025 Quinn
* Licensed under the MIT Licence. See LICENSE for details */
/* Copyright (c) 2025 Quinn.
* This is a file from the project MCA-Selector-Lite and is
* licensed under the MIT Licence. See included LICENSE file for details. */
#pragma once
#if defined(__unix__)

View File

@@ -1,5 +1,6 @@
/* Copyright (c) 2025 Quinn
* Licensed under the MIT Licence. See LICENSE for details */
/* Copyright (c) 2025 Quinn.
* This is a file from the project MCA-Selector-Lite and is
* licensed under the MIT Licence. See included LICENSE file for details. */
#include "conf.h"
#include <assert.h>

View File

@@ -1,5 +1,6 @@
/* Copyright (c) 2025 Quinn
* Licensed under the MIT Licence. See LICENSE for details */
/* Copyright (c) 2025 Quinn.
* This is a file from the project MCA-Selector-Lite and is
* licensed under the MIT Licence. See included LICENSE file for details. */
#pragma once
#include <stddef.h>

View File

@@ -1,5 +1,6 @@
/* Copyright (c) 2025 Quinn
* Licensed under the MIT Licence. See LICENSE for details */
/* Copyright (c) 2025 Quinn.
* This is a file from the project MCA-Selector-Lite and is
* licensed under the MIT Licence. See included LICENSE file for details. */
#include "error.h"
#include <stdarg.h>

View File

@@ -1,5 +1,6 @@
/* Copyright (c) 2025 Quinn
* Licensed under the MIT Licence. See LICENSE for details */
/* Copyright (c) 2025 Quinn.
* This is a file from the project MCA-Selector-Lite and is
* licensed under the MIT Licence. See included LICENSE file for details. */
#pragma once
#include <stdio.h>

View File

@@ -1,5 +1,6 @@
/* Copyright (c) 2025 Quinn
* Licensed under the MIT Licence. See LICENSE for details */
/* Copyright (c) 2025 Quinn.
* This is a file from the project MCA-Selector-Lite and is
* licensed under the MIT Licence. See included LICENSE file for details. */
#pragma once
#define WIDTHOF(t) (sizeof(t) * 8) // gets the bit width of a type

View File

@@ -1,5 +1,6 @@
/* Copyright (c) 2025 Quinn
* Licensed under the MIT Licence. See LICENSE for details */
/* Copyright (c) 2025 Quinn.
* This is a file from the project MCA-Selector-Lite and is
* licensed under the MIT Licence. See included LICENSE file for details. */
#pragma once
/* Acquires the next power of two of value `x`.

View File

@@ -1,5 +1,6 @@
/* Copyright (c) 2025 Quinn
* Licensed under the MIT Licence. See LICENSE for details */
/* Copyright (c) 2025 Quinn.
* This is a file from the project MCA-Selector-Lite and is
* licensed under the MIT Licence. See included LICENSE file for details. */
#pragma once
#include "../types.h"