Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/tesseract/src/ccutil/scanutils.h @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 // Copyright 2006 Google Inc. | |
| 2 // All Rights Reserved. | |
| 3 // Author: renn | |
| 4 // | |
| 5 // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 6 // you may not use this file except in compliance with the License. | |
| 7 // You may obtain a copy of the License at | |
| 8 // http://www.apache.org/licenses/LICENSE-2.0 | |
| 9 // Unless required by applicable law or agreed to in writing, software | |
| 10 // distributed under the License is distributed on an "AS IS" BASIS, | |
| 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 12 // See the License for the specific language governing permissions and | |
| 13 // limitations under the License. | |
| 14 | |
| 15 #ifndef TESSERACT_CCUTIL_SCANUTILS_H_ | |
| 16 #define TESSERACT_CCUTIL_SCANUTILS_H_ | |
| 17 | |
| 18 #include <tesseract/export.h> | |
| 19 | |
| 20 #include <cstdio> // for FILE | |
| 21 | |
| 22 /** | |
| 23 * fscanf variant to ensure correct reading regardless of locale. | |
| 24 * | |
| 25 * tfscanf parse a file stream according to the given format. See the fscanf | |
| 26 * manpage for more information, as this function attempts to mimic its | |
| 27 * behavior. | |
| 28 * | |
| 29 * @note Note that scientific floating-point notation is not supported. | |
| 30 * | |
| 31 */ | |
| 32 TESS_API | |
| 33 int tfscanf(FILE *stream, const char *format, ...); | |
| 34 | |
| 35 #endif // TESSERACT_CCUTIL_SCANUTILS_H_ |
