add missing extern "C"

Change-Id: Ie325dbbb1c1f0f55a3f207a32c67139f59c03bf2
This commit is contained in:
Pascal Massimino
2011-03-09 21:25:53 -08:00
parent b3ce8c522a
commit a871de0255
3 changed files with 26 additions and 0 deletions

View File

@ -12,6 +12,10 @@
#include <assert.h>
#include "webp/encode.h"
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
//-----------------------------------------------------------------------------
// WebPConfig
//-----------------------------------------------------------------------------
@ -105,3 +109,7 @@ int WebPValidateConfig(const WebPConfig* const config) {
}
//-----------------------------------------------------------------------------
#if defined(__cplusplus) || defined(c_plusplus)
} // extern "C"
#endif