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

List:       kde-core-devel
Subject:    Re: kdeinit
From:       Stephan Kulow <coolo () kde ! org>
Date:       2000-02-25 11:57:45
[Download RAW message or body]

Waldo Bastian wrote:
> 
> On Thu, 24 Feb 2000, Stephan Kulow wrote:
> > Hi!
> >
> > Speaks something against calling the init function of kdeinit
> > modules kde_init or something similiar instead of main()?
> 
> Well.. most programs have a "main()" and not a "kde_init()" so if you
> call "kde_init()" you have to put some code behind it which jumps to
> main. As far as kdeinit is concerned it doesn't care what it calls.
This is exactly what am_edit could generate automaticly.

Greetings, Stephan
> 
> > Then
> > I could so the am_edit support by creating the binary beside
> > the library (and removing all the doubled Makefile code :).
> 
> That would be neat.
> 
> > The alternative is a flag that indicates if the library has
> > a main() or not. Currently it's hard to say if we speak about
> > a module or a program in the form of a library...
> 
> Yes. I already moved from "libxxxx.la" to "xxxx.la" to make clear that
> it isn't a library as we know it. (I first thought it had to start with
> 'lib')
> 
> Cheers,
> Waldo

-- 
As long as Linux remains a religion of freeware fanatics,
Microsoft have nothing to worry about.  
                       By Michael Surkan, PC Week Online

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

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