mozilla/cmd/xfe/mozilla.c

    Date: 10/11/06 (Code WTF)    Keywords: no keywords

    /*
    * Sorry folks, C++ has come to town. *Some* C++ compilers/linkers require
    * the program's main() to be in a C++ file. I've added a losing C++ main()
    * in cplusplusmain.cc. This guy will call mozilla_main(). Look, I'm really
    * sorry about this. I don't know what to say. C++ loses, Cfront loses,
    * we are now steeped in all of their lossage. We will descend into the
    * burning pit of punctuation used for obscure language features, our
    * links will go asunder, when we seek out our proper inheritance, from
    * the mother *and* father from which we were begat, we shall be awash,
    * for we will be without identity. We shall try to be pure, but shall find
    * ourselves unable to instanciate. ... shall be statically bound unto
    * him. Oh, woe unto us... djw
    */
    int
    #ifdef CPLUSPLUS_LINKAGE
    mozilla_main
    #else
    main
    #endif
    (int argc, char** argv)
    {

    Source: http://community.livejournal.com/code_wtf/54310.html

« ээнкапсуляция,... || HELP FAST!! »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home