mardi 24 mars 2015

Change c-style casting to custom function across the project

The c-style casting (int)(x) is producing different results for different platforms when x is float.


I want to change all the instances of (int)(x) with a custom function, lets say CustomCast(x) and I want to do that only if x is float.


Is there any easier way than to go through all the files one by one and changing it?


Aucun commentaire:

Enregistrer un commentaire