tanoku/sundown — pull request #103 by jjallaire (2012-04-04 19:21:13+00:00)
Title: add extern C declarations when using c++ compiler

Conditionally added extern "C" block around declarations in header files (this only occurs when building with a c++ compiler). Without this it's inconvenient (but not impossible) to embed sundown in a C++ program. See here for additional discussion: http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html#faq-32.4