[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdelibs/kioslave [POSSIBLY UNSAFE]
From:       Dirk Mueller <mueller () kde ! org>
Date:       2006-01-23 13:43:13
Message-ID: 200601231443.16220.mueller () kde ! org
[Download RAW message or body]

On Monday 23 January 2006 14:04, Christian Ehrlicher wrote:

> Because this is a redefinition on windows (it's defined in
> kdelibs/win/include/kdelibs_global_win.h)

Wow, what an evil define. that should be removed. 

> But why do you need to export the main function? It doesn't make sense for
> me...

Its the symbol that is resolved by kdeinit in order to start a kdeinit module. 
It has to be extern "C" (so that it isn't mangled) and it has to be exported, 
otherwise dlsym() can't find it. 


-- 
Dirk//\
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic