From b1bea0f8e18701d4ca32ff08ee79d0a0897e5de5 Mon Sep 17 00:00:00 2001 From: "Peter H. Froehlich" Date: Sat, 13 Feb 2021 23:53:01 +0100 Subject: Oh look, a license. --- LICENSE.md | 14 ++++++++++++++ README.md | 8 ++++++++ 2 files changed, 22 insertions(+) create mode 100644 LICENSE.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..36f3442 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,14 @@ +# BSD Zero Clause License + +Copyright © 2019–2021 by Peter H. Fröhlich \ + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. diff --git a/README.md b/README.md index 07f3cef..f77852b 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,11 @@ The *arena* allocator already supports "arbitrary" object sizes, but it has a fixed maximum capacity that may not be appropriate for all programs; code to "grow" the arena when necessary might be a good addition. Nothing here is thread-safe either, so you may need to throw in a lock or three. + +## License + +I very much doubt that you can use the code "as is" for a real system, but feel +free to take it as a starting point if that seems helpful. Since it's under a +0-clause BSD license, which essentially makes it public domain, you're welcome +to do as you please. If the code was helpful to you I'd *appreciate* an email, +but it's certainly not required. -- cgit 1.4.1-2-gfad0