On Fri, 26 Jun 2009, Szak�ts Viktor wrote: > One more: > Is there any reason to keep GT box frame strings > as 'BYTE *' instead of 'char *' ?
I want to convert all of them to 'char*' but I would like to also change USHORT in cords to int. We need negative value in some of them and now we have to make strange casting to SHORT to to int. Also using [U]SHORT in 32 bit code quite is not very efficient because it forces additional instructions to zero upper 16bits in math operations. As long as [U]SHORT is not necessary for some memory allocation/align reasons it's usually more efficient to use [U]INT. I also want to to modify RDD structures to make them alignment independent (if possible) and eliminate unnecessary casting in RDD methods parameters. best regards, Przemek _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
