diff options
author | kdx <kikoodx@paranoici.org> | 2023-04-28 12:42:46 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-04-28 12:42:49 +0200 |
commit | 0f2098fa984627b0f698ba58bf18d15c0fcdba39 (patch) | |
tree | 76372fc4c1c7c7f4bbffdb7d8e1df7a24f1b479f | |
parent | 6c8801429466c8bcf176cddede7a2c3e38bd9a42 (diff) | |
download | px-0f2098fa984627b0f698ba58bf18d15c0fcdba39.tar.gz |
embed license
-rw-r--r-- | src/px.c | 23 | ||||
-rw-r--r-- | src/px.h | 23 |
2 files changed, 46 insertions, 0 deletions
@@ -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. +*/ @@ -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. +*/ |