ScrapExplorer - libbit.h

Home / lab / c / virtual_hardware / include / lib Lines: 1 | Size: 863 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)]
[FILE BEGIN]
1/* SPDX-License-Identifier: GPL-3.0 2 * Virtual hardware 3 * 4 * libbit.h 5 * 6 * COPYRIGHT NOTICE 7 * Copyright (C) 2024-2025 0x4248 and contributors 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the license is not changed. 10 * 11 * This software is free and open source. Licensed under the GNU general 12 * public license version 3.0 as published by the Free Software Foundation. 13*/ 14 15#include<stdbool.h> 16 17/** 18 * Ok so I know many people say this is not one bit its really 8 bits in 19 * memory and I KNOW OK! This isn't designed to be efficient at all TwT, im sorry 20 * C god's, please spare me... 21 * 22 * You cant really do "one" bit in C unless im dumb (most likely) and not 23 * implementing it here. Anyways, this **one** line is used in 99% of the code 24 * in this project, crazy! 25 */ 26typedef bool bit;
[FILE END]
(C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.