From 1d95d24ae92622e18bef53010ff08b157d87f302 Mon Sep 17 00:00:00 2001 From: Sean Barrett Date: Tue, 26 Jan 2016 12:26:47 -0800 Subject: [PATCH] Update other_libs.md --- docs/other_libs.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/other_libs.md b/docs/other_libs.md index d52409c..3d7214e 100644 --- a/docs/other_libs.md +++ b/docs/other_libs.md @@ -25,10 +25,12 @@ See discussion after the list. libraries are either non-public domain, or two files, or not usable from both C and C++, or all three. Libraries of more than two files are mostly forbidden. -For the API column, "C" means C only, "C++" means C++ only, and "C/C++C**" means C/C++ usable -from either; even if a library includes a .cpp file it may be usable from C if the header has -the appropriate 'extern "C"' usage, and likewise even if a library includes a .c file it may -be usable from C++ for the same reason. +For the API column, "C" means C only, "C++" means C++ only, and "C/C++" means C/C++ usable +from either; some files may require *building* as C or C++ but still qualify as "C/C++" as +long as the header file uses ~~extern "C"~~ to make it work. (In some cases, a header-file-only +library may compile as both C or C++, but produce an implementation that can only be called from +one or the other, because of a lack of use of ~~extern "C"~~; in this case we still qualify it +as C/C++, as this is not an obstacle to most users.) category | library | license | API |files| description ----------------- | --------------------------------------------------------------------- |:--------------------:|:---:|:---:| -----------