summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-03-30 10:59:39 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-04-01 00:04:14 +0200
commit5ff1d6955496b3cf9a35042c9ac35db43bc336b1 (patch)
tree6d470f7eb448f59f53e8df1010aec9dad8ce1f72 /tesseract/src/ccutil/tprintf.h
parentImport Ghostscript 9.53.1 (diff)
downloadghostscript-gpl-patches-5ff1d6955496b3cf9a35042c9ac35db43bc336b1.tar.gz
ghostscript-gpl-patches-5ff1d6955496b3cf9a35042c9ac35db43bc336b1.tar.bz2
ghostscript-gpl-patches-5ff1d6955496b3cf9a35042c9ac35db43bc336b1.zip
Import Ghostscript 9.54ghostscript-9.54
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'tesseract/src/ccutil/tprintf.h')
-rw-r--r--tesseract/src/ccutil/tprintf.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/tesseract/src/ccutil/tprintf.h b/tesseract/src/ccutil/tprintf.h
new file mode 100644
index 00000000..8592219f
--- /dev/null
+++ b/tesseract/src/ccutil/tprintf.h
@@ -0,0 +1,33 @@
+/**********************************************************************
+ * File: tprintf.h
+ * Description: Trace version of printf - portable between UX and NT
+ * Author: Phil Cheatle
+ * Created: Wed Jun 28 15:01:15 BST 1995
+ *
+ * (C) Copyright 1995, Hewlett-Packard Ltd.
+ ** Licensed under the Apache License, Version 2.0 (the "License");
+ ** you may not use this file except in compliance with the License.
+ ** You may obtain a copy of the License at
+ ** http://www.apache.org/licenses/LICENSE-2.0
+ ** Unless required by applicable law or agreed to in writing, software
+ ** distributed under the License is distributed on an "AS IS" BASIS,
+ ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ** See the License for the specific language governing permissions and
+ ** limitations under the License.
+ *
+ **********************************************************************/
+
+#ifndef TESSERACT_CCUTIL_TPRINTF_H
+#define TESSERACT_CCUTIL_TPRINTF_H
+
+#include <tesseract/export.h> // for TESS_API
+
+namespace tesseract {
+
+// Main logging function.
+extern TESS_API void tprintf( // Trace printf
+ const char *format, ...); // Message
+
+} // namespace tesseract
+
+#endif // define TESSERACT_CCUTIL_TPRINTF_H