Skip to content
This repository was archived by the owner on Mar 8, 2018. It is now read-only.

Commit b89edf1

Browse files
author
R. Tyler Ballance
committed
Add license into ptrstack.h
1 parent 8526d2a commit b89edf1

File tree

1 file changed

+31
-4
lines changed

1 file changed

+31
-4
lines changed

ptrstack.h

+31-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,38 @@
11
/*
2-
* originally by lloyd, put in the public domain. (relicense this as
3-
* your own tyler, to keep the licensing of the py ext clean)
2+
* Copyright 2009, R. Tyler Ballance <[email protected]>
3+
*
4+
* Redistribution and use in source and binary forms, with or without
5+
* modification, are permitted provided that the following conditions are
6+
* met:
7+
*
8+
* 1. Redistributions of source code must retain the above copyright
9+
* notice, this list of conditions and the following disclaimer.
10+
*
11+
* 2. Redistributions in binary form must reproduce the above copyright
12+
* notice, this list of conditions and the following disclaimer in
13+
* the documentation and/or other materials provided with the
14+
* distribution.
15+
*
16+
* 3. Neither the name of R. Tyler Ballance nor the names of its
17+
* contributors may be used to endorse or promote products derived
18+
* from this software without specific prior written permission.
19+
*
20+
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
21+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23+
* DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
24+
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
25+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27+
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
28+
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
29+
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30+
* POSSIBILITY OF SUCH DAMAGE.
431
*/
532

633
/*
7-
* A header only, highly efficient custom pointer stack implementation, used in
8-
* py-yajl to maintain parse state.
34+
* A header only, highly efficient custom pointer stack implementation,
35+
* used in py-yajl to maintain parse state.
936
*/
1037

1138
#ifndef __PY_YAJL_BYTESTACK_H__

0 commit comments

Comments
 (0)