Add dlibc, start context work, updated public API

Added vector.h from dlibc (MIT license).

context.h/.c only implemented one thing for now, which was a pain for some reason because I'm tired and couldn't figure out a basic
damn pointer. Will have to test for stupidity later.
This commit is contained in:
2026-10-31 22:14:30 +01:00
parent a4f37e3b87
commit 2c73f4be24
8 changed files with 1149 additions and 75 deletions
+2
View File
@@ -21,6 +21,8 @@ libbravais is licensed under your choice of the GNU Lesser General Public Licens
**Public header exception:** The public API header, `bravais.h` (and the generated `bravais/export.h`), is additionally available under the MIT License, so the header may be used under any of LGPL-2.1-only, LGPL-3.0-only, or MIT. This makes it clear that including the header in proprietary software doesn't impose license terms on that software.
**dlibc exception:** The dlibc headers (`include/dlibc/`) are licensed under the MIT License (only).
This exception applies only to the header(s). Linking against the compiled library is still governed by the LGPL, so applications that distribute the library must comply with its terms (license notice, license text, and the ability for users to replace the library with a modified version).
This makes is possible to use this library in both open source and proprietary software, as long as the terms of the licenses are followed (though proprietary software may wish to use it with dynamic linking to avoid the static linking requirements).