···11-/*
22-Bini license: BSD 3-Clause.
33-44-Copyright 2025 Emmeline Coats
55-66-Redistribution and use in source and binary forms, with or without
77-modification, are permitted provided that the following conditions are met:
88-99-1. Redistributions of source code must retain the above copyright notice, this
1010- list of conditions and the following disclaimer.
1111-1212-2. Redistributions in binary form must reproduce the above copyright notice,
1313- this list of conditions and the following disclaimer in the documentation
1414- and/or other materials provided with the distribution.
1515-1616-3. Neither the name of the copyright holder nor the names of its contributors
1717- may be used to endorse or promote products derived from this software
1818- without specific prior written permission.
1919-2020-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND
2121-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2222-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2323-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
2424-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2525-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2626-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2727-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2828-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2929-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3030-*/
3131-321#ifndef bini_impl
332#define bini_impl
343#endif
44+355#include <bini.h>
+9-1
bini.h
···11#ifndef __bini__
22#define __bini__
3344-/* License at end of file. */
44+/*
55+bini.h: endian-independent binary IO.
66+License: BSD 3-Clause. See EOF for license text.
77+88+Version: 1.0
99+1010+Changelog:
1111+ 1.0 (Dec 28, 2025): Initial version.
1212+*/
513614/* Used to add functions for version-specific types. */
715#define bini_c 1989