diff options
Diffstat (limited to 'gen_inl.c')
-rw-r--r-- | gen_inl.c | 58 |
1 files changed, 58 insertions, 0 deletions
@@ -137,6 +137,64 @@ int main(int argc, char **argv) { return 1; } + fprintf(out, "// " + "=====================================================" + "===========\n"); + fprintf(out, "//\n"); + fprintf(out, "// kit.inl.h\n"); + fprintf(out, "// https://guattari.tech/git/?p=kit.git;a=tree\n"); + fprintf(out, "//\n"); + fprintf(out, "// Header-only utility library for C.\n"); + fprintf(out, "//\n"); + fprintf(out, "// " + "=====================================================" + "===========\n"); + fprintf(out, "//\n"); + fprintf(out, "// The MIT License\n"); + fprintf(out, "//\n"); + fprintf(out, "// Copyright (c) 2022-2023 Mitya Selivanov\n"); + fprintf(out, "//\n"); + fprintf(out, "// Permission is hereby granted, free of charge, to " + "any person\n"); + fprintf(out, "// obtaining a copy of this software and associated " + "documentation\n"); + fprintf(out, "// files (the \"Software\"), to deal in the " + "Software without\n"); + fprintf(out, "// restriction, including without limitation the " + "rights to use, copy,\n"); + fprintf(out, "// modify, merge, publish, distribute, sublicense, " + "and/or sell copies\n"); + fprintf(out, "// of the Software, and to permit persons to whom " + "the Software is\n"); + fprintf(out, "// furnished to do so, subject to the following " + "conditions:\n"); + fprintf(out, "//\n"); + fprintf(out, "// The above copyright notice and this permission " + "notice shall be\n"); + fprintf(out, "// included in all copies or substantial portions " + "of the Software.\n"); + fprintf(out, "//\n"); + fprintf(out, "// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT " + "WARRANTY OF ANY KIND,\n"); + fprintf(out, "// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO " + "THE WARRANTIES OF\n"); + fprintf( + out, + "// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n"); + fprintf(out, "// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS " + "OR COPYRIGHT\n"); + fprintf(out, "// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR " + "OTHER LIABILITY,\n"); + fprintf(out, "// WHETHER IN AN ACTION OF CONTRACT, TORT OR " + "OTHERWISE, ARISING FROM,\n"); + fprintf(out, "// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE " + "USE OR OTHER\n"); + fprintf(out, "// DEALINGS IN THE SOFTWARE.\n"); + fprintf(out, "//\n"); + fprintf(out, "// " + "=====================================================" + "===========\n"); + fprintf(out, "#ifndef KIT_INL_H\n"); fprintf(out, "#define KIT_INL_H\n"); |