From 2f151be11f048943ef0a4d1ddb71d40bf7e9921e Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Fri, 26 Mar 2021 07:34:29 +0100 Subject: Try to hide cpp files for gitlinquist to make it a 100% C project. --- .gitattributes | 4 ++++ README.md | 1 + 2 files changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..5d659dd3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +*.c linguist-detectable=true +*.h linguist-detectable=false +*.cpp linguist-detectable=false +*.hpp linguist-detectable=false diff --git a/README.md b/README.md index 1af76f2f..5119c863 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ Highlights - **Small footprint** - Small source code and generated executables. The executable from the example below using six different containers is *27 kb in size* compiled with TinyC. - **Dual mode compilation** - By default it is a simple header-only library with inline and static methods only, but you can easily switch to create a traditional library with shared symbols, without changing existing source files. See the Installation section. - **No callback functions** - All passed template argument functions/macros are directly called from the implementation, no slow callbacks which requires storage. +- **Compiles with C++ and C99** - C code can be compiled with C++. Performance ----------- -- cgit v1.2.3