Hi Massimo, not at all. My target is strong encapsulation of data and methods in class implementation and i can obtain this, IMHO, only having in the same source the (x)harbour and C code. Otherwise the static function, i think obviously, will remain local to C module and cannot be reached by xBase code. In the hwgui CVS repository you can find source/hanimat.prg and take a look to what i'm meaning. This code works in xHarbour but in Harbour (stable version) don't resolves the HB_STATIC_FUNC correctly giving error at compile time. Best regards. Maurizio
> -----Messaggio originale----- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Per conto di > Massimo Belgrano > Inviato: giovedì 5 giugno 2008 23.54 > A: Harbour Project Main Developer List. > Oggetto: RE: [Harbour] HB_STATIC_FUNC > > Hi Maurizio > Your problem in hwgui will be resolved isolating c code in > external *.C ? > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Szakáts Viktor > Sent: Thursday, June 05, 2008 7:46 PM > To: Harbour Project Main Developer List. > Subject: Re: [Harbour] HB_STATIC_FUNC > > I'd add one more problem with INLINE C code: > > I extensively use grep for Harbour and my own projects > too, it's a very powerful tool to locate stuff in the > source. > > When I'm looking for C code parts (function names > let's say), naturally I search through *.c files only. > Problem: C code may be hiding inside .prg, too, or > even in .ch. This results in either wrong code updates, > decisions, or in the best, case another pass of grep. > > Not to mention all the tools which rightly except > some kind of content in a given file type (most > obvious example is syntax coloring). > > So this is IMO just one more thing that makes development > more complicated and error prone, without much gain. > > Brgds, > Viktor > > > _______________________________________________ > Harbour mailing list > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour