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 <stdlib.h>
#include "vp8i.h"
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
//-----------------------------------------------------------------------------
// VP8Decoder
@ -658,3 +662,9 @@ void VP8Clear(VP8Decoder* const dec) {
memset(&dec->br_, 0, sizeof(dec->br_));
dec->ready_ = 0;
}
//-----------------------------------------------------------------------------
#if defined(__cplusplus) || defined(c_plusplus)
} // extern "C"
#endif