]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 11 Oct 2009 03:14:50 +0000 (03:14 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 11 Oct 2009 03:14:50 +0000 (03:14 +0000)
magick/magick.c
magick/module.c
magick/module.h

index 61b4ae75bba54c8267396bef777b05a2d5ed8dcd..0d52e8701c929a4d20c9a83714bc47157d69c46f 100644 (file)
@@ -1247,7 +1247,9 @@ MagickExport void MagickCoreGenesis(const char *path,
   */
   InitializeMagickResources();
   exception=AcquireExceptionInfo();
-  (void) GetMagickInfo((char *) NULL,exception);
+#if defined(MAGICKCORE_MODULES_SUPPORT)
+  InitializeModuleList(exception);
+#endif
   exception=DestroyExceptionInfo(exception);
 }
 \f
index 60687f226b604394071476ac22b3370ef1bf37f3..934bdbff0a59d445ef9a5f188c0e82507c2842fb 100644 (file)
@@ -101,7 +101,6 @@ static const ModuleInfo
 
 static MagickBooleanType
   GetMagickModulePath(const char *,MagickModuleType,char *,ExceptionInfo *),
-  InitializeModuleList(ExceptionInfo *),
   UnregisterModule(const ModuleInfo *,ExceptionInfo *);
 
 static void
@@ -805,7 +804,7 @@ static MagickBooleanType GetMagickModulePath(const char *filename,
 %                                                                             %
 %                                                                             %
 %                                                                             %
-+   I n i t i a l i z e M o d u l e L i s t                                   %
+%   I n i t i a l i z e M o d u l e L i s t                                   %
 %                                                                             %
 %                                                                             %
 %                                                                             %
@@ -843,7 +842,7 @@ static void *DestroyModuleNode(void *module_info)
   return(RelinquishMagickMemory(p));
 }
 
-static MagickBooleanType InitializeModuleList(
+MagickExport MagickBooleanType InitializeModuleList(
   ExceptionInfo *magick_unused(exception))
 {
   if ((module_list == (SplayTreeInfo *) NULL) &&
index d9683458f11e0b25b66781cb8519be73e065bc36..fbbfb99c2ef28a23f6790e11af1672ae32fe72bb 100644 (file)
@@ -73,6 +73,7 @@ extern MagickExport const ModuleInfo
   **GetModuleInfoList(const char *,unsigned long *,ExceptionInfo *);
 
 extern MagickExport MagickBooleanType
+  InitializeModuleList(ExceptionInfo *),
   InvokeDynamicImageFilter(const char *,Image **,const int,const char **,
     ExceptionInfo *),
   ListModuleInfo(FILE *,ExceptionInfo *),