From daeba5e4b8bbf5ba12948bfb60044fbf7375aa6e Mon Sep 17 00:00:00 2001 From: cristy Date: Thu, 13 Oct 2011 17:32:44 +0000 Subject: [PATCH] --- MagickCore/nt-base-private.h | 7 +------ MagickCore/nt-base.c | 6 +++--- MagickCore/nt-base.h | 12 ++++++++++++ 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/MagickCore/nt-base-private.h b/MagickCore/nt-base-private.h index 6f884df80..9680669a1 100644 --- a/MagickCore/nt-base-private.h +++ b/MagickCore/nt-base-private.h @@ -352,11 +352,7 @@ typedef UINT #endif extern MagickPrivate char - *NTGetLastError(void), - **NTArgvToUTF8(const int argc,wchar_t **); - -extern MagickPrivate const GhostInfo - *NTGhostscriptDLLVectors(void); + *NTGetLastError(void); #if !defined(MAGICKCORE_LTDL_DELEGATE) extern MagickPrivate const char @@ -389,7 +385,6 @@ extern MagickPrivate int NTGhostscriptEXE(char *,int), NTGhostscriptFonts(char *,int), NTGhostscriptLoadDLL(void), - NTGhostscriptUnLoadDLL(void), NTInitializeLibrary(void), NTSetSearchPath(const char *), NTSyncMemory(void *,size_t,int), diff --git a/MagickCore/nt-base.c b/MagickCore/nt-base.c index b0dbb9bec..4ba6a9d13 100644 --- a/MagickCore/nt-base.c +++ b/MagickCore/nt-base.c @@ -650,7 +650,7 @@ MagickPrivate int IsWindows95(void) % o argv: the wide-character command line arguments. % */ -MagickPrivate char **NTArgvToUTF8(const int argc,wchar_t **argv) +MagickExport char **NTArgvToUTF8(const int argc,wchar_t **argv) { char **utf8; @@ -1689,7 +1689,7 @@ MagickPrivate int NTGhostscriptDLL(char *path,int length) % const GhostInfo *NTGhostscriptDLLVectors(void) % */ -MagickPrivate const GhostInfo *NTGhostscriptDLLVectors(void) +MagickExport const GhostInfo *NTGhostscriptDLLVectors(void) { if (NTGhostscriptLoadDLL() == FALSE) return((GhostInfo *) NULL); @@ -1865,7 +1865,7 @@ MagickPrivate int NTGhostscriptLoadDLL(void) % int NTGhostscriptUnLoadDLL(void) % */ -MagickPrivate int NTGhostscriptUnLoadDLL(void) +MagickExport int NTGhostscriptUnLoadDLL(void) { int status; diff --git a/MagickCore/nt-base.h b/MagickCore/nt-base.h index 08c111ff3..ba6321676 100644 --- a/MagickCore/nt-base.h +++ b/MagickCore/nt-base.h @@ -25,6 +25,18 @@ extern "C" { #include "MagickCore/geometry.h" #if defined(MAGICKCORE_WINDOWS_SUPPORT) +typedef struct _GhostInfo + GhostInfo_; + +extern MagickExport char + **NTArgvToUTF8(const int argc,wchar_t **); + +extern MagickExport const GhostInfo_ + *NTGhostscriptDLLVectors(void); + +extern MagickExport int + NTGhostscriptUnLoadDLL(void); + extern MagickExport void *CropImageToHBITMAP(Image *,const RectangleInfo *,ExceptionInfo *), *ImageToHBITMAP(Image *), -- 2.40.0