Find a file
Tom Englund 1f4743a1f7
sharedptr: decrement on destruction (#1)
if we dont decrement the sharedptr on destruction any weakptr remaining
will have an impl_ with a ref of 1 and upon destruction of the weakptr
it wont delete the implentation because it thinks a shared pointer still
exist.
2024-06-13 11:29:50 +02:00
.github/workflows CI: add nix 2024-06-09 00:15:34 +03:00
include/hyprutils sharedptr: decrement on destruction (#1) 2024-06-13 11:29:50 +02:00
nix Nix: init 2024-06-09 00:13:58 +03:00
src string: add replaceInString 2024-06-08 22:35:40 +02:00
tests string: add replaceInString 2024-06-08 22:35:40 +02:00
.clang-format utils: Initial Commit 2024-06-08 19:37:15 +02:00
.gitignore utils: Initial Commit 2024-06-08 19:37:15 +02:00
CMakeLists.txt CMake: fix description 2024-06-09 00:14:07 +03:00
flake.lock Nix: init 2024-06-09 00:13:58 +03:00
flake.nix Nix: init 2024-06-09 00:13:58 +03:00
hyprutils.pc.in utils: Initial Commit 2024-06-08 19:37:15 +02:00
LICENSE Initial commit 2024-06-08 18:51:36 +02:00
README.md README: add basic info 2024-06-08 19:39:18 +02:00

hyprutils

Hyprutils is a small C++ library for utilities used across the Hypr* ecosystem.

Stability

Hyprutils depends on the ABI stability of the stdlib implementation of your compiler. Sover bumps will be done only for hyprutils ABI breaks, not stdlib.

Building

cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`