From: Kristian H. <kr...@bi...> - 2010-02-19 16:28:04
|
2010/2/19 Brian Paul <bri...@gm...>: > 2010/2/19 Kristian Høgsberg <kr...@bi...>: > >> I applied the patches from Kenneth Graunke on the list for this. Can >> we drop _mesa_malloc(), _mesa_calloc() and _mesa_free() and >> _mesa_bzero() too? > > I've remove _mesa_bzero() just now, plus some other macro wrappers. > > We might as well remove the malloc/calloc() wrappers too, but that'll > be a bit more work. I'm using: git grep -l _mesa_malloc | xargs sed -ie s/_mesa_malloc/malloc/g which does most of the work. I'll do the same thing for _mesa_calloc and _mesa_free, review the result and commit that. >> What about the _mesa_*printf() functions? It >> looks to me like they just wrap the platform *printf() functions and >> don't provide any fallbacks if the platform doesn't provide the >> function. > > That's probably fine too. I'll use the same sed line for the *printf functions. Kristian |