rbtree

annotate COPYING @ 15:1b77b72688fe

- fixed bug in rb_init making it ignore comparison functions other than the builtin - fixed rb_find and rb_findi return type, which should be struct rbnode*, not void*
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 02 Nov 2014 11:00:27 +0200
parents
children
rev   line source
nuclear@13 1 Redistribution and use in source and binary forms, with or without
nuclear@13 2 modification, are permitted provided that the following conditions are
nuclear@13 3 met:
nuclear@13 4
nuclear@13 5 (1) Redistributions of source code must retain the above copyright
nuclear@13 6 notice, this list of conditions and the following disclaimer.
nuclear@13 7
nuclear@13 8 (2) Redistributions in binary form must reproduce the above copyright
nuclear@13 9 notice, this list of conditions and the following disclaimer in
nuclear@13 10 the documentation and/or other materials provided with the
nuclear@13 11 distribution.
nuclear@13 12
nuclear@13 13 (3)The name of the author may not be used to
nuclear@13 14 endorse or promote products derived from this software without
nuclear@13 15 specific prior written permission.
nuclear@13 16
nuclear@13 17 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
nuclear@13 18 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
nuclear@13 19 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
nuclear@13 20 DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
nuclear@13 21 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
nuclear@13 22 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
nuclear@13 23 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
nuclear@13 24 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
nuclear@13 25 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
nuclear@13 26 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
nuclear@13 27 POSSIBILITY OF SUCH DAMAGE.