summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-04-28 12:42:46 +0200
committerkdx <kikoodx@paranoici.org>2023-04-28 12:42:49 +0200
commit0f2098fa984627b0f698ba58bf18d15c0fcdba39 (patch)
tree76372fc4c1c7c7f4bbffdb7d8e1df7a24f1b479f
parent6c8801429466c8bcf176cddede7a2c3e38bd9a42 (diff)
downloadpx-0f2098fa984627b0f698ba58bf18d15c0fcdba39.tar.gz
embed license
-rw-r--r--src/px.c23
-rw-r--r--src/px.h23
2 files changed, 46 insertions, 0 deletions
diff --git a/src/px.c b/src/px.c
index c7a3573..0a601fe 100644
--- a/src/px.c
+++ b/src/px.c
@@ -1,3 +1,4 @@
+/* Licensing information can be found at the end of the file. */
#include "px.h"
#include "TZR.h"
#include <assert.h>
@@ -202,3 +203,25 @@ pxClamp(int min, int max, int v)
{
return pxMax(min, pxMin(max, v));
}
+
+/*
+** Copyright (c) 2023 kdx
+**
+** Permission is hereby granted, free of charge, to any person obtaining a copy
+** of this software and associated documentation files (the "Software"), to
+** deal in the Software without restriction, including without limitation the
+** rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+** sell copies of the Software, and to permit persons to whom the Software is
+** furnished to do so, subject to the following conditions:
+**
+** The above copyright notice and this permission notice shall be included in
+** all copies or substantial portions of the Software.
+**
+** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+** FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+** IN THE SOFTWARE.
+*/
diff --git a/src/px.h b/src/px.h
index dbbfc94..c70db81 100644
--- a/src/px.h
+++ b/src/px.h
@@ -1,3 +1,4 @@
+/* Licensing information can be found at the end of the file. */
#pragma once
#include <stdint.h>
#include <stdbool.h>
@@ -98,3 +99,25 @@ void _pxPalt(const PxPaltArgs *args);
int pxMin(int a, int b);
int pxMax(int a, int b);
int pxClamp(int min, int max, int v);
+
+/*
+** Copyright (c) 2023 kdx
+**
+** Permission is hereby granted, free of charge, to any person obtaining a copy
+** of this software and associated documentation files (the "Software"), to
+** deal in the Software without restriction, including without limitation the
+** rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+** sell copies of the Software, and to permit persons to whom the Software is
+** furnished to do so, subject to the following conditions:
+**
+** The above copyright notice and this permission notice shall be included in
+** all copies or substantial portions of the Software.
+**
+** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+** IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+** AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+** FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+** IN THE SOFTWARE.
+*/