adding ansi color codes

This commit is contained in:
Kbz-8
2024-01-20 19:22:18 +01:00
parent 12bb54b2fd
commit d9d6bb3a8c
10 changed files with 122 additions and 19 deletions

View File

@@ -0,0 +1,30 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ref_counter.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/20 12:54:09 by maldavid #+# #+# */
/* Updated: 2024/01/20 19:12:33 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef __UNSTD_BITS_REFERENCE_COUNTER__
#define __UNSTD_BITS_REFERENCE_COUNTER__
namespace unstd
{
namespace bits
{
struct RefCount
{
int shared;
int weak;
RefCount(int s, int w) : shared(s), weak(w) {}
};
}
}
#endif