Kenneth Graunke <kenn...@whitecape.org> writes:
> I'm pretty tempted by ralloc_rewrite_tail & ralloc_strn_rewrite_tail.

I still don't like the lack of symmetry here. Maybe bite the bullet and
make the first one ralloc_str_rewrite_tail?

But that "rewrite_tail" keeps feeling so awkward. I think the real
problem is that it's using two words for a single concept, (there's
nothing with "rewrite_head", for example). How about just using
"rewrite" everywhere for this concept?

That would give us the following parallels:

        ralloc_strcat   -> ralloc_str_rewrite
        ralloc_strncat  -> ralloc_strn_rewrite
        ralloc_asprintf -> ralloc_asprintf_rewrite

I think I could be happy with that. What do you think?

-Carl

-- 
carl.d.wo...@intel.com

Attachment: pgpHD6qbpXKe4.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to