[Mesa-dev] [PATCH v3] Rename the _mesa_lookup_enum_by_nr() function Renamed function _mesa_lookup_prim_by_nr() to _mesa_prim_string() _mesa_lookup_enum_by_nr() to _mesa_enum_string() _mesa_lookup_enum_by_name() to _mesa_enum_value() Changes were made, because nobody liked the way these functions are called.

Kenneth Graunke kenneth at whitecape.org
Wed Jun 5 15:17:24 PDT 2013


On 06/05/2013 03:02 PM, Arnas Milaševičius wrote:
> And how should I deal with the files, which has all the 3 functions in
> them? Should I add them in one of the 3 patches or should I add them in
> all the 3 patches?

Each of the three patches should change whatever files are necessary.

i.e.
search and replace _mesa_lookup_prim_by_nr(), git commit -a
search and replace _mesa_lookup_enum_by_nr(), git commit -a
search and replace _mesa_lookup_enum_by_name(), git commit -a

Most of the files will probably be changed by all three commits.


More information about the mesa-dev mailing list