mirror of https://github.com/nothings/stb.git
Slightly modify the public domain license to keep it in the public domain, but make it clear that even when dedications might not be recognized that the code is still usable. Given that this isn't dual-licensing under a different license, I'm hoping this will be acceptable.
This commit is contained in:
parent
955dfe991b
commit
49b65c0873
|
@ -165,8 +165,8 @@ public domain declarations aren't necessary recognized
|
|||
in the USA and some other locations. For that reason,
|
||||
I recommend a declaration along these lines:
|
||||
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy
|
||||
// This software is dual-licensed to the public domain and under the following
|
||||
// license. You are granted a perpetual, irrevocable license to copy
|
||||
// and modify this file as you see fit.
|
||||
|
||||
I typically place this declaration at the end of the initial
|
||||
|
|
|
@ -95,8 +95,8 @@ public domain declarations aren't necessary recognized
|
|||
in the USA and some other locations. For that reason,
|
||||
I recommend a declaration along these lines:
|
||||
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy
|
||||
// This software is dual-licensed to the public domain and under the following
|
||||
// license. You are granted a perpetual, irrevocable license to copy
|
||||
// and modify this file as you see fit.
|
||||
|
||||
I typically place this declaration at the end of the initial
|
||||
|
|
4
stb.h
4
stb.h
|
@ -171,8 +171,8 @@ Parenthesized items have since been removed.
|
|||
|
||||
LICENSE
|
||||
|
||||
This software is in the public domain. Where that dedication is not
|
||||
recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
This software is dual-licensed to the public domain and under the following
|
||||
license. You are granted a perpetual, irrevocable license to copy,
|
||||
distribute, and modify this file as you see fit.
|
||||
|
||||
CREDITS
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
//
|
||||
// LICENSE
|
||||
//
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
// This software is dual-licensed to the public domain and under the following
|
||||
// license. You are granted a perpetual, irrevocable license to copy,
|
||||
// distribute, and modify this file as you see fit.
|
||||
|
||||
#ifndef STB_C_LEXER_DEFINITIONS
|
||||
|
|
|
@ -78,8 +78,8 @@
|
|||
//
|
||||
// LICENSE
|
||||
//
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
// This software is dual-licensed to the public domain and under the following
|
||||
// license. You are granted a perpetual, irrevocable license to copy,
|
||||
// distribute, and modify this file as you see fit.
|
||||
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
//
|
||||
// LICENSE
|
||||
//
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
// This software is dual-licensed to the public domain and under the following
|
||||
// license. You are granted a perpetual, irrevocable license to copy,
|
||||
// distribute, and modify this file as you see fit.
|
||||
|
||||
#ifndef STB_INCLUDE_STB_DXT_H
|
||||
|
|
|
@ -67,8 +67,8 @@
|
|||
//
|
||||
// LICENSE
|
||||
//
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
// This software is dual-licensed to the public domain and under the following
|
||||
// license. You are granted a perpetual, irrevocable license to copy,
|
||||
// distribute, and modify this file as you see fit.
|
||||
//
|
||||
// VERSION HISTORY
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
== LICENSE ==============================
|
||||
|
||||
This software is in the public domain. Where that dedication is not
|
||||
recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
This software is dual-licensed to the public domain and under the following
|
||||
license. You are granted a perpetual, irrevocable license to copy,
|
||||
distribute, and modify this file as you see fit.
|
||||
|
||||
== WHAT IT IS ===========================
|
||||
|
|
|
@ -209,8 +209,8 @@
|
|||
|
||||
LICENSE
|
||||
|
||||
This software is in the public domain. Where that dedication is not
|
||||
recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
This software is dual-licensed to the public domain and under the following
|
||||
license. You are granted a perpetual, irrevocable license to copy,
|
||||
distribute, and modify this file as you see fit.
|
||||
|
||||
*/
|
||||
|
|
|
@ -160,8 +160,8 @@
|
|||
|
||||
LICENSE
|
||||
|
||||
This software is in the public domain. Where that dedication is not
|
||||
recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
This software is dual-licensed to the public domain and under the following
|
||||
license. You are granted a perpetual, irrevocable license to copy,
|
||||
distribute, and modify this file as you see fit.
|
||||
|
||||
TODO
|
||||
|
|
|
@ -105,8 +105,8 @@ CREDITS:
|
|||
|
||||
LICENSE
|
||||
|
||||
This software is in the public domain. Where that dedication is not
|
||||
recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
This software is dual-licensed to the public domain and under the following
|
||||
license. You are granted a perpetual, irrevocable license to copy,
|
||||
distribute, and modify this file as you see fit.
|
||||
|
||||
*/
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
// stb_leakcheck.h - v0.2 - quick & dirty malloc leak-checking - public domain
|
||||
// LICENSE
|
||||
//
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
// This software is dual-licensed to the public domain and under the following
|
||||
// license. You are granted a perpetual, irrevocable license to copy,
|
||||
// distribute, and modify this file as you see fit.
|
||||
|
||||
#ifdef STB_LEAKCHECK_IMPLEMENTATION
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
//
|
||||
// LICENSE
|
||||
//
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
// This software is dual-licensed to the public domain and under the following
|
||||
// license. You are granted a perpetual, irrevocable license to copy,
|
||||
// distribute, and modify this file as you see fit.
|
||||
//
|
||||
//
|
||||
|
|
|
@ -41,8 +41,8 @@
|
|||
//
|
||||
// LICENSE
|
||||
//
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
// This software is dual-licensed to the public domain and under the following
|
||||
// license. You are granted a perpetual, irrevocable license to copy,
|
||||
// distribute, and modify this file as you see fit.
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
//
|
||||
// LICENSE
|
||||
//
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
// This software is dual-licensed to the public domain and under the following
|
||||
// license. You are granted a perpetual, irrevocable license to copy,
|
||||
// distribute, and modify this file as you see fit.
|
||||
//
|
||||
//
|
||||
|
|
|
@ -316,8 +316,8 @@
|
|||
//
|
||||
// LICENSE
|
||||
//
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
// This software is dual-licensed to the public domain and under the following
|
||||
// license. You are granted a perpetual, irrevocable license to copy,
|
||||
// distribute, and modify this file as you see fit.
|
||||
|
||||
|
||||
|
|
|
@ -68,8 +68,8 @@
|
|||
//
|
||||
// LICENSE
|
||||
//
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
// This software is dual-licensed to the public domain and under the following
|
||||
// license. You are granted a perpetual, irrevocable license to copy,
|
||||
// distribute, and modify this file as you see fit.
|
||||
//
|
||||
// USAGE
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
//
|
||||
// LICENSE
|
||||
//
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
// This software is dual-licensed to the public domain and under the following
|
||||
// license. You are granted a perpetual, irrevocable license to copy,
|
||||
// distribute, and modify this file as you see fit.
|
||||
//
|
||||
// No warranty for any purpose is expressed or implied by the author (nor
|
||||
|
|
|
@ -215,8 +215,8 @@
|
|||
//
|
||||
// LICENSE
|
||||
//
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
// This software is dual-licensed to the public domain and under the following
|
||||
// license. You are granted a perpetual, irrevocable license to copy,
|
||||
// distribute, and modify this file as you see fit.
|
||||
|
||||
#ifndef INCLUDE_STB_VOXEL_RENDER_H
|
||||
|
|
|
@ -164,8 +164,8 @@
|
|||
//
|
||||
// LICENSE
|
||||
//
|
||||
// This software is in the public domain. Where that dedication is not
|
||||
// recognized, you are granted a perpetual, irrevocable license to copy,
|
||||
// This software is dual-licensed to the public domain and under the following
|
||||
// license. You are granted a perpetual, irrevocable license to copy,
|
||||
// distribute, and modify this file as you see fit.
|
||||
|
||||
#ifndef STB_STRETCHY_BUFFER_H_INCLUDED
|
||||
|
|
Loading…
Reference in New Issue