shared-glapi: implement _glapi_get_proc_name().
authorPaul Berry <stereotype441@gmail.com>
Tue, 23 Oct 2012 17:49:33 +0000 (10:49 -0700)
committerPaul Berry <stereotype441@gmail.com>
Thu, 25 Oct 2012 21:23:01 +0000 (14:23 -0700)
commit03984b26c4855efb64824cb42ea5bad579b48334
treee6891ab1d45bba94a0f00d5ad51a4109678b4e0f
parent67f1e7bf5f5d1482cb8684dd5a405b7bab5b1f34
shared-glapi: implement _glapi_get_proc_name().

Previously this function was only implemented for non-shared-glapi
builds.  Since the function is only intended for debugging purposes we
use a simple O(n) algorithm.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mapi/mapi/mapi_glapi.c
src/mapi/mapi/stub.c
src/mapi/mapi/stub.h