KDE/kdelibs/libltdl

Paulo Moura Guedes moura at kdewebdev.org
Mon Apr 17 20:42:48 CEST 2006


SVN commit 530825 by mojo:

Export this methods; needed for Windows.

CCMAIL: kde-buildsystem at kde.org

 M  +6 -4      ltdl.c  


--- trunk/KDE/kdelibs/libltdl/ltdl.c #530824:530825
@@ -25,6 +25,8 @@
 
 */
 
+#include <kdelibs_export.h>
+
 #if HAVE_CONFIG_H
 #  include <config.h>
 #endif
@@ -1300,7 +1302,7 @@
 static	int		initialized 	= 0;
 
 /* Initialize libltdl. */
-int
+KDECORE_EXPORT int 
 lt_dlinit ()
 {
   int	      errors   = 0;
@@ -2033,7 +2035,7 @@
   return 0;
 }
 
-lt_dlhandle
+KDECORE_EXPORT lt_dlhandle
 lt_dlopen (filename)
      const char *filename;
 {
@@ -2586,7 +2588,7 @@
   return errors;
 }
 
-lt_ptr
+KDECORE_EXPORT lt_ptr
 lt_dlsym (handle, symbol)
      lt_dlhandle handle;
      const char *symbol;
@@ -2689,7 +2691,7 @@
   return address;
 }
 
-const char *
+KDECORE_EXPORT const char *
 lt_dlerror ()
 {
   const char *error;


More information about the Kde-buildsystem mailing list