1/*--------------------------------------------------------------------
2  Copyright (C) 1997-2014  Hideaki Goto
3
4        All Rights Reserved
5
6  Permission to use, copy, modify, and distribute this software and
7  its documentation for any purpose is hereby granted without fee,
8  provided that (i) the above copyright notice and this permission
9  notice appear in all copies and in supporting documentation, (ii)
10  the name of the author, Hideaki Goto, may not be used in any
11  advertising or otherwise to promote the sale, use or other
12  dealings in this software without prior written authorization
13  from the author, (iii) this software may not be used for
14  commercial products without prior written permission from the
15  author, and (iv) the notice of modification is specified in cases
16  where modified copies of this software are distributed.
17
18  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
19  THE AUTHOR WILL NOT BE RESPONSIBLE FOR ANY DAMAGE CAUSED BY THIS
20  SOFTWARE.
21--------------------------------------------------------------------*/
22