No description
  • C++ 64.3%
  • C 35.1%
  • CMake 0.4%
  • Nix 0.2%
Find a file
Zane van Iperen 510b1c50f8
All checks were successful
build / build-nix (vsclib-aarch64) (push) Successful in 26s
build / build-ubuntu (push) Successful in 33s
build / build-nix (vsclib-clang) (push) Successful in 29s
build / build-nix (vsclib-win64) (push) Successful in 21s
build / build-nix (vsclib-win32) (push) Successful in 24s
build / build-nix (vsclib-musl) (push) Successful in 25s
build / build-nix (vsclib) (push) Successful in 33s
forgejo/workflows: configure
2025-08-19 03:23:48 +10:00
.forgejo/workflows forgejo/workflows: configure 2025-08-19 03:23:48 +10:00
.github/workflows gh-actions: fix macos build 2025-05-24 22:56:39 +09:00
tests tests: add basic resource tests 2025-08-18 03:36:14 +10:00
vsclib vsclib/allocator_internal: remove anonymous struct 2025-08-18 03:36:15 +10:00
vscpplib vscpplib: add vsc::res_alloc<T>() and vsc::res_deleter<T> 2025-08-18 03:35:58 +10:00
.clang-format clang-format: c++ updates 2023-06-22 22:51:53 +10:00
.gitignore gitignore: ignore middlec-5s.wav 2025-05-29 01:10:17 +09:00
CMakeLists.txt cmake: tidy up VSCLIB_BUILD_PARANOID 2025-05-30 21:58:11 +09:00
CONTRIBUTING.md CONTRIBUTING: format 2025-05-29 01:10:17 +09:00
default.nix nix: add clang-tools to shells 2023-04-23 00:25:11 +10:00
flake.lock flake.lock: Update 2023-09-10 15:04:43 +10:00
flake.nix nix: add clang-tools to shells 2023-04-23 00:25:11 +10:00
LICENSE truncate history before public release 2020-06-13 14:52:58 +10:00
README.md README: add note about floats 2022-11-29 19:22:59 +10:00

vsclib

C utility library.

Goals

  • Provide useful functionality the C standard library lacks.
  • Strive to be compatible with linear allocation strategies where possible.
  • Have no dependencies other than the C standard library.
  • Avoid or minimise use of floating-point arithmetic.

Notes

  • I mainly use this on Linux, Windows support is not maintained. Patches are welcome.

License

This project is licensed under the Apache License, Version 2.0:

Copyright © 2020 Zane van Iperen

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

3rd-party Licenses

Project License License URL
getline/getdelim Public Domain https://github.com/ivanrad/getline
xxHash BSD 2-Clause License https://www.opensource.org/licenses/bsd-license.php
musl MIT https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT