summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-03-26 07:34:29 +0100
committerTyge Løvset <[email protected]>2021-03-26 07:34:29 +0100
commit2f151be11f048943ef0a4d1ddb71d40bf7e9921e (patch)
tree8c67da65ada9c167b4f7811a109a52237befc47e
parentfb25143685df32ed91b84da9fb7f2e821ed7daaf (diff)
downloadSTC-modified-2f151be11f048943ef0a4d1ddb71d40bf7e9921e.tar.gz
STC-modified-2f151be11f048943ef0a4d1ddb71d40bf7e9921e.zip
Try to hide cpp files for gitlinquist to make it a 100% C project.
-rw-r--r--.gitattributes4
-rw-r--r--README.md1
2 files changed, 5 insertions, 0 deletions
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
-----------