diff options
author | Brian Paul <[email protected]> | 2014-03-05 07:47:41 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-03-06 07:47:12 -0700 |
commit | 846a7e86309ab3877af6b7d3a63880468dfacbd3 (patch) | |
tree | 436250171e9f39a0249cfc00c11185cec4194e69 /src/mapi/u_current.h | |
parent | 280e0657072459804896e4c05d45d1cf8bfc97c4 (diff) |
glapi: rename u_current dispatch table functions
Put "table" in the names to make things more understandable.
Reviewed-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/mapi/u_current.h')
-rw-r--r-- | src/mapi/u_current.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mapi/u_current.h b/src/mapi/u_current.h index 6709af28932..72708d433de 100644 --- a/src/mapi/u_current.h +++ b/src/mapi/u_current.h @@ -17,7 +17,7 @@ #define u_current_context _glapi_Context #endif -#define u_current_get_internal _glapi_get_dispatch +#define u_current_get_table_internal _glapi_get_dispatch #define u_current_get_context_internal _glapi_get_context #define u_current_table_tsd _gl_DispatchTSD @@ -52,10 +52,10 @@ void u_current_destroy(void); void -u_current_set(const struct mapi_table *tbl); +u_current_set_table(const struct mapi_table *tbl); struct mapi_table * -u_current_get_internal(void); +u_current_get_table_internal(void); void u_current_set_context(const void *ptr); @@ -64,13 +64,13 @@ void * u_current_get_context_internal(void); static INLINE const struct mapi_table * -u_current_get(void) +u_current_get_table(void) { #ifdef GLX_USE_TLS return u_current_table; #else return (likely(u_current_table) ? - u_current_table : u_current_get_internal()); + u_current_table : u_current_get_table_internal()); #endif } |