nanogui: what is the difference between srvfunc.c and client.c?
Subject:
Re: [nanogui] what is the difference between srvfunc.c and client.c?
From:
Alain Volmat ####@####.####
Date:
31 May 2005 04:58:59 +0100
Message-Id: <20050531035851.GA7989@pop.mail.yahoo.com>
Hi,
I'm not the person who knows nanoX internals the best but I think I can
reply to this one.
The answer to your question is located in the Makefile (src/nanox/Makefile).
You will see that depening on LINK_APP_INTO_SERVER (defined in config file)
either srvfunc.c or client.c will get compiled.
If you set LINK_APP_INTO_SERVER=y, then srvfunc.c will be used, otherwise
client.c will be used.
Regards,
Alain
* zhangyanseasky [Tue, 31 May 2005 at 11:44 +0800]
<quote>
> Hi,
> I am a newer to nanogui.There's a question confused me a lot.I found many functions that have the same name are defined in srvfunc.c and client.c,such as GrOpen(),GrNewGC(),GrSetGCForeground(),and so on.But what is the difference between the same-name functions in the two programs?If I use GrNewGC() in my program,which function is called?
>
> Thank you vary much!!</quote>
_____________________________________________________________________________
Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com