Created
April 6, 2025 11:32
-
-
Save aichingm/f254c73036c9edf9f981203c739063e5 to your computer and use it in GitHub Desktop.
Header Only C Library Template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| # License APGL | |
| Copyright (C) 2024 Mario Aichinger <aichingm@gmail.com> | |
| This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public | |
| License as published by the Free Software Foundation, version 3. | |
| This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied | |
| warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more | |
| details. | |
| You should have received a copy of the GNU Affero General Public License along with this program. If not, see | |
| <https://www.gnu.org/licenses/>. | |
| */ | |
| #ifndef [name]_H | |
| #define [name]_H | |
| // Declarations | |
| #if defined(IMPL_[name]) || defined(_CLANGD) | |
| // Definitions | |
| #endif | |
| #endif | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment