# endif
#endif
-#if defined (__cplusplus)
-extern "C" {
-#endif
-
#define STREAM_ACCUMULATOR_MIN_32 25
#define STREAM_ACCUMULATOR_MIN_64 57
#define STREAM_ACCUMULATOR_MIN ((U32)(MEM_32bits() ? STREAM_ACCUMULATOR_MIN_32 : STREAM_ACCUMULATOR_MIN_64))
return ((DStream->ptr == DStream->start) && (DStream->bitsConsumed == sizeof(DStream->bitContainer)*8));
}
-#if defined (__cplusplus)
-}
-#endif
-
#endif /* BITSTREAM_H_MODULE */
******************************************/
#include "zstd_deps.h" /* size_t, ptrdiff_t */
-#if defined (__cplusplus)
-extern "C" {
-#endif
-
/*-*****************************************
* FSE_PUBLIC_API : control library symbols visibility
******************************************/
If there is an error, the function will return an error code, which can be tested using FSE_isError(). (ex: dst buffer too small)
*/
-#if defined (__cplusplus)
-}
-#endif
-
#endif /* FSE_H */
* FSE advanced API
***************************************** */
-#if defined (__cplusplus)
-extern "C" {
-#endif
-
unsigned FSE_optimalTableLog_internal(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue, unsigned minus);
/**< same as FSE_optimalTableLog(), which used `minus==2` */
#define FSE_TABLESTEP(tableSize) (((tableSize)>>1) + ((tableSize)>>3) + 3)
-#if defined (__cplusplus)
-}
-#endif
-
#endif /* FSE_STATIC_LINKING_ONLY */