leptfuzz.h 324 B

12345678910111213141516
  1. /* Common include file for Leptonica fuzzers. */
  2. #ifndef LEPTFUZZ_H
  3. #define LEPTFUZZ_H
  4. #include "allheaders.h"
  5. static void send_to_devnull(const char *) {}
  6. /* Suppress Leptonica error messages during fuzzing. */
  7. static void leptSetStdNullHandler()
  8. {
  9. leptSetStderrHandler(send_to_devnull);
  10. }
  11. #endif /* LEPTFUZZ_H */