On Wed, 24 Jun 2009, Szak�ts Viktor wrote:
> I was holding these back, because it seems better to fix hb_par*() (and
> other involved API) call parameter list to actually use the 'const'
> modifier.

Exactly. We should change returned value from 'char *' to 'const char *'.
I hope it will force code updating.
Please also note that now default values inb hb_par*() functions are much
more precise defined and we do not have to make:
   fVal = ISLOG( 1 ) && hb_parl( 1 );
but we can simply use:
   fVal = hb_parl( 1 );

I removed all hidden conversion between types from hb_par*() functions.
In longer terms it should give simpler and faster code.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to