DjVu GString return

This commit is contained in:
Kulikova Svetlana
2021-12-20 20:48:44 +03:00
parent 9e7d7a366d
commit 92e2385650
32 changed files with 31 additions and 34 deletions

View File

@ -83,7 +83,7 @@ SOURCES += DjVu.cpp \
libdjvu/GRect.cpp \
libdjvu/GScaler.cpp \
libdjvu/GSmartPointer.cpp \
libdjvu/DjVuGString.cpp \
libdjvu/GString.cpp \
libdjvu/GThreads.cpp \
libdjvu/GUnicode.cpp \
libdjvu/GURL.cpp \
@ -139,7 +139,7 @@ HEADERS += DjVu.h \
libdjvu/GRect.h \
libdjvu/GScaler.h \
libdjvu/GSmartPointer.h \
libdjvu/DjVuGString.h \
libdjvu/GString.h \
libdjvu/GThreads.h \
libdjvu/GURL.h \
libdjvu/IFFByteStream.h \

View File

@ -68,7 +68,7 @@
#include "BSByteStream.h"
#include "DjVuGString.h"
#include "GString.h"
#undef BSORT_TIMER
#ifdef BSORT_TIMER
#include "GOS.h"

View File

@ -65,7 +65,7 @@
#include "DataPool.h"
#include "IFFByteStream.h"
#include "DjVuGString.h"
#include "GString.h"
#include "GOS.h"
#include "GURL.h"
#include "debug.h"

View File

@ -67,7 +67,7 @@
#include "GThreads.h"
#include "DjVuGString.h"
#include "GString.h"
#include "GURL.h"
#ifdef HAVE_NAMESPACES

View File

@ -118,7 +118,7 @@
#include "DjVuGString.h"
#include "GString.h"
#include "GThreads.h"
#ifdef HAVE_NAMESPACES

View File

@ -66,7 +66,7 @@
#endif
#include "DjVuGString.h"
#include "GString.h"
#ifdef HAVE_NAMESPACES
namespace DJVU {

View File

@ -66,7 +66,7 @@
#endif
#include "DjVuGlobal.h"
#include "DjVuGString.h"
#include "GString.h"
#include "GThreads.h"
#ifdef HAVE_NAMESPACES

View File

@ -91,7 +91,7 @@
//@{
#include "DjVuGString.h"
#include "GString.h"
#ifdef HAVE_NAMESPACES
namespace DJVU {

View File

@ -78,7 +78,7 @@
#include "debug.h"
#if defined(__linux__) || defined(LINUX) || defined(BUILDING_WASM_MODULE)
#if defined(__linux__) || defined(LINUX)
typedef unsigned int UINT;
#endif

View File

@ -75,11 +75,9 @@ inline void * operator new(size_t, void * ptr) { return ptr; }
# include <new>
#endif
#ifndef BUILDING_WASM_MODULE
#ifdef WIN32
#include <new.h>
#endif
#endif
//#ifdef WIN32
//# ifdef DLL_EXPORT

View File

@ -66,7 +66,7 @@
#include "DjVuInfo.h"
#include "GException.h"
#include "ByteStream.h"
#include "DjVuGString.h"
#include "GString.h"
#ifdef HAVE_NAMESPACES

View File

@ -71,7 +71,7 @@
// and added support for non I18N messages.
#include "DjVuGString.h"
#include "GString.h"
#ifdef HAVE_NAMESPACES
namespace DJVU {

View File

@ -66,7 +66,7 @@
#endif
#include "DjVuGString.h"
#include "GString.h"
#include "GThreads.h"
#include "GURL.h"

View File

@ -66,7 +66,7 @@
#include "GBitmap.h"
#include "ByteStream.h"
#include "GRect.h"
#include "DjVuGString.h"
#include "GString.h"
#include "GThreads.h"
#include "GException.h"
#include <string.h>

View File

@ -259,7 +259,7 @@ GExceptionHandler::rethrow(void)
// This is not activated when C++ memory management
// is overidden. The overriding functions handle
// memory exceptions by themselves.
# if defined(_MSC_VER) && !defined(BUILDING_WASM_MODULE)
# if defined(_MSC_VER)
// Microsoft is different!
static int throw_memory_error(size_t) { G_THROW(GException::outofmemory); return 0; }
static int (*old_handler)(size_t) = _set_new_handler(throw_memory_error);

View File

@ -70,7 +70,7 @@
#include "GContainer.h"
#include "Arrays.h"
#include "GSmartPointer.h"
#include "DjVuGString.h"
#include "GString.h"
#ifdef HAVE_NAMESPACES
namespace DJVU {

View File

@ -68,7 +68,7 @@
#include "GSmartPointer.h"
#include "GContainer.h"
#include "DjVuGString.h"
#include "GString.h"
#include "GRect.h"
#include "GURL.h"

View File

@ -87,7 +87,7 @@
//@{
#include "DjVuGlobal.h"
#include "DjVuGString.h"
#include "GString.h"
#ifdef HAVE_NAMESPACES
namespace DJVU {

View File

@ -70,7 +70,7 @@
#include "GPixmap.h"
#include "DjVuGString.h"
#include "GString.h"
#include "GException.h"
#include "ByteStream.h"
#include "GRect.h"

View File

@ -72,7 +72,7 @@
# pragma implementation
#endif
#include "DjVuGString.h"
#include "GString.h"
#include "GThreads.h"
#include "debug.h"

View File

@ -66,7 +66,7 @@
#endif
#include "DjVuGString.h"
#include "GString.h"
#include "Arrays.h"
#include "GThreads.h"

View File

@ -63,7 +63,7 @@
# pragma implementation
#endif
#include "DjVuGString.h"
#include "GString.h"
#if HAS_ICONV
#include <iconv.h>
#endif

View File

@ -132,7 +132,7 @@
#include <stdio.h>
#include <string.h>
#include "GException.h"
#include "DjVuGString.h"
#include "GString.h"
#include "ByteStream.h"

View File

@ -173,7 +173,7 @@
//@{
#include "DjVuGString.h"
#include "GString.h"
#include "ZPCodec.h"

View File

@ -99,7 +99,7 @@ extern "C" {
#include "GPixmap.h"
#ifdef LIBJPEGNAME
#include "DjVuDynamic.h"
#include "DjVuGString.h"
#include "GString.h"
#endif // LIBJPEGNAME

View File

@ -88,7 +88,7 @@
//@{
#include "DjVuGlobal.h"
#include "DjVuGString.h"
#include "GString.h"
#include "ByteStream.h"

View File

@ -69,7 +69,7 @@
// This is purely Lizardtech stuff.
#include "GContainer.h"
#include "DjVuGString.h"
#include "GString.h"
#ifdef HAVE_NAMESPACES
namespace DJVU {

View File

@ -69,7 +69,7 @@
#include "GThreads.h"
#include "GContainer.h"
#include "DjVuGString.h"
#include "GString.h"
#include "ByteStream.h"
#include "GURL.h"