Skip to content
Myr

stb_hexwave: add full license text

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sean Barrett · committed by Sean Barrett · parent 559d759 · Browse files · 1 file+46 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+46 added−0 removed

  • other:+46 added−0 removed

1 file+46 added−0 removed

modified:stb_hexwave.h+46 added
22 unmodified lines
23//24// Optionally performs memory allocation during initialization,25// never allocates otherwise.26//27// License:28//29// See end of file for license information.30//31// Usage:32//33// Initialization:34//
600 unmodified lines
635 free(buffers);636 #endif637}638#endif // STB_HEXWAVE_IMPLEMENTATION639640/*641------------------------------------------------------------------------------642This software is available under 2 licenses -- choose whichever you prefer.643------------------------------------------------------------------------------644ALTERNATIVE A - MIT License645Copyright (c) 2017 Sean Barrett646Permission is hereby granted, free of charge, to any person obtaining a copy of647this software and associated documentation files (the "Software"), to deal in648the Software without restriction, including without limitation the rights to649use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies650of the Software, and to permit persons to whom the Software is furnished to do651so, subject to the following conditions:652The above copyright notice and this permission notice shall be included in all653copies or substantial portions of the Software.654THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR655IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,656FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE657AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER658LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,659OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE660SOFTWARE.661------------------------------------------------------------------------------662ALTERNATIVE B - Public Domain (www.unlicense.org)663This is free and unencumbered software released into the public domain.664Anyone is free to copy, modify, publish, use, compile, sell, or distribute this665software, either in source code form or as a compiled binary, for any purpose,666commercial or non-commercial, and by any means.667In jurisdictions that recognize copyright laws, the author or authors of this668software dedicate any and all copyright interest in the software to the public669domain. We make this dedication for the benefit of the public at large and to670the detriment of our heirs and successors. We intend this dedication to be an671overt act of relinquishment in perpetuity of all present and future rights to672this software under copyright law.673THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR674IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,675FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE676AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN677ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION678WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.679------------------------------------------------------------------------------680*/