diff --git a/project/jni/glshim/spec/template/base/wrap.c.j2 b/project/jni/glshim/spec/template/base/wrap.c.j2 old mode 100644 new mode 100755 index 2da425970..1c23260ea --- a/project/jni/glshim/spec/template/base/wrap.c.j2 +++ b/project/jni/glshim/spec/template/base/wrap.c.j2 @@ -3,12 +3,13 @@ {% include "base/headers.j2" %} {% for func in functions %} {% block definition scoped %} -{{ func.return }} {{ func.name }}({{ func.args|args }}) { +{{ func.return }} glshim_{{ func.name }}({{ func.args|args }}) { {% block load scoped %}{% endblock %} {% block call scoped %} {% if not func.void %}return {% endif %}{% block prefix %}wrap{% endblock %}_{{ func.name }}({{ func.args|args(0) }}); {%- endblock %} } +{{ func.return }} {{ func.name }}({{ func.args|args }}) __attribute__((alias("glshim_{{ func.name }}"))); {% endblock %} {% endfor %} {% endblock %} diff --git a/project/jni/glshim/spec/template/base/wrap.h.j2 b/project/jni/glshim/spec/template/base/wrap.h.j2 old mode 100644 new mode 100755 index 277abd46c..5d2163841 --- a/project/jni/glshim/spec/template/base/wrap.h.j2 +++ b/project/jni/glshim/spec/template/base/wrap.h.j2 @@ -57,7 +57,7 @@ void glIndexedCall(const indexed_call_t *packed, void *ret_v); {% endfor %} {% for func in functions %} -{{ func.return }} {{ func.name }}({{ func.name }}_ARG_EXPAND); +{{ func.return }} glshim_{{ func.name }}({{ func.name }}_ARG_EXPAND); typedef {{ func.return }} (*{{ func.name }}_PTR)({{ func.name }}_ARG_EXPAND); {% endfor %} diff --git a/project/jni/glshim/spec/template/glwrap.h.j2 b/project/jni/glshim/spec/template/glwrap.h.j2 old mode 100644 new mode 100755 index 3c39b7d46..49e470137 --- a/project/jni/glshim/spec/template/glwrap.h.j2 +++ b/project/jni/glshim/spec/template/glwrap.h.j2 @@ -7,7 +7,7 @@ #define push_{{ func.name }}({{ func.args|args(0) }}) { \ {{ func.name }}_PACKED *packed_data = malloc(sizeof({{ func.name }}_PACKED)); \ packed_data->format = {{ func.name }}_FORMAT; \ - packed_data->func = {{ func.name }}; \ + packed_data->func = glshim_{{ func.name }}; \ {% if func.args %} {% for arg in func.args %} packed_data->args.a{{ loop.index }} = ({{ arg.type|unconst }}){{ arg.name }}; \ diff --git a/project/jni/glshim/src/config.h b/project/jni/glshim/src/config.h index 153fb5e52..d11b5a5a2 100755 --- a/project/jni/glshim/src/config.h +++ b/project/jni/glshim/src/config.h @@ -42,13 +42,13 @@ #define skip_glBlendFunc #define skip_glFogfv -/* -#define skip_glBlendEquation + +//#define skip_glBlendEquation #define skip_glBlendEquationSeparate #define skip_glBlendEquationSeparatei #define skip_glBlendFuncSeparate #define skip_glBlendFuncSeparatei -*/ + #define skip_glGetError // light.c diff --git a/project/jni/glshim/src/gl/array.c b/project/jni/glshim/src/gl/array.c index 089d59a4c..7e7c52fd1 100755 --- a/project/jni/glshim/src/gl/array.c +++ b/project/jni/glshim/src/gl/array.c @@ -13,7 +13,6 @@ GLvoid *copy_gl_array(const GLvoid *src, const char *unknown_str = "libGL: copy_gl_array -> unknown type: %x\n"; GLvoid *dst = malloc((count-skip) * to_width * gl_sizeof(to)); GLsizei from_size = gl_sizeof(from) * width; - GLsizei to_size = gl_sizeof(to) * to_width; if (to_width < width) { /* printf("Warning: copy_gl_array: %i < %i\n", to_width, width); return NULL;*/ @@ -77,7 +76,6 @@ GLvoid *copy_gl_array_texcoord(const GLvoid *src, const char *unknown_str = "libGL: copy_gl_array -> unknown type: %x\n"; GLvoid *dst = malloc((count-skip) * to_width * gl_sizeof(to)); GLsizei from_size = gl_sizeof(from) * width; - GLsizei to_size = gl_sizeof(to) * to_width; GLsizei to_elem = gl_sizeof(to); //texcoord are now 4 dim, so this should never happens /* if (to_width < width) { @@ -144,8 +142,6 @@ GLvoid *copy_gl_array_quickconvert(const GLvoid *src, stride = 4 * gl_sizeof(from); const char *unknown_str = "libGL: copy_gl_array_quickconvert -> unknown type: %x\n"; GLvoid *dst = malloc((count-skip) * 4 * gl_sizeof(GL_FLOAT)); - GLsizei from_size = gl_sizeof(from) * 4; - GLsizei to_size = gl_sizeof(GL_FLOAT) * 4; uintptr_t in = (uintptr_t)src; in += stride*skip; @@ -183,7 +179,6 @@ GLvoid *copy_gl_array_convert(const GLvoid *src, const char *unknown_str = "libGL: copy_gl_array_convert -> unknown type: %x\n"; GLvoid *dst = malloc((count-skip) * to_width * gl_sizeof(to)); GLsizei from_size = gl_sizeof(from) * width; - GLsizei to_size = gl_sizeof(to) * to_width; if (to_width < width) { /*printf("Warning: copy_gl_array: %i < %i\n", to_width, width); return NULL;*/ @@ -280,7 +275,7 @@ GLfloat *gl_pointer_index(pointer_state_t *p, GLint index) { GLsizei size = gl_sizeof(p->type); GLsizei stride = (p->stride ? p->stride : size) * p->size; uintptr_t ptr = (uintptr_t)(p->pointer) + (stride * index) - + (uintptr_t)((state.vao->vertex)?state.vao->vertex->data:0); + + (uintptr_t)((glstate.vao->vertex)?glstate.vao->vertex->data:0); GL_TYPE_SWITCH(src, ptr, p->type, for (int i = 0; i < p->size; i++) { diff --git a/project/jni/glshim/src/gl/buffers.c b/project/jni/glshim/src/gl/buffers.c index 4d5755890..716d175d1 100755 --- a/project/jni/glshim/src/gl/buffers.c +++ b/project/jni/glshim/src/gl/buffers.c @@ -8,16 +8,16 @@ static GLuint lastbuffer = 1; glbuffer_t** BUFF(GLenum target) { switch(target) { case GL_ARRAY_BUFFER: - return &state.vao->vertex; + return &glstate.vao->vertex; break; case GL_ELEMENT_ARRAY_BUFFER: - return &state.vao->elements; + return &glstate.vao->elements; break; case GL_PIXEL_PACK_BUFFER: - return &state.vao->pack; + return &glstate.vao->pack; break; case GL_PIXEL_UNPACK_BUFFER: - return &state.vao->unpack; + return &glstate.vao->unpack; break; default: printf("LIBGL: Warning, unknown buffer target 0x%04X\n", target); @@ -54,7 +54,7 @@ int buffer_target(GLenum target) { return 0; } -void glGenBuffers(GLsizei n, GLuint * buffers) { +void glshim_glGenBuffers(GLsizei n, GLuint * buffers) { //printf("glGenBuffers(%i, %p)\n", n, buffers); noerrorShim(); if (n<1) { @@ -66,17 +66,17 @@ void glGenBuffers(GLsizei n, GLuint * buffers) { } } -void glBindBuffer(GLenum target, GLuint buffer) { +void glshim_glBindBuffer(GLenum target, GLuint buffer) { //printf("glBindBuffer(%s, %u)\n", PrintEnum(target), buffer); - if (state.gl_batch) { + if (glstate.gl_batch) { flush(); } khint_t k; int ret; - khash_t(buff) *list = state.buffers; + khash_t(buff) *list = glstate.buffers; if (! list) { - list = state.buffers = kh_init(buff); + list = glstate.buffers = kh_init(buff); // segfaults if we don't do a single put kh_put(buff, list, 1, &ret); kh_del(buff, list, 1); @@ -111,7 +111,7 @@ void glBindBuffer(GLenum target, GLuint buffer) { noerrorShim(); } -void glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) { +void glshim_glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) { //printf("glBufferData(%s, %i, %p, %s)\n", PrintEnum(target), size, data, PrintEnum(usage)); if (!buffer_target(target)) { errorShim(GL_INVALID_ENUM); @@ -135,7 +135,7 @@ void glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum us noerrorShim(); } -void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) { +void glshim_glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) { //printf("glBufferSubData(%s, %p, %i, %p)\n", PrintEnum(target), offset, size, data); if (!buffer_target(target)) { errorShim(GL_INVALID_ENUM); @@ -151,13 +151,13 @@ void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvo noerrorShim(); } -void glDeleteBuffers(GLsizei n, const GLuint * buffers) { +void glshim_glDeleteBuffers(GLsizei n, const GLuint * buffers) { //printf("glDeleteBuffers(%i, %p)\n", n, buffers); - if (state.gl_batch) { + if (glstate.gl_batch) { flush(); } - khash_t(buff) *list = state.buffers; + khash_t(buff) *list = glstate.buffers; if (list) { khint_t k; glbuffer_t *buff; @@ -167,14 +167,14 @@ void glDeleteBuffers(GLsizei n, const GLuint * buffers) { k = kh_get(buff, list, t); if (k != kh_end(list)) { buff = kh_value(list, k); - if (state.vao->vertex == buff) - state.vao->vertex = NULL; - if (state.vao->elements == buff) - state.vao->elements = NULL; - if (state.vao->pack == buff) - state.vao->pack = NULL; - if (state.vao->unpack == buff) - state.vao->unpack = NULL; + if (glstate.vao->vertex == buff) + glstate.vao->vertex = NULL; + if (glstate.vao->elements == buff) + glstate.vao->elements = NULL; + if (glstate.vao->pack == buff) + glstate.vao->pack = NULL; + if (glstate.vao->unpack == buff) + glstate.vao->unpack = NULL; if (buff->data) free(buff->data); kh_del(buff, list, k); free(buff); @@ -185,9 +185,9 @@ void glDeleteBuffers(GLsizei n, const GLuint * buffers) { noerrorShim(); } -GLboolean glIsBuffer(GLuint buffer) { +GLboolean glshim_glIsBuffer(GLuint buffer) { //printf("glIsBuffer(%u)\n", buffer); - khash_t(buff) *list = state.buffers; + khash_t(buff) *list = glstate.buffers; khint_t k; noerrorShim(); if (list) { @@ -201,7 +201,7 @@ GLboolean glIsBuffer(GLuint buffer) { -void glGetBufferParameteriv(GLenum target, GLenum value, GLint * data) { +void glshim_glGetBufferParameteriv(GLenum target, GLenum value, GLint * data) { //printf("glGetBufferParameteriv(%s, %s, %p)\n", PrintEnum(target), PrintEnum(value), data); if (!buffer_target(target)) { errorShim(GL_INVALID_ENUM); @@ -241,7 +241,7 @@ void glGetBufferParameteriv(GLenum target, GLenum value, GLint * data) { } } -void *glMapBuffer(GLenum target, GLenum access) { +void *glshim_glMapBuffer(GLenum target, GLenum access) { //printf("glMapBuffer(%s, %s)\n", PrintEnum(target), PrintEnum(access)); if (!buffer_target(target)) { errorShim(GL_INVALID_ENUM); @@ -256,7 +256,7 @@ void *glMapBuffer(GLenum target, GLenum access) { return buff->data; // Not nice, should do some copy or something probably } -GLboolean glUnmapBuffer(GLenum target) { +GLboolean glshim_glUnmapBuffer(GLenum target) { //printf("glUnmapBuffer(%s)\n", PrintEnum(target)); if (!buffer_target(target)) { errorShim(GL_INVALID_ENUM); @@ -273,7 +273,7 @@ GLboolean glUnmapBuffer(GLenum target) { return GL_FALSE; } -void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid * data) { +void glshim_glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid * data) { //printf("glGetBufferSubData(%s, %p, %i, %p)\n", PrintEnum(target), offset, size, data); if (!buffer_target(target)) { errorShim(GL_INVALID_ENUM); @@ -287,7 +287,7 @@ void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid noerrorShim(); } -void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid ** params) { +void glshim_glGetBufferPointerv(GLenum target, GLenum pname, GLvoid ** params) { //printf("glGetBufferPointerv(%s, %s, %p)\n", PrintEnum(target), PrintEnum(pname), params); if (!buffer_target(target)) { errorShim(GL_INVALID_ENUM); @@ -307,45 +307,36 @@ void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid ** params) { } } +//Direct wrapper +void glGenBuffers(GLsizei n, GLuint * buffers) __attribute__((alias("glshim_glGenBuffers"))); +void glBindBuffer(GLenum target, GLuint buffer) __attribute__((alias("glshim_glBindBuffer"))); +void glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) __attribute__((alias("glshim_glBufferData"))); +void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) __attribute__((alias("glshim_glBufferSubData"))); +void glDeleteBuffers(GLsizei n, const GLuint * buffers) __attribute__((alias("glshim_glDeleteBuffers"))); +GLboolean glIsBuffer(GLuint buffer) __attribute__((alias("glshim_glIsBuffer"))); +void glGetBufferParameteriv(GLenum target, GLenum value, GLint * data) __attribute__((alias("glshim_glGetBufferParameteriv"))); +void *glMapBuffer(GLenum target, GLenum access) __attribute__((alias("glshim_glMapBuffer"))); +GLboolean glUnmapBuffer(GLenum target) __attribute__((alias("glshim_glUnmapBuffer"))); +void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid * data) __attribute__((alias("glshim_glGetBufferSubData"))); +void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid ** params) __attribute__((alias("glshim_glGetBufferPointerv"))); -void glGenBuffersARB(GLsizei n, GLuint * buffers) { - glGenBuffers(n, buffers); -} -void glBindBufferARB(GLenum target, GLuint buffer) { - glBindBuffer(target, buffer); -} -void glBufferDataARB(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) { - glBufferData(target, size, data, usage); -} -void glBufferSubDataARB(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) { - glBufferSubData(target, offset, size, data); -} -void glDeleteBuffersARB(GLsizei n, const GLuint * buffers) { - glDeleteBuffers(n, buffers); -} -GLboolean glIsBufferARB(GLuint buffer) { - return glIsBuffer(buffer); -} -void glGetBufferParameterivARB(GLenum target, GLenum value, GLint * data) { - glGetBufferParameteriv(target, value, data); -} -void *glMapBufferARB(GLenum target, GLenum access) { - glMapBuffer(target, access); -} -GLboolean glUnmapBufferARB(GLenum target) { - return glUnmapBuffer(target); -} -void glGetBufferSubDataARB(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid * data) { - glGetBufferSubData(target, offset, size, data); -} -void glGetBufferPointervARB(GLenum target, GLenum pname, GLvoid ** params) { - glGetBufferPointerv(target, pname, params); -} +//ARB wrapper +void glGenBuffersARB(GLsizei n, GLuint * buffers) __attribute__((alias("glshim_glGenBuffers"))); +void glBindBufferARB(GLenum target, GLuint buffer) __attribute__((alias("glshim_glBindBuffer"))); +void glBufferDataARB(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) __attribute__((alias("glshim_glBufferData"))); +void glBufferSubDataARB(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) __attribute__((alias("glshim_glBufferSubData"))); +void glDeleteBuffersARB(GLsizei n, const GLuint * buffers) __attribute__((alias("glshim_glDeleteBuffers"))); +GLboolean glIsBufferARB(GLuint buffer) __attribute__((alias("glshim_glIsBuffer"))); +void glGetBufferParameterivARB(GLenum target, GLenum value, GLint * data) __attribute__((alias("glshim_glGetBufferParameteriv"))); +void *glMapBufferARB(GLenum target, GLenum access) __attribute__((alias("glshim_glMapBuffer"))); +GLboolean glUnmapBufferARB(GLenum target) __attribute__((alias("glshim_glUnmapBuffer"))); +void glGetBufferSubDataARB(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid * data) __attribute__((alias("glshim_glGetBufferSubData"))); +void glGetBufferPointervARB(GLenum target, GLenum pname, GLvoid ** params) __attribute__((alias("glshim_glGetBufferPointerv"))); // VAO **************** static GLuint lastvao = 1; -void glGenVertexArrays(GLsizei n, GLuint *arrays) { +void glshim_glGenVertexArrays(GLsizei n, GLuint *arrays) { //printf("glGenVertexArrays(%i, %p)\n", n, arrays); noerrorShim(); if (n<1) { @@ -356,17 +347,17 @@ void glGenVertexArrays(GLsizei n, GLuint *arrays) { arrays[i] = lastvao++; } } -void glBindVertexArray(GLuint array) { +void glshim_glBindVertexArray(GLuint array) { //printf("glBindVertexArray(%u)\n", array); - if (state.gl_batch) { + if (glstate.gl_batch) { flush(); } khint_t k; int ret; - khash_t(glvao) *list = state.vaos; + khash_t(glvao) *list = glstate.vaos; if (! list) { - list = state.vaos = kh_init(glvao); + list = glstate.vaos = kh_init(glvao); // segfaults if we don't do a single put kh_put(glvao, list, 1, &ret); kh_del(glvao, list, 1); @@ -374,7 +365,7 @@ void glBindVertexArray(GLuint array) { // if array = 0 => unbind buffer! if (array == 0) { // unbind buffer - state.vao = state.defaultvao; + glstate.vao = glstate.defaultvao; } else { // search for an existing buffer k = kh_get(glvao, list, array); @@ -385,10 +376,10 @@ void glBindVertexArray(GLuint array) { // new vao is binded to nothing memset(glvao, 0, sizeof(glvao_t)); /* - state.vao->vertex = state.defaultvbo; - state.vao->elements = state.defaultvbo; - state.vao->pack = state.defaultvbo; - state.vao->unpack = state.defaultvbo; + glstate.vao->vertex = glstate.defaultvbo; + glstate.vao->elements = glstate.defaultvbo; + glstate.vao->pack = glstate.defaultvbo; + glstate.vao->unpack = glstate.defaultvbo; */ // just put is number @@ -396,16 +387,16 @@ void glBindVertexArray(GLuint array) { } else { glvao = kh_value(list, k); } - state.vao = glvao; + glstate.vao = glvao; } noerrorShim(); } -void glDeleteVertexArrays(GLsizei n, const GLuint *arrays) { +void glshim_glDeleteVertexArrays(GLsizei n, const GLuint *arrays) { //printf("glDeleteVertexArrays(%i, %p)\n", n, arrays); - if (state.gl_batch) { + if (glstate.gl_batch) { flush(); } - khash_t(glvao) *list = state.vaos; + khash_t(glvao) *list = glstate.vaos; if (list) { khint_t k; glvao_t *glvao; @@ -423,9 +414,9 @@ void glDeleteVertexArrays(GLsizei n, const GLuint *arrays) { } noerrorShim(); } -GLboolean glIsVertexArray(GLuint array) { +GLboolean glshim_glIsVertexArray(GLuint array) { //printf("glIsVertexArray(%u)\n", array); - khash_t(glvao) *list = state.vaos; + khash_t(glvao) *list = glstate.vaos; khint_t k; noerrorShim(); if (list) { @@ -436,3 +427,10 @@ GLboolean glIsVertexArray(GLuint array) { } return GL_FALSE; } + +//Dirzct wrapper +void glGenVertexArrays(GLsizei n, GLuint *arrays) __attribute__((alias("glshim_glGenVertexArrays"))); +void glBindVertexArray(GLuint array) __attribute__((alias("glshim_glBindVertexArray"))); +void glDeleteVertexArrays(GLsizei n, const GLuint *arrays) __attribute__((alias("glshim_glDeleteVertexArrays"))); +GLboolean glIsVertexArray(GLuint array) __attribute__((alias("glshim_glIsVertexArray"))); + diff --git a/project/jni/glshim/src/gl/buffers.h b/project/jni/glshim/src/gl/buffers.h index 1e3021391..98e664753 100755 --- a/project/jni/glshim/src/gl/buffers.h +++ b/project/jni/glshim/src/gl/buffers.h @@ -16,19 +16,30 @@ typedef struct { KHASH_MAP_INIT_INT(buff, glbuffer_t *) -/* -extern void glGenBuffers(GLsizei n, GLuint * buffers); -extern void glBindBuffer(GLenum target, GLuint buffer); -extern void glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage); -extern void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data); -extern void glDeleteBuffers(GLsizei n, const GLuint * buffers); -extern GLboolean glIsBuffer(GLuint buffer); -extern void glGetBufferParameteriv(GLenum target, GLenum value, GLint * data); -*/ +void glshim_glGenBuffers(GLsizei n, GLuint * buffers); +void glshim_glBindBuffer(GLenum target, GLuint buffer); +void glshim_glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage); +void glshim_glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data); +void glshim_glDeleteBuffers(GLsizei n, const GLuint * buffers); +GLboolean glshim_glIsBuffer(GLuint buffer); +void glshim_glGetBufferParameteriv(GLenum target, GLenum value, GLint * data); + +void *glshim_glMapBuffer(GLenum target, GLenum access); +GLboolean glshim_glUnmapBuffer(GLenum target); +void glshim_glGetBufferPointerv(GLenum target, GLenum pname, GLvoid ** params); +void glshim_glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid * data); + +void glGenBuffers(GLsizei n, GLuint * buffers); +void glBindBuffer(GLenum target, GLuint buffer); +void glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage); +void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data); +void glDeleteBuffers(GLsizei n, const GLuint * buffers); +GLboolean glIsBuffer(GLuint buffer); +void glGetBufferParameteriv(GLenum target, GLenum value, GLint * data); void *glMapBuffer(GLenum target, GLenum access); GLboolean glUnmapBuffer(GLenum target); void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid ** params); -extern void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid * data); +void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid * data); void glGenBuffersARB(GLsizei n, GLuint * buffers); void glBindBufferARB(GLenum target, GLuint buffer); @@ -75,9 +86,13 @@ typedef struct { KHASH_MAP_INIT_INT(glvao, glvao_t*) +void glshim_glGenVertexArrays(GLsizei n, GLuint *arrays); +void glshim_glBindVertexArray(GLuint array); +void glshim_glDeleteVertexArrays(GLsizei n, const GLuint *arrays); +GLboolean glshim_glIsVertexArray(GLuint array); + void glGenVertexArrays(GLsizei n, GLuint *arrays); void glBindVertexArray(GLuint array); void glDeleteVertexArrays(GLsizei n, const GLuint *arrays); GLboolean glIsVertexArray(GLuint array); - #endif diff --git a/project/jni/glshim/src/gl/debug.c b/project/jni/glshim/src/gl/debug.c index 551b58e1f..a65c61bd4 100755 --- a/project/jni/glshim/src/gl/debug.c +++ b/project/jni/glshim/src/gl/debug.c @@ -92,7 +92,7 @@ const char* PrintEnum(GLenum what) { p(GL_TEXTURE6); p(GL_TEXTURE7); // mode - p(GL_POINT); + p(GL_POINTS); p(GL_LINES); p(GL_LINE_LOOP); p(GL_LINE_STRIP); diff --git a/project/jni/glshim/src/gl/defines.h b/project/jni/glshim/src/gl/defines.h index 2c8261b1d..4f0caf453 100755 --- a/project/jni/glshim/src/gl/defines.h +++ b/project/jni/glshim/src/gl/defines.h @@ -1,4 +1,4 @@ -#include +//#include // newly-defined GL functions GLboolean glIsList(GLuint list); diff --git a/project/jni/glshim/src/gl/directstate.c b/project/jni/glshim/src/gl/directstate.c index e9348f656..8cbca2ed8 100755 --- a/project/jni/glshim/src/gl/directstate.c +++ b/project/jni/glshim/src/gl/directstate.c @@ -3,344 +3,437 @@ #include "stack.h" // Client State -void glClientAttribDefaultEXT(GLbitfield mask) { +void glshim_glClientAttribDefault(GLbitfield mask) { if (mask & GL_CLIENT_PIXEL_STORE_BIT) { - glPixelStorei(GL_PACK_ALIGNMENT, 0); - glPixelStorei(GL_UNPACK_ALIGNMENT, 0); - glPixelStorei(GL_UNPACK_ROW_LENGTH, 0); - glPixelStorei(GL_UNPACK_SKIP_PIXELS, 0); - glPixelStorei(GL_UNPACK_SKIP_ROWS, 0); - glPixelStorei(GL_PACK_ROW_LENGTH, 0); - glPixelStorei(GL_PACK_SKIP_PIXELS, 0); - glPixelStorei(GL_PACK_SKIP_ROWS, 0); + glshim_glPixelStorei(GL_PACK_ALIGNMENT, 0); + glshim_glPixelStorei(GL_UNPACK_ALIGNMENT, 0); + glshim_glPixelStorei(GL_UNPACK_ROW_LENGTH, 0); + glshim_glPixelStorei(GL_UNPACK_SKIP_PIXELS, 0); + glshim_glPixelStorei(GL_UNPACK_SKIP_ROWS, 0); + glshim_glPixelStorei(GL_PACK_ROW_LENGTH, 0); + glshim_glPixelStorei(GL_PACK_SKIP_PIXELS, 0); + glshim_glPixelStorei(GL_PACK_SKIP_ROWS, 0); } #define enable_disable(pname, enabled) \ - if (enabled) glEnableClientState(pname); \ - else glDisableClientState(pname) + if (enabled) glshim_glEnableClientState(pname); \ + else glshim_glDisableClientState(pname) if (mask & GL_CLIENT_VERTEX_ARRAY_BIT) { - int client = state.texture.client; + int client = glstate.texture.client; enable_disable(GL_VERTEX_ARRAY, false); enable_disable(GL_NORMAL_ARRAY, false); enable_disable(GL_COLOR_ARRAY, false); enable_disable(GL_SECONDARY_COLOR_ARRAY, false); for (int a=0; awidth = get_map_width(magic); \ - map_statef_t *m = (map_statef_t *)state.map##dims.name; \ + map_statef_t *m = (map_statef_t *)glstate.map##dims.name; \ if (m) { \ if (m->free) \ free((void *)m->points); \ free(m); \ } \ - state.map##dims.name = (map_state_t *)map; \ + glstate.map##dims.name = (map_state_t *)map; \ break; \ } @@ -61,7 +61,7 @@ static inline map_state_t **get_map_pointer(GLenum target) { case_state(dims, GL_MAP##dims##_VERTEX_4, vertex4); \ } -void glMap1d(GLenum target, GLdouble u1, GLdouble u2, +void glshim_glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, const GLdouble *points) { noerrorShim(); map_statef_t *map = malloc(sizeof(map_statef_t)); @@ -71,7 +71,7 @@ void glMap1d(GLenum target, GLdouble u1, GLdouble u2, map->points = copy_eval_double(target, ustride, uorder, 0, 1, points); } -void glMap1f(GLenum target, GLfloat u1, GLfloat u2, +void glshim_glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, const GLfloat *points) { noerrorShim(); map_statef_t *map = malloc(sizeof(map_statef_t)); @@ -81,7 +81,7 @@ void glMap1f(GLenum target, GLfloat u1, GLfloat u2, map->points = points; } -void glMap2d(GLenum target, GLdouble u1, GLdouble u2, +void glshim_glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) { noerrorShim(); @@ -93,7 +93,7 @@ void glMap2d(GLenum target, GLdouble u1, GLdouble u2, map->points = copy_eval_double(target, ustride, uorder, vstride, vorder, points); } -void glMap2f(GLenum target, GLfloat u1, GLfloat u2, +void glshim_glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) { noerrorShim(); @@ -110,7 +110,7 @@ void glMap2f(GLenum target, GLfloat u1, GLfloat u2, #undef map_switch #define p_map(d, name, func, code) { \ - map_state_t *_map = state.map##d.name; \ + map_state_t *_map = glstate.map##d.name; \ if (_map) { \ if (_map->type == GL_DOUBLE) { \ map_stated_t *map = (map_stated_t *)_map; \ @@ -119,7 +119,7 @@ void glMap2f(GLenum target, GLfloat u1, GLfloat u2, map_statef_t *map = (map_statef_t *)_map; \ GLfloat out[4]; \ code \ - func##v(out); \ + glshim_##func##v(out); \ } \ }} @@ -134,7 +134,7 @@ void glMap2f(GLenum target, GLfloat u1, GLfloat u2, p_map(d, vertex3, glVertex3f, code); \ p_map(d, vertex4, glVertex4f, code); -void glEvalCoord1f(GLfloat u) { +void glshim_glEvalCoord1f(GLfloat u) { noerrorShim(); iter_maps(1, GLfloat uu = (u - map->u._1) * map->u.d; @@ -142,7 +142,7 @@ void glEvalCoord1f(GLfloat u) { ) } -void glEvalCoord2f(GLfloat u, GLfloat v) { +void glshim_glEvalCoord2f(GLfloat u, GLfloat v) { noerrorShim(); iter_maps(2, GLfloat uu = (u - map->u._1) * map->u.d; @@ -157,29 +157,29 @@ void glEvalCoord2f(GLfloat u, GLfloat v) { #undef p_map #undef iter_maps -void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) { +void glshim_glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) { noerrorShim(); // TODO: double support? map_statef_t *map; - if (! state.map_grid) - state.map_grid = malloc(sizeof(map_statef_t)); + if (! glstate.map_grid) + glstate.map_grid = malloc(sizeof(map_statef_t)); - map = (map_statef_t *)state.map_grid; + map = (map_statef_t *)glstate.map_grid; map->dims = 1; map->u.n = un; map->u._1 = u1; map->u._2 = u2; } -void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, +void glshim_glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) { noerrorShim(); // TODO: double support? map_statef_t *map; - if (! state.map_grid) - state.map_grid = malloc(sizeof(map_statef_t)); + if (! glstate.map_grid) + glstate.map_grid = malloc(sizeof(map_statef_t)); - map = (map_statef_t *)state.map_grid; + map = (map_statef_t *)glstate.map_grid; map->dims = 2; map->u.n = un; map->u._1 = u1; @@ -190,10 +190,10 @@ void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, } static inline GLenum eval_mesh_prep(map_statef_t **map, GLenum mode) { - if (state.map2.vertex4) { - *map = (map_statef_t *)state.map2.vertex4; - } else if (state.map2.vertex3) { - *map = (map_statef_t *)state.map2.vertex3; + if (glstate.map2.vertex4) { + *map = (map_statef_t *)glstate.map2.vertex4; + } else if (glstate.map2.vertex3) { + *map = (map_statef_t *)glstate.map2.vertex3; } else { return 0; } @@ -214,7 +214,7 @@ static inline GLenum eval_mesh_prep(map_statef_t **map, GLenum mode) { } } -void glEvalMesh1(GLenum mode, GLint i1, GLint i2) { +void glshim_glEvalMesh1(GLenum mode, GLint i1, GLint i2) { noerrorShim(); map_statef_t *map; GLenum renderMode = eval_mesh_prep(&map, mode); @@ -224,14 +224,14 @@ void glEvalMesh1(GLenum mode, GLint i1, GLint i2) { GLfloat u, du, u1; du = map->u.d; GLint i; - glBegin(renderMode); + glshim_glBegin(renderMode); for (u = u1, i = i1; i <= i2; i++, u += du) { - glEvalCoord1f(u); + glshim_glEvalCoord1f(u); } - glEnd(); + glshim_glEnd(); } -void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) { +void glshim_glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) { noerrorShim(); map_statef_t *map; GLenum renderMode = eval_mesh_prep(&map, mode); @@ -242,40 +242,40 @@ void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) { du = map->u.d; dv = map->v.d; GLint i, j; - glBegin(renderMode); + glshim_glBegin(renderMode); for (v = v1, j = j1; j <= j2; j++, v += dv) { for (u = u1, i = i1; i <= i2; i++, u += du) { - glEvalCoord2f(u, v); + glshim_glEvalCoord2f(u, v); if (mode == GL_FILL) - glEvalCoord2f(u, v + dv); + glshim_glEvalCoord2f(u, v + dv); } } - glEnd(); + glshim_glEnd(); if (mode == GL_LINE) { - glBegin(renderMode); + glshim_glBegin(renderMode); for (u = u1, i = i1; i <= i2; i++, u += du) { for (v = v1, j = j1; j <= j2; j++, v += dv) { - glEvalCoord2f(u, v); + glshim_glEvalCoord2f(u, v); } } - glEnd(); + glshim_glEnd(); } } -void glEvalPoint1(GLint i) { +void glshim_glEvalPoint1(GLint i) { map_statef_t *map; if (eval_mesh_prep(&map, 0)) - glEvalCoord1f(i + map->u.d); + glshim_glEvalCoord1f(i + map->u.d); } -void glEvalPoint2(GLint i, GLint j) { +void glshim_glEvalPoint2(GLint i, GLint j) { map_statef_t *map; if (eval_mesh_prep(&map, 0)) - glEvalCoord2f(i + map->u.d, j + map->v.d); + glshim_glEvalCoord2f(i + map->u.d, j + map->v.d); } #define GL_GET_MAP(t, type) \ -void glGetMap##t##v(GLenum target, GLenum query, type *v) { \ +void glshim_glGetMap##t##v(GLenum target, GLenum query, type *v) { \ noerrorShim(); \ map_statef_t *map = *(map_statef_t **)get_map_pointer(target); \ if (map) { \ @@ -315,3 +315,20 @@ GL_GET_MAP(f, GLfloat) GL_GET_MAP(d, GLdouble) #undef GL_GET_MAP + +//Direct wrapper +void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points) __attribute__((alias("glshim_glMap1d"))); +void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points) __attribute__((alias("glshim_glMap1f"))); +void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) __attribute__((alias("glshim_glMap2d"))); +void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) __attribute__((alias("glshim_glMap2f"))); +void glEvalCoord1f(GLfloat u) __attribute__((alias("glshim_glEvalCoord1f"))); +void glEvalCoord2f(GLfloat u, GLfloat v) __attribute__((alias("glshim_glEvalCoord2f"))); +void glEvalMesh1(GLenum mode, GLint i1, GLint i2) __attribute__((alias("glshim_glEvalMesh1"))); +void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) __attribute__((alias("glshim_glEvalMesh2"))); +void glEvalPoint1(GLint i) __attribute__((alias("glshim_glEvalPoint1"))); +void glEvalPoint2(GLint i, GLint j) __attribute__((alias("glshim_glEvalPoint2"))); +void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) __attribute__((alias("glshim_glMapGrid1f"))); +void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) __attribute__((alias("glshim_glMapGrid2f"))); +void glGetMapdv(GLenum target, GLenum query, GLdouble *v) __attribute__((alias("glshim_glGetMapdv"))); +void glGetMapfv(GLenum target, GLenum query, GLfloat *v) __attribute__((alias("glshim_glGetMapfv"))); +void glGetMapiv(GLenum target, GLenum query, GLint *v) __attribute__((alias("glshim_glGetMapiv"))); diff --git a/project/jni/glshim/src/gl/eval.h b/project/jni/glshim/src/gl/eval.h old mode 100644 new mode 100755 index 63653548e..c59d53098 --- a/project/jni/glshim/src/gl/eval.h +++ b/project/jni/glshim/src/gl/eval.h @@ -3,27 +3,27 @@ #ifndef GL_MAP_H #define GL_MAP_H -void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); -void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); -void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); -void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); +void glshim_glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); +void glshim_glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); +void glshim_glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); +void glshim_glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); -void glEvalCoord1d(GLdouble u); -void glEvalCoord1f(GLfloat u); -void glEvalCoord2d(GLdouble u, GLdouble v); -void glEvalCoord2f(GLfloat u, GLfloat v); +void glshim_glEvalCoord1d(GLdouble u); +void glshim_glEvalCoord1f(GLfloat u); +void glshim_glEvalCoord2d(GLdouble u, GLdouble v); +void glshim_glEvalCoord2f(GLfloat u, GLfloat v); -void glEvalMesh1(GLenum mode, GLint i1, GLint i2); -void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); -void glEvalPoint1(GLint i); -void glEvalPoint2(GLint i, GLint j); -void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2); -void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2); -void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); -void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); -void glGetMapdv(GLenum target, GLenum query, GLdouble *v); -void glGetMapfv(GLenum target, GLenum query, GLfloat *v); -void glGetMapiv(GLenum target, GLenum query, GLint *v); +void glshim_glEvalMesh1(GLenum mode, GLint i1, GLint i2); +void glshim_glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); +void glshim_glEvalPoint1(GLint i); +void glshim_glEvalPoint2(GLint i, GLint j); +void glshim_glMapGrid1d(GLint un, GLdouble u1, GLdouble u2); +void glshim_glMapGrid1f(GLint un, GLfloat u1, GLfloat u2); +void glshim_glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); +void glshim_glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); +void glshim_glGetMapdv(GLenum target, GLenum query, GLdouble *v); +void glshim_glGetMapfv(GLenum target, GLenum query, GLfloat *v); +void glshim_glGetMapiv(GLenum target, GLenum query, GLint *v); typedef struct { GLenum type; diff --git a/project/jni/glshim/src/gl/framebuffers.c b/project/jni/glshim/src/gl/framebuffers.c index ae503d58f..c1a43b1ef 100755 --- a/project/jni/glshim/src/gl/framebuffers.c +++ b/project/jni/glshim/src/gl/framebuffers.c @@ -53,7 +53,7 @@ void readfboEnd() { gles_glBindFramebuffer(GL_FRAMEBUFFER, fbo); } -void glGenFramebuffers(GLsizei n, GLuint *ids) { +void glshim_glGenFramebuffers(GLsizei n, GLuint *ids) { LOAD_GLES_OES(glGenFramebuffers); //printf("glGenFramebuffers(%i, %p)\n", n, ids); GLsizei m = 0; @@ -68,9 +68,9 @@ void glGenFramebuffers(GLsizei n, GLuint *ids) { gles_glGenFramebuffers(n-m, ids+m); } -void glDeleteFramebuffers(GLsizei n, GLuint *framebuffers) { +void glshim_glDeleteFramebuffers(GLsizei n, GLuint *framebuffers) { //printf("glDeleteFramebuffers(%i, %p), framebuffers[0]=%u\n", n, framebuffers, framebuffers[0]); - if (state.gl_batch) flush(); + if (glstate.gl_batch) flush(); if (g_recyclefbo) { //printf("Recycling %i FBOs\n", n); noerrorShim(); @@ -91,9 +91,9 @@ void glDeleteFramebuffers(GLsizei n, GLuint *framebuffers) { } } -GLboolean glIsFramebuffer(GLuint framebuffer) { +GLboolean glshim_glIsFramebuffer(GLuint framebuffer) { //printf("glIsFramebuffer(%u)\n", framebuffer); - if (state.gl_batch) flush(); + if (glstate.gl_batch) flush(); LOAD_GLES_OES(glIsFramebuffer); errorGL(); @@ -102,8 +102,8 @@ GLboolean glIsFramebuffer(GLuint framebuffer) { GLenum fb_status; -GLenum glCheckFramebufferStatus(GLenum target) { - if (state.gl_batch) flush(); +GLenum glshim_glCheckFramebufferStatus(GLenum target) { + if (glstate.gl_batch) flush(); //#define BEFORE 1 #ifdef BEFORE GLenum result = fb_status; @@ -119,10 +119,10 @@ GLenum glCheckFramebufferStatus(GLenum target) { return result; } -void glBindFramebuffer(GLenum target, GLuint framebuffer) { - //printf("glBindFramebuffer(%s, %u), list=%s\n", PrintEnum(target), framebuffer, state.list.active?"active":"none"); +void glshim_glBindFramebuffer(GLenum target, GLuint framebuffer) { + //printf("glBindFramebuffer(%s, %u), list=%s\n", PrintEnum(target), framebuffer, glstate.list.active?"active":"none"); //PUSH_IF_COMPILING(glBindFramebuffer); - if (state.gl_batch) flush(); + if (glstate.gl_batch) flush(); LOAD_GLES_OES(glBindFramebuffer); LOAD_GLES_OES(glCheckFramebufferStatus); LOAD_GLES(glGetError); @@ -164,12 +164,12 @@ void glBindFramebuffer(GLenum target, GLuint framebuffer) { } -void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { +void glshim_glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { static GLuint scrap_tex = 0; static int scrap_width = 0; static int scrap_height = 0; - if (state.gl_batch) flush(); + if (glstate.gl_batch) flush(); LOAD_GLES_OES(glFramebufferTexture2D); LOAD_GLES(glTexImage2D); LOAD_GLES(glBindTexture); @@ -187,9 +187,9 @@ void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, gltexture_t *tex = NULL; int ret; khint_t k; - khash_t(tex) *list = state.texture.list; + khash_t(tex) *list = glstate.texture.list; if (! list) { - list = state.texture.list = kh_init(tex); + list = glstate.texture.list = kh_init(tex); // segfaults if we don't do a single put kh_put(tex, list, 1, &ret); kh_del(tex, list, 1); @@ -209,7 +209,7 @@ void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, tex->nwidth = npot(tex->width); tex->nheight = npot(tex->height); tex->shrink = 0; - gltexture_t *bound = state.texture.bound[state.texture.active]; + gltexture_t *bound = glstate.texture.bound[glstate.texture.active]; GLuint oldtex = (bound)?bound->glname:0; if (oldtex!=tex->glname) gles_glBindTexture(GL_TEXTURE_2D, tex->glname); gles_glTexImage2D(GL_TEXTURE_2D, 0, tex->format, tex->nwidth, tex->nheight, 0, tex->format, tex->type, NULL); @@ -222,7 +222,7 @@ void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, tex->nwidth = (tex->nwidth<32)?32:tex->nwidth; tex->nheight = (tex->nheight<32)?32:tex->nheight; tex->shrink = 0; - gltexture_t *bound = state.texture.bound[state.texture.active]; + gltexture_t *bound = glstate.texture.bound[glstate.texture.active]; GLuint oldtex = (bound)?bound->glname:0; if (oldtex!=tex->glname) gles_glBindTexture(GL_TEXTURE_2D, tex->glname); gles_glTexImage2D(GL_TEXTURE_2D, 0, tex->format, tex->nwidth, tex->nheight, 0, tex->format, tex->type, NULL); @@ -238,11 +238,11 @@ void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, if (level!=0) { //bind a scrap texture, we don't want level != 0 binding on GLES if(!scrap_tex) - glGenTextures(1, &scrap_tex); + glshim_glGenTextures(1, &scrap_tex); if ((scrap_width!=twidth) || (scrap_height!=theight)) { scrap_width = twidth; scrap_height = theight; - gltexture_t *bound = state.texture.bound[state.texture.active]; + gltexture_t *bound = glstate.texture.bound[glstate.texture.active]; GLuint oldtex = (bound)?bound->glname:0; if (oldtex!=scrap_tex) gles_glBindTexture(GL_TEXTURE_2D, scrap_tex); gles_glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, scrap_width, scrap_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); @@ -255,15 +255,15 @@ void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, gles_glFramebufferTexture2D(target, attachment, textarget, texture, 0); } -void glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { - glFramebufferTexture2D(target, attachment, GL_TEXTURE_2D, texture, level); +void glshim_glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { + glshim_glFramebufferTexture2D(target, attachment, GL_TEXTURE_2D, texture, level); } -void glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer) { +void glshim_glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer) { (void)layer; - glFramebufferTexture2D(target, attachment, GL_TEXTURE_2D, texture, level); + glshim_glFramebufferTexture2D(target, attachment, GL_TEXTURE_2D, texture, level); } -void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers) { +void glshim_glGenRenderbuffers(GLsizei n, GLuint *renderbuffers) { LOAD_GLES_OES(glGenRenderbuffers); //printf("glGenRenderbuffers(%i, %p)\n", n, renderbuffers); @@ -271,7 +271,7 @@ void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers) { gles_glGenRenderbuffers(n, renderbuffers); } -void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) { +void glshim_glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) { LOAD_GLES_OES(glFramebufferRenderbuffer); LOAD_GLES_OES(glGetFramebufferAttachmentParameteriv); //printf("glFramebufferRenderbuffer(%s, %s, %s, %u)\n", PrintEnum(target), PrintEnum(attachment), PrintEnum(renderbuffertarget), renderbuffer); @@ -296,8 +296,8 @@ void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbu gles_glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); } -void glDeleteRenderbuffers(GLsizei n, GLuint *renderbuffers) { - if (state.gl_batch) flush(); +void glshim_glDeleteRenderbuffers(GLsizei n, GLuint *renderbuffers) { + if (glstate.gl_batch) flush(); LOAD_GLES_OES(glDeleteRenderbuffers); // check if we delete a depthstencil @@ -322,7 +322,7 @@ void glDeleteRenderbuffers(GLsizei n, GLuint *renderbuffers) { gles_glDeleteRenderbuffers(n, renderbuffers); } -void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) { +void glshim_glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) { LOAD_GLES_OES(glRenderbufferStorage); LOAD_GLES_OES(glGenRenderbuffers); LOAD_GLES_OES(glBindRenderbuffer); @@ -369,12 +369,12 @@ void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, gles_glRenderbufferStorage(target, internalformat, width, height); } -void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { //STUB - glRenderbufferStorage(target, internalformat, width, height); +void glshim_glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { //STUB + glshim_glRenderbufferStorage(target, internalformat, width, height); } -void glBindRenderbuffer(GLenum target, GLuint renderbuffer) { - if (state.gl_batch) flush(); +void glshim_glBindRenderbuffer(GLenum target, GLuint renderbuffer) { + if (glstate.gl_batch) flush(); LOAD_GLES_OES(glBindRenderbuffer); //printf("glBindRenderbuffer(%s, %u), binded Fbo=%u\n", PrintEnum(target), renderbuffer, current_fb); @@ -384,16 +384,16 @@ void glBindRenderbuffer(GLenum target, GLuint renderbuffer) { gles_glBindRenderbuffer(target, renderbuffer); } -GLboolean glIsRenderbuffer(GLuint renderbuffer) { +GLboolean glshim_glIsRenderbuffer(GLuint renderbuffer) { //printf("glIsRenderbuffer(%u)\n", renderbuffer); - if (state.gl_batch) flush(); + if (glstate.gl_batch) flush(); LOAD_GLES_OES(glIsRenderbuffer); errorGL(); return gles_glIsRenderbuffer(renderbuffer); } -void glGenerateMipmap(GLenum target) { +void glshim_glGenerateMipmap(GLenum target) { //printf("glGenerateMipmap(0x%04X)\n", target); LOAD_GLES_OES(glGenerateMipmap); @@ -401,7 +401,7 @@ void glGenerateMipmap(GLenum target) { return gles_glGenerateMipmap(target); } -void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params) { +void glshim_glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params) { //printf("glGetFramebufferAttachmentParameteriv(%s, %s, %s, %p)\n", PrintEnum(target), PrintEnum(attachment), PrintEnum(pname), params); LOAD_GLES_OES(glGetFramebufferAttachmentParameteriv); @@ -409,7 +409,7 @@ void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLe return gles_glGetFramebufferAttachmentParameteriv(target, attachment, pname, params); } -void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint * params) { //printf("glGetRenderbufferParameteriv(%s, %s, %p)\n", PrintEnum(target), PrintEnum(pname), params); LOAD_GLES_OES(glGetRenderbufferParameteriv); @@ -441,9 +441,9 @@ void createMainFBO(int width, int height) { deleteMainFBO(); } // switch to texture unit 0 if needed - if (state.texture.active != 0) + if (glstate.texture.active != 0) gles_glActiveTexture(GL_TEXTURE0); - if (state.texture.client != 0) + if (glstate.texture.client != 0) gles_glClientActiveTexture(GL_TEXTURE0); mainfbo_width = width; @@ -495,12 +495,12 @@ void createMainFBO(int width, int height) { gles_glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT); } // Put everything back, and active the MainFBO - if (state.texture.bound[0]) - gles_glBindTexture(GL_TEXTURE_2D, state.texture.bound[0]->glname); - if (state.texture.active != 0) - gles_glActiveTexture(GL_TEXTURE0 + state.texture.active); - if (state.texture.client != 0) - gles_glClientActiveTexture(GL_TEXTURE0 + state.texture.client); + if (glstate.texture.bound[0]) + gles_glBindTexture(GL_TEXTURE_2D, glstate.texture.bound[0]->glname); + if (glstate.texture.active != 0) + gles_glActiveTexture(GL_TEXTURE0 + glstate.texture.active); + if (glstate.texture.client != 0) + gles_glClientActiveTexture(GL_TEXTURE0 + glstate.texture.client); } @@ -518,12 +518,12 @@ void blitMainFBO() { return; // switch to texture unit 0 if needed - int old_tex = state.texture.active; - int old_client = state.texture.client; - if (state.texture.active != 0) - glActiveTexture(GL_TEXTURE0); - if (state.texture.client != 0) - glClientActiveTexture(GL_TEXTURE0); + int old_tex = glstate.texture.active; + int old_client = glstate.texture.client; + if (glstate.texture.active != 0) + glshim_glActiveTexture(GL_TEXTURE0); + if (glstate.texture.client != 0) + glshim_glClientActiveTexture(GL_TEXTURE0); // bind the FBO texture gles_glEnable(GL_TEXTURE_2D); gles_glBindTexture(GL_TEXTURE_2D, mainfbo_tex); @@ -546,17 +546,17 @@ void blitMainFBO() { LOAD_GLES(glPushMatrix); LOAD_GLES(glPopMatrix); - glPushAttrib(GL_TEXTURE_BIT | GL_ENABLE_BIT | GL_TRANSFORM_BIT | GL_COLOR_BUFFER_BIT | GL_CURRENT_BIT); + glshim_glPushAttrib(GL_TEXTURE_BIT | GL_ENABLE_BIT | GL_TRANSFORM_BIT | GL_COLOR_BUFFER_BIT | GL_CURRENT_BIT); - glMatrixMode(GL_TEXTURE); + glshim_glMatrixMode(GL_TEXTURE); gles_glPushMatrix(); - glLoadIdentity(); - glMatrixMode(GL_PROJECTION); + glshim_glLoadIdentity(); + glshim_glMatrixMode(GL_PROJECTION); gles_glPushMatrix(); - glLoadIdentity(); - glMatrixMode(GL_MODELVIEW); + glshim_glLoadIdentity(); + glshim_glMatrixMode(GL_MODELVIEW); gles_glPushMatrix(); - glLoadIdentity(); + glshim_glLoadIdentity(); GLfloat vert[] = { -1, -1, +1, -1, @@ -572,69 +572,69 @@ void blitMainFBO() { 0, sh }; - glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT); + glshim_glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT); - glDisable(GL_DEPTH_TEST); - glDisable(GL_LIGHTING); - glDisable(GL_CULL_FACE); - glDisable(GL_ALPHA_TEST); - glDisable(GL_BLEND); + glshim_glDisable(GL_DEPTH_TEST); + glshim_glDisable(GL_LIGHTING); + glshim_glDisable(GL_CULL_FACE); + glshim_glDisable(GL_ALPHA_TEST); + glshim_glDisable(GL_BLEND); // glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); - if(!state.clientstate.vertex_array) { + if(!glstate.clientstate.vertex_array) { gles_glEnableClientState(GL_VERTEX_ARRAY); - state.clientstate.vertex_array = 1; + glstate.clientstate.vertex_array = 1; } gles_glVertexPointer(2, GL_FLOAT, 0, vert); - if(!state.clientstate.tex_coord_array[0]) { + if(!glstate.clientstate.tex_coord_array[0]) { gles_glEnableClientState(GL_TEXTURE_COORD_ARRAY); - state.clientstate.tex_coord_array[0] = 1; + glstate.clientstate.tex_coord_array[0] = 1; } gles_glTexCoordPointer(2, GL_FLOAT, 0, tex); for (int a=1; a glname); + if (glstate.texture.bound[0]) + gles_glBindTexture(GL_TEXTURE_2D, glstate.texture.bound[0]->glname); else gles_glBindTexture(GL_TEXTURE_2D, 0); - if (!state.enable.texture_2d[0]) + if (!glstate.enable.texture_2d[0]) gles_glDisable(GL_TEXTURE_2D); if (old_tex != 0) - glActiveTexture(GL_TEXTURE0 + old_tex); + glshim_glActiveTexture(GL_TEXTURE0 + old_tex); if (old_client != 0) - glClientActiveTexture(GL_TEXTURE0 + old_client); + glshim_glClientActiveTexture(GL_TEXTURE0 + old_client); } void bindMainFBO() { @@ -683,11 +683,11 @@ void deleteMainFBO() { // all done... } -void glFramebufferTextureLayer( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) { - glFramebufferTexture2D(target, attachment, GL_TEXTURE_2D, texture, level); // Force Texture2D, ignore layer... +void glshim_glFramebufferTextureLayer( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) { + glshim_glFramebufferTexture2D(target, attachment, GL_TEXTURE_2D, texture, level); // Force Texture2D, ignore layer... } -void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { +void glshim_glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { // TODO! // create a temp texture // glCopyPixel of read FBO @@ -697,64 +697,45 @@ printf("glBlitFramebuffer(%d, %d, %d, %d, %d, %d, %d, %d, 0x%04X, 0x%04X)\n", srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); } +// direct wrapper + +void glGenFramebuffers(GLsizei n, GLuint *ids) __attribute__((alias ("glshim_glGenFramebuffers"))); +void glDeleteFramebuffers(GLsizei n, GLuint *framebuffers) __attribute__((alias ("glshim_glDeleteFramebuffers"))); +GLboolean glIsFramebuffer(GLuint framebuffer) __attribute__((alias ("glshim_glIsFramebuffer"))); +GLenum glCheckFramebufferStatus(GLenum target) __attribute__((alias ("glshim_glCheckFramebufferStatus"))); +void glBindFramebuffer(GLenum target, GLuint framebuffer) __attribute__((alias ("glshim_glBindFramebuffer"))); +void glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) __attribute__((alias ("glshim_glFramebufferTexture1D"))); +void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) __attribute__((alias ("glshim_glFramebufferTexture2D"))); +void glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer) __attribute__((alias ("glshim_glFramebufferTexture3D"))); +void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers) __attribute__((alias ("glshim_glGenRenderbuffers"))); +void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) __attribute__((alias ("glshim_glFramebufferRenderbuffer"))); +void glDeleteRenderbuffers(GLsizei n, GLuint *renderbuffers) __attribute__((alias ("glshim_glDeleteRenderbuffers"))); +void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) __attribute__((alias ("glshim_glRenderbufferStorage"))); +void glBindRenderbuffer(GLenum target, GLuint renderbuffer) __attribute__((alias ("glshim_glBindRenderbuffer"))); +GLboolean glIsRenderbuffer(GLuint renderbuffer) __attribute__((alias ("glshim_glIsRenderbuffer"))); +void glGenerateMipmap(GLenum target) __attribute__((alias ("glshim_glGenerateMipmap"))); +void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params) __attribute__((alias ("glshim_glGetFramebufferAttachmentParameteriv"))); +void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint * params) __attribute__((alias ("glshim_glGetRenderbufferParameteriv"))); +void glFramebufferTextureLayer( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) __attribute__((alias ("glshim_glFramebufferTextureLayer"))); +void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) __attribute__((alias ("glshim_glBlitFramebuffer"))); // EXT direct wrapper -void glGenFramebuffersEXT(GLsizei n, GLuint *ids) { - glGenFramebuffers(n, ids); -} -void glDeleteFramebuffersEXT(GLsizei n, GLuint *framebuffers) { - glDeleteFramebuffers(n, framebuffers); -} -GLboolean glIsFramebufferEXT(GLuint framebuffer) { - return glIsFramebuffer(framebuffer); -} -GLenum glCheckFramebufferStatusEXT(GLenum target) { - return glCheckFramebufferStatus(target); -} -void glBindFramebufferEXT(GLenum target, GLuint framebuffer) { - glBindFramebuffer(target, framebuffer); -} -void glFramebufferTexture1DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { - glFramebufferTexture1D(target, attachment, textarget, texture, level); -} -void glFramebufferTexture2DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { - glFramebufferTexture2D(target, attachment, textarget, texture, level); -} -void glFramebufferTexture3DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer) { - glFramebufferTexture3D(target, attachment, textarget, texture, level, layer); -} -void glGenRenderbuffersEXT(GLsizei n, GLuint *renderbuffers) { - glGenRenderbuffers(n, renderbuffers); -} -void glFramebufferRenderbufferEXT(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) { - glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); -} -void glDeleteRenderbuffersEXT(GLsizei n, GLuint *renderbuffers) { - glDeleteRenderbuffers(n, renderbuffers); -} -void glRenderbufferStorageEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) { - glRenderbufferStorage(target, internalformat, width, height); -} -void glBindRenderbufferEXT(GLenum target, GLuint renderbuffer) { - glBindRenderbuffer(target, renderbuffer); -} -GLboolean glIsRenderbufferEXT(GLuint renderbuffer) { - return glIsRenderbuffer(renderbuffer); -} -void glGenerateMipmapEXT(GLenum target) { - glGenerateMipmap(target); -} -void glGetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment, GLenum pname, GLint *params) { - glGetFramebufferAttachmentParameteriv(target, attachment, pname, params); -} -void glGetRenderbufferParameterivEXT(GLenum target, GLenum pname, GLint * params) { - glGetRenderbufferParameteriv(target, pname, params); -} - -void glFramebufferTextureLayerEXT( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) { - glFramebufferTextureLayer(target, attachment, texture, level, layer); -} - -void glBlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { - glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); -} +void glGenFramebuffersEXT(GLsizei n, GLuint *ids) __attribute__((alias ("glshim_glGenFramebuffers"))); +void glDeleteFramebuffersEXT(GLsizei n, GLuint *framebuffers) __attribute__((alias ("glshim_glDeleteFramebuffers"))); +GLboolean glIsFramebufferEXT(GLuint framebuffer) __attribute__((alias ("glshim_glIsFramebuffer"))); +GLenum glCheckFramebufferStatusEXT(GLenum target) __attribute__((alias ("glshim_glCheckFramebufferStatus"))); +void glBindFramebufferEXT(GLenum target, GLuint framebuffer) __attribute__((alias ("glshim_glBindFramebuffer"))); +void glFramebufferTexture1DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) __attribute__((alias ("glshim_glFramebufferTexture1D"))); +void glFramebufferTexture2DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) __attribute__((alias ("glshim_glFramebufferTexture2D"))); +void glFramebufferTexture3DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer) __attribute__((alias ("glshim_glFramebufferTexture3D"))); +void glGenRenderbuffersEXT(GLsizei n, GLuint *renderbuffers) __attribute__((alias ("glshim_glGenRenderbuffers"))); +void glFramebufferRenderbufferEXT(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) __attribute__((alias ("glshim_glFramebufferRenderbuffer"))); +void glDeleteRenderbuffersEXT(GLsizei n, GLuint *renderbuffers) __attribute__((alias ("glshim_glDeleteRenderbuffers"))); +void glRenderbufferStorageEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) __attribute__((alias ("glshim_glRenderbufferStorage"))); +void glBindRenderbufferEXT(GLenum target, GLuint renderbuffer) __attribute__((alias ("glshim_glBindRenderbuffer"))); +GLboolean glIsRenderbufferEXT(GLuint renderbuffer) __attribute__((alias ("glshim_glIsRenderbuffer"))); +void glGenerateMipmapEXT(GLenum target) __attribute__((alias ("glshim_glGenerateMipmap"))); +void glGetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment, GLenum pname, GLint *params) __attribute__((alias ("glshim_glGetFramebufferAttachmentParameteriv"))); +void glGetRenderbufferParameterivEXT(GLenum target, GLenum pname, GLint * params) __attribute__((alias ("glshim_glGetRenderbufferParameteriv"))); +void glFramebufferTextureLayerEXT( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) __attribute__((alias ("glshim_glFramebufferTextureLayer"))); +void glBlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) __attribute__((alias ("glshim_glBlitFramebuffer"))); diff --git a/project/jni/glshim/src/gl/framebuffers.h b/project/jni/glshim/src/gl/framebuffers.h index e88cfc3de..6c6bba670 100755 --- a/project/jni/glshim/src/gl/framebuffers.h +++ b/project/jni/glshim/src/gl/framebuffers.h @@ -3,49 +3,28 @@ #ifndef GL_FRAMEBUFFERS_H #define GL_FRAMEBUFFERS_H -/* -void glGenFramebuffers(GLsizei n, GLuint *ids); -void glDeleteFramebuffers(GLsizei n, GLuint *framebuffers); -GLboolean glIsFramebuffer(GLuint framebuffer); -GLenum glCheckFramebufferStatus(GLenum target); -void glBindFramebuffer(GLenum target, GLuint framebuffer); -void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers); -void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -void glDeleteRenderbuffers(GLsizei n, GLuint *renderbuffers); -void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -void glBindRenderbuffer(GLenum target, GLuint renderbuffer); -GLboolean glIsRenderbuffer(GLuint renderbuffer); -void glGenerateMipmap(GLenum target); -void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params); -void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint * params); -*/ -void glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); // naive Wrap -void glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer); // naive Wrap -void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); //STUB -void glFramebufferTextureLayer( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); // naive Wrap -void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +void glshim_glGenerateMipmap(GLenum target); +void glshim_glGenFramebuffers(GLsizei n, GLuint *ids); +void glshim_glDeleteFramebuffers(GLsizei n, GLuint *framebuffers); +GLboolean glshim_glIsFramebuffer(GLuint framebuffer); +GLenum glshim_glCheckFramebufferStatus(GLenum target); +void glshim_glBindFramebuffer(GLenum target, GLuint framebuffer); +void glshim_glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +void glshim_glGenRenderbuffers(GLsizei n, GLuint *renderbuffers); +void glshim_glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +void glshim_glDeleteRenderbuffers(GLsizei n, GLuint *renderbuffers); +void glshim_glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +void glshim_glBindRenderbuffer(GLenum target, GLuint renderbuffer); +GLboolean glshim_glIsRenderbuffer(GLuint renderbuffer); +void glshim_glGenerateMipmap(GLenum target); +void glshim_glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params); +void glshim_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint * params); -// Direct creation of EXT versions... -void glGenFramebuffersEXT(GLsizei n, GLuint *ids); -void glDeleteFramebuffersEXT(GLsizei n, GLuint *framebuffers); -GLboolean glIsFramebufferEXT(GLuint framebuffer); -GLenum glCheckFramebufferStatusEXT(GLenum target); -void glBindFramebufferEXT(GLenum target, GLuint framebuffer); -void glFramebufferTexture1DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); // naive Wrap -void glFramebufferTexture2DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -void glFramebufferTexture3DEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer); // naive Wrap -void glGenRenderbuffersEXT(GLsizei n, GLuint *renderbuffers); -void glFramebufferRenderbufferEXT(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -void glDeleteRenderbuffersEXT(GLsizei n, GLuint *renderbuffers); -void glRenderbufferStorageEXT(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -void glBindRenderbufferEXT(GLenum target, GLuint renderbuffer); -GLboolean glIsRenderbufferEXT(GLuint renderbuffer); -void glGenerateMipmapEXT(GLenum target); -void glGetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment, GLenum pname, GLint *params); -void glGetRenderbufferParameterivEXT(GLenum target, GLenum pname, GLint * params); -void glFramebufferTextureLayerEXT( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -void glBlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +void glshim_glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); // naive Wrap +void glshim_glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer); // naive Wrap +void glshim_glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); //STUB +void glshim_glFramebufferTextureLayer( GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); // naive Wrap +void glshim_glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); // Need to keep track of Renderbuffer that are created as DEPTH_STENCIL, to create 2 seperate buffers... typedef struct { diff --git a/project/jni/glshim/src/gl/gl.c b/project/jni/glshim/src/gl/gl.c index 0fc7e0230..e58690056 100755 --- a/project/jni/glshim/src/gl/gl.c +++ b/project/jni/glshim/src/gl/gl.c @@ -20,7 +20,7 @@ glstate_t state = {.color = {1.0f, 1.0f, 1.0f, 1.0f}, .gl_batch = 0 }; */ -glstate_t state; +glstate_t glstate; GLuint readhack = 0; GLint readhack_x = 0; @@ -31,24 +31,25 @@ GLuint gl_batch = 0; GLuint gl_mergelist = 1; int blendhack = 0; char gl_version[50]; +int initialized = 0; __attribute__((constructor)) void initialize_glshim() { printf("LIBGL: Initialising glshim\n"); GLfloat white[] = {1.0f, 1.0f, 1.0f, 1.0f}; - memset(&state, 0, sizeof(state)); - memcpy(state.color, white, sizeof(GLfloat)*4); - state.last_error = GL_NO_ERROR; - state.normal[3] = 1.0f; // default normal is 0/0/1 + memset(&glstate, 0, sizeof(glstate)); + memcpy(glstate.color, white, sizeof(GLfloat)*4); + glstate.last_error = GL_NO_ERROR; + glstate.normal[3] = 1.0f; // default normal is 0/0/1 // add default VBO { khint_t k; int ret; - khash_t(buff) *list = state.buffers; + khash_t(buff) *list = glstate.buffers; if (! list) { - list = state.buffers = kh_init(buff); + list = glstate.buffers = kh_init(buff); } k = kh_put(buff, list, 0, &ret); glbuffer_t *buff = kh_value(list, k) = malloc(sizeof(glbuffer_t)); @@ -59,15 +60,15 @@ void initialize_glshim() { buff->size = 0; buff->access = GL_READ_WRITE; buff->mapped = 0; - state.defaultvbo = buff; + glstate.defaultvbo = buff; } // add default VAO { khint_t k; int ret; - khash_t(glvao) *list = state.vaos; + khash_t(glvao) *list = glstate.vaos; if (! list) { - list = state.vaos = kh_init(glvao); + list = glstate.vaos = kh_init(glvao); } k = kh_put(glvao, list, 0, &ret); glvao_t *glvao = kh_value(list, k) = malloc(sizeof(glvao_t)); @@ -75,10 +76,10 @@ void initialize_glshim() { memset(glvao, 0, sizeof(glvao_t)); // just put is number glvao->array = 0; - state.defaultvao = glvao; + glstate.defaultvao = glvao; } // Bind defaults... - state.vao = state.defaultvao; + glstate.vao = glstate.defaultvao; // init read hack char *env_readhack = getenv("LIBGL_READHACK"); @@ -106,11 +107,12 @@ void initialize_glshim() { } if (gl_batch) init_batch(); - state.gl_batch = gl_batch; + glstate.gl_batch = gl_batch; + initialized = 1; } // config functions -const GLubyte *glGetString(GLenum name) { +const GLubyte *glshim_glGetString(GLenum name) { // LOAD_GLES(glGetString); const GLubyte *str; errorShim(GL_NO_ERROR); @@ -178,6 +180,7 @@ const GLubyte *glGetString(GLenum name) { return (str)?str:(GLubyte*)""; } } +const GLubyte *glGetString(GLenum name) __attribute__((alias("glshim_glGetString"))); void transposeMatrix(float *matrix) { @@ -193,7 +196,7 @@ extern float zoomx, zoomy; extern GLfloat raster_scale[4]; extern GLfloat raster_bias[4]; -void glGetIntegerv(GLenum pname, GLint *params) { +void glshim_glGetIntegerv(GLenum pname, GLint *params) { if (params==NULL) { errorShim(GL_INVALID_OPERATION); return; @@ -215,34 +218,34 @@ void glGetIntegerv(GLenum pname, GLint *params) { *params = 1; break; case GL_UNPACK_ROW_LENGTH: - *params = state.texture.unpack_row_length; + *params = glstate.texture.unpack_row_length; break; case GL_UNPACK_SKIP_PIXELS: - *params = state.texture.unpack_skip_pixels; + *params = glstate.texture.unpack_skip_pixels; break; case GL_UNPACK_SKIP_ROWS: - *params = state.texture.unpack_skip_rows; + *params = glstate.texture.unpack_skip_rows; break; case GL_UNPACK_LSB_FIRST: - *params = state.texture.unpack_lsb_first; + *params = glstate.texture.unpack_lsb_first; break; case GL_UNPACK_IMAGE_HEIGHT: - *params = state.texture.unpack_image_height; + *params = glstate.texture.unpack_image_height; break; case GL_PACK_ROW_LENGTH: - *params = state.texture.pack_row_length; + *params = glstate.texture.pack_row_length; break; case GL_PACK_SKIP_PIXELS: - *params = state.texture.pack_skip_pixels; + *params = glstate.texture.pack_skip_pixels; break; case GL_PACK_SKIP_ROWS: - *params = state.texture.pack_skip_rows; + *params = glstate.texture.pack_skip_rows; break; case GL_PACK_LSB_FIRST: - *params = state.texture.pack_lsb_first; + *params = glstate.texture.pack_lsb_first; break; case GL_PACK_IMAGE_HEIGHT: - *params = state.texture.pack_image_height; + *params = glstate.texture.pack_image_height; break; case GL_UNPACK_SWAP_BYTES: case GL_PACK_SWAP_BYTES: @@ -254,10 +257,10 @@ void glGetIntegerv(GLenum pname, GLint *params) { gles_glGetIntegerv(GL_POINT_SIZE_MAX, params+1); break; case GL_RENDER_MODE: - *params = (state.render_mode)?state.render_mode:GL_RENDER; + *params = (glstate.render_mode)?glstate.render_mode:GL_RENDER; break; case GL_NAME_STACK_DEPTH: - *params = state.namestack.top; + *params = glstate.namestack.top; break; case GL_MAX_NAME_STACK_DEPTH: *params = 1024; @@ -290,36 +293,37 @@ void glGetIntegerv(GLenum pname, GLint *params) { *params=MAX_STACK_TEXTURE; break; case GL_MODELVIEW_STACK_DEPTH: - *params=(state.modelview_matrix)?(state.modelview_matrix->top+1):1; + *params=(glstate.modelview_matrix)?(glstate.modelview_matrix->top+1):1; break; case GL_PROJECTION_STACK_DEPTH: - *params=(state.projection_matrix)?(state.projection_matrix->top+1):1; + *params=(glstate.projection_matrix)?(glstate.projection_matrix->top+1):1; break; case GL_TEXTURE_STACK_DEPTH: - *params=(state.texture_matrix)?(state.texture_matrix[state.texture.active]->top+1):1; + *params=(glstate.texture_matrix)?(glstate.texture_matrix[glstate.texture.active]->top+1):1; break; case GL_MAX_LIST_NESTING: *params=64; // fake, no limit in fact break; case GL_ARRAY_BUFFER_BINDING: - *params=(state.vao->vertex)?state.vao->vertex->buffer:0; + *params=(glstate.vao->vertex)?glstate.vao->vertex->buffer:0; break; case GL_ELEMENT_ARRAY_BUFFER_BINDING: - *params=(state.vao->elements)?state.vao->elements->buffer:0; + *params=(glstate.vao->elements)?glstate.vao->elements->buffer:0; break; case GL_PIXEL_PACK_BUFFER_BINDING: - *params=(state.vao->pack)?state.vao->pack->buffer:0; + *params=(glstate.vao->pack)?glstate.vao->pack->buffer:0; break; case GL_PIXEL_UNPACK_BUFFER_BINDING: - *params=(state.vao->unpack)?state.vao->unpack->buffer:0; + *params=(glstate.vao->unpack)?glstate.vao->unpack->buffer:0; break; default: errorGL(); gles_glGetIntegerv(pname, params); } } +void glGetIntegerv(GLenum pname, GLint *params) __attribute__((alias("glshim_glGetIntegerv"))); -void glGetFloatv(GLenum pname, GLfloat *params) { +void glshim_glGetFloatv(GLenum pname, GLfloat *params) { LOAD_GLES(glGetFloatv); noerrorShim(); switch (pname) { @@ -333,28 +337,28 @@ void glGetFloatv(GLenum pname, GLfloat *params) { *params = 0; break; case GL_UNPACK_ROW_LENGTH: - *params = state.texture.unpack_row_length; + *params = glstate.texture.unpack_row_length; break; case GL_UNPACK_SKIP_PIXELS: - *params = state.texture.unpack_skip_pixels; + *params = glstate.texture.unpack_skip_pixels; break; case GL_UNPACK_SKIP_ROWS: - *params = state.texture.unpack_skip_rows; + *params = glstate.texture.unpack_skip_rows; break; case GL_UNPACK_LSB_FIRST: - *params = state.texture.unpack_lsb_first; + *params = glstate.texture.unpack_lsb_first; break; case GL_PACK_ROW_LENGTH: - *params = state.texture.pack_row_length; + *params = glstate.texture.pack_row_length; break; case GL_PACK_SKIP_PIXELS: - *params = state.texture.pack_skip_pixels; + *params = glstate.texture.pack_skip_pixels; break; case GL_PACK_SKIP_ROWS: - *params = state.texture.pack_skip_rows; + *params = glstate.texture.pack_skip_rows; break; case GL_PACK_LSB_FIRST: - *params = state.texture.pack_lsb_first; + *params = glstate.texture.pack_lsb_first; break; case GL_ZOOM_X: *params = zoomx; @@ -383,10 +387,10 @@ void glGetFloatv(GLenum pname, GLfloat *params) { gles_glGetFloatv(GL_POINT_SIZE_MAX, params+1); break; case GL_RENDER_MODE: - *params = (state.render_mode)?state.render_mode:GL_RENDER; + *params = (glstate.render_mode)?glstate.render_mode:GL_RENDER; break; case GL_NAME_STACK_DEPTH: - *params = state.namestack.top; + *params = glstate.namestack.top; break; case GL_MAX_NAME_STACK_DEPTH: *params = 1024; @@ -401,28 +405,28 @@ void glGetFloatv(GLenum pname, GLfloat *params) { *params=MAX_STACK_TEXTURE; break; case GL_MODELVIEW_STACK_DEPTH: - *params=(state.modelview_matrix)?(state.modelview_matrix->top+1):1; + *params=(glstate.modelview_matrix)?(glstate.modelview_matrix->top+1):1; break; case GL_PROJECTION_STACK_DEPTH: - *params=(state.projection_matrix)?(state.projection_matrix->top+1):1; + *params=(glstate.projection_matrix)?(glstate.projection_matrix->top+1):1; break; case GL_TEXTURE_STACK_DEPTH: - *params=(state.texture_matrix)?(state.texture_matrix[state.texture.active]->top+1):1; + *params=(glstate.texture_matrix)?(glstate.texture_matrix[glstate.texture.active]->top+1):1; break; case GL_MAX_LIST_NESTING: *params=64; // fake, no limit in fact break; case GL_ARRAY_BUFFER_BINDING: - *params=(state.vao->vertex)?state.vao->vertex->buffer:0; + *params=(glstate.vao->vertex)?glstate.vao->vertex->buffer:0; break; case GL_ELEMENT_ARRAY_BUFFER_BINDING: - *params=(state.vao->elements)?state.vao->elements->buffer:0; + *params=(glstate.vao->elements)?glstate.vao->elements->buffer:0; break; case GL_PIXEL_PACK_BUFFER_BINDING: - *params=(state.vao->pack)?state.vao->pack->buffer:0; + *params=(glstate.vao->pack)?glstate.vao->pack->buffer:0; break; case GL_PIXEL_UNPACK_BUFFER_BINDING: - *params=(state.vao->unpack)?state.vao->unpack->buffer:0; + *params=(glstate.vao->unpack)?glstate.vao->unpack->buffer:0; break; case GL_TRANSPOSE_PROJECTION_MATRIX: gles_glGetFloatv(GL_PROJECTION_MATRIX, params); @@ -441,6 +445,7 @@ void glGetFloatv(GLenum pname, GLfloat *params) { gles_glGetFloatv(pname, params); } } +void glGetFloatv(GLenum pname, GLfloat *params) __attribute__((alias("glshim_glGetFloatv"))); extern int alphahack; extern int texstream; @@ -451,13 +456,13 @@ extern int texstream; static void proxy_glEnable(GLenum cap, bool enable, void (*next)(GLenum)) { #define proxy_enable(constant, name) \ - case constant: state.enable.name = enable; next(cap); break + case constant: glstate.enable.name = enable; next(cap); break #define enable(constant, name) \ - case constant: state.enable.name = enable; break; + case constant: glstate.enable.name = enable; break; #define proxy_clientenable(constant, name) \ - case constant: state.vao->name = enable; next(cap); break + case constant: glstate.vao->name = enable; next(cap); break #define clientenable(constant, name) \ - case constant: state.vao->name = enable; break; + case constant: glstate.vao->name = enable; break; // TODO: maybe could be weird behavior if someone tried to: // 1. enable GL_TEXTURE_1D @@ -468,21 +473,21 @@ static void proxy_glEnable(GLenum cap, bool enable, void (*next)(GLenum)) { // Alpha Hack if (alphahack && (cap==GL_ALPHA_TEST) && enable) - if (state.texture.bound[state.texture.active]) - if (!state.texture.bound[state.texture.active]->alpha) + if (glstate.texture.bound[glstate.texture.active]) + if (!glstate.texture.bound[glstate.texture.active]->alpha) enable = false; noerrorShim(); #ifdef TEXSTREAM if (cap==GL_TEXTURE_STREAM_IMG) - state.enable.texture_2d[state.texture.active] = enable; + glstate.enable.texture_2d[glstate.texture.active] = enable; #endif switch (cap) { enable(GL_AUTO_NORMAL, auto_normal); proxy_enable(GL_BLEND, blend); - proxy_enable(GL_TEXTURE_2D, texture_2d[state.texture.active]); - enable(GL_TEXTURE_GEN_S, texgen_s[state.texture.active]); - enable(GL_TEXTURE_GEN_T, texgen_t[state.texture.active]); - enable(GL_TEXTURE_GEN_R, texgen_r[state.texture.active]); + proxy_enable(GL_TEXTURE_2D, texture_2d[glstate.texture.active]); + enable(GL_TEXTURE_GEN_S, texgen_s[glstate.texture.active]); + enable(GL_TEXTURE_GEN_T, texgen_t[glstate.texture.active]); + enable(GL_TEXTURE_GEN_R, texgen_r[glstate.texture.active]); enable(GL_LINE_STIPPLE, line_stipple); // Secondary color @@ -493,11 +498,11 @@ static void proxy_glEnable(GLenum cap, bool enable, void (*next)(GLenum)) { clientenable(GL_VERTEX_ARRAY, vertex_array); clientenable(GL_NORMAL_ARRAY, normal_array); clientenable(GL_COLOR_ARRAY, color_array); - clientenable(GL_TEXTURE_COORD_ARRAY, tex_coord_array[state.texture.client]); + clientenable(GL_TEXTURE_COORD_ARRAY, tex_coord_array[glstate.texture.client]); // Texture 1D and 3D - enable(GL_TEXTURE_1D, texture_1d[state.texture.active]); - enable(GL_TEXTURE_3D, texture_3d[state.texture.active]); + enable(GL_TEXTURE_1D, texture_1d[glstate.texture.active]); + enable(GL_TEXTURE_3D, texture_3d[glstate.texture.active]); default: errorGL(); next(cap); break; } @@ -507,8 +512,8 @@ static void proxy_glEnable(GLenum cap, bool enable, void (*next)(GLenum)) { #undef clientenable } -void glEnable(GLenum cap) { - if (state.list.active && (state.gl_batch && !state.list.compiling)) { +void glshim_glEnable(GLenum cap) { + if (glstate.list.active && (glstate.gl_batch && !glstate.list.compiling)) { int which_cap; switch (cap) { case GL_ALPHA_TEST: which_cap = ENABLED_ALPHA; break; @@ -519,10 +524,10 @@ void glEnable(GLenum cap) { default: which_cap = ENABLED_LAST; break; } if (which_cap!=ENABLED_LAST) { - if ((state.statebatch.enabled[which_cap] == 1)) + if ((glstate.statebatch.enabled[which_cap] == 1)) return; // nothing to do... - if (!state.statebatch.enabled[which_cap]) { - state.statebatch.enabled[which_cap] = 1; + if (!glstate.statebatch.enabled[which_cap]) { + glstate.statebatch.enabled[which_cap] = 1; } else { flush(); } @@ -531,17 +536,18 @@ void glEnable(GLenum cap) { PUSH_IF_COMPILING(glEnable) if (texstream && (cap==GL_TEXTURE_2D)) { - if (state.texture.bound[state.texture.active]) - if (state.texture.bound[state.texture.active]->streamed) + if (glstate.texture.bound[glstate.texture.active]) + if (glstate.texture.bound[glstate.texture.active]->streamed) cap = GL_TEXTURE_STREAM_IMG; } LOAD_GLES(glEnable); proxy_glEnable(cap, true, gles_glEnable); } +void glEnable(GLenum cap) __attribute__((alias("glshim_glEnable"))); -void glDisable(GLenum cap) { - if (state.list.active && (state.gl_batch && !state.list.compiling)) { +void glshim_glDisable(GLenum cap) { + if (glstate.list.active && (glstate.gl_batch && !glstate.list.compiling)) { int which_cap; switch (cap) { case GL_ALPHA_TEST: which_cap = ENABLED_ALPHA; break; @@ -552,10 +558,10 @@ void glDisable(GLenum cap) { default: which_cap = ENABLED_LAST; break; } if (which_cap!=ENABLED_LAST) { - if ((state.statebatch.enabled[which_cap] == 2)) + if ((glstate.statebatch.enabled[which_cap] == 2)) return; // nothing to do... - if (!state.statebatch.enabled[which_cap]) { - state.statebatch.enabled[which_cap] = 2; + if (!glstate.statebatch.enabled[which_cap]) { + glstate.statebatch.enabled[which_cap] = 2; } else { flush(); } @@ -564,49 +570,53 @@ void glDisable(GLenum cap) { PUSH_IF_COMPILING(glDisable) if (texstream && (cap==GL_TEXTURE_2D)) { - if (state.texture.bound[state.texture.active]) - if (state.texture.bound[state.texture.active]->streamed) + if (glstate.texture.bound[glstate.texture.active]) + if (glstate.texture.bound[glstate.texture.active]->streamed) cap = GL_TEXTURE_STREAM_IMG; } LOAD_GLES(glDisable); proxy_glEnable(cap, false, gles_glDisable); } +void glDisable(GLenum cap) __attribute__((alias("glshim_glDisable"))); -void glEnableClientState(GLenum cap) { +void glshim_glEnableClientState(GLenum cap) { LOAD_GLES(glEnableClientState); proxy_glEnable(cap, true, gles_glEnableClientState); } +void glEnableClientState(GLenum cap) __attribute__((alias("glshim_glEnableClientState"))); -void glDisableClientState(GLenum cap) { +void glshim_glDisableClientState(GLenum cap) { LOAD_GLES(glDisableClientState); proxy_glEnable(cap, false, gles_glDisableClientState); } +void glDisableClientState(GLenum cap) __attribute__((alias("glshim_glDisableClientState"))); + #define isenabled(what, where) \ - case what: return state.enable.where + case what: return glstate.enable.where #define clientisenabled(what, where) \ - case what: return state.vao->where + case what: return glstate.vao->where -GLboolean glIsEnabled(GLenum cap) { +GLboolean glshim_glIsEnabled(GLenum cap) { // should flush for now... to be optimized later! - if (state.gl_batch) flush(); + if (glstate.gl_batch) flush(); LOAD_GLES(glIsEnabled); noerrorShim(); switch (cap) { isenabled(GL_AUTO_NORMAL, auto_normal); isenabled(GL_LINE_STIPPLE, line_stipple); - isenabled(GL_TEXTURE_GEN_S, texgen_s[state.texture.active]); - isenabled(GL_TEXTURE_GEN_T, texgen_t[state.texture.active]); - isenabled(GL_TEXTURE_GEN_R, texgen_r[state.texture.active]); + isenabled(GL_TEXTURE_GEN_S, texgen_s[glstate.texture.active]); + isenabled(GL_TEXTURE_GEN_T, texgen_t[glstate.texture.active]); + isenabled(GL_TEXTURE_GEN_R, texgen_r[glstate.texture.active]); isenabled(GL_COLOR_SUM, color_sum); clientisenabled(GL_SECONDARY_COLOR_ARRAY, secondary_array); - isenabled(GL_TEXTURE_1D, texture_1d[state.texture.active]); - isenabled(GL_TEXTURE_3D, texture_3d[state.texture.active]); + isenabled(GL_TEXTURE_1D, texture_1d[glstate.texture.active]); + isenabled(GL_TEXTURE_3D, texture_3d[glstate.texture.active]); clientisenabled(GL_VERTEX_ARRAY, vertex_array); clientisenabled(GL_NORMAL_ARRAY, normal_array); clientisenabled(GL_COLOR_ARRAY, color_array); - clientisenabled(GL_TEXTURE_COORD_ARRAY, tex_coord_array[state.texture.client]); + clientisenabled(GL_TEXTURE_COORD_ARRAY, tex_coord_array[glstate.texture.client]); default: errorGL(); return gles_glIsEnabled(cap); @@ -614,32 +624,33 @@ GLboolean glIsEnabled(GLenum cap) { } #undef isenabled #undef clientisenabled +GLboolean glIsEnabled(GLenum cap) __attribute__((alias("glshim_glIsEnabled"))); static renderlist_t *arrays_to_renderlist(renderlist_t *list, GLenum mode, GLsizei skip, GLsizei count) { if (! list) list = alloc_renderlist(); -//if (state.list.compiling) printf("arrary_to_renderlist while compiling list, skip=%d, count=%d\n", skip, count); +//if (glstate.list.compiling) printf("arrary_to_renderlist while compiling list, skip=%d, count=%d\n", skip, count); list->mode = mode; list->mode_init = mode; list->len = count-skip; list->cap = count-skip; - if (state.vao->vertex_array) { - list->vert = copy_gl_pointer_tex(&state.vao->pointers.vertex, 4, skip, count, state.vao->pointers.vertex.buffer); + if (glstate.vao->vertex_array) { + list->vert = copy_gl_pointer_tex(&glstate.vao->pointers.vertex, 4, skip, count, glstate.vao->pointers.vertex.buffer); } - if (state.vao->color_array) { - list->color = copy_gl_pointer_color(&state.vao->pointers.color, 4, skip, count, state.vao->pointers.color.buffer); + if (glstate.vao->color_array) { + list->color = copy_gl_pointer_color(&glstate.vao->pointers.color, 4, skip, count, glstate.vao->pointers.color.buffer); } - if (state.vao->secondary_array/* && state.enable.color_array*/) { - list->secondary = copy_gl_pointer(&state.vao->pointers.secondary, 4, skip, count, state.vao->pointers.secondary.buffer); // alpha chanel is always 0 for secondary... + if (glstate.vao->secondary_array/* && glstate.enable.color_array*/) { + list->secondary = copy_gl_pointer(&glstate.vao->pointers.secondary, 4, skip, count, glstate.vao->pointers.secondary.buffer); // alpha chanel is always 0 for secondary... } - if (state.vao->normal_array) { - list->normal = copy_gl_pointer_raw(&state.vao->pointers.normal, 3, skip, count, state.vao->pointers.normal.buffer); + if (glstate.vao->normal_array) { + list->normal = copy_gl_pointer_raw(&glstate.vao->pointers.normal, 3, skip, count, glstate.vao->pointers.normal.buffer); } for (int i=0; itex_coord_array[i]) { - list->tex[i] = copy_gl_pointer_tex(&state.vao->pointers.tex_coord[i], 4, skip, count, state.vao->pointers.tex_coord[i].buffer); + if (glstate.vao->tex_coord_array[i]) { + list->tex[i] = copy_gl_pointer_tex(&glstate.vao->pointers.tex_coord[i], 4, skip, count, glstate.vao->pointers.tex_coord[i].buffer); } } @@ -649,18 +660,18 @@ static renderlist_t *arrays_to_renderlist(renderlist_t *list, GLenum mode, static inline bool should_intercept_render(GLenum mode) { return ( - (state.vao->vertex_array && ! valid_vertex_type(state.vao->pointers.vertex.type)) || - (/*state.enable.texture_2d[0] && */(state.enable.texgen_s[0] || state.enable.texgen_t[0] || state.enable.texgen_r[0])) || - (/*state.enable.texture_2d[1] && */(state.enable.texgen_s[1] || state.enable.texgen_t[1] || state.enable.texgen_r[1])) || - (/*state.enable.texture_2d[2] && */(state.enable.texgen_s[2] || state.enable.texgen_t[2] || state.enable.texgen_r[2])) || - (/*state.enable.texture_2d[3] && */(state.enable.texgen_s[3] || state.enable.texgen_t[3] || state.enable.texgen_r[3])) || - (mode == GL_LINES && state.enable.line_stipple) || - (mode == GL_QUADS) || (state.list.active && (state.list.compiling || state.gl_batch)) + (glstate.vao->vertex_array && ! valid_vertex_type(glstate.vao->pointers.vertex.type)) || + (/*glstate.enable.texture_2d[0] && */(glstate.enable.texgen_s[0] || glstate.enable.texgen_t[0] || glstate.enable.texgen_r[0])) || + (/*glstate.enable.texture_2d[1] && */(glstate.enable.texgen_s[1] || glstate.enable.texgen_t[1] || glstate.enable.texgen_r[1])) || + (/*glstate.enable.texture_2d[2] && */(glstate.enable.texgen_s[2] || glstate.enable.texgen_t[2] || glstate.enable.texgen_r[2])) || + (/*glstate.enable.texture_2d[3] && */(glstate.enable.texgen_s[3] || glstate.enable.texgen_t[3] || glstate.enable.texgen_r[3])) || + (mode == GL_LINES && glstate.enable.line_stipple) || + (mode == GL_QUADS) || (glstate.list.active && (glstate.list.compiling || glstate.gl_batch)) ); } -void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) { -//printf("glDrawElements(0x%04X, %d, 0x%04X, %p), map=%p\n", mode, count, type, indices, (state.buffers.elements)?state.buffers.elements->data:NULL); +void glshim_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) { +//printf("glDrawElements(0x%04X, %d, 0x%04X, %p), map=%p\n", mode, count, type, indices, (glstate.buffers.elements)?glstate.buffers.elements->data:NULL); // TODO: split for count > 65535? // special check for QUADS and TRIANGLES that need multiple of 4 or 3 vertex... if (mode == GL_QUADS) while(count%4) count--; @@ -676,16 +687,16 @@ void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indic } noerrorShim(); - GLushort *sindices = copy_gl_array((state.vao->elements)?state.vao->elements->data + (uintptr_t)indices:indices, + GLushort *sindices = copy_gl_array((glstate.vao->elements)?glstate.vao->elements->data + (uintptr_t)indices:indices, type, 1, 0, GL_UNSIGNED_SHORT, 1, 0, count); - bool compiling = (state.list.active && (state.list.compiling || state.gl_batch)); + bool compiling = (glstate.list.active && (glstate.list.compiling || glstate.gl_batch)); if (compiling) { renderlist_t *list = NULL; GLsizei min, max; - NewStage(state.list.active, STAGE_DRAW); - list = state.list.active; + NewStage(glstate.list.active, STAGE_DRAW); + list = glstate.list.active; normalize_indices(sindices, &max, &min, count); list = arrays_to_renderlist(list, mode, min, max + 1 + min); @@ -694,7 +705,7 @@ void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indic list->indice_cap = count; //end_renderlist(list); - state.list.active = extend_renderlist(list); + glstate.list.active = extend_renderlist(list); return; } @@ -727,7 +738,7 @@ void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indic if (lenb && state.vao->pointers.a.buffer) state.vao->pointers.a.pointer += (uintptr_t)state.vao->pointers.a.buffer->data; + if (glstate.vao->b && glstate.vao->pointers.a.buffer) glstate.vao->pointers.a.pointer += (uintptr_t)glstate.vao->pointers.a.buffer->data; shift_pointer(color, color_array); shift_pointer(secondary, secondary_array); @@ -738,9 +749,9 @@ void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indic #undef shift_pointer #define client_state(A, B, C) \ - if(state.vao->A != state.clientstate.A) { \ + if(glstate.vao->A != glstate.clientstate.A) { \ C \ - if((state.clientstate.A = state.vao->A)==true) \ + if((glstate.clientstate.A = glstate.vao->A)==true) \ gles_glEnableClientState(B); \ else \ gles_glDisableClientState(B); \ @@ -748,62 +759,62 @@ void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indic GLenum mode_init = mode; - if (state.polygon_mode == GL_LINE && mode>=GL_TRIANGLES) + if (glstate.polygon_mode == GL_LINE && mode>=GL_TRIANGLES) mode = GL_LINE_LOOP; - if (state.polygon_mode == GL_POINT && mode>=GL_TRIANGLES) + if (glstate.polygon_mode == GL_POINT && mode>=GL_TRIANGLES) mode = GL_POINTS; if (mode == GL_QUAD_STRIP) mode = GL_TRIANGLE_STRIP; if (mode == GL_POLYGON) mode = GL_TRIANGLE_FAN; - if (state.render_mode == GL_SELECT) { - select_glDrawElements(&state.vao->pointers.vertex, mode, count, GL_UNSIGNED_SHORT, sindices); + if (glstate.render_mode == GL_SELECT) { + select_glDrawElements(&glstate.vao->pointers.vertex, mode, count, GL_UNSIGNED_SHORT, sindices); } else { // secondary color... GLfloat *final_colors = NULL; pointer_state_t old_color; client_state(color_array, GL_COLOR_ARRAY, ); - if (/*state.enable.color_sum && */(state.vao->secondary_array) && (state.vao->color_array)) { - final_colors=copy_gl_pointer_color(&state.vao->pointers.color, 4, 0, len, 0); - GLfloat* seconds_colors=(GLfloat*)copy_gl_pointer(&state.vao->pointers.secondary, 4, 0, len, 0); + if (/*glstate.enable.color_sum && */(glstate.vao->secondary_array) && (glstate.vao->color_array)) { + final_colors=copy_gl_pointer_color(&glstate.vao->pointers.color, 4, 0, len, 0); + GLfloat* seconds_colors=(GLfloat*)copy_gl_pointer(&glstate.vao->pointers.secondary, 4, 0, len, 0); for (int i=0; icolor_array && (state.vao->pointers.color.size != 4)) { + } else if (glstate.vao->color_array && (glstate.vao->pointers.color.size != 4)) { // Pandora doesn't like Color Pointer with size != 4 - if(state.vao->pointers.color.type == GL_UNSIGNED_BYTE) { - final_colors=copy_gl_pointer_bytecolor(&state.vao->pointers.color, 4, 0, len, 0); + if(glstate.vao->pointers.color.type == GL_UNSIGNED_BYTE) { + final_colors=copy_gl_pointer_bytecolor(&glstate.vao->pointers.color, 4, 0, len, 0); gles_glColorPointer(4, GL_UNSIGNED_BYTE, 0, final_colors); } else { - final_colors=copy_gl_pointer_color(&state.vao->pointers.color, 4, 0, len, 0); + final_colors=copy_gl_pointer_color(&glstate.vao->pointers.color, 4, 0, len, 0); gles_glColorPointer(4, GL_FLOAT, 0, final_colors); } - } else if (state.vao->color_array) - gles_glColorPointer(state.vao->pointers.color.size, state.vao->pointers.color.type, state.vao->pointers.color.stride, state.vao->pointers.color.pointer); + } else if (glstate.vao->color_array) + gles_glColorPointer(glstate.vao->pointers.color.size, glstate.vao->pointers.color.type, glstate.vao->pointers.color.stride, glstate.vao->pointers.color.pointer); client_state(normal_array, GL_NORMAL_ARRAY, ); - if (state.vao->normal_array) - gles_glNormalPointer(state.vao->pointers.normal.type, state.vao->pointers.normal.stride, state.vao->pointers.normal.pointer); + if (glstate.vao->normal_array) + gles_glNormalPointer(glstate.vao->pointers.normal.type, glstate.vao->pointers.normal.stride, glstate.vao->pointers.normal.pointer); client_state(vertex_array, GL_VERTEX_ARRAY, ); - if (state.vao->vertex_array) - gles_glVertexPointer(state.vao->pointers.vertex.size, state.vao->pointers.vertex.type, state.vao->pointers.vertex.stride, state.vao->pointers.vertex.pointer); - GLuint old_tex = state.texture.client; + if (glstate.vao->vertex_array) + gles_glVertexPointer(glstate.vao->pointers.vertex.size, glstate.vao->pointers.vertex.type, glstate.vao->pointers.vertex.stride, glstate.vao->pointers.vertex.pointer); + GLuint old_tex = glstate.texture.client; for (int aa=0; aatex_coord_array[aa]) { + if (glstate.vao->tex_coord_array[aa]) { tex_setup_texcoord(aa, len); } } - if (state.texture.client!=old_tex) - glClientActiveTexture(old_tex+GL_TEXTURE0); + if (glstate.texture.client!=old_tex) + glshim_glClientActiveTexture(old_tex+GL_TEXTURE0); - if (state.polygon_mode == GL_LINE && mode_init>=GL_TRIANGLES) { + if (glstate.polygon_mode == GL_LINE && mode_init>=GL_TRIANGLES) { int n, s; switch (mode_init) { case GL_TRIANGLES: @@ -842,16 +853,16 @@ void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indic // glColorPointer(old_color.size, old_color.type, old_color.stride, old_color.pointer); } for (int aa=0; aab && state.vao->pointers.a.buffer) state.vao->pointers.a.pointer -= (uintptr_t)state.vao->pointers.a.buffer->data; + if (glstate.vao->b && glstate.vao->pointers.a.buffer) glstate.vao->pointers.a.pointer -= (uintptr_t)glstate.vao->pointers.a.buffer->data; shift_pointer(color, color_array); shift_pointer(secondary, secondary_array); @@ -863,8 +874,9 @@ void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indic free(sindices); } } +void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) __attribute__((alias("glshim_glDrawElements"))); -void glDrawArrays(GLenum mode, GLint first, GLsizei count) { +void glshim_glDrawArrays(GLenum mode, GLint first, GLsizei count) { // special check for QUADS and TRIANGLES that need multiple of 4 or 3 vertex... if (mode == GL_QUADS) while(count%4) count--; else if (mode == GL_TRIANGLES) while(count%3) count--; @@ -883,7 +895,7 @@ void glDrawArrays(GLenum mode, GLint first, GLsizei count) { int cnt = 4*8000; for (int i=0; icount) cnt = count-i; - glDrawArrays(mode, i, cnt); + glshim_glDrawArrays(mode, i, cnt); } return; } @@ -898,15 +910,15 @@ void glDrawArrays(GLenum mode, GLint first, GLsizei count) { LOAD_GLES(glDisableClientState); renderlist_t *list; - if (state.list.active && (state.list.compiling || state.gl_batch)) { - NewStage(state.list.active, STAGE_DRAW); - state.list.active = arrays_to_renderlist(state.list.active, mode, first, count+first); + if (glstate.list.active && (glstate.list.compiling || glstate.gl_batch)) { + NewStage(glstate.list.active, STAGE_DRAW); + glstate.list.active = arrays_to_renderlist(glstate.list.active, mode, first, count+first); return; } - if (state.polygon_mode == GL_LINE && mode>=GL_TRIANGLES) + if (glstate.polygon_mode == GL_LINE && mode>=GL_TRIANGLES) mode = GL_LINE_LOOP; - if (state.polygon_mode == GL_POINT && mode>=GL_TRIANGLES) + if (glstate.polygon_mode == GL_POINT && mode>=GL_TRIANGLES) mode = GL_POINTS; if (should_intercept_render(mode)) { @@ -920,7 +932,7 @@ void glDrawArrays(GLenum mode, GLint first, GLsizei count) { LOAD_GLES(glDrawArrays); #define shift_pointer(a, b) \ - if (state.vao->b && state.vao->pointers.a.buffer) state.vao->pointers.a.pointer = state.vao->pointers.a.buffer->data + (uintptr_t)state.vao->pointers.a.pointer; + if (glstate.vao->b && glstate.vao->pointers.a.buffer) glstate.vao->pointers.a.pointer = glstate.vao->pointers.a.buffer->data + (uintptr_t)glstate.vao->pointers.a.pointer; shift_pointer(color, color_array); shift_pointer(secondary, secondary_array); @@ -937,56 +949,56 @@ void glDrawArrays(GLenum mode, GLint first, GLsizei count) { if (mode == GL_POLYGON) mode = GL_TRIANGLE_FAN; - if (state.render_mode == GL_SELECT) { - select_glDrawArrays(&state.vao->pointers.vertex, mode, first, count); + if (glstate.render_mode == GL_SELECT) { + select_glDrawArrays(&glstate.vao->pointers.vertex, mode, first, count); } else { // setup the Array Pointers // secondary color... GLfloat *final_colors = NULL; client_state(color_array, GL_COLOR_ARRAY, ); - if (/*state.enable.color_sum && */(state.vao->secondary_array) && (state.vao->color_array)) { - final_colors=copy_gl_pointer_color(&state.vao->pointers.color, 4, 0, count+first, 0); - GLfloat* seconds_colors=(GLfloat*)copy_gl_pointer(&state.vao->pointers.secondary, 4, first, count+first, 0); + if (/*glstate.enable.color_sum && */(glstate.vao->secondary_array) && (glstate.vao->color_array)) { + final_colors=copy_gl_pointer_color(&glstate.vao->pointers.color, 4, 0, count+first, 0); + GLfloat* seconds_colors=(GLfloat*)copy_gl_pointer(&glstate.vao->pointers.secondary, 4, first, count+first, 0); for (int i=0; i<(count+first)*4; i++) final_colors[i]+=seconds_colors[i]; gles_glColorPointer(4, GL_FLOAT, 0, final_colors); free(seconds_colors); - } else if ((state.vao->color_array && (state.vao->pointers.color.size != 4)) - || (state.vao->color_array && (state.vao->pointers.color.stride!=0) && (state.vao->pointers.color.type != GL_FLOAT))) { + } else if ((glstate.vao->color_array && (glstate.vao->pointers.color.size != 4)) + || (glstate.vao->color_array && (glstate.vao->pointers.color.stride!=0) && (glstate.vao->pointers.color.type != GL_FLOAT))) { // Pandora doesn't like Color Pointer with size != 4 - if(state.vao->pointers.color.type == GL_UNSIGNED_BYTE) { - final_colors=copy_gl_pointer_bytecolor(&state.vao->pointers.color, 4, 0, count+first, 0); + if(glstate.vao->pointers.color.type == GL_UNSIGNED_BYTE) { + final_colors=copy_gl_pointer_bytecolor(&glstate.vao->pointers.color, 4, 0, count+first, 0); gles_glColorPointer(4, GL_UNSIGNED_BYTE, 0, final_colors); } else { - final_colors=copy_gl_pointer_color(&state.vao->pointers.color, 4, 0, count+first, 0); + final_colors=copy_gl_pointer_color(&glstate.vao->pointers.color, 4, 0, count+first, 0); gles_glColorPointer(4, GL_FLOAT, 0, final_colors); } - } else if (state.vao->color_array) - gles_glColorPointer(state.vao->pointers.color.size, state.vao->pointers.color.type, state.vao->pointers.color.stride, state.vao->pointers.color.pointer); + } else if (glstate.vao->color_array) + gles_glColorPointer(glstate.vao->pointers.color.size, glstate.vao->pointers.color.type, glstate.vao->pointers.color.stride, glstate.vao->pointers.color.pointer); client_state(normal_array, GL_NORMAL_ARRAY, ); - if (state.vao->normal_array) - gles_glNormalPointer(state.vao->pointers.normal.type, state.vao->pointers.normal.stride, state.vao->pointers.normal.pointer); + if (glstate.vao->normal_array) + gles_glNormalPointer(glstate.vao->pointers.normal.type, glstate.vao->pointers.normal.stride, glstate.vao->pointers.normal.pointer); client_state(vertex_array, GL_VERTEX_ARRAY, ); - if (state.vao->vertex_array) - gles_glVertexPointer(state.vao->pointers.vertex.size, state.vao->pointers.vertex.type, state.vao->pointers.vertex.stride, state.vao->pointers.vertex.pointer); - GLuint old_tex = state.texture.client; + if (glstate.vao->vertex_array) + gles_glVertexPointer(glstate.vao->pointers.vertex.size, glstate.vao->pointers.vertex.type, glstate.vao->pointers.vertex.stride, glstate.vao->pointers.vertex.pointer); + GLuint old_tex = glstate.texture.client; for (int aa=0; aatex_coord_array[aa]) { + if (glstate.vao->tex_coord_array[aa]) { tex_setup_texcoord(aa, count+first); /*glClientActiveTexture(aa+GL_TEXTURE0); - gles_glTexCoordPointer(state.pointers.tex_coord[aa].size, state.pointers.tex_coord[aa].type, state.pointers.tex_coord[aa].stride, state.pointers.tex_coord[aa].pointer);*/ + gles_glTexCoordPointer(glstate.pointers.tex_coord[aa].size, glstate.pointers.tex_coord[aa].type, glstate.pointers.tex_coord[aa].stride, glstate.pointers.tex_coord[aa].pointer);*/ } } - if (state.texture.client!=old_tex) - glClientActiveTexture(old_tex+GL_TEXTURE0); + if (glstate.texture.client!=old_tex) + glshim_glClientActiveTexture(old_tex+GL_TEXTURE0); - if (state.polygon_mode == GL_LINE && mode_init>=GL_TRIANGLES) { + if (glstate.polygon_mode == GL_LINE && mode_init>=GL_TRIANGLES) { int n, s; switch (mode_init) { case GL_TRIANGLES: @@ -1024,15 +1036,15 @@ void glDrawArrays(GLenum mode, GLint first, GLsizei count) { free(final_colors); } for (int aa=0; aab && state.vao->pointers.a.buffer) state.vao->pointers.a.pointer = state.vao->pointers.a.pointer - (uintptr_t)state.vao->pointers.a.buffer->data; + if (glstate.vao->b && glstate.vao->pointers.a.buffer) glstate.vao->pointers.a.pointer = glstate.vao->pointers.a.pointer - (uintptr_t)glstate.vao->pointers.a.buffer->data; shift_pointer(color, color_array); shift_pointer(secondary, secondary_array); @@ -1045,41 +1057,47 @@ void glDrawArrays(GLenum mode, GLint first, GLsizei count) { } } #undef client_state +void glDrawArrays(GLenum mode, GLint first, GLsizei count) __attribute__((alias("glshim_glDrawArrays"))); #ifndef USE_ES2 #define clone_gl_pointer(t, s)\ - t.size = s; t.type = type; t.stride = stride; t.pointer = pointer; t.buffer = state.vao->vertex -void glVertexPointer(GLint size, GLenum type, + t.size = s; t.type = type; t.stride = stride; t.pointer = pointer; t.buffer = glstate.vao->vertex +void glshim_glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { noerrorShim(); - clone_gl_pointer(state.vao->pointers.vertex, size); + clone_gl_pointer(glstate.vao->pointers.vertex, size); } -void glColorPointer(GLint size, GLenum type, +void glshim_glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { noerrorShim(); - clone_gl_pointer(state.vao->pointers.color, size); + clone_gl_pointer(glstate.vao->pointers.color, size); } -void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer) { +void glshim_glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer) { noerrorShim(); - clone_gl_pointer(state.vao->pointers.normal, 3); + clone_gl_pointer(glstate.vao->pointers.normal, 3); } -void glTexCoordPointer(GLint size, GLenum type, +void glshim_glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { noerrorShim(); - clone_gl_pointer(state.vao->pointers.tex_coord[state.texture.client], size); + clone_gl_pointer(glstate.vao->pointers.tex_coord[glstate.texture.client], size); } -void glSecondaryColorPointer(GLint size, GLenum type, +void glshim_glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { if (size!=3) return; // Size must be 3... - clone_gl_pointer(state.vao->pointers.secondary, size); + clone_gl_pointer(glstate.vao->pointers.secondary, size); noerrorShim(); } #undef clone_gl_pointer #endif +void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) __attribute__((alias("glshim_glVertexPointer"))); +void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) __attribute__((alias("glshim_glColorPointer"))); +void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer) __attribute__((alias("glshim_glNormalPointer"))); +void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) __attribute__((alias("glshim_glTexCoordPointer"))); +void glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) __attribute__((alias("glshim_glSecondaryColorPointer"))); -void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer) { +void glshim_glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer) { uintptr_t ptr = (uintptr_t)pointer; // element lengths GLsizei tex=0, color=0, normal=0, vert=0; @@ -1156,64 +1174,67 @@ void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer) { normal * gl_sizeof(nf) + vert * gl_sizeof(vf); if (tex) { - glEnableClientState(GL_TEXTURE_COORD_ARRAY); - glTexCoordPointer(tex, tf, stride, (GLvoid *)ptr); + glshim_glEnableClientState(GL_TEXTURE_COORD_ARRAY); + glshim_glTexCoordPointer(tex, tf, stride, (GLvoid *)ptr); ptr += tex * gl_sizeof(tf); } if (color) { - glEnableClientState(GL_COLOR_ARRAY); - glColorPointer(color, cf, stride, (GLvoid *)ptr); + glshim_glEnableClientState(GL_COLOR_ARRAY); + glshim_glColorPointer(color, cf, stride, (GLvoid *)ptr); ptr += color * gl_sizeof(cf); } if (normal) { - glEnableClientState(GL_NORMAL_ARRAY); - glNormalPointer(nf, stride, (GLvoid *)ptr); + glshim_glEnableClientState(GL_NORMAL_ARRAY); + glshim_glNormalPointer(nf, stride, (GLvoid *)ptr); ptr += normal * gl_sizeof(nf); } if (vert) { - glEnableClientState(GL_VERTEX_ARRAY); - glVertexPointer(vert, vf, stride, (GLvoid *)ptr); + glshim_glEnableClientState(GL_VERTEX_ARRAY); + glshim_glVertexPointer(vert, vf, stride, (GLvoid *)ptr); } } +void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer) __attribute__((alias("glshim_glInterleavedArrays"))); // immediate mode functions -void glBegin(GLenum mode) { - if (!state.list.active) - state.list.active = alloc_renderlist(); - NewStage(state.list.active, STAGE_DRAW); - state.list.active->mode = mode; - state.list.active->mode_init = mode; +void glshim_glBegin(GLenum mode) { + if (!glstate.list.active) + glstate.list.active = alloc_renderlist(); + NewStage(glstate.list.active, STAGE_DRAW); + glstate.list.active->mode = mode; + glstate.list.active->mode_init = mode; noerrorShim(); // TODO, check Enum validity } +void glBegin(GLenum mode) __attribute__((alias("glshim_glBegin"))); -void glEnd() { - if (!state.list.active) return; - // check if TEXTUREx is activate and no TexCoord (or texgen), in that cas, create a dummy one base on state... +void glshim_glEnd() { + if (!glstate.list.active) return; + // check if TEXTUREx is activate and no TexCoord (or texgen), in that cas, create a dummy one base on glstate... for (int a=0; atex[a]==0) && (!state.enable.texgen_s[a]))) - rlMultiTexCoord4f(state.list.active, GL_TEXTURE0+a, state.texcoord[a][0], state.texcoord[a][1], state.texcoord[a][2], state.texcoord[a][3]); + if (glstate.enable.texture_2d[a] && ((glstate.list.active->tex[a]==0) && (!glstate.enable.texgen_s[a]))) + rlMultiTexCoord4f(glstate.list.active, GL_TEXTURE0+a, glstate.texcoord[a][0], glstate.texcoord[a][1], glstate.texcoord[a][2], glstate.texcoord[a][3]); // render if we're not in a display list - if (!(state.list.compiling || state.gl_batch)) { - renderlist_t *mylist = state.list.active; - state.list.active = NULL; + if (!(glstate.list.compiling || glstate.gl_batch)) { + renderlist_t *mylist = glstate.list.active; + glstate.list.active = NULL; end_renderlist(mylist); draw_renderlist(mylist); free_renderlist(mylist); } else { - state.list.active = extend_renderlist(state.list.active); + glstate.list.active = extend_renderlist(glstate.list.active); } noerrorShim(); } +void glEnd() __attribute__((alias("glshim_glEnd"))); -void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) { - state.normal[0] = nx; state.normal[1] = ny; state.normal[2] = nz; - if (state.list.active) { - if (state.list.active->stage != STAGE_DRAW) { - if (state.list.active->stage != STAGE_DRAW) { +void glshim_glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) { + glstate.normal[0] = nx; glstate.normal[1] = ny; glstate.normal[2] = nz; + if (glstate.list.active) { + if (glstate.list.active->stage != STAGE_DRAW) { + if (glstate.list.active->stage != STAGE_DRAW) { PUSH_IF_COMPILING(glNormal3f); } } else { - rlNormal3f(state.list.active, nx, ny, nz); + rlNormal3f(glstate.list.active, nx, ny, nz); noerrorShim(); } } @@ -1225,23 +1246,25 @@ void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) { } #endif } +void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) __attribute__((alias("glshim_glNormal3f"))); -void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { - if (state.list.active) { - rlVertex4f(state.list.active, x, y, z, w); +void glshim_glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { + if (glstate.list.active) { + rlVertex4f(glstate.list.active, x, y, z, w); noerrorShim(); } } +void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) __attribute__((alias("glshim_glVertex4f"))); -void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { +void glshim_glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { // change the state first thing - state.color[0] = red; state.color[1] = green; - state.color[2] = blue; state.color[3] = alpha; - if (state.list.active) { - if (state.list.active->stage != STAGE_DRAW) { + glstate.color[0] = red; glstate.color[1] = green; + glstate.color[2] = blue; glstate.color[3] = alpha; + if (glstate.list.active) { + if (glstate.list.active->stage != STAGE_DRAW) { PUSH_IF_COMPILING(glColor4f); } - rlColor4f(state.list.active, red, green, blue, alpha); + rlColor4f(glstate.list.active, red, green, blue, alpha); noerrorShim(); } #ifndef USE_ES2 @@ -1252,26 +1275,28 @@ void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { } #endif } +void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) __attribute__((alias("glshim_glColor4f"))); -void glSecondaryColor3f(GLfloat r, GLfloat g, GLfloat b) { +void glshim_glSecondaryColor3f(GLfloat r, GLfloat g, GLfloat b) { // change the state first thing - state.secondary[0] = r; state.secondary[1] = g; - state.secondary[2] = b; - if (state.list.active) { - rlSecondary3f(state.list.active, r, g, b); + glstate.secondary[0] = r; glstate.secondary[1] = g; + glstate.secondary[2] = b; + if (glstate.list.active) { + rlSecondary3f(glstate.list.active, r, g, b); noerrorShim(); } else { noerrorShim(); } } +void glSecondaryColor3f(GLfloat r, GLfloat g, GLfloat b) __attribute__((alias("glshim_glSecondaryColor3f"))); #ifndef USE_ES2 -void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) { +void glshim_glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) { LOAD_GLES(glMaterialfv); - if ((state.list.compiling || state.gl_batch) && state.list.active) { + if ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active) { //TODO: Materialfv can be done per vertex, how to handle that ?! - //NewStage(state.list.active, STAGE_MATERIAL); - rlMaterialfv(state.list.active, face, pname, params); + //NewStage(glstate.list.active, STAGE_MATERIAL); + rlMaterialfv(glstate.list.active, face, pname, params); noerrorShim(); } else { if (face!=GL_FRONT_AND_BACK) { @@ -1281,14 +1306,15 @@ void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) { errorGL(); } } -void glMaterialf(GLenum face, GLenum pname, const GLfloat param) { +void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) __attribute__((alias("glshim_glMaterialfv"))); +void glshim_glMaterialf(GLenum face, GLenum pname, const GLfloat param) { LOAD_GLES(glMaterialf); - if ((state.list.compiling || state.gl_batch) && state.list.active) { + if ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active) { GLfloat params[4]; memset(params, 0, 4*sizeof(GLfloat)); params[0] = param; - NewStage(state.list.active, STAGE_MATERIAL); - rlMaterialfv(state.list.active, face, pname, params); + NewStage(glstate.list.active, STAGE_MATERIAL); + rlMaterialfv(glstate.list.active, face, pname, params); noerrorShim(); } else { if (face!=GL_FRONT_AND_BACK) { @@ -1298,35 +1324,40 @@ void glMaterialf(GLenum face, GLenum pname, const GLfloat param) { errorGL(); } } +void glMaterialf(GLenum face, GLenum pname, const GLfloat param) __attribute__((alias("glshim_glMaterialf"))); #endif -void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q) { - state.texcoord[0][0] = s; state.texcoord[0][1] = t; - state.texcoord[0][2] = r; state.texcoord[0][3] = q; - if (state.list.active) { - rlTexCoord4f(state.list.active, s, t, r, q); +void glshim_glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q) { + glstate.texcoord[0][0] = s; glstate.texcoord[0][1] = t; + glstate.texcoord[0][2] = r; glstate.texcoord[0][3] = q; + if (glstate.list.active) { + rlTexCoord4f(glstate.list.active, s, t, r, q); noerrorShim(); } else { noerrorShim(); } } +void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q) __attribute__((alias("glshim_glTexCoord4f"))); -void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { - state.texcoord[target-GL_TEXTURE0][0] = s; state.texcoord[target-GL_TEXTURE0][1] = t; - state.texcoord[target-GL_TEXTURE0][2] = r; state.texcoord[target-GL_TEXTURE0][3] = q; +void glshim_glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { + glstate.texcoord[target-GL_TEXTURE0][0] = s; glstate.texcoord[target-GL_TEXTURE0][1] = t; + glstate.texcoord[target-GL_TEXTURE0][2] = r; glstate.texcoord[target-GL_TEXTURE0][3] = q; // TODO, error if target is unsuported texture.... - if (state.list.active) { - rlMultiTexCoord4f(state.list.active, target, s, t, r, q); + if (glstate.list.active) { + rlMultiTexCoord4f(glstate.list.active, target, s, t, r, q); noerrorShim(); } else { noerrorShim(); } } -void glArrayElement(GLint i) { +void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) __attribute__((alias("glshim_glMultiTexCoord4f"))); +void glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) __attribute__((alias("glshim_glMultiTexCoord4f"))); + +void glshim_glArrayElement(GLint i) { GLfloat *v; pointer_state_t *p; - p = &state.vao->pointers.color; - if (state.vao->color_array) { + p = &glstate.vao->pointers.color; + if (glstate.vao->color_array) { v = gl_pointer_index(p, i); GLfloat scale = 1.0f/gl_max_value(p->type); // color[3] defaults to 1.0f @@ -1337,10 +1368,10 @@ void glArrayElement(GLint i) { for (int i = 0; i < p->size; i++) { v[i] *= scale; } - glColor4fv(v); + glshim_glColor4fv(v); } - p = &state.vao->pointers.secondary; - if (state.vao->secondary_array) { + p = &glstate.vao->pointers.secondary; + if (glstate.vao->secondary_array) { v = gl_pointer_index(p, i); GLfloat scale = 1.0f/gl_max_value(p->type); @@ -1348,149 +1379,155 @@ void glArrayElement(GLint i) { for (int i = 0; i < p->size; i++) { v[i] *= scale; } - glSecondaryColor3fv(v); + glshim_glSecondaryColor3fv(v); } - p = &state.vao->pointers.normal; - if (state.vao->normal_array) { + p = &glstate.vao->pointers.normal; + if (glstate.vao->normal_array) { v = gl_pointer_index(p, i); - glNormal3fv(v); + glshim_glNormal3fv(v); } - p = &state.vao->pointers.tex_coord[0]; - if (state.vao->tex_coord_array[0]) { + p = &glstate.vao->pointers.tex_coord[0]; + if (glstate.vao->tex_coord_array[0]) { v = gl_pointer_index(p, i); if (p->size<4) - glTexCoord2fv(v); + glshim_glTexCoord2fv(v); else - glTexCoord4fv(v); + glshim_glTexCoord4fv(v); } int a; for (a=1; apointers.tex_coord[a]; - if (state.vao->tex_coord_array[a]) { + p = &glstate.vao->pointers.tex_coord[a]; + if (glstate.vao->tex_coord_array[a]) { v = gl_pointer_index(p, i); if (p->size<4) - glMultiTexCoord2fv(GL_TEXTURE0+a, v); + glshim_glMultiTexCoord2fv(GL_TEXTURE0+a, v); else - glMultiTexCoord4fv(GL_TEXTURE0+a, v); + glshim_glMultiTexCoord4fv(GL_TEXTURE0+a, v); } } - p = &state.vao->pointers.vertex; - if (state.vao->vertex_array) { + p = &glstate.vao->pointers.vertex; + if (glstate.vao->vertex_array) { v = gl_pointer_index(p, i); if (p->size == 4) { - glVertex4fv(v); + glshim_glVertex4fv(v); } else if (p->size == 3) { - glVertex3fv(v); + glshim_glVertex3fv(v); } else { - glVertex2fv(v); + glshim_glVertex2fv(v); } } } +void glArrayElement(GLint i) __attribute__((alias("glshim_glArrayElement"))); // TODO: between a lock and unlock, I can assume the array pointers are unchanged // so I can build a renderlist_t on the first call and hold onto it // maybe I need a way to call a renderlist_t with (first, count) -void glLockArraysEXT(GLint first, GLsizei count) { - state.list.locked = true; +void glshim_glLockArrays(GLint first, GLsizei count) { + glstate.list.locked = true; noerrorShim(); } - -void glUnlockArraysEXT() { - state.list.locked = false; +void glLockArraysEXT(GLint first, GLsizei count) __attribute__((alias("glshim_glLockArrays"))); +void glshim_glUnlockArrays() { + glstate.list.locked = false; noerrorShim(); } - +void glUnlockArraysEXT() __attribute__((alias("glshim_glUnlockArrays"))); // display lists -static renderlist_t *glGetList(GLuint list) { +static renderlist_t *glshim_glGetList(GLuint list) { if (glIsList(list)) - return state.lists[list - 1]; + return glstate.lists[list - 1]; return NULL; } -GLuint glGenLists(GLsizei range) { +GLuint glshim_glGenLists(GLsizei range) { if (range<0) { errorShim(GL_INVALID_VALUE); return 0; } noerrorShim(); - int start = state.list.count; - if (state.lists == NULL) { - state.list.cap += range + 100; - state.lists = malloc(state.list.cap * sizeof(uintptr_t)); - } else if (state.list.count + range > state.list.cap) { - state.list.cap += range + 100; - state.lists = realloc(state.lists, state.list.cap * sizeof(uintptr_t)); + int start = glstate.list.count; + if (glstate.lists == NULL) { + glstate.list.cap += range + 100; + glstate.lists = malloc(glstate.list.cap * sizeof(uintptr_t)); + } else if (glstate.list.count + range > glstate.list.cap) { + glstate.list.cap += range + 100; + glstate.lists = realloc(glstate.lists, glstate.list.cap * sizeof(uintptr_t)); } - state.list.count += range; + glstate.list.count += range; for (int i = 0; i < range; i++) { - state.lists[start+i] = NULL; + glstate.lists[start+i] = NULL; } return start + 1; } +GLuint glGenLists(GLsizei range) __attribute__((alias("glshim_glGenLists"))); -void glNewList(GLuint list, GLenum mode) { + +void glshim_glNewList(GLuint list, GLenum mode) { errorShim(GL_INVALID_VALUE); if (list==0) return; if (! glIsList(list)) return; noerrorShim(); - if (state.gl_batch) { - state.gl_batch = 0; + if (glstate.gl_batch) { + glstate.gl_batch = 0; flush(); } - state.list.name = list; - state.list.mode = mode; - // TODO: if state.list.active is already defined, we probably need to clean up here - state.list.active = alloc_renderlist(); - state.list.compiling = true; + glstate.list.name = list; + glstate.list.mode = mode; + // TODO: if glstate.list.active is already defined, we probably need to clean up here + glstate.list.active = alloc_renderlist(); + glstate.list.compiling = true; } +void glNewList(GLuint list, GLenum mode) __attribute__((alias("glshim_glNewList"))); -void glEndList() { +void glshim_glEndList() { noerrorShim(); - GLuint list = state.list.name; - if (state.list.compiling) { + GLuint list = glstate.list.name; + if (glstate.list.compiling) { // Free the previous list if it exist... - free_renderlist(state.lists[list - 1]); - state.lists[list - 1] = GetFirst(state.list.active); - state.list.compiling = false; - end_renderlist(state.list.active); - state.list.active = NULL; + free_renderlist(glstate.lists[list - 1]); + glstate.lists[list - 1] = GetFirst(glstate.list.active); + glstate.list.compiling = false; + end_renderlist(glstate.list.active); + glstate.list.active = NULL; if (gl_batch==1) { init_batch(); } - if (state.list.mode == GL_COMPILE_AND_EXECUTE) { + if (glstate.list.mode == GL_COMPILE_AND_EXECUTE) { glCallList(list); } } } +void glEndList() __attribute__((alias("glshim_glEndList"))); -void glCallList(GLuint list) { +void glshim_glCallList(GLuint list) { noerrorShim(); - if ((state.list.compiling || state.gl_batch) && state.list.active) { - NewStage(state.list.active, STAGE_CALLLIST); - state.list.active->glcall_list = list; + if ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active) { + NewStage(glstate.list.active, STAGE_CALLLIST); + glstate.list.active->glcall_list = list; return; } // TODO: the output of this call can be compiled into another display list - renderlist_t *l = glGetList(list); + renderlist_t *l = glshim_glGetList(list); if (l) draw_renderlist(l); } +void glCallList(GLuint list) __attribute__((alias("glshim_glCallList"))); void glPushCall(void *call) { - if ((state.list.compiling || state.gl_batch) && state.list.active) { - NewStage(state.list.active, STAGE_GLCALL); - rlPushCall(state.list.active, call); + if ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active) { + NewStage(glstate.list.active, STAGE_GLCALL); + rlPushCall(glstate.list.active, call); } } -void glCallLists(GLsizei n, GLenum type, const GLvoid *lists) { +void glshim_glCallLists(GLsizei n, GLenum type, const GLvoid *lists) { #define call(name, type) \ - case name: glCallList(((type *)lists)[i] + state.list.base); break + case name: glCallList(((type *)lists)[i] + glstate.list.base); break // seriously wtf #define call_bytes(name, stride) \ @@ -1500,7 +1537,7 @@ void glCallLists(GLsizei n, GLenum type, const GLvoid *lists) { for (j = 0; j < stride; j++) { \ list += *(l + (i * stride + j)) << (stride - j); \ } \ - glCallList(list + state.list.base); \ + glshim_glCallList(list + glstate.list.base); \ break unsigned int i, j; @@ -1523,65 +1560,70 @@ void glCallLists(GLsizei n, GLenum type, const GLvoid *lists) { #undef call #undef call_bytes } +void glCallLists(GLsizei n, GLenum type, const GLvoid *lists) __attribute__((alias("glshim_glCallLists"))); -void glDeleteList(GLuint list) { - if(state.gl_batch) { +void glshim_glDeleteList(GLuint list) { + if(glstate.gl_batch) { flush(); } - renderlist_t *l = glGetList(list); + renderlist_t *l = glshim_glGetList(list); if (l) { free_renderlist(l); - state.lists[list-1] = NULL; + glstate.lists[list-1] = NULL; } // lists just grow upwards, maybe use a better storage mechanism? } -void glDeleteLists(GLuint list, GLsizei range) { +void glshim_glDeleteLists(GLuint list, GLsizei range) { noerrorShim(); for (int i = 0; i < range; i++) { - glDeleteList(list+i); + glshim_glDeleteList(list+i); } } +void glDeleteLists(GLuint list, GLsizei range) __attribute__((alias("glshim_glDeleteLists"))); -void glListBase(GLuint base) { +void glshim_glListBase(GLuint base) { noerrorShim(); - state.list.base = base; + glstate.list.base = base; } +void glListBase(GLuint base) __attribute__((alias("glshim_glListBase"))); -GLboolean glIsList(GLuint list) { +GLboolean glshim_glIsList(GLuint list) { noerrorShim(); - if (list - 1 < state.list.count) { + if (list - 1 < glstate.list.count) { return true; } return false; } +GLboolean glIsList(GLuint list) __attribute__((alias("glshim_glIsList"))); -void glPolygonMode(GLenum face, GLenum mode) { +void glshim_glPolygonMode(GLenum face, GLenum mode) { noerrorShim(); if (face != GL_FRONT_AND_BACK) errorShim(GL_INVALID_ENUM); if (face == GL_BACK) return; //TODO, handle face enum for polygon mode != GL_FILL - if ((state.list.compiling || state.gl_batch) && (state.list.active)) { - NewStage(state.list.active, STAGE_POLYGON); -/* if (state.list.active->polygon_mode) - state.list.active = extend_renderlist(state.list.active);*/ - state.list.active->polygon_mode = mode; + if ((glstate.list.compiling || glstate.gl_batch) && (glstate.list.active)) { + NewStage(glstate.list.active, STAGE_POLYGON); +/* if (glstate.list.active->polygon_mode) + glstate.list.active = extend_renderlist(glstate.list.active);*/ + glstate.list.active->polygon_mode = mode; return; } switch(mode) { case GL_LINE: case GL_POINT: - state.polygon_mode = mode; + glstate.polygon_mode = mode; break; case GL_FILL: - state.polygon_mode = 0; + glstate.polygon_mode = 0; break; default: - state.polygon_mode = 0; + glstate.polygon_mode = 0; } } +void glPolygonMode(GLenum face, GLenum mode) __attribute__((alias("glshim_glPolygonMode"))); void alloc_matrix(matrixstack_t **matrixstack, int depth) { *matrixstack = (matrixstack_t*)malloc(sizeof(matrixstack_t)); @@ -1589,40 +1631,40 @@ void alloc_matrix(matrixstack_t **matrixstack, int depth) { (*matrixstack)->stack = (GLfloat*)malloc(sizeof(GLfloat)*depth*16); } -void glPushMatrix() { +void glshim_glPushMatrix() { PUSH_IF_COMPILING(glPushMatrix); LOAD_GLES(glPushMatrix); // Alloc matrix stacks if needed - if (!state.projection_matrix) - alloc_matrix(&state.projection_matrix, MAX_STACK_PROJECTION); - if (!state.modelview_matrix) - alloc_matrix(&state.modelview_matrix, MAX_STACK_MODELVIEW); - if (!state.texture_matrix) { - state.texture_matrix = (matrixstack_t**)malloc(sizeof(matrixstack_t*)*MAX_TEX); + if (!glstate.projection_matrix) + alloc_matrix(&glstate.projection_matrix, MAX_STACK_PROJECTION); + if (!glstate.modelview_matrix) + alloc_matrix(&glstate.modelview_matrix, MAX_STACK_MODELVIEW); + if (!glstate.texture_matrix) { + glstate.texture_matrix = (matrixstack_t**)malloc(sizeof(matrixstack_t*)*MAX_TEX); for (int i=0; itopstack+16*state.projection_matrix->top++); + if (glstate.projection_matrix->topstack+16*glstate.projection_matrix->top++); } else errorShim(GL_STACK_OVERFLOW); break; case GL_MODELVIEW: - if (state.modelview_matrix->topstack+16*state.modelview_matrix->top++); + if (glstate.modelview_matrix->topstack+16*glstate.modelview_matrix->top++); } else errorShim(GL_STACK_OVERFLOW); break; case GL_TEXTURE: - if (state.texture_matrix[state.texture.active]->topstack+16*state.texture_matrix[state.texture.active]->top++); + if (glstate.texture_matrix[glstate.texture.active]->topstack+16*glstate.texture_matrix[glstate.texture.active]->top++); } else errorShim(GL_STACK_OVERFLOW); break; @@ -1634,41 +1676,42 @@ void glPushMatrix() { //gles_glPushMatrix(); } } +void glPushMatrix() __attribute__((alias("glshim_glPushMatrix"))); -void glPopMatrix() { +void glshim_glPopMatrix() { PUSH_IF_COMPILING(glPopMatrix); LOAD_GLES(glPopMatrix); // Alloc matrix stacks if needed - if (!state.projection_matrix) - alloc_matrix(&state.projection_matrix, MAX_STACK_PROJECTION); - if (!state.modelview_matrix) - alloc_matrix(&state.modelview_matrix, MAX_STACK_MODELVIEW); - if (!state.texture_matrix) { - state.texture_matrix = (matrixstack_t**)malloc(sizeof(matrixstack_t*)*MAX_TEX); + if (!glstate.projection_matrix) + alloc_matrix(&glstate.projection_matrix, MAX_STACK_PROJECTION); + if (!glstate.modelview_matrix) + alloc_matrix(&glstate.modelview_matrix, MAX_STACK_MODELVIEW); + if (!glstate.texture_matrix) { + glstate.texture_matrix = (matrixstack_t**)malloc(sizeof(matrixstack_t*)*MAX_TEX); for (int i=0; itop) { - glLoadMatrixf(state.projection_matrix->stack+16*--state.projection_matrix->top); + if (glstate.projection_matrix->top) { + glshim_glLoadMatrixf(glstate.projection_matrix->stack+16*--glstate.projection_matrix->top); } else errorShim(GL_STACK_UNDERFLOW); break; case GL_MODELVIEW: - if (state.modelview_matrix->top) { - glLoadMatrixf(state.modelview_matrix->stack+16*--state.modelview_matrix->top); + if (glstate.modelview_matrix->top) { + glshim_glLoadMatrixf(glstate.modelview_matrix->stack+16*--glstate.modelview_matrix->top); } else errorShim(GL_STACK_UNDERFLOW); break; case GL_TEXTURE: - if (state.texture_matrix[state.texture.active]->top) { - glLoadMatrixf(state.texture_matrix[state.texture.active]->stack+16*--state.texture_matrix[state.texture.active]->top); + if (glstate.texture_matrix[glstate.texture.active]->top) { + glshim_glLoadMatrixf(glstate.texture_matrix[glstate.texture.active]->stack+16*--glstate.texture_matrix[glstate.texture.active]->top); } else errorShim(GL_STACK_UNDERFLOW); break; @@ -1680,18 +1723,20 @@ void glPopMatrix() { //gles_glPopMatrix(); } } +void glPopMatrix() __attribute__((alias("glshim_glPopMatrix"))); -GLenum glGetError( void) { +GLenum glshim_glGetError() { LOAD_GLES(glGetError); - if (state.shim_error) { - GLenum tmp = state.last_error; - state.last_error = GL_NO_ERROR; + if (glstate.shim_error) { + GLenum tmp = glstate.last_error; + glstate.last_error = GL_NO_ERROR; return tmp; } return gles_glGetError(); } +GLenum glGetError() __attribute__((alias("glshim_glGetError"))); -void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { +void glshim_glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { PUSH_IF_COMPILING(glBlendColor); LOAD_GLES_OES(glBlendColor); if (gles_glBlendColor) @@ -1699,14 +1744,38 @@ void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { else printf("stub glBlendColor(%f, %f, %f, %f)\n", red, green, blue, alpha); } +void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) __attribute__((alias("glshim_glBlendColor"))); -void glBlendFunc(GLenum sfactor, GLenum dfactor) { - if (state.list.active && (state.gl_batch && !state.list.compiling)) { - if ((state.statebatch.blendfunc_s == sfactor) && (state.statebatch.blendfunc_d == dfactor)) +void glshim_glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) +{ + PUSH_IF_COMPILING(glBlendFuncSeparate); + LOAD_GLES_OES(glBlendFuncSeparate); +#ifdef ODROID + if(gles_glBlendFuncSeparate) +#endif + gles_glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); +} +void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) __attribute__((alias("glshim_glBlendFuncSeparate"))); +void glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) __attribute__((alias("glshim_glBlendFuncSeparate"))); + +void glshim_glBlendEquationSeparate(GLenum modeRGB, GLenum modeA) { + PUSH_IF_COMPILING(glBlendEquationSeparate); + LOAD_GLES_OES(glBlendEquationSeparate); +#ifdef ODROID + if(gles_glBlendEquationSeparate) +#endif + gles_glBlendEquationSeparate(modeRGB, modeA); +} +void glBlendEquationSeparate(GLenum modeRGB, GLenum modeA) __attribute__((alias("glshim_glBlendEquationSeparate"))); +void glBlendEquationSeparateEXT(GLenum modeRGB, GLenum modeA) __attribute__((alias("glshim_glBlendEquationSeparate"))); + +void glshim_glBlendFunc(GLenum sfactor, GLenum dfactor) { + if (glstate.list.active && (glstate.gl_batch && !glstate.list.compiling)) { + if ((glstate.statebatch.blendfunc_s == sfactor) && (glstate.statebatch.blendfunc_d == dfactor)) return; // nothing to do... - if (!state.statebatch.blendfunc_s) { - state.statebatch.blendfunc_s = sfactor; - state.statebatch.blendfunc_d = dfactor; + if (!glstate.statebatch.blendfunc_s) { + glstate.statebatch.blendfunc_s = sfactor; + glstate.statebatch.blendfunc_d = dfactor; } else { flush(); } @@ -1774,91 +1843,97 @@ void glBlendFunc(GLenum sfactor, GLenum dfactor) { #endif gles_glBlendFunc(sfactor, dfactor); } +void glBlendFunc(GLenum sfactor, GLenum dfactor) __attribute__((alias("glshim_glBlendFunc"))); void init_statebatch() { - memset(&state.statebatch, 0, sizeof(statebatch_t)); + memset(&glstate.statebatch, 0, sizeof(statebatch_t)); } void flush() { // flush internal list -//printf("flush state.list.active=%p, gl_batch=%i(%i)\n", state.list.active, state.gl_batch, gl_batch); - renderlist_t *mylist = state.list.active; +//printf("flush glstate.list.active=%p, gl_batch=%i(%i)\n", glstate.list.active, glstate.gl_batch, gl_batch); + renderlist_t *mylist = glstate.list.active; if (mylist) { - GLuint old = state.gl_batch; - state.list.active = NULL; - state.gl_batch = 0; + GLuint old = glstate.gl_batch; + glstate.list.active = NULL; + glstate.gl_batch = 0; end_renderlist(mylist); draw_renderlist(mylist); free_renderlist(mylist); - state.gl_batch = old; + glstate.gl_batch = old; } - if (state.gl_batch) init_statebatch(); - state.list.active = (state.gl_batch)?alloc_renderlist():NULL; + if (glstate.gl_batch) init_statebatch(); + glstate.list.active = (glstate.gl_batch)?alloc_renderlist():NULL; } void init_batch() { - state.list.active = alloc_renderlist(); + glstate.list.active = alloc_renderlist(); init_statebatch(); - state.gl_batch = 1; + glstate.gl_batch = 1; } -void glFlush() { +void glshim_glFlush() { LOAD_GLES(glFlush); - if (state.list.active && !state.gl_batch) { + if (glstate.list.active && !glstate.gl_batch) { errorShim(GL_INVALID_OPERATION); return; } - if (state.gl_batch) flush(); + if (glstate.gl_batch) flush(); gles_glFlush(); errorGL(); } -void glFinish() { +void glFlush() __attribute__((alias("glshim_glFlush"))); + +void glshim_glFinish() { LOAD_GLES(glFinish); - if (state.list.active && !state.gl_batch) { + if (glstate.list.active && !glstate.gl_batch) { errorShim(GL_INVALID_OPERATION); return; } - if (state.gl_batch) flush(); + if (glstate.gl_batch) flush(); gles_glFinish(); errorGL(); } +void glFinish() __attribute__((alias("glshim_glFinish"))); -void glLoadMatrixf(const GLfloat * m) { +void glshim_glLoadMatrixf(const GLfloat * m) { LOAD_GLES(glLoadMatrixf); - if ((state.list.compiling || state.gl_batch) && state.list.active) { - NewStage(state.list.active, STAGE_MATRIX); - state.list.active->matrix_op = 1; - memcpy(state.list.active->matrix_val, m, 16*sizeof(GLfloat)); + if ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active) { + NewStage(glstate.list.active, STAGE_MATRIX); + glstate.list.active->matrix_op = 1; + memcpy(glstate.list.active->matrix_val, m, 16*sizeof(GLfloat)); return; } gles_glLoadMatrixf(m); } +void glLoadMatrixf(const GLfloat * m) __attribute__((alias("glshim_glLoadMatrixf"))); -void glMultMatrixf(const GLfloat * m) { +void glshim_glMultMatrixf(const GLfloat * m) { LOAD_GLES(glMultMatrixf); - if ((state.list.compiling || state.gl_batch) && state.list.active) { - NewStage(state.list.active, STAGE_MATRIX); - state.list.active->matrix_op = 2; - memcpy(state.list.active->matrix_val, m, 16*sizeof(GLfloat)); + if ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active) { + NewStage(glstate.list.active, STAGE_MATRIX); + glstate.list.active->matrix_op = 2; + memcpy(glstate.list.active->matrix_val, m, 16*sizeof(GLfloat)); return; } gles_glMultMatrixf(m); } +void glMultMatrixf(const GLfloat * m) __attribute__((alias("glshim_glMultMatrixf"))); -void glFogfv(GLenum pname, const GLfloat* params) { +void glshim_glFogfv(GLenum pname, const GLfloat* params) { LOAD_GLES(glFogfv); - if ((state.list.compiling || state.gl_batch) && state.list.active) { + if ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active) { if (pname == GL_FOG_COLOR) { - NewStage(state.list.active, STAGE_FOG); - rlFogOp(state.list.active, 1, params); + NewStage(glstate.list.active, STAGE_FOG); + rlFogOp(glstate.list.active, 1, params); return; } } @@ -1866,28 +1941,31 @@ void glFogfv(GLenum pname, const GLfloat* params) { gles_glFogfv(pname, params); } +void glFogfv(GLenum pname, const GLfloat* params) __attribute__((alias("glshim_glFogfv"))); -void glIndexPointer(GLenum type, GLsizei stride, const GLvoid * pointer) { +void glshim_glIndexPointer(GLenum type, GLsizei stride, const GLvoid * pointer) { static bool warning = false; if(!warning) { printf("Warning, stubbed glIndexPointer\n"); warning = true; } } +void glIndexPointer(GLenum type, GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glIndexPointer"))); -void glEdgeFlagPointer(GLsizei stride, const GLvoid * pointer) { +void glshim_glEdgeFlagPointer(GLsizei stride, const GLvoid * pointer) { static bool warning = false; if(!warning) { printf("Warning, stubbed glEdgeFlagPointer\n"); warning = true; } } +void glEdgeFlagPointer(GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glEdgeFlagPointer"))); -void glGetPointerv(GLenum pname, GLvoid* *params) { +void glshim_glGetPointerv(GLenum pname, GLvoid* *params) { noerrorShim(); switch(pname) { case GL_COLOR_ARRAY_POINTER: - *params = (void*)state.vao->pointers.color.pointer; + *params = (void*)glstate.vao->pointers.color.pointer; break; case GL_EDGE_FLAG_ARRAY_POINTER: *params = NULL; @@ -1898,18 +1976,19 @@ void glGetPointerv(GLenum pname, GLvoid* *params) { case GL_INDEX_ARRAY_POINTER: *params = NULL; case GL_NORMAL_ARRAY_POINTER: - *params = (void*)state.vao->pointers.normal.pointer; + *params = (void*)glstate.vao->pointers.normal.pointer; break; case GL_TEXTURE_COORD_ARRAY_POINTER: - *params = (void*)state.vao->pointers.tex_coord[state.texture.client].pointer; + *params = (void*)glstate.vao->pointers.tex_coord[glstate.texture.client].pointer; break; case GL_SELECTION_BUFFER_POINTER: - *params = state.selectbuf.buffer; + *params = glstate.selectbuf.buffer; break; case GL_VERTEX_ARRAY_POINTER : - *params = (void*)state.vao->pointers.vertex.pointer; + *params = (void*)glstate.vao->pointers.vertex.pointer; break; default: errorShim(GL_INVALID_ENUM); } } +void glGetPointerv(GLenum pname, GLvoid* *params) __attribute__((alias("glshim_glGetPointerv"))); diff --git a/project/jni/glshim/src/gl/gl.h b/project/jni/glshim/src/gl/gl.h index b88fb52c9..3011c6c5d 100755 --- a/project/jni/glshim/src/gl/gl.h +++ b/project/jni/glshim/src/gl/gl.h @@ -1,5 +1,6 @@ #include -#include +//#include +#include "gles.h" #include #ifdef TEXSTREAM #include @@ -96,8 +97,6 @@ typedef EGLSurface (*eglCreateStreamProducerSurfaceKHR_PTR)(EGLDisplay dpy, EGLC {int error; if ((error = glGetError())) \ printf(file ":%i -> %i\n", line, error);} -#define GLdouble double - #define GL_TYPE_CASE(name, var, magic, type, code) \ case magic: { \ type *name = (type *)var; \ @@ -162,14 +161,14 @@ typedef EGLSurface (*eglCreateStreamProducerSurfaceKHR_PTR)(EGLDisplay dpy, EGLC } #define PUSH_IF_COMPILING_EXT(nam, ...) \ - if ((state.list.compiling || state.gl_batch) && state.list.active) { \ - NewStage(state.list.active, STAGE_GLCALL); \ + if ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active) { \ + NewStage(glstate.list.active, STAGE_GLCALL); \ push_##nam(__VA_ARGS__); \ noerrorShim(); \ return (nam##_RETURN)0; \ } -//printf("list:%i, " #nam "\n", state.list.name); \ +//printf("list:%i, " #nam "\n", state.list.name); #define PUSH_IF_COMPILING(name) PUSH_IF_COMPILING_EXT(name, name##_ARG_NAMES) @@ -332,27 +331,72 @@ static inline const GLboolean valid_vertex_type(GLenum type) { #include "array.h" #include "framebuffers.h" -extern void glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); -extern void glIndexPointer(GLenum type, GLsizei stride, const GLvoid * pointer); -extern void glEdgeFlagPointer(GLsizei stride, const GLvoid * pointer); -extern void glGetPointerv(GLenum pname, GLvoid* *params); -extern void glFlush(); -extern void glFinish(); +const GLubyte *glshim_glGetString(GLenum name); +void glshim_glGetIntegerv(GLenum pname, GLint *params); +void glshim_glGetFloatv(GLenum pname, GLfloat *params); +void glshim_glEnable(GLenum cap); +void glshim_glDisable(GLenum cap); +void glshim_glEnableClientState(GLenum cap); +void glshim_glDisableClientState(GLenum cap); +GLboolean glshim_glIsEnabled(GLenum cap); +void glshim_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); +void glshim_glDrawArrays(GLenum mode, GLint first, GLsizei count); +void glshim_glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer); +void glshim_glBegin(GLenum mode); +void glshim_glEnd(); +void glshim_glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz); +void glshim_glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); +void glshim_glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +void glshim_glSecondaryColor3f(GLfloat r, GLfloat g, GLfloat b); +void glshim_glMaterialfv(GLenum face, GLenum pname, const GLfloat *params); +void glshim_glMaterialf(GLenum face, GLenum pname, const GLfloat param); +void glshim_glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q); +void glshim_glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +void glshim_glArrayElement(GLint i); +void glshim_glLockArrays(GLint first, GLsizei count); +void glshim_glUnlockArrays(); +GLuint glshim_glGenLists(GLsizei range); +void glshim_glNewList(GLuint list, GLenum mode); +void glshim_glEndList(); +void glshim_glCallList(GLuint list); +void glshim_glCallLists(GLsizei n, GLenum type, const GLvoid *lists); +void glshim_glDeleteLists(GLuint list, GLsizei range); +void glshim_glListBase(GLuint base); +GLboolean glshim_glIsList(GLuint list); +void glshim_glPolygonMode(GLenum face, GLenum mode); +void glshim_glPushMatrix(); +void glshim_glPopMatrix(); +GLenum glshim_glGetError(); + +void glshim_glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); +void glshim_glIndexPointer(GLenum type, GLsizei stride, const GLvoid * pointer); +void glshim_glEdgeFlagPointer(GLsizei stride, const GLvoid * pointer); +void glshim_glGetPointerv(GLenum pname, GLvoid* *params); +void glshim_glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); +void glshim_glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +void glshim_glBlendEquationSeparate(GLenum modeRGB, GLenum modeA); +void glshim_glBlendFunc(GLenum sfactor, GLenum dfactor); +void glshim_glFlush(); +void glshim_glFinish(); +void glshim_glLoadMatrixf(const GLfloat * m); +void glshim_glMultMatrixf(const GLfloat * m); +void glshim_glFogfv(GLenum pname, const GLfloat* params); + void flush(); void init_batch(); #include "state.h" -extern glstate_t state; +extern glstate_t glstate; -extern GLuint gl_batch; // 0 = off, 1 = on +GLuint gl_batch; // 0 = off, 1 = on static inline void errorGL() { // next glGetError will be from GL - state.shim_error = 0; + glstate.shim_error = 0; } static inline void errorShim(GLenum error) { // next glGetError will be "error" from glShim - state.shim_error = 1; - state.last_error = error; + glstate.shim_error = 1; + glstate.last_error = error; } static inline void noerrorShim() { errorShim(GL_NO_ERROR); diff --git a/project/jni/glshim/src/gl/gles.h b/project/jni/glshim/src/gl/gles.h new file mode 100755 index 000000000..79c760bcd --- /dev/null +++ b/project/jni/glshim/src/gl/gles.h @@ -0,0 +1,1110 @@ +#ifndef _GLES_H_ +#define _GLES_H_ +#include + +// Define for GLES 1.1 +typedef void GLvoid; +typedef char GLchar; +typedef unsigned int GLenum; +typedef unsigned char GLboolean; +typedef unsigned int GLbitfield; +typedef khronos_int8_t GLbyte; +typedef short GLshort; +typedef int GLint; +typedef int GLsizei; +typedef khronos_uint8_t GLubyte; +typedef unsigned short GLushort; +typedef unsigned int GLuint; +typedef khronos_float_t GLfloat; +typedef khronos_float_t GLclampf; +typedef khronos_int32_t GLfixed; +typedef khronos_int32_t GLclampx; + +typedef khronos_intptr_t GLintptr; +typedef khronos_ssize_t GLsizeiptr; + +typedef double GLdouble; +/*************************************************************/ + +/* OpenGL ES core versions */ +#define GL_VERSION_ES_CM_1_0 1 +#define GL_VERSION_ES_CL_1_0 1 +#define GL_VERSION_ES_CM_1_1 1 +#define GL_VERSION_ES_CL_1_1 1 + +/* ClearBufferMask */ +#define GL_DEPTH_BUFFER_BIT 0x00000100 +#define GL_STENCIL_BUFFER_BIT 0x00000400 +#define GL_COLOR_BUFFER_BIT 0x00004000 + +/* Boolean */ +#define GL_FALSE 0 +#define GL_TRUE 1 + +/* BeginMode */ +#define GL_POINTS 0x0000 +#define GL_LINES 0x0001 +#define GL_LINE_LOOP 0x0002 +#define GL_LINE_STRIP 0x0003 +#define GL_TRIANGLES 0x0004 +#define GL_TRIANGLE_STRIP 0x0005 +#define GL_TRIANGLE_FAN 0x0006 + +/* AlphaFunction */ +#define GL_NEVER 0x0200 +#define GL_LESS 0x0201 +#define GL_EQUAL 0x0202 +#define GL_LEQUAL 0x0203 +#define GL_GREATER 0x0204 +#define GL_NOTEQUAL 0x0205 +#define GL_GEQUAL 0x0206 +#define GL_ALWAYS 0x0207 + +/* BlendingFactorDest */ +#define GL_ZERO 0 +#define GL_ONE 1 +#define GL_SRC_COLOR 0x0300 +#define GL_ONE_MINUS_SRC_COLOR 0x0301 +#define GL_SRC_ALPHA 0x0302 +#define GL_ONE_MINUS_SRC_ALPHA 0x0303 +#define GL_DST_ALPHA 0x0304 +#define GL_ONE_MINUS_DST_ALPHA 0x0305 + +/* BlendingFactorSrc */ +/* GL_ZERO */ +/* GL_ONE */ +#define GL_DST_COLOR 0x0306 +#define GL_ONE_MINUS_DST_COLOR 0x0307 +#define GL_SRC_ALPHA_SATURATE 0x0308 +/* GL_SRC_ALPHA */ +/* GL_ONE_MINUS_SRC_ALPHA */ +/* GL_DST_ALPHA */ +/* GL_ONE_MINUS_DST_ALPHA */ + +/* ClipPlaneName */ +#define GL_CLIP_PLANE0 0x3000 +#define GL_CLIP_PLANE1 0x3001 +#define GL_CLIP_PLANE2 0x3002 +#define GL_CLIP_PLANE3 0x3003 +#define GL_CLIP_PLANE4 0x3004 +#define GL_CLIP_PLANE5 0x3005 + +/* ColorMaterialFace */ +/* GL_FRONT_AND_BACK */ + +/* ColorMaterialParameter */ +/* GL_AMBIENT_AND_DIFFUSE */ + +/* ColorPointerType */ +/* GL_UNSIGNED_BYTE */ +/* GL_FLOAT */ +/* GL_FIXED */ + +/* CullFaceMode */ +#define GL_FRONT 0x0404 +#define GL_BACK 0x0405 +#define GL_FRONT_AND_BACK 0x0408 + +/* DepthFunction */ +/* GL_NEVER */ +/* GL_LESS */ +/* GL_EQUAL */ +/* GL_LEQUAL */ +/* GL_GREATER */ +/* GL_NOTEQUAL */ +/* GL_GEQUAL */ +/* GL_ALWAYS */ + +/* EnableCap */ +#define GL_FOG 0x0B60 +#define GL_LIGHTING 0x0B50 +#define GL_TEXTURE_2D 0x0DE1 +#define GL_CULL_FACE 0x0B44 +#define GL_ALPHA_TEST 0x0BC0 +#define GL_BLEND 0x0BE2 +#define GL_COLOR_LOGIC_OP 0x0BF2 +#define GL_DITHER 0x0BD0 +#define GL_STENCIL_TEST 0x0B90 +#define GL_DEPTH_TEST 0x0B71 +/* GL_LIGHT0 */ +/* GL_LIGHT1 */ +/* GL_LIGHT2 */ +/* GL_LIGHT3 */ +/* GL_LIGHT4 */ +/* GL_LIGHT5 */ +/* GL_LIGHT6 */ +/* GL_LIGHT7 */ +#define GL_POINT_SMOOTH 0x0B10 +#define GL_LINE_SMOOTH 0x0B20 +#define GL_SCISSOR_TEST 0x0C11 +#define GL_COLOR_MATERIAL 0x0B57 +#define GL_NORMALIZE 0x0BA1 +#define GL_RESCALE_NORMAL 0x803A +#define GL_POLYGON_OFFSET_FILL 0x8037 +#define GL_VERTEX_ARRAY 0x8074 +#define GL_NORMAL_ARRAY 0x8075 +#define GL_COLOR_ARRAY 0x8076 +#define GL_TEXTURE_COORD_ARRAY 0x8078 +#define GL_MULTISAMPLE 0x809D +#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E +#define GL_SAMPLE_ALPHA_TO_ONE 0x809F +#define GL_SAMPLE_COVERAGE 0x80A0 + +/* ErrorCode */ +#define GL_NO_ERROR 0 +#define GL_INVALID_ENUM 0x0500 +#define GL_INVALID_VALUE 0x0501 +#define GL_INVALID_OPERATION 0x0502 +#define GL_STACK_OVERFLOW 0x0503 +#define GL_STACK_UNDERFLOW 0x0504 +#define GL_OUT_OF_MEMORY 0x0505 + +/* FogMode */ +/* GL_LINEAR */ +#define GL_EXP 0x0800 +#define GL_EXP2 0x0801 + +/* FogParameter */ +#define GL_FOG_DENSITY 0x0B62 +#define GL_FOG_START 0x0B63 +#define GL_FOG_END 0x0B64 +#define GL_FOG_MODE 0x0B65 +#define GL_FOG_COLOR 0x0B66 + +/* FrontFaceDirection */ +#define GL_CW 0x0900 +#define GL_CCW 0x0901 + +/* GetPName */ +#define GL_CURRENT_COLOR 0x0B00 +#define GL_CURRENT_NORMAL 0x0B02 +#define GL_CURRENT_TEXTURE_COORDS 0x0B03 +#define GL_POINT_SIZE 0x0B11 +#define GL_POINT_SIZE_MIN 0x8126 +#define GL_POINT_SIZE_MAX 0x8127 +#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 +#define GL_POINT_DISTANCE_ATTENUATION 0x8129 +#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 +#define GL_LINE_WIDTH 0x0B21 +#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 +#define GL_ALIASED_POINT_SIZE_RANGE 0x846D +#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E +#define GL_CULL_FACE_MODE 0x0B45 +#define GL_FRONT_FACE 0x0B46 +#define GL_SHADE_MODEL 0x0B54 +#define GL_DEPTH_RANGE 0x0B70 +#define GL_DEPTH_WRITEMASK 0x0B72 +#define GL_DEPTH_CLEAR_VALUE 0x0B73 +#define GL_DEPTH_FUNC 0x0B74 +#define GL_STENCIL_CLEAR_VALUE 0x0B91 +#define GL_STENCIL_FUNC 0x0B92 +#define GL_STENCIL_VALUE_MASK 0x0B93 +#define GL_STENCIL_FAIL 0x0B94 +#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 +#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 +#define GL_STENCIL_REF 0x0B97 +#define GL_STENCIL_WRITEMASK 0x0B98 +#define GL_MATRIX_MODE 0x0BA0 +#define GL_VIEWPORT 0x0BA2 +#define GL_MODELVIEW_STACK_DEPTH 0x0BA3 +#define GL_PROJECTION_STACK_DEPTH 0x0BA4 +#define GL_TEXTURE_STACK_DEPTH 0x0BA5 +#define GL_MODELVIEW_MATRIX 0x0BA6 +#define GL_PROJECTION_MATRIX 0x0BA7 +#define GL_TEXTURE_MATRIX 0x0BA8 +#define GL_ALPHA_TEST_FUNC 0x0BC1 +#define GL_ALPHA_TEST_REF 0x0BC2 +#define GL_BLEND_DST 0x0BE0 +#define GL_BLEND_SRC 0x0BE1 +#define GL_LOGIC_OP_MODE 0x0BF0 +#define GL_SCISSOR_BOX 0x0C10 +#define GL_SCISSOR_TEST 0x0C11 +#define GL_COLOR_CLEAR_VALUE 0x0C22 +#define GL_COLOR_WRITEMASK 0x0C23 +#define GL_UNPACK_ALIGNMENT 0x0CF5 +#define GL_PACK_ALIGNMENT 0x0D05 +#define GL_MAX_LIGHTS 0x0D31 +#define GL_MAX_CLIP_PLANES 0x0D32 +#define GL_MAX_TEXTURE_SIZE 0x0D33 +#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 +#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 +#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 +#define GL_MAX_VIEWPORT_DIMS 0x0D3A +#define GL_MAX_TEXTURE_UNITS 0x84E2 +#define GL_SUBPIXEL_BITS 0x0D50 +#define GL_RED_BITS 0x0D52 +#define GL_GREEN_BITS 0x0D53 +#define GL_BLUE_BITS 0x0D54 +#define GL_ALPHA_BITS 0x0D55 +#define GL_DEPTH_BITS 0x0D56 +#define GL_STENCIL_BITS 0x0D57 +#define GL_POLYGON_OFFSET_UNITS 0x2A00 +#define GL_POLYGON_OFFSET_FILL 0x8037 +#define GL_POLYGON_OFFSET_FACTOR 0x8038 +#define GL_TEXTURE_BINDING_2D 0x8069 +#define GL_VERTEX_ARRAY_SIZE 0x807A +#define GL_VERTEX_ARRAY_TYPE 0x807B +#define GL_VERTEX_ARRAY_STRIDE 0x807C +#define GL_NORMAL_ARRAY_TYPE 0x807E +#define GL_NORMAL_ARRAY_STRIDE 0x807F +#define GL_COLOR_ARRAY_SIZE 0x8081 +#define GL_COLOR_ARRAY_TYPE 0x8082 +#define GL_COLOR_ARRAY_STRIDE 0x8083 +#define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 +#define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 +#define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A +#define GL_VERTEX_ARRAY_POINTER 0x808E +#define GL_NORMAL_ARRAY_POINTER 0x808F +#define GL_COLOR_ARRAY_POINTER 0x8090 +#define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 +#define GL_SAMPLE_BUFFERS 0x80A8 +#define GL_SAMPLES 0x80A9 +#define GL_SAMPLE_COVERAGE_VALUE 0x80AA +#define GL_SAMPLE_COVERAGE_INVERT 0x80AB + +/* GetTextureParameter */ +/* GL_TEXTURE_MAG_FILTER */ +/* GL_TEXTURE_MIN_FILTER */ +/* GL_TEXTURE_WRAP_S */ +/* GL_TEXTURE_WRAP_T */ + +#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 +#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 + +/* HintMode */ +#define GL_DONT_CARE 0x1100 +#define GL_FASTEST 0x1101 +#define GL_NICEST 0x1102 + +/* HintTarget */ +#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 +#define GL_POINT_SMOOTH_HINT 0x0C51 +#define GL_LINE_SMOOTH_HINT 0x0C52 +#define GL_FOG_HINT 0x0C54 +#define GL_GENERATE_MIPMAP_HINT 0x8192 + +/* LightModelParameter */ +#define GL_LIGHT_MODEL_AMBIENT 0x0B53 +#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 + +/* LightParameter */ +#define GL_AMBIENT 0x1200 +#define GL_DIFFUSE 0x1201 +#define GL_SPECULAR 0x1202 +#define GL_POSITION 0x1203 +#define GL_SPOT_DIRECTION 0x1204 +#define GL_SPOT_EXPONENT 0x1205 +#define GL_SPOT_CUTOFF 0x1206 +#define GL_CONSTANT_ATTENUATION 0x1207 +#define GL_LINEAR_ATTENUATION 0x1208 +#define GL_QUADRATIC_ATTENUATION 0x1209 + +/* DataType */ +#define GL_BYTE 0x1400 +#define GL_UNSIGNED_BYTE 0x1401 +#define GL_SHORT 0x1402 +#define GL_UNSIGNED_SHORT 0x1403 +#define GL_FLOAT 0x1406 +#define GL_FIXED 0x140C + +/* LogicOp */ +#define GL_CLEAR 0x1500 +#define GL_AND 0x1501 +#define GL_AND_REVERSE 0x1502 +#define GL_COPY 0x1503 +#define GL_AND_INVERTED 0x1504 +#define GL_NOOP 0x1505 +#define GL_XOR 0x1506 +#define GL_OR 0x1507 +#define GL_NOR 0x1508 +#define GL_EQUIV 0x1509 +#define GL_INVERT 0x150A +#define GL_OR_REVERSE 0x150B +#define GL_COPY_INVERTED 0x150C +#define GL_OR_INVERTED 0x150D +#define GL_NAND 0x150E +#define GL_SET 0x150F + +/* MaterialFace */ +/* GL_FRONT_AND_BACK */ + +/* MaterialParameter */ +#define GL_EMISSION 0x1600 +#define GL_SHININESS 0x1601 +#define GL_AMBIENT_AND_DIFFUSE 0x1602 +/* GL_AMBIENT */ +/* GL_DIFFUSE */ +/* GL_SPECULAR */ + +/* MatrixMode */ +#define GL_MODELVIEW 0x1700 +#define GL_PROJECTION 0x1701 +#define GL_TEXTURE 0x1702 + +/* NormalPointerType */ +/* GL_BYTE */ +/* GL_SHORT */ +/* GL_FLOAT */ +/* GL_FIXED */ + +/* PixelFormat */ +#define GL_ALPHA 0x1906 +#define GL_RGB 0x1907 +#define GL_RGBA 0x1908 +#define GL_LUMINANCE 0x1909 +#define GL_LUMINANCE_ALPHA 0x190A + +/* PixelStoreParameter */ +#define GL_UNPACK_ALIGNMENT 0x0CF5 +#define GL_PACK_ALIGNMENT 0x0D05 + +/* PixelType */ +/* GL_UNSIGNED_BYTE */ +#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 +#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 +#define GL_UNSIGNED_SHORT_5_6_5 0x8363 + +/* ShadingModel */ +#define GL_FLAT 0x1D00 +#define GL_SMOOTH 0x1D01 + +/* StencilFunction */ +/* GL_NEVER */ +/* GL_LESS */ +/* GL_EQUAL */ +/* GL_LEQUAL */ +/* GL_GREATER */ +/* GL_NOTEQUAL */ +/* GL_GEQUAL */ +/* GL_ALWAYS */ + +/* StencilOp */ +/* GL_ZERO */ +#define GL_KEEP 0x1E00 +#define GL_REPLACE 0x1E01 +#define GL_INCR 0x1E02 +#define GL_DECR 0x1E03 +/* GL_INVERT */ + +/* StringName */ +#define GL_VENDOR 0x1F00 +#define GL_RENDERER 0x1F01 +#define GL_VERSION 0x1F02 +#define GL_EXTENSIONS 0x1F03 + +/* TexCoordPointerType */ +/* GL_SHORT */ +/* GL_FLOAT */ +/* GL_FIXED */ +/* GL_BYTE */ + +/* TextureEnvMode */ +#define GL_MODULATE 0x2100 +#define GL_DECAL 0x2101 +/* GL_BLEND */ +#define GL_ADD 0x0104 +/* GL_REPLACE */ + +/* TextureEnvParameter */ +#define GL_TEXTURE_ENV_MODE 0x2200 +#define GL_TEXTURE_ENV_COLOR 0x2201 + +/* TextureEnvTarget */ +#define GL_TEXTURE_ENV 0x2300 + +/* TextureMagFilter */ +#define GL_NEAREST 0x2600 +#define GL_LINEAR 0x2601 + +/* TextureMinFilter */ +/* GL_NEAREST */ +/* GL_LINEAR */ +#define GL_NEAREST_MIPMAP_NEAREST 0x2700 +#define GL_LINEAR_MIPMAP_NEAREST 0x2701 +#define GL_NEAREST_MIPMAP_LINEAR 0x2702 +#define GL_LINEAR_MIPMAP_LINEAR 0x2703 + +/* TextureParameterName */ +#define GL_TEXTURE_MAG_FILTER 0x2800 +#define GL_TEXTURE_MIN_FILTER 0x2801 +#define GL_TEXTURE_WRAP_S 0x2802 +#define GL_TEXTURE_WRAP_T 0x2803 +#define GL_GENERATE_MIPMAP 0x8191 + +/* TextureTarget */ +/* GL_TEXTURE_2D */ + +/* TextureUnit */ +#define GL_TEXTURE0 0x84C0 +#define GL_TEXTURE1 0x84C1 +#define GL_TEXTURE2 0x84C2 +#define GL_TEXTURE3 0x84C3 +#define GL_TEXTURE4 0x84C4 +#define GL_TEXTURE5 0x84C5 +#define GL_TEXTURE6 0x84C6 +#define GL_TEXTURE7 0x84C7 +#define GL_TEXTURE8 0x84C8 +#define GL_TEXTURE9 0x84C9 +#define GL_TEXTURE10 0x84CA +#define GL_TEXTURE11 0x84CB +#define GL_TEXTURE12 0x84CC +#define GL_TEXTURE13 0x84CD +#define GL_TEXTURE14 0x84CE +#define GL_TEXTURE15 0x84CF +#define GL_TEXTURE16 0x84D0 +#define GL_TEXTURE17 0x84D1 +#define GL_TEXTURE18 0x84D2 +#define GL_TEXTURE19 0x84D3 +#define GL_TEXTURE20 0x84D4 +#define GL_TEXTURE21 0x84D5 +#define GL_TEXTURE22 0x84D6 +#define GL_TEXTURE23 0x84D7 +#define GL_TEXTURE24 0x84D8 +#define GL_TEXTURE25 0x84D9 +#define GL_TEXTURE26 0x84DA +#define GL_TEXTURE27 0x84DB +#define GL_TEXTURE28 0x84DC +#define GL_TEXTURE29 0x84DD +#define GL_TEXTURE30 0x84DE +#define GL_TEXTURE31 0x84DF +#define GL_ACTIVE_TEXTURE 0x84E0 +#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 + +/* TextureWrapMode */ +#define GL_REPEAT 0x2901 +#define GL_CLAMP_TO_EDGE 0x812F + +/* VertexPointerType */ +/* GL_SHORT */ +/* GL_FLOAT */ +/* GL_FIXED */ +/* GL_BYTE */ + +/* LightName */ +#define GL_LIGHT0 0x4000 +#define GL_LIGHT1 0x4001 +#define GL_LIGHT2 0x4002 +#define GL_LIGHT3 0x4003 +#define GL_LIGHT4 0x4004 +#define GL_LIGHT5 0x4005 +#define GL_LIGHT6 0x4006 +#define GL_LIGHT7 0x4007 + +/* Buffer Objects */ +#define GL_ARRAY_BUFFER 0x8892 +#define GL_ELEMENT_ARRAY_BUFFER 0x8893 + +#define GL_ARRAY_BUFFER_BINDING 0x8894 +#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 +#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 +#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 +#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 +#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A + +#define GL_STATIC_DRAW 0x88E4 +#define GL_DYNAMIC_DRAW 0x88E8 + +#define GL_BUFFER_SIZE 0x8764 +#define GL_BUFFER_USAGE 0x8765 + +/* Texture combine + dot3 */ +#define GL_SUBTRACT 0x84E7 +#define GL_COMBINE 0x8570 +#define GL_COMBINE_RGB 0x8571 +#define GL_COMBINE_ALPHA 0x8572 +#define GL_RGB_SCALE 0x8573 +#define GL_ADD_SIGNED 0x8574 +#define GL_INTERPOLATE 0x8575 +#define GL_CONSTANT 0x8576 +#define GL_PRIMARY_COLOR 0x8577 +#define GL_PREVIOUS 0x8578 +#define GL_OPERAND0_RGB 0x8590 +#define GL_OPERAND1_RGB 0x8591 +#define GL_OPERAND2_RGB 0x8592 +#define GL_OPERAND0_ALPHA 0x8598 +#define GL_OPERAND1_ALPHA 0x8599 +#define GL_OPERAND2_ALPHA 0x859A + +#define GL_ALPHA_SCALE 0x0D1C + +#define GL_SRC0_RGB 0x8580 +#define GL_SRC1_RGB 0x8581 +#define GL_SRC2_RGB 0x8582 +#define GL_SRC0_ALPHA 0x8588 +#define GL_SRC1_ALPHA 0x8589 +#define GL_SRC2_ALPHA 0x858A + +#define GL_DOT3_RGB 0x86AE +#define GL_DOT3_RGBA 0x86AF + +/*------------------------------------------------------------------------* + * required OES extension tokens + *------------------------------------------------------------------------*/ + +/* OES_read_format */ +#ifndef GL_OES_read_format +#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A +#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B +#endif + +/* GL_OES_compressed_paletted_texture */ +#ifndef GL_OES_compressed_paletted_texture +#define GL_PALETTE4_RGB8_OES 0x8B90 +#define GL_PALETTE4_RGBA8_OES 0x8B91 +#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 +#define GL_PALETTE4_RGBA4_OES 0x8B93 +#define GL_PALETTE4_RGB5_A1_OES 0x8B94 +#define GL_PALETTE8_RGB8_OES 0x8B95 +#define GL_PALETTE8_RGBA8_OES 0x8B96 +#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 +#define GL_PALETTE8_RGBA4_OES 0x8B98 +#define GL_PALETTE8_RGB5_A1_OES 0x8B99 +#endif + +/* OES_point_size_array */ +#ifndef GL_OES_point_size_array +#define GL_POINT_SIZE_ARRAY_OES 0x8B9C +#define GL_POINT_SIZE_ARRAY_TYPE_OES 0x898A +#define GL_POINT_SIZE_ARRAY_STRIDE_OES 0x898B +#define GL_POINT_SIZE_ARRAY_POINTER_OES 0x898C +#define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES 0x8B9F +#endif + +/* GL_OES_point_sprite */ +#ifndef GL_OES_point_sprite +#define GL_POINT_SPRITE_OES 0x8861 +#define GL_COORD_REPLACE_OES 0x8862 +#endif + +/* GL_OES_blend_equation_separate */ +#ifndef GL_OES_blend_equation_separate +/* BLEND_EQUATION_RGB_OES same as BLEND_EQUATION_OES */ +#define GL_BLEND_EQUATION_RGB_OES 0x8009 +#define GL_BLEND_EQUATION_ALPHA_OES 0x883D +#endif + +/* GL_OES_blend_func_separate */ +#ifndef GL_OES_blend_func_separate +#define GL_BLEND_DST_RGB_OES 0x80C8 +#define GL_BLEND_SRC_RGB_OES 0x80C9 +#define GL_BLEND_DST_ALPHA_OES 0x80CA +#define GL_BLEND_SRC_ALPHA_OES 0x80CB +#endif + +/* GL_OES_blend_subtract */ +#ifndef GL_OES_blend_subtract +#define GL_BLEND_EQUATION_OES 0x8009 +#define GL_FUNC_ADD_OES 0x8006 +#define GL_FUNC_SUBTRACT_OES 0x800A +#define GL_FUNC_REVERSE_SUBTRACT_OES 0x800B +#endif + +/* GL_OES_compressed_ETC1_RGB8_texture */ +#ifndef GL_OES_compressed_ETC1_RGB8_texture +#define GL_ETC1_RGB8_OES 0x8D64 +#endif + +/* GL_OES_depth24 */ +#ifndef GL_OES_depth24 +#define GL_DEPTH_COMPONENT24_OES 0x81A6 +#endif + +/* GL_OES_depth32 */ +#ifndef GL_OES_depth32 +#define GL_DEPTH_COMPONENT32_OES 0x81A7 +#endif + +/* GL_OES_draw_texture */ +#ifndef GL_OES_draw_texture +#define GL_TEXTURE_CROP_RECT_OES 0x8B9D +#endif + +/* GL_OES_EGL_image */ +#ifndef GL_OES_EGL_image +typedef void* GLeglImageOES; +#endif + +/* GL_OES_EGL_image_external */ +#ifndef GL_OES_EGL_image_external +/* GLeglImageOES defined in GL_OES_EGL_image already. */ +#define GL_TEXTURE_EXTERNAL_OES 0x8D65 +#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 +#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 +#endif + +/* GL_OES_element_index_uint */ +#ifndef GL_OES_element_index_uint +#define GL_UNSIGNED_INT 0x1405 +#endif + +/* GL_OES_fixed_point */ +#ifndef GL_OES_fixed_point +#define GL_FIXED_OES 0x140C +#endif + +/* GL_OES_framebuffer_object */ +#ifndef GL_OES_framebuffer_object +#define GL_NONE_OES 0 +#define GL_FRAMEBUFFER_OES 0x8D40 +#define GL_RENDERBUFFER_OES 0x8D41 +#define GL_RGBA4_OES 0x8056 +#define GL_RGB5_A1_OES 0x8057 +#define GL_RGB565_OES 0x8D62 +#define GL_DEPTH_COMPONENT16_OES 0x81A5 +#define GL_RENDERBUFFER_WIDTH_OES 0x8D42 +#define GL_RENDERBUFFER_HEIGHT_OES 0x8D43 +#define GL_RENDERBUFFER_INTERNAL_FORMAT_OES 0x8D44 +#define GL_RENDERBUFFER_RED_SIZE_OES 0x8D50 +#define GL_RENDERBUFFER_GREEN_SIZE_OES 0x8D51 +#define GL_RENDERBUFFER_BLUE_SIZE_OES 0x8D52 +#define GL_RENDERBUFFER_ALPHA_SIZE_OES 0x8D53 +#define GL_RENDERBUFFER_DEPTH_SIZE_OES 0x8D54 +#define GL_RENDERBUFFER_STENCIL_SIZE_OES 0x8D55 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES 0x8CD0 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES 0x8CD1 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES 0x8CD2 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES 0x8CD3 +#define GL_COLOR_ATTACHMENT0_OES 0x8CE0 +#define GL_DEPTH_ATTACHMENT_OES 0x8D00 +#define GL_STENCIL_ATTACHMENT_OES 0x8D20 +#define GL_FRAMEBUFFER_COMPLETE_OES 0x8CD5 +#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES 0x8CD6 +#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES 0x8CD7 +#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES 0x8CD9 +#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES 0x8CDA +#define GL_FRAMEBUFFER_UNSUPPORTED_OES 0x8CDD +#define GL_FRAMEBUFFER_BINDING_OES 0x8CA6 +#define GL_RENDERBUFFER_BINDING_OES 0x8CA7 +#define GL_MAX_RENDERBUFFER_SIZE_OES 0x84E8 +#define GL_INVALID_FRAMEBUFFER_OPERATION_OES 0x0506 +#endif + +/* GL_OES_mapbuffer */ +#ifndef GL_OES_mapbuffer +#define GL_WRITE_ONLY_OES 0x88B9 +#define GL_BUFFER_ACCESS_OES 0x88BB +#define GL_BUFFER_MAPPED_OES 0x88BC +#define GL_BUFFER_MAP_POINTER_OES 0x88BD +#endif + +/* GL_OES_matrix_get */ +#ifndef GL_OES_matrix_get +#define GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES 0x898D +#define GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES 0x898E +#define GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES 0x898F +#endif + +/* GL_OES_matrix_palette */ +#ifndef GL_OES_matrix_palette +#define GL_MAX_VERTEX_UNITS_OES 0x86A4 +#define GL_MAX_PALETTE_MATRICES_OES 0x8842 +#define GL_MATRIX_PALETTE_OES 0x8840 +#define GL_MATRIX_INDEX_ARRAY_OES 0x8844 +#define GL_WEIGHT_ARRAY_OES 0x86AD +#define GL_CURRENT_PALETTE_MATRIX_OES 0x8843 +#define GL_MATRIX_INDEX_ARRAY_SIZE_OES 0x8846 +#define GL_MATRIX_INDEX_ARRAY_TYPE_OES 0x8847 +#define GL_MATRIX_INDEX_ARRAY_STRIDE_OES 0x8848 +#define GL_MATRIX_INDEX_ARRAY_POINTER_OES 0x8849 +#define GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES 0x8B9E +#define GL_WEIGHT_ARRAY_SIZE_OES 0x86AB +#define GL_WEIGHT_ARRAY_TYPE_OES 0x86A9 +#define GL_WEIGHT_ARRAY_STRIDE_OES 0x86AA +#define GL_WEIGHT_ARRAY_POINTER_OES 0x86AC +#define GL_WEIGHT_ARRAY_BUFFER_BINDING_OES 0x889E +#endif + +/* GL_OES_packed_depth_stencil */ +#ifndef GL_OES_packed_depth_stencil +#define GL_DEPTH_STENCIL_OES 0x84F9 +#define GL_UNSIGNED_INT_24_8_OES 0x84FA +#define GL_DEPTH24_STENCIL8_OES 0x88F0 +#endif + +/* GL_OES_required_internalformat */ +/* No new tokens introduced by this extension. */ + +/* GL_OES_rgb8_rgba8 */ +#ifndef GL_OES_rgb8_rgba8 +#define GL_RGB8_OES 0x8051 +#define GL_RGBA8_OES 0x8058 +#endif + +/* GL_OES_stencil1 */ +#ifndef GL_OES_stencil1 +#define GL_STENCIL_INDEX1_OES 0x8D46 +#endif + +/* GL_OES_stencil4 */ +#ifndef GL_OES_stencil4 +#define GL_STENCIL_INDEX4_OES 0x8D47 +#endif + +/* GL_OES_stencil8 */ +#ifndef GL_OES_stencil8 +#define GL_STENCIL_INDEX8_OES 0x8D48 +#endif + +/* GL_OES_stencil_wrap */ +#ifndef GL_OES_stencil_wrap +#define GL_INCR_WRAP_OES 0x8507 +#define GL_DECR_WRAP_OES 0x8508 +#endif + +/* GL_OES_texture_cube_map */ +#ifndef GL_OES_texture_cube_map +#define GL_NORMAL_MAP_OES 0x8511 +#define GL_REFLECTION_MAP_OES 0x8512 +#define GL_TEXTURE_CUBE_MAP_OES 0x8513 +#define GL_TEXTURE_BINDING_CUBE_MAP_OES 0x8514 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES 0x8515 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES 0x8516 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES 0x8517 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES 0x8518 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES 0x8519 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES 0x851A +#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES 0x851C +#define GL_TEXTURE_GEN_MODE_OES 0x2500 +#define GL_TEXTURE_GEN_STR_OES 0x8D60 +#endif + +/* GL_OES_texture_mirrored_repeat */ +#ifndef GL_OES_texture_mirrored_repeat +#define GL_MIRRORED_REPEAT_OES 0x8370 +#endif + +/* GL_OES_vertex_array_object */ +#ifndef GL_OES_vertex_array_object +#define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 +#endif + +/*------------------------------------------------------------------------* + * AMD extension tokens + *------------------------------------------------------------------------*/ + +/* GL_AMD_compressed_3DC_texture */ +#ifndef GL_AMD_compressed_3DC_texture +#define GL_3DC_X_AMD 0x87F9 +#define GL_3DC_XY_AMD 0x87FA +#endif + +/* GL_AMD_compressed_ATC_texture */ +#ifndef GL_AMD_compressed_ATC_texture +#define GL_ATC_RGB_AMD 0x8C92 +#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 +#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE +#endif + +/*------------------------------------------------------------------------* + * APPLE extension tokens + *------------------------------------------------------------------------*/ + +/* GL_APPLE_copy_texture_levels */ +/* No new tokens introduced by this extension. */ + +/* GL_APPLE_framebuffer_multisample */ +#ifndef GL_APPLE_framebuffer_multisample +#define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 +#define GL_MAX_SAMPLES_APPLE 0x8D57 +#define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 +#define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 +#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 +#define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA +#endif + +/* GL_APPLE_sync */ +#ifndef GL_APPLE_sync + +/* These types are defined with reference to + * in the Apple extension spec, but here we use the Khronos + * portable types in khrplatform.h, and assume those types + * are always defined. + * If any other extensions using these types are defined, + * the typedefs must move out of this block and be shared. + */ +typedef khronos_int64_t GLint64; +typedef khronos_uint64_t GLuint64; +typedef struct __GLsync *GLsync; + +#define GL_SYNC_OBJECT_APPLE 0x8A53 +#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 +#define GL_OBJECT_TYPE_APPLE 0x9112 +#define GL_SYNC_CONDITION_APPLE 0x9113 +#define GL_SYNC_STATUS_APPLE 0x9114 +#define GL_SYNC_FLAGS_APPLE 0x9115 +#define GL_SYNC_FENCE_APPLE 0x9116 +#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 +#define GL_UNSIGNALED_APPLE 0x9118 +#define GL_SIGNALED_APPLE 0x9119 +#define GL_ALREADY_SIGNALED_APPLE 0x911A +#define GL_TIMEOUT_EXPIRED_APPLE 0x911B +#define GL_CONDITION_SATISFIED_APPLE 0x911C +#define GL_WAIT_FAILED_APPLE 0x911D +#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 +#define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull +#endif + +/* GL_APPLE_texture_2D_limited_npot */ +/* No new tokens introduced by this extension. */ + +/* GL_APPLE_texture_format_BGRA8888 */ +#ifndef GL_APPLE_texture_format_BGRA8888 +#define GL_BGRA_EXT 0x80E1 +#endif + +/* GL_APPLE_texture_max_level */ +#ifndef GL_APPLE_texture_max_level +#define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D +#endif + +/*------------------------------------------------------------------------* + * ARM extension tokens + *------------------------------------------------------------------------*/ + +/* GL_ARM_rgba8 */ +/* No new tokens introduced by this extension. */ + +/*------------------------------------------------------------------------* + * EXT extension tokens + *------------------------------------------------------------------------*/ + +/* GL_EXT_blend_minmax */ +#ifndef GL_EXT_blend_minmax +#define GL_MIN_EXT 0x8007 +#define GL_MAX_EXT 0x8008 +#endif + +/* GL_EXT_discard_framebuffer */ +#ifndef GL_EXT_discard_framebuffer +#define GL_COLOR_EXT 0x1800 +#define GL_DEPTH_EXT 0x1801 +#define GL_STENCIL_EXT 0x1802 +#endif + +/* GL_EXT_map_buffer_range */ +#ifndef GL_EXT_map_buffer_range +#define GL_MAP_READ_BIT_EXT 0x0001 +#define GL_MAP_WRITE_BIT_EXT 0x0002 +#define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 +#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 +#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 +#define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 +#endif + +/* GL_EXT_multisampled_render_to_texture */ +#ifndef GL_EXT_multisampled_render_to_texture +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C +/* reuse values from GL_EXT_framebuffer_multisample (desktop extension) */ +#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 +#define GL_MAX_SAMPLES_EXT 0x8D57 +#endif + +/* GL_EXT_multi_draw_arrays */ +/* No new tokens introduced by this extension. */ + +/* GL_EXT_read_format_bgra */ +#ifndef GL_EXT_read_format_bgra +#define GL_BGRA_EXT 0x80E1 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 +#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 +#endif + +/* GL_EXT_robustness */ +#ifndef GL_EXT_robustness +/* reuse GL_NO_ERROR */ +#define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 +#define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 +#define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 +#define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 +#define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 +#define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 +#define GL_NO_RESET_NOTIFICATION_EXT 0x8261 +#endif + +/* GL_EXT_sRGB */ +#ifndef GL_EXT_sRGB +#define GL_SRGB_EXT 0x8C40 +#define GL_SRGB_ALPHA_EXT 0x8C42 +#define GL_SRGB8_ALPHA8_EXT 0x8C43 +#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 +#endif + +/* GL_EXT_texture_compression_dxt1 */ +#ifndef GL_EXT_texture_compression_dxt1 +#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 +#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 +#endif + +/* GL_EXT_texture_filter_anisotropic */ +#ifndef GL_EXT_texture_filter_anisotropic +#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE +#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF +#endif + +/* GL_EXT_texture_format_BGRA8888 */ +#ifndef GL_EXT_texture_format_BGRA8888 +#define GL_BGRA_EXT 0x80E1 +#endif + +/* GL_EXT_texture_lod_bias */ +#ifndef GL_EXT_texture_lod_bias +#define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD +#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 +#define GL_TEXTURE_LOD_BIAS_EXT 0x8501 +#endif + +/* GL_EXT_texture_storage */ +#ifndef GL_EXT_texture_storage +#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F +#define GL_ALPHA8_EXT 0x803C +#define GL_LUMINANCE8_EXT 0x8040 +#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 +#define GL_RGBA32F_EXT 0x8814 +#define GL_RGB32F_EXT 0x8815 +#define GL_ALPHA32F_EXT 0x8816 +#define GL_LUMINANCE32F_EXT 0x8818 +#define GL_LUMINANCE_ALPHA32F_EXT 0x8819 +/* reuse GL_RGBA16F_EXT */ +#define GL_RGB16F_EXT 0x881B +#define GL_ALPHA16F_EXT 0x881C +#define GL_LUMINANCE16F_EXT 0x881E +#define GL_LUMINANCE_ALPHA16F_EXT 0x881F +#define GL_RGB10_A2_EXT 0x8059 +#define GL_RGB10_EXT 0x8052 +#define GL_BGRA8_EXT 0x93A1 +#endif + +/*------------------------------------------------------------------------* + * IMG extension tokens + *------------------------------------------------------------------------*/ + +/* GL_IMG_read_format */ +#ifndef GL_IMG_read_format +#define GL_BGRA_IMG 0x80E1 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 +#endif + +/* GL_IMG_texture_compression_pvrtc */ +#ifndef GL_IMG_texture_compression_pvrtc +#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 +#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 +#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 +#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 +#endif + +/* GL_IMG_texture_env_enhanced_fixed_function */ +#ifndef GL_IMG_texture_env_enhanced_fixed_function +#define GL_MODULATE_COLOR_IMG 0x8C04 +#define GL_RECIP_ADD_SIGNED_ALPHA_IMG 0x8C05 +#define GL_TEXTURE_ALPHA_MODULATE_IMG 0x8C06 +#define GL_FACTOR_ALPHA_MODULATE_IMG 0x8C07 +#define GL_FRAGMENT_ALPHA_MODULATE_IMG 0x8C08 +#define GL_ADD_BLEND_IMG 0x8C09 +#define GL_DOT3_RGBA_IMG 0x86AF +#endif + +/* GL_IMG_user_clip_plane */ +#ifndef GL_IMG_user_clip_plane +#define GL_CLIP_PLANE0_IMG 0x3000 +#define GL_CLIP_PLANE1_IMG 0x3001 +#define GL_CLIP_PLANE2_IMG 0x3002 +#define GL_CLIP_PLANE3_IMG 0x3003 +#define GL_CLIP_PLANE4_IMG 0x3004 +#define GL_CLIP_PLANE5_IMG 0x3005 +#define GL_MAX_CLIP_PLANES_IMG 0x0D32 +#endif + +/* GL_IMG_multisampled_render_to_texture */ +#ifndef GL_IMG_multisampled_render_to_texture +#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 +#define GL_MAX_SAMPLES_IMG 0x9135 +#define GL_TEXTURE_SAMPLES_IMG 0x9136 +#endif + +/*------------------------------------------------------------------------* + * NV extension tokens + *------------------------------------------------------------------------*/ + +/* GL_NV_fence */ +#ifndef GL_NV_fence +#define GL_ALL_COMPLETED_NV 0x84F2 +#define GL_FENCE_STATUS_NV 0x84F3 +#define GL_FENCE_CONDITION_NV 0x84F4 +#endif + +/*------------------------------------------------------------------------* + * QCOM extension tokens + *------------------------------------------------------------------------*/ + +/* GL_QCOM_driver_control */ +/* No new tokens introduced by this extension. */ + +/* GL_QCOM_extended_get */ +#ifndef GL_QCOM_extended_get +#define GL_TEXTURE_WIDTH_QCOM 0x8BD2 +#define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 +#define GL_TEXTURE_DEPTH_QCOM 0x8BD4 +#define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 +#define GL_TEXTURE_FORMAT_QCOM 0x8BD6 +#define GL_TEXTURE_TYPE_QCOM 0x8BD7 +#define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 +#define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 +#define GL_TEXTURE_TARGET_QCOM 0x8BDA +#define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB +#define GL_STATE_RESTORE 0x8BDC +#endif + +/* GL_QCOM_extended_get2 */ +/* No new tokens introduced by this extension. */ + +/* GL_QCOM_perfmon_global_mode */ +#ifndef GL_QCOM_perfmon_global_mode +#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 +#endif + +/* GL_QCOM_writeonly_rendering */ +#ifndef GL_QCOM_writeonly_rendering +#define GL_WRITEONLY_RENDERING_QCOM 0x8823 +#endif + +/* GL_QCOM_tiled_rendering */ +#ifndef GL_QCOM_tiled_rendering +#define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 +#define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 +#define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 +#define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 +#define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 +#define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 +#define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 +#define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 +#define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 +#define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 +#define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 +#define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 +#define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 +#define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 +#define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 +#define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 +#define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 +#define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 +#define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 +#define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 +#define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 +#define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 +#define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 +#define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 +#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 +#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 +#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 +#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 +#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 +#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 +#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 +#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 +#endif + + +#endif //_GLES_H_ diff --git a/project/jni/glshim/src/gl/light.c b/project/jni/glshim/src/gl/light.c index 579e15f4a..5d3b5a766 100755 --- a/project/jni/glshim/src/gl/light.c +++ b/project/jni/glshim/src/gl/light.c @@ -1,12 +1,12 @@ #include "light.h" #ifndef USE_ES2 -void glLightModelf(GLenum pname, GLfloat param) { +void glshim_glLightModelf(GLenum pname, GLfloat param) { //printf("%sglLightModelf(%04X, %.2f)\n", (state.list.compiling)?"list":"", pname, param); - if (state.list.compiling && state.list.active) { + if (glstate.list.compiling && glstate.list.active) { GLfloat dummy[4]; dummy[0]=param; - glLightModelfv(pname, dummy); + glshim_glLightModelfv(pname, dummy); return; } LOAD_GLES(glLightModelf); @@ -23,15 +23,15 @@ void glLightModelf(GLenum pname, GLfloat param) { } } -void glLightModelfv(GLenum pname, const GLfloat* params) { +void glshim_glLightModelfv(GLenum pname, const GLfloat* params) { //printf("%sglLightModelfv(%04X, [%.2f, %.2f, %.2f, %.2f])\n", (state.list.compiling)?"list":"", pname, params[0], params[1], params[2], params[3]); - if (state.list.compiling && state.list.active) { - NewStage(state.list.active, STAGE_LIGHTMODEL); -/* if (state.list.active->lightmodel) - state.list.active = extend_renderlist(state.list.active);*/ - state.list.active->lightmodelparam = pname; - state.list.active->lightmodel = (GLfloat*)malloc(4*sizeof(GLfloat)); - memcpy(state.list.active->lightmodel, params, 4*sizeof(GLfloat)); + if (glstate.list.compiling && glstate.list.active) { + NewStage(glstate.list.active, STAGE_LIGHTMODEL); +/* if (glstate.list.active->lightmodel) + glstate.list.active = extend_renderlist(glstate.list.active);*/ + glstate.list.active->lightmodelparam = pname; + glstate.list.active->lightmodel = (GLfloat*)malloc(4*sizeof(GLfloat)); + memcpy(glstate.list.active->lightmodel, params, 4*sizeof(GLfloat)); noerrorShim(); return; } @@ -49,11 +49,11 @@ void glLightModelfv(GLenum pname, const GLfloat* params) { } } -void glLightfv(GLenum light, GLenum pname, const GLfloat* params) { +void glshim_glLightfv(GLenum light, GLenum pname, const GLfloat* params) { //printf("%sglLightfv(%04X, %04X, [%.2f, %.2f, %.2f, %.2f])\n", (state.list.compiling)?"list":"", light, pname, params[0], params[1], params[2], params[3]); - if (state.list.compiling && state.list.active) { - NewStage(state.list.active, STAGE_LIGHT); - rlLightfv(state.list.active, light, pname, params); + if (glstate.list.compiling && glstate.list.active) { + NewStage(glstate.list.active, STAGE_LIGHT); + rlLightfv(glstate.list.active, light, pname, params); noerrorShim(); return; } @@ -62,10 +62,15 @@ void glLightfv(GLenum light, GLenum pname, const GLfloat* params) { errorGL(); } -void glLightf(GLenum light, GLenum pname, const GLfloat params) { +void glshim_glLightf(GLenum light, GLenum pname, const GLfloat params) { GLfloat dummy[4]; dummy[0]=params; - glLightfv(light, pname, dummy); + glshim_glLightfv(light, pname, dummy); errorGL(); } + +void glLightModelf(GLenum pname, GLfloat param) __attribute__((alias("glshim_glLightModelf"))); +void glLightModelfv(GLenum pname, const GLfloat* params) __attribute__((alias("glshim_glLightModelfv"))); +void glLightfv(GLenum light, GLenum pname, const GLfloat* params) __attribute__((alias("glshim_glLightfv"))); +void glLightf(GLenum light, GLenum pname, const GLfloat params) __attribute__((alias("glshim_glLightf"))); #endif diff --git a/project/jni/glshim/src/gl/light.h b/project/jni/glshim/src/gl/light.h index a0c8b7fc8..48e295c68 100755 --- a/project/jni/glshim/src/gl/light.h +++ b/project/jni/glshim/src/gl/light.h @@ -1,6 +1,6 @@ #include "gl.h" -void glLightModelf(GLenum pname, GLfloat param); -void glLightModelfv(GLenum pname, const GLfloat* params); -void glLightfv(GLenum light, GLenum pname, const GLfloat* params); -void glLightf(GLenum light, GLenum pname, const GLfloat params); +void glshim_glLightModelf(GLenum pname, GLfloat param); +void glshim_glLightModelfv(GLenum pname, const GLfloat* params); +void glshim_glLightfv(GLenum light, GLenum pname, const GLfloat* params); +void glshim_glLightf(GLenum light, GLenum pname, const GLfloat params); diff --git a/project/jni/glshim/src/gl/line.c b/project/jni/glshim/src/gl/line.c index 4a34fbd77..539a2c35a 100755 --- a/project/jni/glshim/src/gl/line.c +++ b/project/jni/glshim/src/gl/line.c @@ -5,7 +5,7 @@ GLushort stipplePattern = 0xFFFF; GLubyte *stippleData = NULL; GLuint stippleTexture = 0; -void glLineStipple(GLuint factor, GLushort pattern) { +void glshim_glLineStipple(GLuint factor, GLushort pattern) { stippleFactor = factor; stipplePattern = pattern; if (stippleData != NULL) { @@ -16,23 +16,24 @@ void glLineStipple(GLuint factor, GLushort pattern) { stippleData[i] = (stipplePattern >> i) & 1 ? 255 : 0; } - glPushAttrib(GL_TEXTURE_BIT); + glshim_glPushAttrib(GL_TEXTURE_BIT); if (! stippleTexture) - glGenTextures(1, &stippleTexture); + glshim_glGenTextures(1, &stippleTexture); - glBindTexture(GL_TEXTURE_2D, stippleTexture); - glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); + glshim_glBindTexture(GL_TEXTURE_2D, stippleTexture); + glshim_glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); + glshim_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); + glshim_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); - glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, + glshim_glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, 16, 1, 0, GL_ALPHA, GL_UNSIGNED_BYTE, stippleData); - glPopAttrib(); + glshim_glPopAttrib(); noerrorShim(); } +void glLineStipple(GLuint factor, GLushort pattern) __attribute__((alias("glshim_glLineStipple"))); void bind_stipple_tex() { - glBindTexture(GL_TEXTURE_2D, stippleTexture); + glshim_glBindTexture(GL_TEXTURE_2D, stippleTexture); } GLfloat *gen_stipple_tex_coords(GLfloat *vert, int length) { diff --git a/project/jni/glshim/src/gl/line.h b/project/jni/glshim/src/gl/line.h old mode 100644 new mode 100755 index d4e61caeb..550041b64 --- a/project/jni/glshim/src/gl/line.h +++ b/project/jni/glshim/src/gl/line.h @@ -1,5 +1,5 @@ #include "gl.h" -extern void glLineStipple(GLuint factor, GLushort pattern); -extern GLfloat *gen_stipple_tex_coords(GLfloat *vert, int length); -extern void bind_stipple_tex(); +void glshim_glLineStipple(GLuint factor, GLushort pattern); +GLfloat *gen_stipple_tex_coords(GLfloat *vert, int length); +void bind_stipple_tex(); diff --git a/project/jni/glshim/src/gl/list.c b/project/jni/glshim/src/gl/list.c index cb450de99..7828860aa 100755 --- a/project/jni/glshim/src/gl/list.c +++ b/project/jni/glshim/src/gl/list.c @@ -63,7 +63,7 @@ renderlist_t *alloc_renderlist() { list->set_texture = false; list->texture = 0;*/ list->target_texture = GL_TEXTURE_2D; - list->tmu = state.texture.active; + list->tmu = glstate.texture.active; /* list->polygon_mode = 0; list->fog_op = 0; @@ -559,7 +559,7 @@ void free_renderlist(renderlist_t *list) { if (list->raster) { if (list->raster->texture) - glDeleteTextures(1, &list->raster->texture); + glshim_glDeleteTextures(1, &list->raster->texture); free(list->raster); } @@ -588,16 +588,16 @@ void adjust_renderlist(renderlist_t *list) { list->stage = STAGE_LAST; list->open = false; for (int a=0; aset_texture && (list->tmu == a)) - bound = getTexture(list->target_texture, list->texture); + bound = glshim_getTexture(list->target_texture, list->texture); // adjust the tex_coord now if ((list->tex[a]) && (bound) && ((bound->width != bound->nwidth) || (bound->height != bound->nheight))) { tex_coord_npot(list->tex[a], list->len, bound->width, bound->height, bound->nwidth, bound->nheight); } // GL_ARB_texture_rectangle - if ((list->tex[a]) && state.texture.rect_arb[a] && (bound)) { + if ((list->tex[a]) && glstate.texture.rect_arb[a] && (bound)) { tex_coord_rect_arb(list->tex[a], list->len, bound->width, bound->height); } } @@ -631,7 +631,7 @@ void draw_renderlist(renderlist_t *list) { // go to 1st... while (list->prev) list = list->prev; // ok, go on now, draw everything -//printf("draw_renderlist %p, gl_batch=%i, size=%i, mode=%s(%s), ilen=%d, next=%p, color=%p, secondarycolor=%p\n", list, state.gl_batch, list->len, PrintEnum(list->mode), PrintEnum(list->mode_init), list->ilen, list->next, list->color, list->secondary); +//printf("draw_renderlist %p, gl_batch=%i, size=%i, mode=%s(%s), ilen=%d, next=%p, color=%p, secondarycolor=%p\n", list, glstate.gl_batch, list->len, PrintEnum(list->mode), PrintEnum(list->mode_init), list->ilen, list->next, list->color, list->secondary); LOAD_GLES(glDrawArrays); LOAD_GLES(glDrawElements); #ifdef USE_ES2 @@ -646,7 +646,7 @@ void draw_renderlist(renderlist_t *list) { LOAD_GLES(glDisable); LOAD_GLES(glEnableClientState); LOAD_GLES(glDisableClientState); - glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT); + glshim_glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT); GLfloat *final_colors; int old_tex; @@ -654,12 +654,12 @@ void draw_renderlist(renderlist_t *list) { do { // push/pop attributes if (list->pushattribute) - glPushAttrib(list->pushattribute); + glshim_glPushAttrib(list->pushattribute); if (list->popattribute) - glPopAttrib(); + glshim_glPopAttrib(); // do call_list if (list->glcall_list) - glCallList(list->glcall_list); + glshim_glCallList(list->glcall_list); call_list_t *cl = &list->calls; if (cl->len > 0) { for (int i = 0; i < cl->len; i++) { @@ -669,37 +669,37 @@ void draw_renderlist(renderlist_t *list) { if (list->fog_op) { switch (list->fog_op) { case 1: // GL_FOG_COLOR - glFogfv(GL_FOG_COLOR, list->fog_val); + glshim_glFogfv(GL_FOG_COLOR, list->fog_val); break; } } if (list->matrix_op) { switch (list->matrix_op) { case 1: // load - glLoadMatrixf(list->matrix_val); + glshim_glLoadMatrixf(list->matrix_val); break; case 2: // mult - glMultMatrixf(list->matrix_val); + glshim_glMultMatrixf(list->matrix_val); break; } } if (list->set_tmu) { - glActiveTexture(GL_TEXTURE0+list->tmu); + glshim_glActiveTexture(GL_TEXTURE0+list->tmu); } if (list->set_texture) { - glBindTexture(list->target_texture, list->texture); + glshim_glBindTexture(list->target_texture, list->texture); } // raster - old_tex = state.texture.active; + old_tex = glstate.texture.active; if (list->raster_op) { if (list->raster_op==1) { - glRasterPos3f(list->raster_xyz[0], list->raster_xyz[1], list->raster_xyz[2]); + glshim_glRasterPos3f(list->raster_xyz[0], list->raster_xyz[1], list->raster_xyz[2]); } else if (list->raster_op==2) { - glWindowPos3f(list->raster_xyz[0], list->raster_xyz[1], list->raster_xyz[2]); + glshim_glWindowPos3f(list->raster_xyz[0], list->raster_xyz[1], list->raster_xyz[2]); } else if (list->raster_op==3) { - glPixelZoom(list->raster_xyz[0], list->raster_xyz[1]); + glshim_glPixelZoom(list->raster_xyz[0], list->raster_xyz[1]); } else if ((list->raster_op&0x10000) == 0x10000) { - glPixelTransferf(list->raster_op&0xFFFF, list->raster_xyz[0]); + glshim_glPixelTransferf(list->raster_op&0xFFFF, list->raster_xyz[0]); } } if (list->raster) { @@ -715,10 +715,10 @@ void draw_renderlist(renderlist_t *list) { kh_foreach_value(map, m, switch (m->pname) { case GL_SHININESS: - glMaterialf(GL_FRONT_AND_BACK, m->pname, m->color[0]); + glshim_glMaterialf(GL_FRONT_AND_BACK, m->pname, m->color[0]); break; default: - glMaterialfv(GL_FRONT_AND_BACK, m->pname, m->color); + glshim_glMaterialfv(GL_FRONT_AND_BACK, m->pname, m->color); } ) } @@ -728,30 +728,30 @@ void draw_renderlist(renderlist_t *list) { kh_foreach_value(lig, m, switch (m->pname) { default: - glLightfv(m->which, m->pname, m->color); + glshim_glLightfv(m->which, m->pname, m->color); } ) } if (list->lightmodel) { - glLightModelfv(list->lightmodelparam, list->lightmodel); + glshim_glLightModelfv(list->lightmodelparam, list->lightmodel); } if (list->texgen) { khash_t(texgen) *tgn = list->texgen; rendertexgen_t *m; kh_foreach_value(tgn, m, - glTexGenfv(m->coord, m->pname, m->color); + glshim_glTexGenfv(m->coord, m->pname, m->color); ) } if (list->polygon_mode) { - glPolygonMode(GL_FRONT_AND_BACK, list->polygon_mode);} + glshim_glPolygonMode(GL_FRONT_AND_BACK, list->polygon_mode);} if (! list->len) continue; #ifdef USE_ES2 if (list->vert) { - glEnableVertexAttribArray(0); + glshim_glEnableVertexAttribArray(0); gles_glVertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, 0, list->vert); } gles_glDrawArrays(list->mode, 0, list->len); @@ -759,19 +759,19 @@ void draw_renderlist(renderlist_t *list) { if (list->vert) { gles_glEnableClientState(GL_VERTEX_ARRAY); gles_glVertexPointer(4, GL_FLOAT, 0, list->vert); - state.clientstate.vertex_array = 1; + glstate.clientstate.vertex_array = 1; } else { gles_glDisableClientState(GL_VERTEX_ARRAY); - state.clientstate.vertex_array = false; + glstate.clientstate.vertex_array = false; } if (list->normal) { gles_glEnableClientState(GL_NORMAL_ARRAY); gles_glNormalPointer(GL_FLOAT, 0, list->normal); - state.clientstate.normal_array = 1; + glstate.clientstate.normal_array = 1; } else { gles_glDisableClientState(GL_NORMAL_ARRAY); - state.clientstate.normal_array = 0; + glstate.clientstate.normal_array = 0; } indices = list->indices; @@ -779,8 +779,8 @@ void draw_renderlist(renderlist_t *list) { final_colors = NULL; if (list->color) { gles_glEnableClientState(GL_COLOR_ARRAY); - state.clientstate.color_array = 1; - if (state.enable.color_sum && (list->secondary)) { + glstate.clientstate.color_array = 1; + if (glstate.enable.color_sum && (list->secondary)) { final_colors=(GLfloat*)malloc(list->len * 4 * sizeof(GLfloat)); if (indices) { for (int i=0; iilen; i++) @@ -799,19 +799,19 @@ void draw_renderlist(renderlist_t *list) { } } else { gles_glDisableClientState(GL_COLOR_ARRAY); - state.clientstate.color_array = 0; + glstate.clientstate.color_array = 0; } GLuint texture; bool stipple; stipple = false; if (! list->tex[0]) { // TODO: do we need to support GL_LINE_STRIP? - if (list->mode == GL_LINES && state.enable.line_stipple) { + if (list->mode == GL_LINES && glstate.enable.line_stipple) { stipple = true; - glPushAttrib(GL_COLOR_BUFFER_BIT | GL_ENABLE_BIT | GL_TEXTURE_BIT); - glEnable(GL_BLEND); - glEnable(GL_TEXTURE_2D); - glBlendFunc(GL_SRC_ALPHA, GL_ONE); + glshim_glPushAttrib(GL_COLOR_BUFFER_BIT | GL_ENABLE_BIT | GL_TEXTURE_BIT); + glshim_glEnable(GL_BLEND); + glshim_glEnable(GL_TEXTURE_2D); + glshim_glBlendFunc(GL_SRC_ALPHA, GL_ONE); list->tex[0] = gen_stipple_tex_coords(list->vert, list->len); } } @@ -820,46 +820,46 @@ void draw_renderlist(renderlist_t *list) { for (int a=0; avert, list->normal, &texgened[a], list->len, &needclean[a], a, (list->ilenlen)?indices:NULL, (list->ilenlen)?list->ilen:0); - } else if (state.enable.texture_2d[a] && (list->tex[a]==NULL)) { + } else if (glstate.enable.texture_2d[a] && (list->tex[a]==NULL)) { gen_tex_coords(list->vert, list->normal, &texgened[a], list->len, &needclean[a], a, (list->ilenlen)?indices:NULL, (list->ilenlen)?list->ilen:0); } } - old_tex = state.texture.client; + old_tex = glstate.texture.client; for (int a=0; atex[a] || texgened[a])/* && state.enable.texture_2d[a]*/) { - glClientActiveTexture(GL_TEXTURE0+a); + if ((list->tex[a] || texgened[a])/* && glstate.enable.texture_2d[a]*/) { + glshim_glClientActiveTexture(GL_TEXTURE0+a); gles_glEnableClientState(GL_TEXTURE_COORD_ARRAY); - state.clientstate.tex_coord_array[a] = 1; + glstate.clientstate.tex_coord_array[a] = 1; gles_glTexCoordPointer(4, GL_FLOAT, 0, (texgened[a])?texgened[a]:list->tex[a]); } else { - if (state.clientstate.tex_coord_array[a]) { - glClientActiveTexture(GL_TEXTURE0+a); + if (glstate.clientstate.tex_coord_array[a]) { + glshim_glClientActiveTexture(GL_TEXTURE0+a); gles_glDisableClientState(GL_TEXTURE_COORD_ARRAY); - state.clientstate.tex_coord_array[a] = 0; + glstate.clientstate.tex_coord_array[a] = 0; } -//else if (!state.enable.texgen_s[a] && state.enable.texture_2d[a]) printf("LIBGL: texture_2d[%i] without TexCoord, mode=0x%04X (init=0x%04X), listlen=%i\n", a, list->mode, list->mode_init, list->len); +//else if (!glstate.enable.texgen_s[a] && glstate.enable.texture_2d[a]) printf("LIBGL: texture_2d[%i] without TexCoord, mode=0x%04X (init=0x%04X), listlen=%i\n", a, list->mode, list->mode_init, list->len); } } for (int aa=0; aamode; - if ((state.polygon_mode == GL_LINE) && (mode>=GL_TRIANGLES)) + if ((glstate.polygon_mode == GL_LINE) && (mode>=GL_TRIANGLES)) mode = GL_LINES; - if ((state.polygon_mode == GL_POINT) && (mode>=GL_TRIANGLES)) + if ((glstate.polygon_mode == GL_POINT) && (mode>=GL_TRIANGLES)) mode = GL_POINTS; if (indices) { - if (state.render_mode == GL_SELECT) { + if (glstate.render_mode == GL_SELECT) { pointer_state_t vtx; vtx.pointer = list->vert; vtx.type = GL_FLOAT; @@ -868,7 +868,7 @@ void draw_renderlist(renderlist_t *list) { vtx.buffer = NULL; select_glDrawElements(&vtx, list->mode, list->ilen, GL_UNSIGNED_SHORT, indices); } else { - if (state.polygon_mode == GL_LINE && list->mode_init>=GL_TRIANGLES) { + if (glstate.polygon_mode == GL_LINE && list->mode_init>=GL_TRIANGLES) { int n, s; int ilen = list->ilen; GLushort ind_line[ilen*4+2]; @@ -951,7 +951,7 @@ void draw_renderlist(renderlist_t *list) { } } } else { - if (state.render_mode == GL_SELECT) { + if (glstate.render_mode == GL_SELECT) { pointer_state_t vtx; vtx.pointer = list->vert; vtx.type = GL_FLOAT; @@ -961,7 +961,7 @@ void draw_renderlist(renderlist_t *list) { select_glDrawArrays(&vtx, list->mode, 0, list->len); } else { int len = list->len; - if ((state.polygon_mode == GL_LINE) && (list->mode_init>=GL_TRIANGLES)) { + if ((glstate.polygon_mode == GL_LINE) && (list->mode_init>=GL_TRIANGLES)) { int n, s; GLushort ind_line[len*4+2]; int k=0; @@ -1054,22 +1054,22 @@ void draw_renderlist(renderlist_t *list) { } } for (int aa=0; aanext)); - glPopClientAttrib(); + glshim_glPopClientAttrib(); } // gl function wrappers @@ -1088,18 +1088,18 @@ void rlVertex4f(renderlist_t *list, GLfloat x, GLfloat y, GLfloat z, GLfloat w) if (list->color) { GLfloat *color = list->color + (list->len * 4); - memcpy(color, state.color, sizeof(GLfloat) * 4); + memcpy(color, glstate.color, sizeof(GLfloat) * 4); } if (list->secondary) { GLfloat *secondary = list->secondary + (list->len * 4); - memcpy(secondary, state.secondary, sizeof(GLfloat) * 4); + memcpy(secondary, glstate.secondary, sizeof(GLfloat) * 4); } for (int a=0; atex[a]) { GLfloat *tex = list->tex[a] + (list->len * 4); - memcpy(tex, state.texcoord[a], sizeof(GLfloat) * 4); + memcpy(tex, glstate.texcoord[a], sizeof(GLfloat) * 4); } } @@ -1129,14 +1129,14 @@ void rlColor4f(renderlist_t *list, GLfloat r, GLfloat g, GLfloat b, GLfloat a) { int i; if (list->len) for (i = 0; i < list->len-1; i++) { GLfloat *color = (list->color + (i * 4)); - memcpy(color, state.color, sizeof(GLfloat) * 4); + memcpy(color, glstate.color, sizeof(GLfloat) * 4); }/* else { GLfloat *color = list->color; color[0] = r; color[1] = g; color[2] = b; color[3] = a; }*/ } - GLfloat *color = state.color; + GLfloat *color = glstate.color; color[0] = r; color[1] = g; color[2] = b; color[3] = a; } @@ -1147,11 +1147,11 @@ void rlSecondary3f(renderlist_t *list, GLfloat r, GLfloat g, GLfloat b) { int i; if (list->len) for (i = 0; i < list->len-1; i++) { GLfloat *secondary = (list->secondary + (i * 4)); - memcpy(secondary, state.secondary, sizeof(GLfloat) * 4); + memcpy(secondary, glstate.secondary, sizeof(GLfloat) * 4); } } - GLfloat *color = state.secondary; + GLfloat *color = glstate.secondary; color[0] = r; color[1] = g; color[2] = b; color[3] = 0.0f; } @@ -1251,12 +1251,12 @@ void rlTexCoord4f(renderlist_t *list, GLfloat s, GLfloat t, GLfloat r, GLfloat q // catch up GLfloat *tex = list->tex[0]; if (list->len) for (int i = 0; i < list->len-1; i++) { - memcpy(tex, state.texcoord[0], sizeof(GLfloat) * 4); + memcpy(tex, glstate.texcoord[0], sizeof(GLfloat) * 4); tex += 4; } } - GLfloat *tex = state.texcoord[0]; + GLfloat *tex = glstate.texcoord[0]; tex[0] = s; tex[1] = t; tex[2] = r; tex[3] = q; } @@ -1268,11 +1268,11 @@ void rlMultiTexCoord4f(renderlist_t *list, GLenum target, GLfloat s, GLfloat t, // catch up GLfloat *tex = list->tex[tmu]; if (list->len) for (int i = 0; i < list->len-1; i++) { - memcpy(tex, state.texcoord[tmu], sizeof(GLfloat) * 4); + memcpy(tex, glstate.texcoord[tmu], sizeof(GLfloat) * 4); tex += 4; } } - GLfloat *tex = state.texcoord[tmu]; + GLfloat *tex = glstate.texcoord[tmu]; tex[0] = s; tex[1] = t; tex[2] = r; tex[3] = q; } diff --git a/project/jni/glshim/src/gl/raster.c b/project/jni/glshim/src/gl/raster.c index 364528e56..22b226718 100755 --- a/project/jni/glshim/src/gl/raster.c +++ b/project/jni/glshim/src/gl/raster.c @@ -1,4 +1,5 @@ #include "raster.h" +#include "debug.h" rasterpos_t rPos = {0, 0, 0}; viewport_t viewport = {0, 0, 0, 0}; @@ -18,20 +19,20 @@ GLfloat raster_bias[4] = {0.0f, 0.0f, 0.0f, 0.0f}; extern void matrix_column_row(const GLfloat *a, GLfloat *b); extern void matrix_vector(const GLfloat *a, const GLfloat *b, GLfloat *c); -void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) { - if ((state.list.compiling || state.gl_batch) && state.list.active) { - NewStage(state.list.active, STAGE_RASTER); - rlRasterOp(state.list.active, 1, x, y, z); +void glshim_glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) { + if ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active) { + NewStage(glstate.list.active, STAGE_RASTER); + rlRasterOp(glstate.list.active, 1, x, y, z); noerrorShim(); return; } #if 1 - // Transform xyz coordinates with currzent modelview and projection matrix... + // Transform xyz coordinates with current modelview and projection matrix... GLfloat glmatrix[16], projection[16], modelview[16]; - GLfloat t[3], transl[3] = {x, y, z}; - glGetFloatv(GL_PROJECTION_MATRIX, glmatrix); + GLfloat t[4], transl[4] = {x, y, z, 1.0f}; + glshim_glGetFloatv(GL_PROJECTION_MATRIX, glmatrix); matrix_column_row(glmatrix, projection); - glGetFloatv(GL_MODELVIEW_MATRIX, glmatrix); + glshim_glGetFloatv(GL_MODELVIEW_MATRIX, glmatrix); matrix_column_row(glmatrix, modelview); matrix_vector(modelview, transl, t); matrix_vector(projection, t, transl); @@ -49,10 +50,10 @@ void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) { #endif } -void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) { - if ((state.list.compiling || state.gl_batch) && state.list.active) { - NewStage(state.list.active, STAGE_RASTER); - rlRasterOp(state.list.active, 2, x, y, z); +void glshim_glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) { + if ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active) { + NewStage(glstate.list.active, STAGE_RASTER); + rlRasterOp(glstate.list.active, 2, x, y, z); noerrorShim(); return; } @@ -61,7 +62,7 @@ void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) { rPos.z = z; } -void glViewport(GLint x, GLint y, GLsizei width, GLsizei height) { +void glshim_glViewport(GLint x, GLint y, GLsizei width, GLsizei height) { PUSH_IF_COMPILING(glViewport); LOAD_GLES(glViewport); gles_glViewport(x, y, width, height); @@ -71,10 +72,10 @@ void glViewport(GLint x, GLint y, GLsizei width, GLsizei height) { viewport.height = height; } -void glPixelZoom(GLfloat xfactor, GLfloat yfactor) { - if ((state.list.compiling || state.gl_batch) && state.list.active) { - NewStage(state.list.active, STAGE_RASTER); - rlRasterOp(state.list.active, 3, xfactor, yfactor, 0.0f); +void glshim_glPixelZoom(GLfloat xfactor, GLfloat yfactor) { + if ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active) { + NewStage(glstate.list.active, STAGE_RASTER); + rlRasterOp(glstate.list.active, 3, xfactor, yfactor, 0.0f); noerrorShim(); return; } @@ -83,10 +84,10 @@ void glPixelZoom(GLfloat xfactor, GLfloat yfactor) { //printf("LIBGL: glPixelZoom(%f, %f)\n", xfactor, yfactor); } -void glPixelTransferf(GLenum pname, GLfloat param) { - if ((state.list.compiling || state.gl_batch) && state.list.active) { - NewStage(state.list.active, STAGE_RASTER); - rlRasterOp(state.list.active, pname|0x10000, param, 0.0f, 0.0f); +void glshim_glPixelTransferf(GLenum pname, GLfloat param) { + if ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active) { + NewStage(glstate.list.active, STAGE_RASTER); + rlRasterOp(glstate.list.active, pname|0x10000, param, 0.0f, 0.0f); noerrorShim(); return; } @@ -161,49 +162,51 @@ GLuint raster_to_texture() LOAD_GLES(glTexEnvf); LOAD_GLES(glTexImage2D); LOAD_GLES(glActiveTexture); + LOAD_GLES(glTexParameteri); + LOAD_GLES(glTexParameterf); - renderlist_t *old_list = state.list.active; - if (old_list) state.list.active = NULL; // deactivate list... - GLboolean compiling = state.list.compiling; - GLuint state_batch = state.gl_batch; - state.list.compiling = false; - state.gl_batch = 0; - glPushAttrib(GL_TEXTURE_BIT | GL_ENABLE_BIT ); + renderlist_t *old_list = glstate.list.active; + if (old_list) glstate.list.active = NULL; // deactivate list... + GLboolean compiling = glstate.list.compiling; + GLuint state_batch = glstate.gl_batch; + glstate.list.compiling = false; + glstate.gl_batch = 0; + glshim_glPushAttrib(GL_TEXTURE_BIT | GL_ENABLE_BIT ); GLuint old_tex_unit, old_tex; - glGetIntegerv(GL_ACTIVE_TEXTURE, &old_tex_unit); - if (old_tex_unit!=GL_TEXTURE0) glActiveTexture(GL_TEXTURE0); + glshim_glGetIntegerv(GL_ACTIVE_TEXTURE, &old_tex_unit); + if (old_tex_unit!=GL_TEXTURE0) glshim_glActiveTexture(GL_TEXTURE0); old_tex = 0; - if (state.texture.bound[0]) - old_tex = state.texture.bound[0]->texture; + if (glstate.texture.bound[0]) + old_tex = glstate.texture.bound[0]->texture; GLuint raster_texture; - glEnable(GL_TEXTURE_2D); + glshim_glEnable(GL_TEXTURE_2D); gles_glGenTextures(1, &raster_texture); gles_glBindTexture(GL_TEXTURE_2D, raster_texture); - glPixelStorei(GL_PACK_ALIGNMENT, 1); - glPixelStorei(GL_UNPACK_ALIGNMENT, 1); - glPixelStorei(GL_UNPACK_ROW_LENGTH, 0); - glPixelStorei(GL_UNPACK_SKIP_PIXELS, 0); - glPixelStorei(GL_UNPACK_SKIP_ROWS, 0); - glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); - glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); - glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); - glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); + glshim_glPixelStorei(GL_PACK_ALIGNMENT, 1); + glshim_glPixelStorei(GL_UNPACK_ALIGNMENT, 1); + glshim_glPixelStorei(GL_UNPACK_ROW_LENGTH, 0); + glshim_glPixelStorei(GL_UNPACK_SKIP_PIXELS, 0); + glshim_glPixelStorei(GL_UNPACK_SKIP_ROWS, 0); + glshim_glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); + gles_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); + gles_glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); + gles_glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); + gles_glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); gles_glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, raster_width, raster_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, raster); gles_glBindTexture(GL_TEXTURE_2D, old_tex); if (old_tex_unit!=GL_TEXTURE0) - glActiveTexture(old_tex_unit); - glPopAttrib(); - if (old_list) state.list.active = old_list; - state.list.compiling = compiling; - state.gl_batch = state_batch; + glshim_glActiveTexture(old_tex_unit); + glshim_glPopAttrib(); + if (old_list) glstate.list.active = old_list; + glstate.list.compiling = compiling; + glstate.gl_batch = state_batch; return raster_texture; } -void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, +void glshim_glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) { /*printf("glBitmap, xy={%f, %f}, xyorig={%f, %f}, size={%u, %u}, zoom={%f, %f}, viewport={%i, %i, %i, %i}\n", rPos.x, rPos.y, xorig, yorig, width, height, zoomx, zoomy, viewport.x, viewport.y, viewport.width, viewport.height);*/ @@ -211,10 +214,10 @@ void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, // TODO: negative width/height mirrors bitmap? noerrorShim(); if ((!width && !height) || (bitmap==0)) { - if (state.list.compiling || state.gl_batch) { - if (state.list.active->raster) - state.list.active = extend_renderlist(state.list.active); // already a raster in the list, create a new one - rasterlist_t *r = state.list.active->raster = (rasterlist_t*)malloc(sizeof(rasterlist_t)); + if (glstate.list.compiling || glstate.gl_batch) { + if (glstate.list.active->raster) + glstate.list.active = extend_renderlist(glstate.list.active); // already a raster in the list, create a new one + rasterlist_t *r = glstate.list.active->raster = (rasterlist_t*)malloc(sizeof(rasterlist_t)); r->texture = 0; r->xorig = 0; r->yorig = 0; @@ -237,21 +240,27 @@ void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, int pixtrans=raster_need_transform(); // copy to pixel data - for (y = 0; y < height; y++) { - to = raster + 4 * (GLint)(y * raster_width); - from = bitmap + (y * ((width+7)/8)); - for (x = 0; x < width; x++) { - // TODO: wasteful, unroll this? - GLubyte b = from[(x / 8)]; - int p = (b & (1 << (7 - (x % 8)))) ? 255 : 0; - // r, g, b, a - //p = (p ? 255 : 0); - if (pixtrans) { + if (pixtrans) { + for (y = 0; y < height; y++) { + to = raster + 4 * (GLint)(y * raster_width); + from = bitmap + (y * ((width+7)/8)); + for (x = 0; x < width; x++) { + GLubyte b = from[(x / 8)]; + int p = (b & (1 << (7 - (x % 8)))) ? 255 : 0; + // r, g, b, a *to++ = raster_transform(p, 0); *to++ = raster_transform(p, 1); *to++ = raster_transform(p, 2); *to++ = raster_transform(p, 3); - } else { + } + } + } else { + for (y = 0; y < height; y++) { + to = raster + 4 * (GLint)(y * raster_width); + from = bitmap + (y * ((width+7)/8)); + for (x = 0; x < width; x++) { + GLubyte b = from[(x / 8)]; + int p = (b & (1 << (7 - (x % 8)))) ? 255 : 0; *to++ = p; *to++ = p; *to++ = p; @@ -262,11 +271,9 @@ void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, rasterlist_t rast; rasterlist_t *r; - if (state.list.compiling || state.gl_batch) { - NewStage(state.list.active, STAGE_RASTER); -/* if (state.list.active->raster) - state.list.active = extend_renderlist(state.list.active);*/ // already a raster in the list, create a new one - r = state.list.active->raster = (rasterlist_t*)malloc(sizeof(rasterlist_t)); + if (glstate.list.compiling || glstate.gl_batch) { + NewStage(glstate.list.active, STAGE_RASTER); + r = glstate.list.active->raster = (rasterlist_t*)malloc(sizeof(rasterlist_t)); } else { r = &rast; } @@ -281,20 +288,23 @@ void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, r->zoomx = zoomx; r->zoomy = zoomy; LOAD_GLES(glDeleteTextures); - if (!(state.list.compiling || state.gl_batch)) { + if (!(glstate.list.compiling || glstate.gl_batch)) { render_raster_list(r); gles_glDeleteTextures(1, &r->texture); r->texture = 0; } } -void glDrawPixels(GLsizei width, GLsizei height, GLenum format, +void glshim_glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *data) { GLubyte *pixels, *from, *to; GLvoid *dst = NULL; + LOAD_GLES(glDeleteTextures); + noerrorShim(); -/*printf("glDrawPixels, xy={%f, %f}, size={%i, %i}, format=%04x, type=%04x, zoom={%f, %f}, viewport={%i, %i, %i, %i}\n", - rPos.x, rPos.y, width, height, format, type, zoomx, (zoominversey)?-zoomy:zoomy, viewport.x, viewport.y, viewport.width, viewport.height);*/ + +/*printf("glDrawPixels, xy={%f, %f}, size={%i, %i}, format=%s, type=%s, zoom={%f, %f}, viewport={%i, %i, %i, %i}\n", + rPos.x, rPos.y, width, height, PrintEnum(format), PrintEnum(type), zoomx, zoomy, viewport.x, viewport.y, viewport.width, viewport.height);*/ // check of unsuported format... if ((format == GL_STENCIL_INDEX) || (format == GL_DEPTH_COMPONENT)) { errorShim(GL_INVALID_ENUM); @@ -303,7 +313,7 @@ void glDrawPixels(GLsizei width, GLsizei height, GLenum format, init_raster(width, height); - GLsizei bmp_width = (state.texture.unpack_row_length)?state.texture.unpack_row_length:width; + GLsizei bmp_width = (glstate.texture.unpack_row_length)?glstate.texture.unpack_row_length:width; if (! pixel_convert(data, &dst, bmp_width, height, format, type, GL_RGBA, GL_UNSIGNED_BYTE, 0)) { @@ -314,16 +324,22 @@ void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLint vx, vy; int pixtrans=raster_need_transform(); - for (int y = 0; y < height; y++) { - to = raster + 4 * (GLint)(y * raster_width); - from = pixels + 4 * (state.texture.unpack_skip_pixels + (y + state.texture.unpack_skip_rows) * bmp_width); - for (int x = 0; x < width; x++) { - if (pixtrans) { + if (pixtrans) { + for (int y = 0; y < height; y++) { + to = raster + 4 * (GLint)(y * raster_width); + from = pixels + 4 * (glstate.texture.unpack_skip_pixels + (y + glstate.texture.unpack_skip_rows) * bmp_width); + for (int x = 0; x < width; x++) { *to++ = raster_transform(*from++, 0); *to++ = raster_transform(*from++, 1); *to++ = raster_transform(*from++, 2); *to++ = raster_transform(*from++, 3); - } else { + } + } + } else { + for (int y = 0; y < height; y++) { + to = raster + 4 * (GLint)(y * raster_width); + from = pixels + 4 * (glstate.texture.unpack_skip_pixels + (y + glstate.texture.unpack_skip_rows) * bmp_width); + for (int x = 0; x < width; x++) { *to++ = *from++; *to++ = *from++; *to++ = *from++; @@ -334,15 +350,15 @@ void glDrawPixels(GLsizei width, GLsizei height, GLenum format, if (pixels != data) free(pixels); - rasterlist_t rast; + static rasterlist_t rast = {.texture=0}; rasterlist_t *r; - if (state.list.compiling || gl_batch) { - NewStage(state.list.active, STAGE_RASTER); -/* if (state.list.active->raster) - state.list.active = extend_renderlist(state.list.active);*/ // already a raster in the list, create a new one - rasterlist_t *r = state.list.active->raster = (rasterlist_t*)malloc(sizeof(rasterlist_t)); + if (glstate.list.compiling || gl_batch) { + NewStage(glstate.list.active, STAGE_RASTER); + rasterlist_t *r = glstate.list.active->raster = (rasterlist_t*)malloc(sizeof(rasterlist_t)); } else { r = &rast; + if(r->texture) + gles_glDeleteTextures(1, &r->texture); } r->texture = raster_to_texture(width, height); r->xmove = 0; @@ -354,100 +370,104 @@ void glDrawPixels(GLsizei width, GLsizei height, GLenum format, r->bitmap = false; r->zoomx = zoomx; r->zoomy = zoomy; - LOAD_GLES(glDeleteTextures); - if (!(state.list.compiling || state.gl_batch)) { + if (!(glstate.list.compiling || glstate.gl_batch)) { render_raster_list(r); - gles_glDeleteTextures(1, &r->texture); - r->texture = 0; +/* gles_glDeleteTextures(1, &r->texture); + r->texture = 0;*/ } } void render_raster_list(rasterlist_t* rast) { -//printf("render_raster_list, rast->width=%i, rast->height=%i, rPos.x=%f, rPos.y=%f, raster->texture=%u\n", rast->width, rast->height, rPos.x, rPos.y, rast->texture); +//printf("render_raster_list, rast->width=%i, rast->height=%i, rPos.x=%f, rPos.y=%f, rast->zoomxy=%f/%f raster->texture=%u\n", rast->width, rast->height, rPos.x, rPos.y, rast->zoomx, rast->zoomy, rast->texture); LOAD_GLES(glEnableClientState); LOAD_GLES(glDisableClientState); LOAD_GLES(glBindTexture); LOAD_GLES(glVertexPointer); LOAD_GLES(glTexCoordPointer); LOAD_GLES(glDrawArrays); + LOAD_GLES(glActiveTexture); + LOAD_GLES(glClientActiveTexture); if (rast->texture) { - glPushAttrib(GL_TEXTURE_BIT | GL_ENABLE_BIT | GL_TRANSFORM_BIT | GL_COLOR_BUFFER_BIT | GL_CURRENT_BIT); + glshim_glPushAttrib(GL_TEXTURE_BIT | GL_ENABLE_BIT | GL_TRANSFORM_BIT | GL_COLOR_BUFFER_BIT | GL_CURRENT_BIT); GLfloat old_projection[16], old_modelview[16], old_texture[16]; - GLuint old_tex = state.texture.active; - if (old_tex!=0) glActiveTexture(GL_TEXTURE0); - GLuint old_cli = state.texture.client; - if (old_cli!=0) glClientActiveTexture(GL_TEXTURE0); - glMatrixMode(GL_TEXTURE); - glGetFloatv(GL_TEXTURE_MATRIX, old_texture); - glLoadIdentity(); - glMatrixMode(GL_PROJECTION); - glGetFloatv(GL_PROJECTION_MATRIX, old_projection); - glLoadIdentity(); - glMatrixMode(GL_MODELVIEW); - glGetFloatv(GL_MODELVIEW_MATRIX, old_modelview); - glLoadIdentity(); - float w2 = viewport.width / 2.0f; - float h2 = viewport.height / 2.0f; + GLuint old_tex = glstate.texture.active; + if (old_tex!=0) gles_glActiveTexture(GL_TEXTURE0); + GLuint old_cli = glstate.texture.client; + if (old_cli!=0) gles_glClientActiveTexture(GL_TEXTURE0); + glshim_glGetFloatv(GL_TEXTURE_MATRIX, old_texture); + glshim_glGetFloatv(GL_PROJECTION_MATRIX, old_projection); + glshim_glGetFloatv(GL_MODELVIEW_MATRIX, old_modelview); + glshim_glMatrixMode(GL_TEXTURE); + glshim_glLoadIdentity(); + glshim_glMatrixMode(GL_PROJECTION); + glshim_glLoadIdentity(); + glshim_glMatrixMode(GL_MODELVIEW); + glshim_glLoadIdentity(); + float w2 = 2.0f / viewport.width; + float h2 = 2.0f / viewport.height; float raster_x1=rPos.x-rast->xorig; float raster_x2=rPos.x-rast->xorig + rast->width * rast->zoomx ; float raster_y1=rPos.y-rast->yorig; float raster_y2=rPos.y-rast->yorig + rast->height * rast->zoomy ; - GLfloat vert[] = { - (raster_x1-w2)/w2, (raster_y1-h2)/h2, 0, - (raster_x2-w2)/w2, (raster_y1-h2)/h2, 0, - (raster_x2-w2)/w2, (raster_y2-h2)/h2, 0, - (raster_x1-w2)/w2, (raster_y2-h2)/h2, 0, + GLfloat rast_vert[] = { + raster_x1*w2-1.0f, raster_y1*h2-1.0f, + raster_x2*w2-1.0f, raster_y1*h2-1.0f, + raster_x2*w2-1.0f, raster_y2*h2-1.0f, + raster_x1*w2-1.0f, raster_y2*h2-1.0f }; float sw = rast->width / (GLfloat)npot(rast->width); float sh = rast->height / (GLfloat)npot(rast->height); - GLfloat tex[] = { + GLfloat rast_tex[] = { 0, 0, sw, 0, sw, sh, 0, sh }; - glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT | GL_CLIENT_PIXEL_STORE_BIT); + glshim_glPushClientAttrib(GL_CLIENT_VERTEX_ARRAY_BIT | GL_CLIENT_PIXEL_STORE_BIT); - glDisable(GL_DEPTH_TEST); - glDisable(GL_LIGHTING); - glDisable(GL_CULL_FACE); + glshim_glDisable(GL_DEPTH_TEST); + glshim_glDisable(GL_LIGHTING); + glshim_glDisable(GL_CULL_FACE); if (rast->bitmap) { - glEnable(GL_ALPHA_TEST); - glAlphaFunc(GL_GREATER, 0.0f); + glshim_glEnable(GL_ALPHA_TEST); + glshim_glAlphaFunc(GL_GREATER, 0.0f); } else { - glColor4f(1.0f, 1.0f, 1.0f, 1.0f); + glshim_glColor4f(1.0f, 1.0f, 1.0f, 1.0f); } - glEnable(GL_TEXTURE_2D); + glshim_glEnable(GL_TEXTURE_2D); gles_glBindTexture(GL_TEXTURE_2D, rast->texture); - glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); + glshim_glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE); - if(!state.clientstate.vertex_array) { + if(!glstate.clientstate.vertex_array) + { gles_glEnableClientState(GL_VERTEX_ARRAY); - state.clientstate.vertex_array = 1; + glstate.clientstate.vertex_array = 1; } - gles_glVertexPointer(3, GL_FLOAT, 0, vert); - if(!state.clientstate.tex_coord_array[0]) { + gles_glVertexPointer(2, GL_FLOAT, 0, rast_vert); + if(!glstate.clientstate.tex_coord_array[0]) + { gles_glEnableClientState(GL_TEXTURE_COORD_ARRAY); - state.clientstate.tex_coord_array[0] = 1; + glstate.clientstate.tex_coord_array[0] = 1; } - gles_glTexCoordPointer(2, GL_FLOAT, 0, tex); + gles_glTexCoordPointer(2, GL_FLOAT, 0, rast_tex); for (int a=1; a xmove; rPos.y += rast->ymove; } + +//Direct wrapper +void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) __attribute__((alias("glshim_glBitmap"))); +void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *data) __attribute__((alias("glshim_glDrawPixels"))); +void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) __attribute__((alias("glshim_glRasterPos3f"))); +void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) __attribute__((alias("glshim_glWindowPos3f"))); +void glViewport(GLint x, GLint y, GLsizei width, GLsizei height) __attribute__((alias("glshim_glViewport"))); +void glPixelZoom(GLfloat xfactor, GLfloat yfactor) __attribute__((alias("glshim_glPixelZoom"))); +void glPixelTransferf(GLenum pname, GLfloat param) __attribute__((alias("glshim_glPixelTransferf"))); diff --git a/project/jni/glshim/src/gl/raster.h b/project/jni/glshim/src/gl/raster.h index c79fb5ab4..03c04cecc 100755 --- a/project/jni/glshim/src/gl/raster.h +++ b/project/jni/glshim/src/gl/raster.h @@ -29,18 +29,18 @@ extern GLfloat raster_bias[4]; int raster_need_transform(); -extern void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, +void glshim_glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap); -extern void glDrawPixels(GLsizei width, GLsizei height, GLenum format, +void glshim_glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *data); -extern void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z); -extern void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z); -extern void glViewport(GLint x, GLint y, GLsizei width, GLsizei height); -extern void render_raster(); +void glshim_glRasterPos3f(GLfloat x, GLfloat y, GLfloat z); +void glshim_glWindowPos3f(GLfloat x, GLfloat y, GLfloat z); +void glshim_glViewport(GLint x, GLint y, GLsizei width, GLsizei height); +void render_raster(); -extern void glPixelZoom(GLfloat xfactor, GLfloat yfactor); +void glshim_glPixelZoom(GLfloat xfactor, GLfloat yfactor); -extern void glPixelTransferf(GLenum pname, GLfloat param); +void glshim_glPixelTransferf(GLenum pname, GLfloat param); void render_raster_list(rasterlist_t* raster); diff --git a/project/jni/glshim/src/gl/render.c b/project/jni/glshim/src/gl/render.c index 030776e7d..8a223a1b6 100755 --- a/project/jni/glshim/src/gl/render.c +++ b/project/jni/glshim/src/gl/render.c @@ -2,35 +2,35 @@ void push_hit() { // push current hit to hit list, and re-init current hit - if (state.selectbuf.hit) { - if (!state.selectbuf.overflow) { - if (state.selectbuf.zmin<0.0f) state.selectbuf.zmin=0.0f; // not really normalized... - if (state.selectbuf.zmax>1.0f) state.selectbuf.zmax=1.0f; // TODO, normalize for good? - int tocopy = state.namestack.top + 3; - if (tocopy+state.selectbuf.pos > state.selectbuf.size) { - state.selectbuf.overflow = 1; - tocopy = state.selectbuf.size - state.selectbuf.pos; + if (glstate.selectbuf.hit) { + if (!glstate.selectbuf.overflow) { + if (glstate.selectbuf.zmin<0.0f) glstate.selectbuf.zmin=0.0f; // not really normalized... + if (glstate.selectbuf.zmax>1.0f) glstate.selectbuf.zmax=1.0f; // TODO, normalize for good? + int tocopy = glstate.namestack.top + 3; + if (tocopy+glstate.selectbuf.pos > glstate.selectbuf.size) { + glstate.selectbuf.overflow = 1; + tocopy = glstate.selectbuf.size - glstate.selectbuf.pos; } if(tocopy>0) - state.selectbuf.buffer[state.selectbuf.pos+0] = state.namestack.top; + glstate.selectbuf.buffer[glstate.selectbuf.pos+0] = glstate.namestack.top; if(tocopy>1) - state.selectbuf.buffer[state.selectbuf.pos+1] = (unsigned int)(state.selectbuf.zmin * INT_MAX ); + glstate.selectbuf.buffer[glstate.selectbuf.pos+1] = (unsigned int)(glstate.selectbuf.zmin * INT_MAX ); if(tocopy>2) - state.selectbuf.buffer[state.selectbuf.pos+2] = (unsigned int)(state.selectbuf.zmax * INT_MAX ); + glstate.selectbuf.buffer[glstate.selectbuf.pos+2] = (unsigned int)(glstate.selectbuf.zmax * INT_MAX ); if(tocopy>3) - memcpy(state.selectbuf.buffer + state.selectbuf.pos + 3, state.namestack.names, (tocopy-3) * sizeof(GLuint)); + memcpy(glstate.selectbuf.buffer + glstate.selectbuf.pos + 3, glstate.namestack.names, (tocopy-3) * sizeof(GLuint)); - state.selectbuf.count++; - state.selectbuf.pos += tocopy; + glstate.selectbuf.count++; + glstate.selectbuf.pos += tocopy; } - state.selectbuf.hit = 0; + glstate.selectbuf.hit = 0; } - state.selectbuf.zmin = 1.0f; - state.selectbuf.zmax = 0.0f; + glstate.selectbuf.zmin = 1.0f; + glstate.selectbuf.zmax = 0.0f; } -GLint glRenderMode(GLenum mode) { +GLint glshim_glRenderMode(GLenum mode) { int ret = 0; if ((mode==GL_SELECT) || (mode==GL_RENDER)) { // missing GL_FEEDBACK noerrorShim(); @@ -38,83 +38,83 @@ GLint glRenderMode(GLenum mode) { errorShim(GL_INVALID_ENUM); return 0; } - if (state.render_mode == GL_SELECT) { + if (glstate.render_mode == GL_SELECT) { push_hit(); - ret = state.selectbuf.count; + ret = glstate.selectbuf.count; } if (mode == GL_SELECT) { - if (state.selectbuf.buffer == NULL) {// error, cannot use Select Mode without select buffer + if (glstate.selectbuf.buffer == NULL) {// error, cannot use Select Mode without select buffer errorShim(GL_INVALID_OPERATION); return 0; } - state.selectbuf.count = 0; - state.selectbuf.pos = 0; - state.selectbuf.overflow = 0; - state.selectbuf.zmin = 1.0f; - state.selectbuf.zmax = 0.0f; - state.selectbuf.hit = 0; + glstate.selectbuf.count = 0; + glstate.selectbuf.pos = 0; + glstate.selectbuf.overflow = 0; + glstate.selectbuf.zmin = 1.0f; + glstate.selectbuf.zmax = 0.0f; + glstate.selectbuf.hit = 0; } - if((mode==GL_SELECT) && (state.gl_batch)) { - state.gl_batch = 0; + if((mode==GL_SELECT) && (glstate.gl_batch)) { + glstate.gl_batch = 0; flush(); } - if((mode==GL_RENDER) && (state.gl_batch==0) && (gl_batch==1)) { - state.gl_batch = 1; + if((mode==GL_RENDER) && (glstate.gl_batch==0) && (gl_batch==1)) { + glstate.gl_batch = 1; flush(); } - state.render_mode = mode; + glstate.render_mode = mode; return ret; } -void glInitNames() { - if (state.namestack.names == 0) { - state.namestack.names = (GLuint*)malloc(1024*sizeof(GLuint)); +void glshim_glInitNames() { + if (glstate.namestack.names == 0) { + glstate.namestack.names = (GLuint*)malloc(1024*sizeof(GLuint)); } - state.namestack.top = 0; + glstate.namestack.top = 0; noerrorShim(); } -void glPopName() { +void glshim_glPopName() { noerrorShim(); - if (state.render_mode != GL_SELECT) + if (glstate.render_mode != GL_SELECT) return; push_hit(); - if (state.namestack.top>0) - state.namestack.top--; + if (glstate.namestack.top>0) + glstate.namestack.top--; else errorShim(GL_STACK_UNDERFLOW); } -void glPushName(GLuint name) { +void glshim_glPushName(GLuint name) { noerrorShim(); - if (state.render_mode != GL_SELECT) + if (glstate.render_mode != GL_SELECT) return; - if (state.namestack.names==0) + if (glstate.namestack.names==0) return; push_hit(); - if (state.namestack.top < 1024) { - state.namestack.names[state.namestack.top++] = name; + if (glstate.namestack.top < 1024) { + glstate.namestack.names[glstate.namestack.top++] = name; } } -void glLoadName(GLuint name) { +void glshim_glLoadName(GLuint name) { noerrorShim(); - if (state.render_mode != GL_SELECT) + if (glstate.render_mode != GL_SELECT) return; - if (state.namestack.names == 0) + if (glstate.namestack.names == 0) return; push_hit(); - if (state.namestack.top == 0) + if (glstate.namestack.top == 0) return; - state.namestack.names[state.namestack.top-1] = name; + glstate.namestack.names[glstate.namestack.top-1] = name; } -void glSelectBuffer(GLsizei size, GLuint *buffer) { +void glshim_glSelectBuffer(GLsizei size, GLuint *buffer) { noerrorShim(); - state.selectbuf.buffer = buffer; - state.selectbuf.size = size; + glstate.selectbuf.buffer = buffer; + glstate.selectbuf.size = size; } GLfloat projection[16], modelview[16]; @@ -123,9 +123,9 @@ void init_select() { Initialize matrix and array vector for a select_Draw* */ GLfloat tmp[16]; - glGetFloatv(GL_PROJECTION_MATRIX, tmp); + glshim_glGetFloatv(GL_PROJECTION_MATRIX, tmp); matrix_column_row(tmp, projection); - glGetFloatv(GL_MODELVIEW_MATRIX, tmp); + glshim_glGetFloatv(GL_MODELVIEW_MATRIX, tmp); matrix_column_row(tmp, modelview); } @@ -221,7 +221,7 @@ GLboolean select_triangle_in_viewscreen(const GLfloat *a, const GLfloat *b, cons void select_glDrawArrays(const pointer_state_t* vtx, GLenum mode, GLuint first, GLuint count) { if (count == 0) return; if (vtx->pointer == NULL) return; - if (state.selectbuf.buffer == NULL) return; + if (glstate.selectbuf.buffer == NULL) return; GLfloat *vert = copy_gl_array(vtx->pointer, vtx->type, vtx->size, vtx->stride, GL_FLOAT, 3, 0, count+first); @@ -230,9 +230,9 @@ void select_glDrawArrays(const pointer_state_t* vtx, GLenum mode, GLuint first, init_select(); #define FOUND() { \ - if (zminstate.selectbuf.zmax) state.selectbuf.zmax=zmax; \ - state.selectbuf.hit = 1; \ + if (zminglstate.selectbuf.zmax) glstate.selectbuf.zmax=zmax; \ + glstate.selectbuf.hit = 1; \ free(vert); \ return; \ } @@ -313,9 +313,9 @@ void select_glDrawElements(const pointer_state_t* vtx, GLenum mode, GLuint count if (zmax>1.0f) zmax = 1.0f; #define FOUND() { \ - if (zminstate.selectbuf.zmax) state.selectbuf.zmax=zmax; \ - state.selectbuf.hit = 1; \ + if (zminglstate.selectbuf.zmax) glstate.selectbuf.zmax=zmax; \ + glstate.selectbuf.hit = 1; \ free(vert); \ return; \ } @@ -364,3 +364,11 @@ void select_glDrawElements(const pointer_state_t* vtx, GLenum mode, GLuint count free(vert); #undef FOUND } + +//Direct wrapper +GLint glRenderMode(GLenum mode) __attribute__((alias("glshim_glRenderMode"))); +void glInitNames() __attribute__((alias("glshim_glInitNames"))); +void glPopName() __attribute__((alias("glshim_glPopName"))); +void glPushName(GLuint name) __attribute__((alias("glshim_glPushName"))); +void glLoadName(GLuint name) __attribute__((alias("glshim_glLoadName"))); +void glSelectBuffer(GLsizei size, GLuint *buffer) __attribute__((alias("glshim_glSelectBuffer"))); \ No newline at end of file diff --git a/project/jni/glshim/src/gl/render.h b/project/jni/glshim/src/gl/render.h index 471f56d69..b90db3594 100755 --- a/project/jni/glshim/src/gl/render.h +++ b/project/jni/glshim/src/gl/render.h @@ -2,12 +2,12 @@ #define RENDER_H #include "gl.h" -GLint glRenderMode(GLenum mode); -void glInitNames(); -void glPopName(); -void glPushName(GLuint name); -void glLoadName(GLuint name); -void glSelectBuffer(GLsizei size, GLuint *buffer); +GLint glshim_glRenderMode(GLenum mode); +void glshim_glInitNames(); +void glshim_glPopName(); +void glshim_glPushName(GLuint name); +void glshim_glLoadName(GLuint name); +void glshim_glSelectBuffer(GLsizei size, GLuint *buffer); void select_glDrawElements(const pointer_state_t* vtx, GLenum mode, GLuint count, GLenum type, GLvoid * indices); void select_glDrawArrays(const pointer_state_t* vtx, GLenum mode, GLuint first, GLuint count); diff --git a/project/jni/glshim/src/gl/stack.c b/project/jni/glshim/src/gl/stack.c index 68ea96990..697263a86 100755 --- a/project/jni/glshim/src/gl/stack.c +++ b/project/jni/glshim/src/gl/stack.c @@ -3,12 +3,12 @@ glstack_t *stack = NULL; glclientstack_t *clientStack = NULL; -void glPushAttrib(GLbitfield mask) { +void glshim_glPushAttrib(GLbitfield mask) { //printf("glPushAttrib(0x%04X)\n", mask); noerrorShim(); - if ((state.list.compiling || state.gl_batch) && state.list.active) { - NewStage(state.list.active, STAGE_PUSH); - state.list.active->pushattribute = mask; + if ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active) { + NewStage(glstate.list.active, STAGE_PUSH); + glstate.list.active->pushattribute = mask; return; } if (stack == NULL) { @@ -31,90 +31,90 @@ void glPushAttrib(GLbitfield mask) { // TODO: will tracking these myself be much faster than glGet? if (mask & GL_COLOR_BUFFER_BIT) { - cur->alpha_test = glIsEnabled(GL_ALPHA_TEST); - glGetIntegerv(GL_ALPHA_TEST_FUNC, &cur->alpha_test_func); - glGetFloatv(GL_ALPHA_TEST_REF, &cur->alpha_test_ref); + cur->alpha_test = glshim_glIsEnabled(GL_ALPHA_TEST); + glshim_glGetIntegerv(GL_ALPHA_TEST_FUNC, &cur->alpha_test_func); + glshim_glGetFloatv(GL_ALPHA_TEST_REF, &cur->alpha_test_ref); - cur->blend = glIsEnabled(GL_BLEND); - glGetIntegerv(GL_BLEND_SRC, &cur->blend_src_func); - glGetIntegerv(GL_BLEND_DST, &cur->blend_dst_func); + cur->blend = glshim_glIsEnabled(GL_BLEND); + glshim_glGetIntegerv(GL_BLEND_SRC, &cur->blend_src_func); + glshim_glGetIntegerv(GL_BLEND_DST, &cur->blend_dst_func); - cur->dither = glIsEnabled(GL_DITHER); - cur->color_logic_op = glIsEnabled(GL_COLOR_LOGIC_OP); - glGetIntegerv(GL_LOGIC_OP_MODE, &cur->logic_op); + cur->dither = glshim_glIsEnabled(GL_DITHER); + cur->color_logic_op = glshim_glIsEnabled(GL_COLOR_LOGIC_OP); + glshim_glGetIntegerv(GL_LOGIC_OP_MODE, &cur->logic_op); - glGetFloatv(GL_COLOR_CLEAR_VALUE, cur->clear_color); - glGetFloatv(GL_COLOR_WRITEMASK, cur->color_mask); + glshim_glGetFloatv(GL_COLOR_CLEAR_VALUE, cur->clear_color); + glshim_glGetFloatv(GL_COLOR_WRITEMASK, cur->color_mask); } if (mask & GL_CURRENT_BIT) { - glGetFloatv(GL_CURRENT_COLOR, cur->color); - glGetFloatv(GL_CURRENT_NORMAL, cur->normal); - glGetFloatv(GL_CURRENT_TEXTURE_COORDS, cur->tex); + glshim_glGetFloatv(GL_CURRENT_COLOR, cur->color); + glshim_glGetFloatv(GL_CURRENT_NORMAL, cur->normal); + glshim_glGetFloatv(GL_CURRENT_TEXTURE_COORDS, cur->tex); } if (mask & GL_DEPTH_BUFFER_BIT) { - cur->depth_test = glIsEnabled(GL_DEPTH_TEST); - glGetIntegerv(GL_DEPTH_FUNC, &cur->depth_func); - glGetFloatv(GL_DEPTH_CLEAR_VALUE, &cur->clear_depth); - glGetIntegerv(GL_DEPTH_WRITEMASK, &cur->depth_mask); + cur->depth_test = glshim_glIsEnabled(GL_DEPTH_TEST); + glshim_glGetIntegerv(GL_DEPTH_FUNC, &cur->depth_func); + glshim_glGetFloatv(GL_DEPTH_CLEAR_VALUE, &cur->clear_depth); + glshim_glGetIntegerv(GL_DEPTH_WRITEMASK, &cur->depth_mask); } if (mask & GL_ENABLE_BIT) { int i; GLint max_clip_planes; - cur->alpha_test = glIsEnabled(GL_ALPHA_TEST); - cur->autonormal = glIsEnabled(GL_AUTO_NORMAL); - cur->blend = glIsEnabled(GL_BLEND); + cur->alpha_test = glshim_glIsEnabled(GL_ALPHA_TEST); + cur->autonormal = glshim_glIsEnabled(GL_AUTO_NORMAL); + cur->blend = glshim_glIsEnabled(GL_BLEND); - glGetIntegerv(GL_MAX_CLIP_PLANES, &max_clip_planes); + glshim_glGetIntegerv(GL_MAX_CLIP_PLANES, &max_clip_planes); cur->clip_planes_enabled = (GLboolean *)malloc(max_clip_planes * sizeof(GLboolean)); for (i = 0; i < max_clip_planes; i++) { - *(cur->clip_planes_enabled + i) = glIsEnabled(GL_CLIP_PLANE0 + i); + *(cur->clip_planes_enabled + i) = glshim_glIsEnabled(GL_CLIP_PLANE0 + i); } - cur->colormaterial = glIsEnabled(GL_COLOR_MATERIAL); - cur->cull_face = glIsEnabled(GL_CULL_FACE); - cur->depth_test = glIsEnabled(GL_DEPTH_TEST); - cur->dither = glIsEnabled(GL_DITHER); - cur->fog = glIsEnabled(GL_FOG); + cur->colormaterial = glshim_glIsEnabled(GL_COLOR_MATERIAL); + cur->cull_face = glshim_glIsEnabled(GL_CULL_FACE); + cur->depth_test = glshim_glIsEnabled(GL_DEPTH_TEST); + cur->dither = glshim_glIsEnabled(GL_DITHER); + cur->fog = glshim_glIsEnabled(GL_FOG); GLint max_lights; - glGetIntegerv(GL_MAX_LIGHTS, &max_lights); + glshim_glGetIntegerv(GL_MAX_LIGHTS, &max_lights); cur->lights_enabled = (GLboolean *)malloc(max_lights * sizeof(GLboolean)); for (i = 0; i < max_lights; i++) { - *(cur->lights_enabled + i) = glIsEnabled(GL_LIGHT0 + i); + *(cur->lights_enabled + i) = glshim_glIsEnabled(GL_LIGHT0 + i); } - cur->lighting = glIsEnabled(GL_LIGHTING); - cur->line_smooth = glIsEnabled(GL_LINE_SMOOTH); - cur->line_stipple = glIsEnabled(GL_LINE_STIPPLE); - cur->color_logic_op = glIsEnabled(GL_COLOR_LOGIC_OP); + cur->lighting = glshim_glIsEnabled(GL_LIGHTING); + cur->line_smooth = glshim_glIsEnabled(GL_LINE_SMOOTH); + cur->line_stipple = glshim_glIsEnabled(GL_LINE_STIPPLE); + cur->color_logic_op = glshim_glIsEnabled(GL_COLOR_LOGIC_OP); //TODO: GL_INDEX_LOGIC_OP //TODO: GL_MAP1_x //TODO: GL_MAP2_x - cur->multisample = glIsEnabled(GL_MULTISAMPLE); - cur->normalize = glIsEnabled(GL_NORMALIZE); - cur->point_smooth = glIsEnabled(GL_POINT_SMOOTH); + cur->multisample = glshim_glIsEnabled(GL_MULTISAMPLE); + cur->normalize = glshim_glIsEnabled(GL_NORMALIZE); + cur->point_smooth = glshim_glIsEnabled(GL_POINT_SMOOTH); //TODO: GL_POLYGON_OFFSET_LINE - cur->polygon_offset_fill = glIsEnabled(GL_POLYGON_OFFSET_FILL); + cur->polygon_offset_fill = glshim_glIsEnabled(GL_POLYGON_OFFSET_FILL); //TODO: GL_POLYGON_OFFSET_POINT //TODO: GL_POLYGON_SMOOTH //TODO: GL_POLYGON_STIPPLE - cur->sample_alpha_to_coverage = glIsEnabled(GL_SAMPLE_ALPHA_TO_COVERAGE); - cur->sample_alpha_to_one = glIsEnabled(GL_SAMPLE_ALPHA_TO_ONE); - cur->sample_coverage = glIsEnabled(GL_SAMPLE_COVERAGE); - cur->scissor_test = glIsEnabled(GL_SCISSOR_TEST); - cur->stencil_test = glIsEnabled(GL_STENCIL_TEST); + cur->sample_alpha_to_coverage = glshim_glIsEnabled(GL_SAMPLE_ALPHA_TO_COVERAGE); + cur->sample_alpha_to_one = glshim_glIsEnabled(GL_SAMPLE_ALPHA_TO_ONE); + cur->sample_coverage = glshim_glIsEnabled(GL_SAMPLE_COVERAGE); + cur->scissor_test = glshim_glIsEnabled(GL_SCISSOR_TEST); + cur->stencil_test = glshim_glIsEnabled(GL_STENCIL_TEST); int a; for (a=0; atexture_1d[a] = state.enable.texture_1d[a]; - cur->texture_2d[a] = state.enable.texture_2d[a]; - cur->texture_3d[a] = state.enable.texture_3d[a]; - cur->texgen_s[a] = state.enable.texgen_s[a]; - cur->texgen_r[a] = state.enable.texgen_r[a]; - cur->texgen_t[a] = state.enable.texgen_t[a]; + cur->texture_1d[a] = glstate.enable.texture_1d[a]; + cur->texture_2d[a] = glstate.enable.texture_2d[a]; + cur->texture_3d[a] = glstate.enable.texture_3d[a]; + cur->texgen_s[a] = glstate.enable.texgen_s[a]; + cur->texgen_r[a] = glstate.enable.texgen_r[a]; + cur->texgen_t[a] = glstate.enable.texgen_t[a]; } } @@ -122,57 +122,57 @@ void glPushAttrib(GLbitfield mask) { // TODO: GL_EVAL_BIT if (mask & GL_FOG_BIT) { - cur->fog = glIsEnabled(GL_FOG); - glGetFloatv(GL_FOG_COLOR, cur->fog_color); - glGetFloatv(GL_FOG_DENSITY, &cur->fog_density); - glGetFloatv(GL_FOG_START, &cur->fog_start); - glGetFloatv(GL_FOG_END, &cur->fog_end); - glGetIntegerv(GL_FOG_MODE, &cur->fog_mode); + cur->fog = glshim_glIsEnabled(GL_FOG); + glshim_glGetFloatv(GL_FOG_COLOR, cur->fog_color); + glshim_glGetFloatv(GL_FOG_DENSITY, &cur->fog_density); + glshim_glGetFloatv(GL_FOG_START, &cur->fog_start); + glshim_glGetFloatv(GL_FOG_END, &cur->fog_end); + glshim_glGetIntegerv(GL_FOG_MODE, &cur->fog_mode); } if (mask & GL_HINT_BIT) { - glGetIntegerv(GL_PERSPECTIVE_CORRECTION_HINT, &cur->perspective_hint); - glGetIntegerv(GL_POINT_SMOOTH_HINT, &cur->point_smooth_hint); - glGetIntegerv(GL_LINE_SMOOTH_HINT, &cur->line_smooth_hint); - glGetIntegerv(GL_FOG_HINT, &cur->fog_hint); - glGetIntegerv(GL_GENERATE_MIPMAP_HINT, &cur->mipmap_hint); + glshim_glGetIntegerv(GL_PERSPECTIVE_CORRECTION_HINT, &cur->perspective_hint); + glshim_glGetIntegerv(GL_POINT_SMOOTH_HINT, &cur->point_smooth_hint); + glshim_glGetIntegerv(GL_LINE_SMOOTH_HINT, &cur->line_smooth_hint); + glshim_glGetIntegerv(GL_FOG_HINT, &cur->fog_hint); + glshim_glGetIntegerv(GL_GENERATE_MIPMAP_HINT, &cur->mipmap_hint); } if (mask & GL_LIGHTING_BIT) { - cur->lighting = glIsEnabled(GL_LIGHTING); - glGetIntegerv(GL_LIGHT_MODEL_AMBIENT, cur->light_model_ambient); - glGetIntegerv(GL_LIGHT_MODEL_TWO_SIDE, &cur->light_model_two_side); + cur->lighting = glshim_glIsEnabled(GL_LIGHTING); + glshim_glGetIntegerv(GL_LIGHT_MODEL_AMBIENT, cur->light_model_ambient); + glshim_glGetIntegerv(GL_LIGHT_MODEL_TWO_SIDE, &cur->light_model_two_side); int i; GLint max_lights; - glGetIntegerv(GL_MAX_LIGHTS, &max_lights); + glshim_glGetIntegerv(GL_MAX_LIGHTS, &max_lights); cur->lights_enabled = (GLboolean *)malloc(max_lights * sizeof(GLboolean)); cur->lights = (GLfloat *)malloc(max_lights * sizeof(GLfloat)); for (i = 0; i < max_lights; i++) { - *(cur->lights_enabled + i) = glIsEnabled(GL_LIGHT0 + i); + *(cur->lights_enabled + i) = glshim_glIsEnabled(GL_LIGHT0 + i); /* TODO: record all data about the lights glGetFloatv(GL_LIGHT0 + i, cur->lights + i); */ } - glGetIntegerv(GL_SHADE_MODEL, &cur->shade_model); + glshim_glGetIntegerv(GL_SHADE_MODEL, &cur->shade_model); } if (mask & GL_LINE_BIT) { - cur->line_smooth = glIsEnabled(GL_LINE_SMOOTH); + cur->line_smooth = glshim_glIsEnabled(GL_LINE_SMOOTH); // TODO: stipple stuff here - glGetFloatv(GL_LINE_WIDTH, &cur->line_width); + glshim_glGetFloatv(GL_LINE_WIDTH, &cur->line_width); } // GL_LIST_BIT if (mask & GL_LIST_BIT) { - cur->list_base = state.list.base; + cur->list_base = glstate.list.base; } if (mask & GL_MULTISAMPLE_BIT) { - cur->multisample = glIsEnabled(GL_MULTISAMPLE); - cur->sample_alpha_to_coverage = glIsEnabled(GL_SAMPLE_ALPHA_TO_COVERAGE); - cur->sample_alpha_to_one = glIsEnabled(GL_SAMPLE_ALPHA_TO_ONE); - cur->sample_coverage = glIsEnabled(GL_SAMPLE_COVERAGE); + cur->multisample = glshim_glIsEnabled(GL_MULTISAMPLE); + cur->sample_alpha_to_coverage = glshim_glIsEnabled(GL_SAMPLE_ALPHA_TO_COVERAGE); + cur->sample_alpha_to_one = glshim_glIsEnabled(GL_SAMPLE_ALPHA_TO_ONE); + cur->sample_coverage = glshim_glIsEnabled(GL_SAMPLE_COVERAGE); } // GL_PIXEL_MODE_BIT @@ -180,54 +180,54 @@ void glPushAttrib(GLbitfield mask) { GLenum pixel_name[] = {GL_RED_BIAS, GL_RED_SCALE, GL_GREEN_BIAS, GL_GREEN_SCALE, GL_BLUE_BIAS, GL_BLUE_SCALE, GL_ALPHA_BIAS, GL_ALPHA_SCALE}; int i; for (i=0; i<8; i++) - glGetFloatv(pixel_name[i], &cur->pixel_scale_bias[i]); + glshim_glGetFloatv(pixel_name[i], &cur->pixel_scale_bias[i]); //TODO: GL_DEPTH_BIAS & GL_DEPTH_SCALE (probably difficult) //TODO: GL_INDEX_OFFEST & GL_INDEX_SHIFT //TODO: GL_MAP_COLOR & GL_MAP_STENCIL (probably difficult too) - glGetFloatv(GL_ZOOM_X, &cur->pixel_zoomx); - glGetFloatv(GL_ZOOM_Y, &cur->pixel_zoomy); + glshim_glGetFloatv(GL_ZOOM_X, &cur->pixel_zoomx); + glshim_glGetFloatv(GL_ZOOM_Y, &cur->pixel_zoomy); } if (mask & GL_POINT_BIT) { - cur->point_smooth = glIsEnabled(GL_POINT_SMOOTH); - glGetFloatv(GL_POINT_SIZE, &cur->point_size); + cur->point_smooth = glshim_glIsEnabled(GL_POINT_SMOOTH); + glshim_glGetFloatv(GL_POINT_SIZE, &cur->point_size); } // TODO: GL_POLYGON_BIT // TODO: GL_POLYGON_STIPPLE_BIT if (mask & GL_SCISSOR_BIT) { - cur->scissor_test = glIsEnabled(GL_SCISSOR_TEST); - glGetFloatv(GL_SCISSOR_BOX, cur->scissor_box); + cur->scissor_test = glshim_glIsEnabled(GL_SCISSOR_TEST); + glshim_glGetFloatv(GL_SCISSOR_BOX, cur->scissor_box); } // TODO: GL_STENCIL_BUFFER_BIT if (mask & GL_STENCIL_BUFFER_BIT) { - cur->stencil_test = glIsEnabled(GL_STENCIL_TEST); - glGetIntegerv(GL_STENCIL_FUNC, &cur->stencil_func); - glGetIntegerv(GL_STENCIL_VALUE_MASK, &cur->stencil_mask); - glGetIntegerv(GL_STENCIL_REF, &cur->stencil_ref); + cur->stencil_test = glshim_glIsEnabled(GL_STENCIL_TEST); + glshim_glGetIntegerv(GL_STENCIL_FUNC, &cur->stencil_func); + glshim_glGetIntegerv(GL_STENCIL_VALUE_MASK, &cur->stencil_mask); + glshim_glGetIntegerv(GL_STENCIL_REF, &cur->stencil_ref); //TODO: glStencilFuncSeperate //TODO: Stencil value mask - glGetIntegerv(GL_STENCIL_FAIL, &cur->stencil_sfail); - glGetIntegerv(GL_STENCIL_PASS_DEPTH_FAIL, &cur->stencil_dpfail); - glGetIntegerv(GL_STENCIL_PASS_DEPTH_PASS, &cur->stencil_dppass); + glshim_glGetIntegerv(GL_STENCIL_FAIL, &cur->stencil_sfail); + glshim_glGetIntegerv(GL_STENCIL_PASS_DEPTH_FAIL, &cur->stencil_dpfail); + glshim_glGetIntegerv(GL_STENCIL_PASS_DEPTH_PASS, &cur->stencil_dppass); //TODO: glStencilOpSeparate - glGetIntegerv(GL_STENCIL_CLEAR_VALUE, &cur->stencil_clearvalue); + glshim_glGetIntegerv(GL_STENCIL_CLEAR_VALUE, &cur->stencil_clearvalue); //TODO: Stencil buffer writemask } // GL_TEXTURE_BIT - TODO: incomplete if (mask & GL_TEXTURE_BIT) { - cur->active=state.texture.active; + cur->active=glstate.texture.active; int a; for (a=0; atexgen_r[a] = state.enable.texgen_r[a]; - cur->texgen_s[a] = state.enable.texgen_s[a]; - cur->texgen_t[a] = state.enable.texgen_t[a]; - cur->texgen[a] = state.texgen[a]; // all mode and planes per texture in 1 line - cur->texture[a] = (state.texture.bound[a])?state.texture.bound[a]->texture:0; + cur->texgen_r[a] = glstate.enable.texgen_r[a]; + cur->texgen_s[a] = glstate.enable.texgen_s[a]; + cur->texgen_t[a] = glstate.enable.texgen_t[a]; + cur->texgen[a] = glstate.texgen[a]; // all mode and planes per texture in 1 line + cur->texture[a] = (glstate.texture.bound[a])?glstate.texture.bound[a]->texture:0; } //glActiveTexture(GL_TEXTURE0+cur->active); } @@ -237,26 +237,26 @@ void glPushAttrib(GLbitfield mask) { if (!(mask & GL_ENABLE_BIT)) { int i; GLint max_clip_planes; - glGetIntegerv(GL_MAX_CLIP_PLANES, &max_clip_planes); + glshim_glGetIntegerv(GL_MAX_CLIP_PLANES, &max_clip_planes); cur->clip_planes_enabled = (GLboolean *)malloc(max_clip_planes * sizeof(GLboolean)); for (i = 0; i < max_clip_planes; i++) { - *(cur->clip_planes_enabled + i) = glIsEnabled(GL_CLIP_PLANE0 + i); + *(cur->clip_planes_enabled + i) = glshim_glIsEnabled(GL_CLIP_PLANE0 + i); } } - glGetIntegerv(GL_MATRIX_MODE, &cur->matrix_mode); - cur->rescale_normal_flag = glIsEnabled(GL_RESCALE_NORMAL); - cur->normalize_flag = glIsEnabled(GL_NORMALIZE); + glshim_glGetIntegerv(GL_MATRIX_MODE, &cur->matrix_mode); + cur->rescale_normal_flag = glshim_glIsEnabled(GL_RESCALE_NORMAL); + cur->normalize_flag = glshim_glIsEnabled(GL_NORMALIZE); } // GL_VIEWPORT_BIT if (mask & GL_VIEWPORT_BIT) { - glGetIntegerv(GL_VIEWPORT, cur->viewport_size); - glGetFloatv(GL_DEPTH_RANGE, cur->depth_range); + glshim_glGetIntegerv(GL_VIEWPORT, cur->viewport_size); + glshim_glGetFloatv(GL_DEPTH_RANGE, cur->depth_range); } stack->len++; } -void glPushClientAttrib(GLbitfield mask) { +void glshim_glPushClientAttrib(GLbitfield mask) { noerrorShim(); if (clientStack == NULL) { clientStack = (glclientstack_t *)malloc(STACK_SIZE * sizeof(glclientstack_t)); @@ -271,27 +271,27 @@ void glPushClientAttrib(GLbitfield mask) { cur->mask = mask; if (mask & GL_CLIENT_PIXEL_STORE_BIT) { - glGetIntegerv(GL_PACK_ALIGNMENT, &cur->pack_align); - glGetIntegerv(GL_UNPACK_ALIGNMENT, &cur->unpack_align); - cur->unpack_row_length = state.texture.unpack_row_length; - cur->unpack_skip_pixels = state.texture.unpack_skip_pixels; - cur->unpack_skip_rows = state.texture.unpack_skip_rows; - cur->pack_row_length = state.texture.pack_row_length; - cur->pack_skip_pixels = state.texture.pack_skip_pixels; - cur->pack_skip_rows = state.texture.pack_skip_rows; + glshim_glGetIntegerv(GL_PACK_ALIGNMENT, &cur->pack_align); + glshim_glGetIntegerv(GL_UNPACK_ALIGNMENT, &cur->unpack_align); + cur->unpack_row_length = glstate.texture.unpack_row_length; + cur->unpack_skip_pixels = glstate.texture.unpack_skip_pixels; + cur->unpack_skip_rows = glstate.texture.unpack_skip_rows; + cur->pack_row_length = glstate.texture.pack_row_length; + cur->pack_skip_pixels = glstate.texture.pack_skip_pixels; + cur->pack_skip_rows = glstate.texture.pack_skip_rows; } if (mask & GL_CLIENT_VERTEX_ARRAY_BIT) { - cur->vert_enable = state.vao->vertex_array; - cur->color_enable = state.vao->color_array; - cur->secondary_enable = state.vao->secondary_array; - cur->normal_enable = state.vao->normal_array; + cur->vert_enable = glstate.vao->vertex_array; + cur->color_enable = glstate.vao->color_array; + cur->secondary_enable = glstate.vao->secondary_array; + cur->normal_enable = glstate.vao->normal_array; int a; for (a=0; atex_enable[a] = state.vao->tex_coord_array[a]; + cur->tex_enable[a] = glstate.vao->tex_coord_array[a]; } - memcpy(&(cur->pointers), &state.vao->pointers, sizeof(pointer_states_t)); - cur->client = state.texture.client; + memcpy(&(cur->pointers), &glstate.vao->pointers, sizeof(pointer_states_t)); + cur->client = glstate.texture.client; } clientStack->len++; @@ -301,19 +301,19 @@ void glPushClientAttrib(GLbitfield mask) { if (x) free(x) #define enable_disable(pname, enabled) \ - if (enabled) glEnable(pname); \ - else glDisable(pname) + if (enabled) glshim_glEnable(pname); \ + else glshim_glDisable(pname) #define v2(c) c[0], c[1] #define v3(c) v2(c), c[2] #define v4(c) v3(c), c[3] -void glPopAttrib() { +void glshim_glPopAttrib() { //printf("glPopAttrib()\n"); noerrorShim(); - if ((state.list.compiling || state.gl_batch) && state.list.active) { - NewStage(state.list.active, STAGE_POP); - state.list.active->popattribute = true; + if ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active) { + NewStage(glstate.list.active, STAGE_POP); + glstate.list.active->popattribute = true; return; } if (stack == NULL || stack->len == 0) { @@ -325,31 +325,31 @@ void glPopAttrib() { if (cur->mask & GL_COLOR_BUFFER_BIT) { enable_disable(GL_ALPHA_TEST, cur->alpha_test); - glAlphaFunc(cur->alpha_test_func, cur->alpha_test_ref); + glshim_glAlphaFunc(cur->alpha_test_func, cur->alpha_test_ref); enable_disable(GL_BLEND, cur->blend); - glBlendFunc(cur->blend_src_func, cur->blend_dst_func); + glshim_glBlendFunc(cur->blend_src_func, cur->blend_dst_func); enable_disable(GL_DITHER, cur->dither); enable_disable(GL_COLOR_LOGIC_OP, cur->color_logic_op); - glLogicOp(cur->logic_op); + glshim_glLogicOp(cur->logic_op); GLfloat *c; - glClearColor(v4(cur->clear_color)); - glColorMask(v4(cur->color_mask)); + glshim_glClearColor(v4(cur->clear_color)); + glshim_glColorMask(v4(cur->color_mask)); } if (cur->mask & GL_CURRENT_BIT) { - glColor4f(v4(cur->color)); - glNormal3f(v3(cur->normal)); - glTexCoord4f(v4(cur->tex)); + glshim_glColor4f(v4(cur->color)); + glshim_glNormal3f(v3(cur->normal)); + glshim_glTexCoord4f(v4(cur->tex)); } if (cur->mask & GL_DEPTH_BUFFER_BIT) { enable_disable(GL_DEPTH_TEST, cur->depth_test); - glDepthFunc(cur->depth_func); - glClearDepth(cur->clear_depth); - glDepthMask(cur->depth_mask); + glshim_glDepthFunc(cur->depth_func); + glshim_glClearDepth(cur->clear_depth); + glshim_glDepthMask(cur->depth_mask); } if (cur->mask & GL_ENABLE_BIT) { @@ -360,7 +360,7 @@ void glPopAttrib() { enable_disable(GL_BLEND, cur->blend); GLint max_clip_planes; - glGetIntegerv(GL_MAX_CLIP_PLANES, &max_clip_planes); + glshim_glGetIntegerv(GL_MAX_CLIP_PLANES, &max_clip_planes); for (i = 0; i < max_clip_planes; i++) { enable_disable(GL_CLIP_PLANE0 + i, *(cur->clip_planes_enabled + i)); } @@ -372,7 +372,7 @@ void glPopAttrib() { enable_disable(GL_FOG, cur->fog); GLint max_lights; - glGetIntegerv(GL_MAX_LIGHTS, &max_lights); + glshim_glGetIntegerv(GL_MAX_LIGHTS, &max_lights); for (i = 0; i < max_lights; i++) { enable_disable(GL_LIGHT0 + i, *(cur->lights_enabled + i)); } @@ -398,34 +398,34 @@ void glPopAttrib() { enable_disable(GL_SCISSOR_TEST, cur->scissor_test); enable_disable(GL_STENCIL_TEST, cur->stencil_test); int a; - int old_tex = state.texture.active; + int old_tex = glstate.texture.active; for (a=0; atexture_1d[a]) { - glActiveTexture(GL_TEXTURE0+a); + if (glstate.enable.texture_1d[a] != cur->texture_1d[a]) { + glshim_glActiveTexture(GL_TEXTURE0+a); enable_disable(GL_TEXTURE_1D, cur->texture_1d[a]); } - if (state.enable.texture_2d[a] != cur->texture_2d[a]) { - glActiveTexture(GL_TEXTURE0+a); + if (glstate.enable.texture_2d[a] != cur->texture_2d[a]) { + glshim_glActiveTexture(GL_TEXTURE0+a); enable_disable(GL_TEXTURE_2D, cur->texture_2d[a]); } - if (state.enable.texture_3d[a] != cur->texture_3d[a]) { - glActiveTexture(GL_TEXTURE0+a); + if (glstate.enable.texture_3d[a] != cur->texture_3d[a]) { + glshim_glActiveTexture(GL_TEXTURE0+a); enable_disable(GL_TEXTURE_3D, cur->texture_3d[a]); } - state.enable.texgen_r[a] = cur->texgen_r[a]; - state.enable.texgen_s[a] = cur->texgen_s[a]; - state.enable.texgen_t[a] = cur->texgen_t[a]; + glstate.enable.texgen_r[a] = cur->texgen_r[a]; + glstate.enable.texgen_s[a] = cur->texgen_s[a]; + glstate.enable.texgen_t[a] = cur->texgen_t[a]; } - if (state.texture.active != old_tex) glActiveTexture(GL_TEXTURE0+old_tex); + if (glstate.texture.active != old_tex) glshim_glActiveTexture(GL_TEXTURE0+old_tex); } if (cur->mask & GL_FOG_BIT) { enable_disable(GL_FOG, cur->fog); - glFogfv(GL_FOG_COLOR, cur->fog_color); - glFogf(GL_FOG_DENSITY, cur->fog_density); - glFogf(GL_FOG_START, cur->fog_start); - glFogf(GL_FOG_END, cur->fog_end); - glFogf(GL_FOG_MODE, cur->fog_mode); + glshim_glFogfv(GL_FOG_COLOR, cur->fog_color); + glshim_glFogf(GL_FOG_DENSITY, cur->fog_density); + glshim_glFogf(GL_FOG_START, cur->fog_start); + glshim_glFogf(GL_FOG_END, cur->fog_end); + glshim_glFogf(GL_FOG_MODE, cur->fog_mode); } if (cur->mask & GL_HINT_BIT) { @@ -437,13 +437,13 @@ void glPopAttrib() { } // GL_LIST_BIT if (cur->mask & GL_LIST_BIT) { - glListBase(cur->list_base); + glshim_glListBase(cur->list_base); } if (cur->mask & GL_LINE_BIT) { enable_disable(GL_LINE_SMOOTH, cur->line_smooth); // TODO: stipple stuff here - glLineWidth(cur->line_width); + glshim_glLineWidth(cur->line_width); } if (cur->mask & GL_MULTISAMPLE_BIT) { @@ -455,20 +455,20 @@ void glPopAttrib() { if (cur->mask & GL_POINT_BIT) { enable_disable(GL_POINT_SMOOTH, cur->point_smooth); - glPointSize(cur->point_size); + glshim_glPointSize(cur->point_size); } if (cur->mask & GL_SCISSOR_BIT) { enable_disable(GL_SCISSOR_TEST, cur->scissor_test); - glScissor(v4(cur->scissor_box)); + glshim_glScissor(v4(cur->scissor_box)); } if (cur->mask & GL_STENCIL_BUFFER_BIT) { enable_disable(GL_STENCIL_TEST, cur->stencil_test); - glStencilFunc(cur->stencil_func, cur->stencil_ref, cur->stencil_mask); + glshim_glStencilFunc(cur->stencil_func, cur->stencil_ref, cur->stencil_mask); //TODO: Stencil value mask - glStencilOp(cur->stencil_sfail, cur->stencil_dpfail, cur->stencil_dppass); - glClearStencil(cur->stencil_clearvalue); + glshim_glStencilOp(cur->stencil_sfail, cur->stencil_dpfail, cur->stencil_dppass); + glshim_glClearStencil(cur->stencil_clearvalue); //TODO: Stencil buffer writemask } @@ -476,46 +476,46 @@ void glPopAttrib() { int a; //TODO: Enable bit for the 4 texture coordinates for (a=0; atexgen_r[a]; - state.enable.texgen_s[a] = cur->texgen_s[a]; - state.enable.texgen_t[a] = cur->texgen_t[a]; - state.texgen[a] = cur->texgen[a]; // all mode and planes per texture in 1 line - if ((cur->texture[a]==0 && state.texture.bound[a] != 0) || (cur->texture[a]!=0 && state.texture.bound[a]==0)) { - glActiveTexture(GL_TEXTURE0+a); - glBindTexture(GL_TEXTURE_2D, cur->texture[a]); + glstate.enable.texgen_r[a] = cur->texgen_r[a]; + glstate.enable.texgen_s[a] = cur->texgen_s[a]; + glstate.enable.texgen_t[a] = cur->texgen_t[a]; + glstate.texgen[a] = cur->texgen[a]; // all mode and planes per texture in 1 line + if ((cur->texture[a]==0 && glstate.texture.bound[a] != 0) || (cur->texture[a]!=0 && glstate.texture.bound[a]==0)) { + glshim_glActiveTexture(GL_TEXTURE0+a); + glshim_glBindTexture(GL_TEXTURE_2D, cur->texture[a]); } } - if (state.texture.active!= cur->active) glActiveTexture(GL_TEXTURE0+cur->active); + if (glstate.texture.active!= cur->active) glshim_glActiveTexture(GL_TEXTURE0+cur->active); } if (cur->mask & GL_PIXEL_MODE_BIT) { GLenum pixel_name[] = {GL_RED_BIAS, GL_RED_SCALE, GL_GREEN_BIAS, GL_GREEN_SCALE, GL_BLUE_BIAS, GL_BLUE_SCALE, GL_ALPHA_BIAS, GL_ALPHA_SCALE}; int i; for (i=0; i<8; i++) - glPixelTransferf(pixel_name[i], cur->pixel_scale_bias[i]); + glshim_glPixelTransferf(pixel_name[i], cur->pixel_scale_bias[i]); //TODO: GL_DEPTH_BIAS & GL_DEPTH_SCALE (probably difficult) //TODO: GL_INDEX_OFFEST & GL_INDEX_SHIFT //TODO: GL_MAP_COLOR & GL_MAP_STENCIL (probably difficult too) - glPixelZoom(cur->pixel_zoomx, cur->pixel_zoomy); + glshim_glPixelZoom(cur->pixel_zoomx, cur->pixel_zoomy); } if (cur->mask & GL_TRANSFORM_BIT) { if (!(cur->mask & GL_ENABLE_BIT)) { int i; GLint max_clip_planes; - glGetIntegerv(GL_MAX_CLIP_PLANES, &max_clip_planes); + glshim_glGetIntegerv(GL_MAX_CLIP_PLANES, &max_clip_planes); for (i = 0; i < max_clip_planes; i++) { enable_disable(GL_CLIP_PLANE0 + i, *(cur->clip_planes_enabled + i)); } } - glMatrixMode(cur->matrix_mode); + glshim_glMatrixMode(cur->matrix_mode); enable_disable(GL_NORMALIZE, cur->normalize_flag); enable_disable(GL_RESCALE_NORMAL, cur->rescale_normal_flag); } if (cur->mask & GL_VIEWPORT_BIT) { - glViewport(cur->viewport_size[0], cur->viewport_size[1], cur->viewport_size[2], cur->viewport_size[3]); - glDepthRangef(cur->depth_range[0], cur->depth_range[1]); + glshim_glViewport(cur->viewport_size[0], cur->viewport_size[1], cur->viewport_size[2], cur->viewport_size[3]); + glshim_glDepthRangef(cur->depth_range[0], cur->depth_range[1]); } maybe_free(cur->clip_planes_enabled); @@ -527,10 +527,10 @@ void glPopAttrib() { #undef enable_disable #define enable_disable(pname, enabled) \ - if (enabled) glEnableClientState(pname); \ - else glDisableClientState(pname) + if (enabled) glshim_glEnableClientState(pname); \ + else glshim_glDisableClientState(pname) -void glPopClientAttrib() { +void glshim_glPopClientAttrib() { noerrorShim(); //LOAD_GLES(glVertexPointer); //LOAD_GLES(glColorPointer); @@ -544,34 +544,34 @@ void glPopClientAttrib() { glclientstack_t *cur = clientStack + clientStack->len-1; if (cur->mask & GL_CLIENT_PIXEL_STORE_BIT) { - glPixelStorei(GL_PACK_ALIGNMENT, cur->pack_align); - glPixelStorei(GL_UNPACK_ALIGNMENT, cur->unpack_align); - glPixelStorei(GL_UNPACK_ROW_LENGTH, cur->unpack_row_length); - glPixelStorei(GL_UNPACK_SKIP_PIXELS, cur->unpack_skip_pixels); - glPixelStorei(GL_UNPACK_SKIP_ROWS, cur->unpack_skip_rows); - glPixelStorei(GL_PACK_ROW_LENGTH, cur->pack_row_length); - glPixelStorei(GL_PACK_SKIP_PIXELS, cur->pack_skip_pixels); - glPixelStorei(GL_PACK_SKIP_ROWS, cur->pack_skip_rows); + glshim_glPixelStorei(GL_PACK_ALIGNMENT, cur->pack_align); + glshim_glPixelStorei(GL_UNPACK_ALIGNMENT, cur->unpack_align); + glshim_glPixelStorei(GL_UNPACK_ROW_LENGTH, cur->unpack_row_length); + glshim_glPixelStorei(GL_UNPACK_SKIP_PIXELS, cur->unpack_skip_pixels); + glshim_glPixelStorei(GL_UNPACK_SKIP_ROWS, cur->unpack_skip_rows); + glshim_glPixelStorei(GL_PACK_ROW_LENGTH, cur->pack_row_length); + glshim_glPixelStorei(GL_PACK_SKIP_PIXELS, cur->pack_skip_pixels); + glshim_glPixelStorei(GL_PACK_SKIP_ROWS, cur->pack_skip_rows); } if (cur->mask & GL_CLIENT_VERTEX_ARRAY_BIT) { - if (state.vao->vertex_array != cur->vert_enable) + if (glstate.vao->vertex_array != cur->vert_enable) enable_disable(GL_VERTEX_ARRAY, cur->vert_enable); - if (state.vao->normal_array != cur->normal_enable) + if (glstate.vao->normal_array != cur->normal_enable) enable_disable(GL_NORMAL_ARRAY, cur->normal_enable); - if (state.vao->color_array != cur->color_enable) + if (glstate.vao->color_array != cur->color_enable) enable_disable(GL_COLOR_ARRAY, cur->color_enable); - if (state.vao->secondary_array != cur->secondary_enable) + if (glstate.vao->secondary_array != cur->secondary_enable) enable_disable(GL_SECONDARY_COLOR_ARRAY, cur->secondary_enable); for (int a=0; atex_coord_array[a] != cur->tex_enable[a]) { - glClientActiveTexture(GL_TEXTURE0+a); + if (glstate.vao->tex_coord_array[a] != cur->tex_enable[a]) { + glshim_glClientActiveTexture(GL_TEXTURE0+a); enable_disable(GL_TEXTURE_COORD_ARRAY, cur->tex_enable[a]); } } - memcpy(&state.vao->pointers, &(cur->pointers), sizeof(pointer_states_t)); - if (state.texture.client != cur->client) glClientActiveTexture(GL_TEXTURE0+cur->client); + memcpy(&glstate.vao->pointers, &(cur->pointers), sizeof(pointer_states_t)); + if (glstate.texture.client != cur->client) glshim_glClientActiveTexture(GL_TEXTURE0+cur->client); } clientStack->len--; @@ -582,3 +582,9 @@ void glPopClientAttrib() { #undef v2 #undef v3 #undef v4 + +//Direct wrapper +void glPushClientAttrib(GLbitfield mask) __attribute__((alias("glshim_glPushClientAttrib"))); +void glPopClientAttrib() __attribute__((alias("glshim_glPopClientAttrib"))); +void glPushAttrib(GLbitfield mask) __attribute__((alias("glshim_glPushAttrib"))); +void glPopAttrib() __attribute__((alias("glshim_glPopAttrib"))); \ No newline at end of file diff --git a/project/jni/glshim/src/gl/stack.h b/project/jni/glshim/src/gl/stack.h index 126cc0587..75fa8d564 100755 --- a/project/jni/glshim/src/gl/stack.h +++ b/project/jni/glshim/src/gl/stack.h @@ -164,9 +164,9 @@ typedef struct { unsigned int cap; } glclientstack_t; -void glPushClientAttrib(GLbitfield mask); -void glPopClientAttrib(); -void glPushAttrib(GLbitfield mask); -void glPopAttrib(); +void glshim_glPushClientAttrib(GLbitfield mask); +void glshim_glPopClientAttrib(); +void glshim_glPushAttrib(GLbitfield mask); +void glshim_glPopAttrib(); #endif diff --git a/project/jni/glshim/src/gl/state.h b/project/jni/glshim/src/gl/state.h index 35ae59847..8c0ecb753 100755 --- a/project/jni/glshim/src/gl/state.h +++ b/project/jni/glshim/src/gl/state.h @@ -125,6 +125,7 @@ typedef struct { } clientstate_t; typedef struct { + int dummy[16]; // dummy zone, test for memory overwriting... displaylist_state_t list; enable_state_t enable; map_state_t *map_grid; diff --git a/project/jni/glshim/src/gl/texgen.c b/project/jni/glshim/src/gl/texgen.c index 1073dd2b9..968431acd 100755 --- a/project/jni/glshim/src/gl/texgen.c +++ b/project/jni/glshim/src/gl/texgen.c @@ -2,13 +2,13 @@ //extern void* eglGetProcAddress(const char*); -void glTexGeni(GLenum coord, GLenum pname, GLint param) { +void glshim_glTexGeni(GLenum coord, GLenum pname, GLint param) { GLfloat params[4] = {0,0,0,0}; params[0]=param; - glTexGenfv(coord, pname, params); + glshim_glTexGenfv(coord, pname, params); } -void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *param) { +void glshim_glTexGenfv(GLenum coord, GLenum pname, const GLfloat *param) { /* If pname is GL_TEXTURE_GEN_MODE, then the array must contain @@ -19,10 +19,10 @@ void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *param) { generation function specified by pname. */ - //printf("glTexGenfv(0x%04X, 0x%04X, [%.02f, ...]), texture=%i\n", coord, pname, param[0], state.texture.active); - if ((state.list.compiling || state.gl_batch) && state.list.active) { - NewStage(state.list.active, STAGE_TEXGEN); - rlTexGenfv(state.list.active, coord, pname, param); + //printf("glTexGenfv(0x%04X, 0x%04X, [%.02f, ...]), texture=%i\n", coord, pname, param[0], glstate.texture.active); + if ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active) { + NewStage(glstate.list.active, STAGE_TEXGEN); + rlTexGenfv(glstate.list.active, coord, pname, param); noerrorShim(); return; } @@ -32,9 +32,9 @@ void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *param) { switch(pname) { case GL_TEXTURE_GEN_MODE: switch (coord) { - case GL_S: state.texgen[state.texture.active].S = param[0]; break; - case GL_T: state.texgen[state.texture.active].T = param[0]; break; - case GL_R: state.texgen[state.texture.active].R = param[0]; break; + case GL_S: glstate.texgen[glstate.texture.active].S = param[0]; break; + case GL_T: glstate.texgen[glstate.texture.active].T = param[0]; break; + case GL_R: glstate.texgen[glstate.texture.active].R = param[0]; break; default: errorShim(GL_INVALID_ENUM); return; @@ -42,13 +42,13 @@ void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *param) { case GL_OBJECT_PLANE: switch (coord) { case GL_S: - memcpy(state.texgen[state.texture.active].S_O, param, 4 * sizeof(GLfloat)); + memcpy(glstate.texgen[glstate.texture.active].S_O, param, 4 * sizeof(GLfloat)); break; case GL_T: - memcpy(state.texgen[state.texture.active].T_O, param, 4 * sizeof(GLfloat)); + memcpy(glstate.texgen[glstate.texture.active].T_O, param, 4 * sizeof(GLfloat)); break; case GL_R: - memcpy(state.texgen[state.texture.active].R_O, param, 4 * sizeof(GLfloat)); + memcpy(glstate.texgen[glstate.texture.active].R_O, param, 4 * sizeof(GLfloat)); break; default: errorShim(GL_INVALID_ENUM); @@ -57,13 +57,13 @@ void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *param) { case GL_EYE_PLANE: switch (coord) { case GL_S: - memcpy(state.texgen[state.texture.active].S_E, param, 4 * sizeof(GLfloat)); + memcpy(glstate.texgen[glstate.texture.active].S_E, param, 4 * sizeof(GLfloat)); break; case GL_T: - memcpy(state.texgen[state.texture.active].T_E, param, 4 * sizeof(GLfloat)); + memcpy(glstate.texgen[glstate.texture.active].T_E, param, 4 * sizeof(GLfloat)); break; case GL_R: - memcpy(state.texgen[state.texture.active].R_E, param, 4 * sizeof(GLfloat)); + memcpy(glstate.texgen[glstate.texture.active].R_E, param, 4 * sizeof(GLfloat)); break; default: errorShim(GL_INVALID_ENUM); @@ -73,28 +73,28 @@ void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *param) { errorShim(GL_INVALID_ENUM); } } -void glGetTexGenfv(GLenum coord,GLenum pname,GLfloat *params) { +void glshim_glGetTexGenfv(GLenum coord,GLenum pname,GLfloat *params) { if (gl_batch) flush(); noerrorShim(); switch(pname) { case GL_TEXTURE_GEN_MODE: switch (coord) { - case GL_S: *params = state.texgen[state.texture.active].S; break; - case GL_T: *params = state.texgen[state.texture.active].T; break; - case GL_R: *params = state.texgen[state.texture.active].R; break; + case GL_S: *params = glstate.texgen[glstate.texture.active].S; break; + case GL_T: *params = glstate.texgen[glstate.texture.active].T; break; + case GL_R: *params = glstate.texgen[glstate.texture.active].R; break; default: *params = GL_EYE_LINEAR; } break; case GL_OBJECT_PLANE: switch (coord) { case GL_S: - memcpy(params, state.texgen[state.texture.active].S_O, 4 * sizeof(GLfloat)); + memcpy(params, glstate.texgen[glstate.texture.active].S_O, 4 * sizeof(GLfloat)); break; case GL_T: - memcpy(params, state.texgen[state.texture.active].T_O, 4 * sizeof(GLfloat)); + memcpy(params, glstate.texgen[glstate.texture.active].T_O, 4 * sizeof(GLfloat)); break; case GL_R: - memcpy(params, state.texgen[state.texture.active].R_O, 4 * sizeof(GLfloat)); + memcpy(params, glstate.texgen[glstate.texture.active].R_O, 4 * sizeof(GLfloat)); break; default: errorShim(GL_INVALID_ENUM); @@ -102,13 +102,13 @@ void glGetTexGenfv(GLenum coord,GLenum pname,GLfloat *params) { case GL_EYE_PLANE: switch (coord) { case GL_S: - memcpy(params, state.texgen[state.texture.active].S_E, 4 * sizeof(GLfloat)); + memcpy(params, glstate.texgen[glstate.texture.active].S_E, 4 * sizeof(GLfloat)); break; case GL_T: - memcpy(params, state.texgen[state.texture.active].T_E, 4 * sizeof(GLfloat)); + memcpy(params, glstate.texgen[glstate.texture.active].T_E, 4 * sizeof(GLfloat)); break; case GL_R: - memcpy(params, state.texgen[state.texture.active].R_E, 4 * sizeof(GLfloat)); + memcpy(params, glstate.texgen[glstate.texture.active].R_E, 4 * sizeof(GLfloat)); break; default: errorShim(GL_INVALID_ENUM); @@ -251,7 +251,7 @@ void sphere_loop(const GLfloat *verts, const GLfloat *norm, GLfloat *out, GLint }*/ // First get the ModelviewMatrix GLfloat ModelviewMatrix[16], InvModelview[16]; - glGetFloatv(GL_MODELVIEW_MATRIX, InvModelview); + glshim_glGetFloatv(GL_MODELVIEW_MATRIX, InvModelview); // column major -> row major for (int i=0; i<4; i++) for (int j=0; j<4; j++) @@ -264,7 +264,7 @@ void sphere_loop(const GLfloat *verts, const GLfloat *norm, GLfloat *out, GLint GLushort k = indices?indices[i]:i; matrix_vector(ModelviewMatrix, verts+k*4, eye); vector_normalize(eye); - vector3_matrix((norm)?(norm+k*3):state.normal, InvModelview, eye_norm); + vector3_matrix((norm)?(norm+k*3):glstate.normal, InvModelview, eye_norm); vector_normalize(eye_norm); a=dot(eye, eye_norm)*2.0f; for (int j=0; j<4; j++) @@ -293,7 +293,7 @@ void eye_loop(const GLfloat *verts, const GLfloat *param, GLfloat *out, GLint co for (int i=0; i -extern void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params); -extern void glTexGeni(GLenum coord, GLenum pname, GLint param); -extern void gen_tex_coords(GLfloat *verts, GLfloat *norm, GLfloat **coords, GLint count, GLint *needclean, int texture, GLushort* indices, GLuint ilen); -extern void gen_tex_clean(GLint cleancode, int texture); -extern void glGetTexGenfv(GLenum coord,GLenum pname,GLfloat *params); +void glshim_glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params); +void glshim_glTexGeni(GLenum coord, GLenum pname, GLint param); +void gen_tex_coords(GLfloat *verts, GLfloat *norm, GLfloat **coords, GLint count, GLint *needclean, int texture, GLushort* indices, GLuint ilen); +void gen_tex_clean(GLint cleancode, int texture); +void glshim_glGetTexGenfv(GLenum coord,GLenum pname,GLfloat *params); -extern GLfloat dot(const GLfloat *a, const GLfloat *b); -extern void matrix_vector(const GLfloat *a, const GLfloat *b, GLfloat *c); -extern void vector_matrix(const GLfloat *a, const GLfloat *b, GLfloat *c); -extern void vector_normalize(GLfloat *a); -extern void matrix_column_row(const GLfloat *a, GLfloat *b); -extern void matrix_row_column(const GLfloat *a, GLfloat *b); -extern void matrix_inverse(const GLfloat *m, GLfloat *r); -extern void matrix_mul(const GLfloat *a, const GLfloat *b, GLfloat *c); +GLfloat dot(const GLfloat *a, const GLfloat *b); +void matrix_vector(const GLfloat *a, const GLfloat *b, GLfloat *c); +void vector_matrix(const GLfloat *a, const GLfloat *b, GLfloat *c); +void vector_normalize(GLfloat *a); +void matrix_column_row(const GLfloat *a, GLfloat *b); +void matrix_row_column(const GLfloat *a, GLfloat *b); +void matrix_inverse(const GLfloat *m, GLfloat *r); +void matrix_mul(const GLfloat *a, const GLfloat *b, GLfloat *c); -extern void glLoadTransposeMatrixf(const GLfloat *m); -extern void glLoadTransposeMatrixd(const GLdouble *m); -extern void glMultTransposeMatrixd(const GLdouble *m); -extern void glMultTransposeMatrixf(const GLfloat *m); +void glshim_glLoadTransposeMatrixf(const GLfloat *m); +void glshim_glLoadTransposeMatrixd(const GLdouble *m); +void glshim_glMultTransposeMatrixd(const GLdouble *m); +void glshim_glMultTransposeMatrixf(const GLfloat *m); diff --git a/project/jni/glshim/src/gl/texture.c b/project/jni/glshim/src/gl/texture.c index 7cf7f7544..f97e8d543 100755 --- a/project/jni/glshim/src/gl/texture.c +++ b/project/jni/glshim/src/gl/texture.c @@ -4,6 +4,7 @@ #include "debug.h" #include #include +#include "gles.h" #include "../glx/streaming.h" #ifndef GL_TEXTURE_STREAM_IMG @@ -60,7 +61,7 @@ void tex_coord_npot(GLfloat *tex, GLsizei len, */ void tex_setup_texcoord(GLuint texunit, GLuint len) { LOAD_GLES(glTexCoordPointer); - GLuint old = state.texture.client; + GLuint old = glstate.texture.client; static void * tex[8] = {0,0,0,0,0,0,0,0}; // hugly but convenient... @@ -69,35 +70,35 @@ void tex_setup_texcoord(GLuint texunit, GLuint len) { tex[texunit]=NULL; } - gltexture_t *bound = state.texture.bound[texunit]; + gltexture_t *bound = glstate.texture.bound[texunit]; // check if some changes are needed int changes = 0; - if ((state.texture.rect_arb[texunit]) || + if ((glstate.texture.rect_arb[texunit]) || (bound && ((bound->width!=bound->nwidth)||(bound->height!=bound->nheight)|| - (bound->shrink && (state.vao->pointers.tex_coord[texunit].type!=GL_FLOAT) && (state.vao->pointers.tex_coord[texunit].type!=GL_DOUBLE))))) + (bound->shrink && (glstate.vao->pointers.tex_coord[texunit].type!=GL_FLOAT) && (glstate.vao->pointers.tex_coord[texunit].type!=GL_DOUBLE))))) changes = 1; - if (old!=texunit) glClientActiveTexture(texunit+GL_TEXTURE0); + if (old!=texunit) glshim_glClientActiveTexture(texunit+GL_TEXTURE0); if (changes) { // first convert to GLfloat, without normalization - tex[texunit] = copy_gl_pointer_tex(&state.vao->pointers.tex_coord[texunit], 4, 0, len, state.vao->pointers.tex_coord[texunit].buffer); + tex[texunit] = copy_gl_pointer_tex(&glstate.vao->pointers.tex_coord[texunit], 4, 0, len, glstate.vao->pointers.tex_coord[texunit].buffer); if (!tex[texunit]) { printf("LibGL: Error with Texture tranform\n"); - gles_glTexCoordPointer(len, state.vao->pointers.tex_coord[texunit].type, state.vao->pointers.tex_coord[texunit].stride, state.vao->pointers.tex_coord[texunit].pointer); - if (old!=texunit) glClientActiveTexture(old+GL_TEXTURE0); + gles_glTexCoordPointer(len, glstate.vao->pointers.tex_coord[texunit].type, glstate.vao->pointers.tex_coord[texunit].stride, glstate.vao->pointers.tex_coord[texunit].pointer); + if (old!=texunit) glshim_glClientActiveTexture(old+GL_TEXTURE0); return; } // Normalize if needed - if ((state.texture.rect_arb[texunit]) || ((state.vao->pointers.tex_coord[texunit].type!=GL_FLOAT) && (state.vao->pointers.tex_coord[texunit].type!=GL_DOUBLE))) + if ((glstate.texture.rect_arb[texunit]) || ((glstate.vao->pointers.tex_coord[texunit].type!=GL_FLOAT) && (glstate.vao->pointers.tex_coord[texunit].type!=GL_DOUBLE))) tex_coord_rect_arb(tex[texunit], len, bound->width, bound->height); if ((bound->width!=bound->nwidth) || (bound->height!=bound->nheight)) tex_coord_npot(tex[texunit], len, bound->width, bound->height, bound->nwidth, bound->nheight); // All done, setup the texcoord array now gles_glTexCoordPointer(4, GL_FLOAT, 0, tex[texunit]); } else { - gles_glTexCoordPointer(state.vao->pointers.tex_coord[texunit].size, state.vao->pointers.tex_coord[texunit].type, state.vao->pointers.tex_coord[texunit].stride, state.vao->pointers.tex_coord[texunit].pointer); + gles_glTexCoordPointer(glstate.vao->pointers.tex_coord[texunit].size, glstate.vao->pointers.tex_coord[texunit].type, glstate.vao->pointers.tex_coord[texunit].stride, glstate.vao->pointers.tex_coord[texunit].pointer); } - if (old!=texunit) glClientActiveTexture(old+GL_TEXTURE0); + if (old!=texunit) glshim_glClientActiveTexture(old+GL_TEXTURE0); } int nolumalpha = 0; @@ -267,6 +268,7 @@ GLenum swizzle_internalformat(GLenum *internalformat) { case 3: ret = GL_RGB; sret = GL_RGB; break; + case GL_RGBA: case GL_RGBA8: case GL_RGBA4: case GL_BGRA: @@ -320,12 +322,11 @@ static int default_tex_mipmap = 0; static int proxy_width = 0; static int proxy_height = 0; -void glTexImage2D(GLenum target, GLint level, GLint internalformat, +void glshim_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *data) { - //printf("glTexImage2D on target=%s with unpack_row_length(%i), size(%i,%i) and skip(%i,%i), format(internal)=%s(%s), type=%s, data=%08x, level=%i (mipmap_need=%i, mipmap_auto=%i) => texture=%u (streamed=%i)\n", PrintEnum(target), state.texture.unpack_row_length, width, height, state.texture.unpack_skip_pixels, state.texture.unpack_skip_rows, PrintEnum(format), PrintEnum(internalformat), PrintEnum(type), data, level, (state.texture.bound[state.texture.active])?state.texture.bound[state.texture.active]->mipmap_need:0, (state.texture.bound[state.texture.active])?state.texture.bound[state.texture.active]->mipmap_auto:0, (state.texture.bound[state.texture.active])?state.texture.bound[state.texture.active]->texture:0, (state.texture.bound[state.texture.active])?state.texture.bound[state.texture.active]->streamed:0); - + //printf("glTexImage2D on target=%s with unpack_row_length(%i), size(%i,%i) and skip(%i,%i), format(internal)=%s(%s), type=%s, data=%08x, level=%i (mipmap_need=%i, mipmap_auto=%i) => texture=%u (streamed=%i), glstate.list.compiling=%d\n", PrintEnum(target), glstate.texture.unpack_row_length, width, height, glstate.texture.unpack_skip_pixels, glstate.texture.unpack_skip_rows, PrintEnum(format), PrintEnum(internalformat), PrintEnum(type), data, level, (glstate.texture.bound[glstate.texture.active])?glstate.texture.bound[glstate.texture.active]->mipmap_need:0, (glstate.texture.bound[glstate.texture.active])?glstate.texture.bound[glstate.texture.active]->mipmap_auto:0, (glstate.texture.bound[glstate.texture.active])?glstate.texture.bound[glstate.texture.active]->texture:0, (glstate.texture.bound[glstate.texture.active])?glstate.texture.bound[glstate.texture.active]->streamed:0, glstate.list.compiling); // proxy case if (target == GL_PROXY_TEXTURE_2D) { proxy_width = ((width<(texshrink==8)?8192:2048)?0:width; @@ -333,27 +334,27 @@ void glTexImage2D(GLenum target, GLint level, GLint internalformat, return; } //PUSH_IF_COMPILING(glTexImage2D); - GLuint old_glbatch = state.gl_batch; - if (state.gl_batch) { + GLuint old_glbatch = glstate.gl_batch; + if (glstate.gl_batch) { flush(); - state.gl_batch = 0; + glstate.gl_batch = 0; } GLvoid *datab = (GLvoid*)data; - if (state.vao->unpack) - datab += (uintptr_t)state.vao->pack->data; + if (glstate.vao->unpack) + datab += (uintptr_t)glstate.vao->pack->data; GLvoid *pixels = (GLvoid *)datab; border = 0; //TODO: something? noerrorShim(); - gltexture_t *bound = state.texture.bound[state.texture.active]; + gltexture_t *bound = glstate.texture.bound[glstate.texture.active]; if (bound) bound->alpha = pixel_hasalpha(format); if (automipmap) { if (bound && (level>0)) if ((automipmap==1) || (automipmap==3) || bound->mipmap_need) { - state.gl_batch = old_glbatch; + glstate.gl_batch = old_glbatch; return; // has been handled by auto_mipmap } else @@ -367,14 +368,14 @@ void glTexImage2D(GLenum target, GLint level, GLint internalformat, if (datab) { // implements GL_UNPACK_ROW_LENGTH - if ((state.texture.unpack_row_length && state.texture.unpack_row_length != width) || state.texture.unpack_skip_pixels || state.texture.unpack_skip_rows) { + if ((glstate.texture.unpack_row_length && glstate.texture.unpack_row_length != width) || glstate.texture.unpack_skip_pixels || glstate.texture.unpack_skip_rows) { int imgWidth, pixelSize; pixelSize = pixel_sizeof(format, type); - imgWidth = ((state.texture.unpack_row_length)? state.texture.unpack_row_length:width) * pixelSize; + imgWidth = ((glstate.texture.unpack_row_length)? glstate.texture.unpack_row_length:width) * pixelSize; GLubyte *dst = (GLubyte *)malloc(width * height * pixelSize); pixels = (GLvoid *)dst; const GLubyte *src = (GLubyte *)datab; - src += state.texture.unpack_skip_pixels * pixelSize + state.texture.unpack_skip_rows * imgWidth; + src += glstate.texture.unpack_skip_pixels * pixelSize + glstate.texture.unpack_skip_rows * imgWidth; for (int y = 0; y < height; y += 1) { memcpy(dst, src, width * pixelSize); src += imgWidth; @@ -579,7 +580,7 @@ void glTexImage2D(GLenum target, GLint level, GLint internalformat, if (bound->streamingID>-1) { // success bound->streamed = true; ApplyFilterID(bound->streamingID, bound->min_filter, bound->mag_filter); - GLboolean tmp = state.enable.texture_2d[state.texture.active]; + GLboolean tmp = glstate.enable.texture_2d[glstate.texture.active]; LOAD_GLES(glDisable); LOAD_GLES(glEnable); if (tmp) @@ -695,8 +696,8 @@ void glTexImage2D(GLenum target, GLint level, GLint internalformat, if ((bound) && (bound->mipmap_need)) { // remove the need for mipmap... bound->mipmap_need = 0; - glTexParameteri(target, GL_TEXTURE_MIN_FILTER, bound->min_filter); - glTexParameteri(target, GL_TEXTURE_MAG_FILTER, bound->mag_filter); + glshim_glTexParameteri(target, GL_TEXTURE_MIN_FILTER, bound->min_filter); + glshim_glTexParameteri(target, GL_TEXTURE_MAG_FILTER, bound->mag_filter); } } @@ -715,7 +716,7 @@ void glTexImage2D(GLenum target, GLint level, GLint internalformat, gles_glTexParameteri( target, GL_GENERATE_MIPMAP, GL_FALSE );*/ } else { if (pixels) - glTexSubImage2D(target, level, 0, 0, width, height, format, type, pixels); // (should never happens) updload the 1st data... + glshim_glTexSubImage2D(target, level, 0, 0, width, height, format, type, pixels); // (should never happens) updload the 1st data... } } } @@ -734,54 +735,54 @@ void glTexImage2D(GLenum target, GLint level, GLint internalformat, if (pixels != datab) { free(pixels); } - state.gl_batch = old_glbatch; + glstate.gl_batch = old_glbatch; } -void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, +void glshim_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *data) { //PUSH_IF_COMPILING(glTexSubImage2D); - GLuint old_glbatch = state.gl_batch; - if (state.gl_batch) { + GLuint old_glbatch = glstate.gl_batch; + if (glstate.gl_batch) { flush(); - state.gl_batch = 0; + glstate.gl_batch = 0; } GLvoid *datab = (GLvoid*)data; - if (state.vao->unpack) - datab += (uintptr_t)state.vao->pack->data; + if (glstate.vao->unpack) + datab += (uintptr_t)glstate.vao->pack->data; GLvoid *pixels = (GLvoid*)datab; LOAD_GLES(glTexSubImage2D); LOAD_GLES(glTexParameteri); noerrorShim(); - //printf("glTexSubImage2D on target=%s with unpack_row_length(%i), size(%i,%i), pos(%i,%i) and skip={%i,%i}, format=%s, type=%s, level=%i, texture=%u\n", PrintEnum(target), state.texture.unpack_row_length, width, height, xoffset, yoffset, state.texture.unpack_skip_pixels, state.texture.unpack_skip_rows, PrintEnum(format), PrintEnum(type), level, state.texture.bound[state.texture.active]->texture); + //printf("glTexSubImage2D on target=%s with unpack_row_length(%i), size(%i,%i), pos(%i,%i) and skip={%i,%i}, format=%s, type=%s, level=%i, texture=%u\n", PrintEnum(target), glstate.texture.unpack_row_length, width, height, xoffset, yoffset, glstate.texture.unpack_skip_pixels, glstate.texture.unpack_skip_rows, PrintEnum(format), PrintEnum(type), level, glstate.texture.bound[glstate.texture.active]->texture); if (width==0 || height==0) { - state.gl_batch = old_glbatch; + glstate.gl_batch = old_glbatch; return; } target = map_tex_target(target); - gltexture_t *bound = state.texture.bound[state.texture.active]; + gltexture_t *bound = glstate.texture.bound[glstate.texture.active]; if (automipmap) { if (bound && (level>0)) if ((automipmap==1) || (automipmap==3) || bound->mipmap_need) { - state.gl_batch = old_glbatch; + glstate.gl_batch = old_glbatch; return; // has been handled by auto_mipmap } else bound->mipmap_need = 1; } - if ((state.texture.unpack_row_length && state.texture.unpack_row_length != width) || state.texture.unpack_skip_pixels || state.texture.unpack_skip_rows) { + if ((glstate.texture.unpack_row_length && glstate.texture.unpack_row_length != width) || glstate.texture.unpack_skip_pixels || glstate.texture.unpack_skip_rows) { int imgWidth, pixelSize; pixelSize = pixel_sizeof(format, type); - imgWidth = ((state.texture.unpack_row_length)? state.texture.unpack_row_length:width) * pixelSize; + imgWidth = ((glstate.texture.unpack_row_length)? glstate.texture.unpack_row_length:width) * pixelSize; GLubyte *dst = (GLubyte *)malloc(width * height * pixelSize); pixels = (GLvoid *)dst; const GLubyte *src = (GLubyte *)datab; - src += state.texture.unpack_skip_pixels * pixelSize + state.texture.unpack_skip_rows * imgWidth; + src += glstate.texture.unpack_skip_pixels * pixelSize + glstate.texture.unpack_skip_rows * imgWidth; for (int y = 0; y < height; y += 1) { memcpy(dst, src, width * pixelSize); src += imgWidth; @@ -836,7 +837,7 @@ void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, // nothing to do... if (pixels != datab) free((GLvoid *)pixels); - state.gl_batch = old_glbatch; + glstate.gl_batch = old_glbatch; return; } // ok, now standard cases.... @@ -888,102 +889,102 @@ void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, if (pixels != datab) free((GLvoid *)pixels); - state.gl_batch = old_glbatch; + glstate.gl_batch = old_glbatch; } // 1d stubs -void glTexImage1D(GLenum target, GLint level, GLint internalFormat, +void glshim_glTexImage1D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *data) { // TODO: maybe too naive to force GL_TEXTURE_2D here? - glTexImage2D(GL_TEXTURE_2D, level, internalFormat, width, 1, + glshim_glTexImage2D(GL_TEXTURE_2D, level, internalFormat, width, 1, border, format, type, data); } -void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, +void glshim_glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *data) { - glTexSubImage2D(GL_TEXTURE_2D, level, xoffset, 0, + glshim_glTexSubImage2D(GL_TEXTURE_2D, level, xoffset, 0, width, 1, format, type, data); } -void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, +void glshim_glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) { - glCopyTexImage2D(GL_TEXTURE_2D, level, internalformat, x, y, width, 1, border); + glshim_glCopyTexImage2D(GL_TEXTURE_2D, level, internalformat, x, y, width, 1, border); } -void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, +void glshim_glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) { - glCopyTexSubImage2D(GL_TEXTURE_2D, level, xoffset, 0, x, y, width, 1); + glshim_glCopyTexSubImage2D(GL_TEXTURE_2D, level, xoffset, 0, x, y, width, 1); } -void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, +void glshim_glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { - glCopyTexSubImage2D(GL_TEXTURE_2D, level, xoffset, yoffset, x, y, width, height); + glshim_glCopyTexSubImage2D(GL_TEXTURE_2D, level, xoffset, yoffset, x, y, width, height); } // 3d stubs -void glTexImage3D(GLenum target, GLint level, GLint internalFormat, +void glshim_glTexImage3D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *data) { // TODO: maybe too naive to force GL_TEXTURE_2D here? - glTexImage2D(GL_TEXTURE_2D, level, internalFormat, width, height, + glshim_glTexImage2D(GL_TEXTURE_2D, level, internalFormat, width, height, border, format, type, data); } -void glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, +void glshim_glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *data) { - glTexSubImage2D(target, level, xoffset, yoffset, + glshim_glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, data); } -void glPixelStorei(GLenum pname, GLint param) { +void glshim_glPixelStorei(GLenum pname, GLint param) { // TODO: add to glGetIntegerv? -// if (state.gl_batch) flush(); +// if (glstate.gl_batch) flush(); LOAD_GLES(glPixelStorei); noerrorShim(); switch (pname) { case GL_UNPACK_ROW_LENGTH: - state.texture.unpack_row_length = param; + glstate.texture.unpack_row_length = param; break; case GL_UNPACK_SKIP_PIXELS: - state.texture.unpack_skip_pixels = param; + glstate.texture.unpack_skip_pixels = param; break; case GL_UNPACK_SKIP_ROWS: - state.texture.unpack_skip_rows = param; + glstate.texture.unpack_skip_rows = param; break; case GL_UNPACK_LSB_FIRST: - state.texture.unpack_lsb_first = param; + glstate.texture.unpack_lsb_first = param; break; case GL_UNPACK_IMAGE_HEIGHT: - state.texture.unpack_image_height = param; + glstate.texture.unpack_image_height = param; break; case GL_UNPACK_SWAP_BYTES: case GL_PACK_SWAP_BYTES: // Fake... TODO? - //state.texture.unpack_lsb_first = param; + //glstate.texture.unpack_lsb_first = param; break; case GL_PACK_ROW_LENGTH: - state.texture.pack_row_length = param; + glstate.texture.pack_row_length = param; break; case GL_PACK_SKIP_PIXELS: - state.texture.pack_skip_pixels = param; + glstate.texture.pack_skip_pixels = param; break; case GL_PACK_SKIP_ROWS: - state.texture.pack_skip_rows = param; + glstate.texture.pack_skip_rows = param; break; case GL_PACK_LSB_FIRST: - state.texture.pack_lsb_first = param; + glstate.texture.pack_lsb_first = param; break; case GL_PACK_IMAGE_HEIGHT: - state.texture.pack_image_height = param; + glstate.texture.pack_image_height = param; break; default: errorGL(); @@ -991,14 +992,14 @@ void glPixelStorei(GLenum pname, GLint param) { break; } } -GLboolean glIsTexture( GLuint texture) { +GLboolean glshim_glIsTexture( GLuint texture) { noerrorShim(); if (!texture) { return GL_FALSE; } int ret; khint_t k; - khash_t(tex) *list = state.texture.list; + khash_t(tex) *list = glstate.texture.list; if (! list) { return GL_FALSE; } @@ -1010,15 +1011,15 @@ GLboolean glIsTexture( GLuint texture) { return GL_TRUE; } -gltexture_t* getTexture(GLenum target, GLuint texture) { +gltexture_t* glshim_getTexture(GLenum target, GLuint texture) { // Get a texture based on glID gltexture_t* tex = NULL; if (texture == 0) return tex; int ret; khint_t k; - khash_t(tex) *list = state.texture.list; + khash_t(tex) *list = glstate.texture.list; if (! list) { - list = state.texture.list = kh_init(tex); + list = glstate.texture.list = kh_init(tex); // segfaults if we don't do a single put kh_put(tex, list, 1, &ret); kh_del(tex, list, 1); @@ -1052,36 +1053,36 @@ gltexture_t* getTexture(GLenum target, GLuint texture) { return tex; } -void glBindTexture(GLenum target, GLuint texture) { +void glshim_glBindTexture(GLenum target, GLuint texture) { noerrorShim(); - if ((target!=GL_PROXY_TEXTURE_2D) && (state.list.active && (state.gl_batch && !state.list.compiling))) { - if ((state.statebatch.bound_targ == target) && (state.statebatch.bound_tex == texture)) + if ((target!=GL_PROXY_TEXTURE_2D) && (glstate.list.active && (glstate.gl_batch && !glstate.list.compiling))) { + if ((glstate.statebatch.bound_targ == target) && (glstate.statebatch.bound_tex == texture)) return; // nothing to do... - if (!state.statebatch.bound_targ) { - state.statebatch.bound_targ = target; - state.statebatch.bound_tex = texture; + if (!glstate.statebatch.bound_targ) { + glstate.statebatch.bound_targ = target; + glstate.statebatch.bound_tex = texture; } else { flush(); } } - if ((target!=GL_PROXY_TEXTURE_2D) && ((state.list.compiling || state.gl_batch) && state.list.active)) { + if ((target!=GL_PROXY_TEXTURE_2D) && ((glstate.list.compiling || glstate.gl_batch) && glstate.list.active)) { // check if already a texture binded, if yes, create a new list - NewStage(state.list.active, STAGE_BINDTEX); - rlBindTexture(state.list.active, target, texture); + NewStage(glstate.list.active, STAGE_BINDTEX); + rlBindTexture(glstate.list.active, target, texture); } else { int tex_changed = 1; int streamingID = -1; gltexture_t *tex = NULL; - //printf("glBindTexture(0x%04X, %u), active=%i, client=%i\n", target, texture, state.texture.active, state.texture.client); + //printf("glBindTexture(0x%04X, %u), active=%i, client=%i\n", target, texture, glstate.texture.active, glstate.texture.client); if (texture) { - tex = getTexture(target, texture); - if (state.texture.bound[state.texture.active] == tex) + tex = glshim_getTexture(target, texture); + if (glstate.texture.bound[glstate.texture.active] == tex) tex_changed = 0; texture = tex->glname; if (texstream && tex->streamed) streamingID = tex->streamingID; } else { - if (state.texture.bound[state.texture.active] == NULL) + if (glstate.texture.bound[glstate.texture.active] == NULL) tex_changed = 0; } @@ -1091,10 +1092,10 @@ tex_changed=1; // seems buggy, temporary disabling that... if (tex_changed) { - GLboolean tmp = state.enable.texture_2d[state.texture.active]; + GLboolean tmp = glstate.enable.texture_2d[glstate.texture.active]; #ifdef TEXSTREAM if (texstream) { // unbind streaming texture if any... - gltexture_t *bound = state.texture.bound[state.texture.active]; + gltexture_t *bound = glstate.texture.bound[glstate.texture.active]; if (bound && bound->streamed) { if (tmp) gles_glDisable(GL_TEXTURE_STREAM_IMG); @@ -1105,10 +1106,10 @@ tex_changed=1; // seems buggy, temporary disabling that... } #endif - state.texture.rect_arb[state.texture.active] = (target == GL_TEXTURE_RECTANGLE_ARB); + glstate.texture.rect_arb[glstate.texture.active] = (target == GL_TEXTURE_RECTANGLE_ARB); target = map_tex_target(target); - state.texture.bound[state.texture.active] = tex; + glstate.texture.bound[glstate.texture.active] = tex; LOAD_GLES(glBindTexture); #ifdef TEXSTREAM @@ -1129,11 +1130,11 @@ tex_changed=1; // seems buggy, temporary disabling that... } // TODO: also glTexParameterf(v)? -void glTexParameteri(GLenum target, GLenum pname, GLint param) { +void glshim_glTexParameteri(GLenum target, GLenum pname, GLint param) { PUSH_IF_COMPILING(glTexParameteri); LOAD_GLES(glTexParameteri); target = map_tex_target(target); - gltexture_t *texture = state.texture.bound[state.texture.active]; + gltexture_t *texture = glstate.texture.bound[glstate.texture.active]; switch (pname) { case GL_TEXTURE_MIN_FILTER: case GL_TEXTURE_MAG_FILTER: @@ -1189,15 +1190,15 @@ void glTexParameteri(GLenum target, GLenum pname, GLint param) { errorGL(); } -void glTexParameterf(GLenum target, GLenum pname, GLfloat param) { - glTexParameteri(target, pname, param); +void glshim_glTexParameterf(GLenum target, GLenum pname, GLfloat param) { + glshim_glTexParameteri(target, pname, param); } -void glDeleteTextures(GLsizei n, const GLuint *textures) { - if (state.gl_batch) flush(); +void glshim_glDeleteTextures(GLsizei n, const GLuint *textures) { + if (glstate.gl_batch) flush(); noerrorShim(); LOAD_GLES(glDeleteTextures); - khash_t(tex) *list = state.texture.list; + khash_t(tex) *list = glstate.texture.list; if (list) { khint_t k; gltexture_t *tex; @@ -1208,8 +1209,8 @@ void glDeleteTextures(GLsizei n, const GLuint *textures) { tex = kh_value(list, k); int a; for (a=0; aglname); errorGL(); @@ -1233,19 +1234,19 @@ void glDeleteTextures(GLsizei n, const GLuint *textures) { } } -void glGenTextures(GLsizei n, GLuint * textures) { +void glshim_glGenTextures(GLsizei n, GLuint * textures) { if (n<=0) return; - if (state.gl_batch) flush(); + if (glstate.gl_batch) flush(); LOAD_GLES(glGenTextures); gles_glGenTextures(n, textures); errorGL(); // now, add all the textures to the list int ret; khint_t k; - khash_t(tex) *list = state.texture.list; + khash_t(tex) *list = glstate.texture.list; if (! list) { - list = state.texture.list = kh_init(tex); + list = glstate.texture.list = kh_init(tex); // segfaults if we don't do a single put kh_put(tex, list, 1, &ret); kh_del(tex, list, 1); @@ -1281,18 +1282,18 @@ void glGenTextures(GLsizei n, GLuint * textures) { } } -GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences) { +GLboolean glshim_glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences) { noerrorShim(); return true; } -void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) { +void glshim_glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) { //printf("glGetTexLevelParameteriv(0x%04X, %d, 0x%04X, %p)\n", target, level, pname, params); // simplification: (mostly) not taking "target" into account here - if (state.gl_batch) flush(); + if (glstate.gl_batch) flush(); *params = 0; noerrorShim(); - gltexture_t* bound = state.texture.bound[state.texture.active]; + gltexture_t* bound = glstate.texture.bound[glstate.texture.active]; switch (pname) { case GL_TEXTURE_WIDTH: if (target==GL_PROXY_TEXTURE_2D) @@ -1352,9 +1353,9 @@ void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *p extern GLuint current_fb; // from framebuffers.c -void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * img) { - if (state.gl_batch) flush(); - if (state.texture.bound[state.texture.active]==NULL) +void glshim_glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * img) { + if (glstate.gl_batch) flush(); + if (glstate.texture.bound[glstate.texture.active]==NULL) return; // no texture bounded... if (level != 0) { //TODO @@ -1365,14 +1366,14 @@ void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoi if (target!=GL_TEXTURE_2D) return; - gltexture_t* bound = state.texture.bound[state.texture.active]; + gltexture_t* bound = glstate.texture.bound[glstate.texture.active]; int width = bound->width; int height = bound->height; //printf("glGetTexImage(0x%04X, %i, 0x%04X, 0x%04X, 0x%p), texture=%u, size=%i,%i\n", target, level, format, type, img, bound->glname, width, height); GLvoid *dst = img; - if (state.vao->pack) - dst += (uintptr_t)state.vao->pack->data; + if (glstate.vao->pack) + dst += (uintptr_t)glstate.vao->pack->data; #ifdef TEXSTREAM if (texstream && bound->streamed) { noerrorShim(); @@ -1392,30 +1393,30 @@ void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoi GLuint old_fbo = current_fb; GLuint fbo; - glGenFramebuffers(1, &fbo); - glBindFramebuffer(GL_FRAMEBUFFER_OES, fbo); - glFramebufferTexture2D(GL_FRAMEBUFFER_OES, GL_COLOR_ATTACHMENT0_OES, GL_TEXTURE_2D, oldBind, 0); + glshim_glGenFramebuffers(1, &fbo); + glshim_glBindFramebuffer(GL_FRAMEBUFFER_OES, fbo); + glshim_glFramebufferTexture2D(GL_FRAMEBUFFER_OES, GL_COLOR_ATTACHMENT0_OES, GL_TEXTURE_2D, oldBind, 0); // Read the pixels! - glReadPixels(0, 0, width, height, format, type, img); // using "full" version with conversion of format/type - glBindFramebuffer(GL_FRAMEBUFFER_OES, old_fbo); - glDeleteFramebuffers(1, &fbo); + glshim_glReadPixels(0, 0, width, height, format, type, img); // using "full" version with conversion of format/type + glshim_glBindFramebuffer(GL_FRAMEBUFFER_OES, old_fbo); + glshim_glDeleteFramebuffers(1, &fbo); noerrorShim(); } } -void glActiveTexture( GLenum texture ) { - if (state.list.active && (state.gl_batch && !state.list.compiling)) { - if ((state.statebatch.active_tex == texture)) +void glshim_glActiveTexture( GLenum texture ) { + if (glstate.list.active && (glstate.gl_batch && !glstate.list.compiling)) { + if ((glstate.statebatch.active_tex == texture)) return; // nothing to do... - if (!state.statebatch.active_tex) { - state.statebatch.active_tex = texture; + if (!glstate.statebatch.active_tex) { + glstate.statebatch.active_tex = texture; } else { flush(); } } - if (state.list.active) { - NewStage(state.list.active, STAGE_ACTIVETEX); - rlActiveTexture(state.list.active, texture); + if (glstate.list.active) { + NewStage(glstate.list.active, STAGE_ACTIVETEX); + rlActiveTexture(glstate.list.active, texture); return; } @@ -1423,51 +1424,51 @@ void glActiveTexture( GLenum texture ) { errorShim(GL_INVALID_ENUM); return; } - state.texture.active = texture - GL_TEXTURE0; + glstate.texture.active = texture - GL_TEXTURE0; LOAD_GLES(glActiveTexture); gles_glActiveTexture(texture); errorGL(); } -void glClientActiveTexture( GLenum texture ) { +void glshim_glClientActiveTexture( GLenum texture ) { if ((texture < GL_TEXTURE0) || (texture >= GL_TEXTURE0+MAX_TEX)) { errorShim(GL_INVALID_ENUM); return; } // try to speed-up things... - if (state.texture.client == (texture - GL_TEXTURE0)) + if (glstate.texture.client == (texture - GL_TEXTURE0)) return; - if (state.gl_batch) flush(); - state.texture.client = texture - GL_TEXTURE0; + if (glstate.gl_batch) flush(); + glstate.texture.client = texture - GL_TEXTURE0; LOAD_GLES(glClientActiveTexture); gles_glClientActiveTexture(texture); errorGL(); } -void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * data) { +void glshim_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * data) { //printf("glReadPixels(%i, %i, %i, %i, 0x%04X, 0x%04X, 0x%p)\n", x, y, width, height, format, type, data); - GLuint old_glbatch = state.gl_batch; - if (state.gl_batch) { + GLuint old_glbatch = glstate.gl_batch; + if (glstate.gl_batch) { flush(); - state.gl_batch = 0; + glstate.gl_batch = 0; } - if (state.list.compiling && state.list.active) { + if (glstate.list.compiling && glstate.list.active) { errorShim(GL_INVALID_OPERATION); - state.gl_batch = old_glbatch; + glstate.gl_batch = old_glbatch; return; // never in list } LOAD_GLES(glReadPixels); errorGL(); GLvoid* dst = data; - if (state.vao->pack) - dst += (uintptr_t)state.vao->pack->data; + if (glstate.vao->pack) + dst += (uintptr_t)glstate.vao->pack->data; readfboBegin(); if (format == GL_RGBA && format == GL_UNSIGNED_BYTE) { // easy passthru gles_glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst); readfboEnd(); - state.gl_batch = old_glbatch; + glstate.gl_batch = old_glbatch; return; } // grab data in GL_RGBA format @@ -1480,43 +1481,43 @@ void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format } free(pixels); readfboEnd(); - state.gl_batch = old_glbatch; + glstate.gl_batch = old_glbatch; return; } -void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, +void glshim_glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { - //printf("glCopyTexSubImage2D(%s, %i, %i, %i, %i, %i, %i, %i), bounded texture=%u format/type=%s, %s\n", PrintEnum(target), level, xoffset, yoffset, x, y, width, height, (state.texture.bound[state.texture.active])?state.texture.bound[state.texture.active]->texture:0, PrintEnum((state.texture.bound[state.texture.active])?state.texture.bound[state.texture.active]->format:0), PrintEnum((state.texture.bound[state.texture.active])?state.texture.bound[state.texture.active]->type:0)); + //printf("glCopyTexSubImage2D(%s, %i, %i, %i, %i, %i, %i, %i), bounded texture=%u format/type=%s, %s\n", PrintEnum(target), level, xoffset, yoffset, x, y, width, height, (glstate.texture.bound[glstate.texture.active])?glstate.texture.bound[glstate.texture.active]->texture:0, PrintEnum((glstate.texture.bound[glstate.texture.active])?glstate.texture.bound[glstate.texture.active]->format:0), PrintEnum((glstate.texture.bound[glstate.texture.active])?glstate.texture.bound[glstate.texture.active]->type:0)); // PUSH_IF_COMPILING(glCopyTexSubImage2D); - GLuint old_glbatch = state.gl_batch; - if (state.gl_batch) { + GLuint old_glbatch = glstate.gl_batch; + if (glstate.gl_batch) { flush(); - state.gl_batch = 0; + glstate.gl_batch = 0; } LOAD_GLES(glCopyTexSubImage2D); errorGL(); // "Unmap" if buffer mapped... - glbuffer_t *pack = state.vao->pack; - glbuffer_t *unpack = state.vao->unpack; - state.vao->pack = NULL; - state.vao->unpack = NULL; + glbuffer_t *pack = glstate.vao->pack; + glbuffer_t *unpack = glstate.vao->unpack; + glstate.vao->pack = NULL; + glstate.vao->unpack = NULL; - gltexture_t* bound = state.texture.bound[state.texture.active]; + gltexture_t* bound = glstate.texture.bound[glstate.texture.active]; if (!bound) { errorShim(GL_INVALID_OPERATION); - state.gl_batch = old_glbatch; + glstate.gl_batch = old_glbatch; return; } #ifdef TEXSTREAM if (bound && bound->streamed) { void* buff = GetStreamingBuffer(bound->streamingID); if ((bound->width == width) && (bound->height == height) && (xoffset == yoffset == 0)) { - glReadPixels(x, y, width, height, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, buff); + glshim_glReadPixels(x, y, width, height, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, buff); } else { void* tmp = malloc(width*height*2); - glReadPixels(x, y, width, height, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, tmp); + glshim_glReadPixels(x, y, width, height, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, tmp); for (int y=0; ywidth+xoffset)*2, tmp+y*width*2, width*2); } @@ -1531,51 +1532,51 @@ void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffse void* tmp = malloc(width*height*4); GLenum format = (bound)?bound->format:GL_RGBA; GLenum type = (bound)?bound->type:GL_UNSIGNED_BYTE; - glReadPixels(x, y, width, height, format, type, tmp); - glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, tmp); + glshim_glReadPixels(x, y, width, height, format, type, tmp); + glshim_glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, tmp); free(tmp); } } // "Remap" if buffer mapped... - state.vao->pack = pack; - state.vao->unpack = unpack; - state.gl_batch = old_glbatch; + glstate.vao->pack = pack; + glstate.vao->unpack = unpack; + glstate.gl_batch = old_glbatch; } -void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, +void glshim_glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { //printf("glCopyTexImage2D(0x%04X, %i, 0x%04X, %i, %i, %i, %i, %i), current_fb=%u\n", target, level, internalformat, x, y, width, height, border, current_fb); //PUSH_IF_COMPILING(glCopyTexImage2D); - GLuint old_glbatch = state.gl_batch; - if (state.gl_batch) { + GLuint old_glbatch = glstate.gl_batch; + if (glstate.gl_batch) { flush(); - state.gl_batch = 0; + glstate.gl_batch = 0; } errorGL(); // "Unmap" if buffer mapped... - glbuffer_t *pack = state.vao->pack; - glbuffer_t *unpack = state.vao->unpack; - state.vao->pack = NULL; - state.vao->unpack = NULL; + glbuffer_t *pack = glstate.vao->pack; + glbuffer_t *unpack = glstate.vao->unpack; + glstate.vao->pack = NULL; + glstate.vao->unpack = NULL; if (copytex) { LOAD_GLES(glCopyTexImage2D); gles_glCopyTexImage2D(target, level, GL_RGB, x, y, width, height, border); } else { void* tmp = malloc(width*height*4); - glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, tmp); - glTexImage2D(target, level, internalformat, width, height, border, GL_RGBA, GL_UNSIGNED_BYTE, tmp); + glshim_glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, tmp); + glshim_glTexImage2D(target, level, internalformat, width, height, border, GL_RGBA, GL_UNSIGNED_BYTE, tmp); free(tmp); } // "Remap" if buffer mapped... - state.vao->pack = pack; - state.vao->unpack = unpack; + glstate.vao->pack = pack; + glstate.vao->unpack = unpack; - state.gl_batch = old_glbatch; + glstate.gl_batch = old_glbatch; } @@ -1649,7 +1650,7 @@ GLvoid *uncompressDXTc(GLsizei width, GLsizei height, GLenum format, GLsizei ima return pixels; } -void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, +void glshim_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) { @@ -1658,17 +1659,17 @@ void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, proxy_height = (height>2048)?0:height; return; } - GLuint old_glbatch = state.gl_batch; - if (state.gl_batch) { + GLuint old_glbatch = glstate.gl_batch; + if (glstate.gl_batch) { flush(); - state.gl_batch = 0; + glstate.gl_batch = 0; } - if (state.texture.bound[state.texture.active]==NULL) { + if (glstate.texture.bound[glstate.texture.active]==NULL) { errorShim(GL_INVALID_OPERATION); return; // no texture bounded... } -//printf("glCompressedTexImage2D on target=%s with size(%i,%i), internalformat=s, imagesize=%i, upackbuffer=%p\n", PrintEnum(target), width, height, PrintEnum(internalformat), imageSize, state.buffers.unpack?state.buffers.unpack->data:0); +//printf("glCompressedTexImage2D on target=%s with size(%i,%i), internalformat=s, imagesize=%i, upackbuffer=%p\n", PrintEnum(target), width, height, PrintEnum(internalformat), imageSize, glstate.buffers.unpack?glstate.buffers.unpack->data:0); // hack... if (internalformat==GL_RGBA8) internalformat = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT; @@ -1686,8 +1687,8 @@ void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, LOAD_GLES(glCompressedTexImage2D); errorGL(); - glbuffer_t *unpack = state.vao->unpack; - state.vao->unpack = NULL; + glbuffer_t *unpack = glstate.vao->unpack; + glstate.vao->unpack = NULL; GLvoid *datab = (GLvoid*)data; if (unpack) datab += (uintptr_t)unpack->data; @@ -1713,65 +1714,65 @@ void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, } // automaticaly reduce the pixel size half=pixels; - state.texture.bound[state.texture.active]->alpha = (internalformat==GL_COMPRESSED_RGB_S3TC_DXT1_EXT)?false:true; - state.texture.bound[state.texture.active]->format = GL_RGBA; //internalformat; - state.texture.bound[state.texture.active]->type = GL_UNSIGNED_SHORT_4_4_4_4; - state.texture.bound[state.texture.active]->compressed = true; + glstate.texture.bound[glstate.texture.active]->alpha = (internalformat==GL_COMPRESSED_RGB_S3TC_DXT1_EXT)?false:true; + glstate.texture.bound[glstate.texture.active]->format = GL_RGBA; //internalformat; + glstate.texture.bound[glstate.texture.active]->type = GL_UNSIGNED_SHORT_4_4_4_4; + glstate.texture.bound[glstate.texture.active]->compressed = true; if (pixel_thirdscale(pixels, &half, width, height, GL_RGBA, GL_UNSIGNED_BYTE)) fact = 1; else - state.texture.bound[state.texture.active]->type = GL_UNSIGNED_BYTE; + glstate.texture.bound[glstate.texture.active]->type = GL_UNSIGNED_BYTE; } else { half = NULL; fact = 1; } int oldalign; - glGetIntegerv(GL_UNPACK_ALIGNMENT, &oldalign); + glshim_glGetIntegerv(GL_UNPACK_ALIGNMENT, &oldalign); if (oldalign!=1) - glPixelStorei(GL_UNPACK_ALIGNMENT, 1); - glTexImage2D(target, level, GL_RGBA, width>>fact, height>>fact, border, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, half); + glshim_glPixelStorei(GL_UNPACK_ALIGNMENT, 1); + glshim_glTexImage2D(target, level, GL_RGBA, width>>fact, height>>fact, border, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, half); if (oldalign!=1) - glPixelStorei(GL_UNPACK_ALIGNMENT, oldalign); + glshim_glPixelStorei(GL_UNPACK_ALIGNMENT, oldalign); if (half!=pixels) free(half); if (pixels!=datab) free(pixels); } else { - state.texture.bound[state.texture.active]->alpha = true; - state.texture.bound[state.texture.active]->format = internalformat; - state.texture.bound[state.texture.active]->type = GL_UNSIGNED_BYTE; - state.texture.bound[state.texture.active]->compressed = true; + glstate.texture.bound[glstate.texture.active]->alpha = true; + glstate.texture.bound[glstate.texture.active]->format = internalformat; + glstate.texture.bound[glstate.texture.active]->type = GL_UNSIGNED_BYTE; + glstate.texture.bound[glstate.texture.active]->compressed = true; gles_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, datab); } - state.vao->unpack = unpack; - state.gl_batch = old_glbatch; + glstate.vao->unpack = unpack; + glstate.gl_batch = old_glbatch; } -void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, +void glshim_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) { - GLuint old_glbatch = state.gl_batch; - if (state.gl_batch) { + GLuint old_glbatch = glstate.gl_batch; + if (glstate.gl_batch) { flush(); - state.gl_batch = 0; + glstate.gl_batch = 0; } - if (state.texture.bound[state.texture.active]==NULL) { + if (glstate.texture.bound[glstate.texture.active]==NULL) { errorShim(GL_INVALID_OPERATION); - state.gl_batch = old_glbatch; + glstate.gl_batch = old_glbatch; return; // no texture bounded... } if (level != 0) { noerrorShim(); //TODO //printf("STUBBED glCompressedTexSubImage2D with level=%i\n", level); - state.gl_batch = old_glbatch; + glstate.gl_batch = old_glbatch; return; } - //printf("glCompressedTexSubImage2D with unpack_row_length(%i), size(%i,%i), pos(%i,%i) and skip={%i,%i}, internalformat=%s, imagesize=%i\n", state.texture.unpack_row_length, width, height, xoffset, yoffset, state.texture.unpack_skip_pixels, state.texture.unpack_skip_rows, PrintEnum(format), imageSize); - glbuffer_t *unpack = state.vao->unpack; - state.vao->unpack = NULL; + //printf("glCompressedTexSubImage2D with unpack_row_length(%i), size(%i,%i), pos(%i,%i) and skip={%i,%i}, internalformat=%s, imagesize=%i\n", glstate.texture.unpack_row_length, width, height, xoffset, yoffset, glstate.texture.unpack_skip_pixels, glstate.texture.unpack_skip_rows, PrintEnum(format), imageSize); + glbuffer_t *unpack = glstate.vao->unpack; + glstate.vao->unpack = NULL; GLvoid *datab = (GLvoid*)data; if (unpack) datab += (uintptr_t)unpack->data; @@ -1798,10 +1799,10 @@ void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint #if 1 pixel_thirdscale(pixels, &half, width, height, GL_RGBA, GL_UNSIGNED_BYTE); int oldalign; - glGetIntegerv(GL_UNPACK_ALIGNMENT, &oldalign); - if (oldalign!=1) glPixelStorei(GL_UNPACK_ALIGNMENT, 1); - glTexSubImage2D(target, level, xoffset/2, yoffset/2, width/2, height/2, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, half); - if (oldalign!=1) glPixelStorei(GL_UNPACK_ALIGNMENT, oldalign); + glshim_glGetIntegerv(GL_UNPACK_ALIGNMENT, &oldalign); + if (oldalign!=1) glshim_glPixelStorei(GL_UNPACK_ALIGNMENT, 1); + glshim_glTexSubImage2D(target, level, xoffset/2, yoffset/2, width/2, height/2, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, half); + if (oldalign!=1) glshim_glPixelStorei(GL_UNPACK_ALIGNMENT, oldalign); #else pixel_halfscale(pixels, &half, width, height, GL_RGBA, GL_UNSIGNED_BYTE); glTexSubImage2D(target, level, xoffset/2, yoffset/2, width/2, height/2, GL_RGBA, GL_UNSIGNED_BYTE, half); @@ -1813,11 +1814,11 @@ void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint } else { gles_glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, datab); } - state.gl_batch = old_glbatch; + glstate.gl_batch = old_glbatch; } -void glGetCompressedTexImage(GLenum target, GLint lod, GLvoid *img) { - if (state.gl_batch) flush(); +void glshim_glGetCompressedTexImage(GLenum target, GLint lod, GLvoid *img) { + if (glstate.gl_batch) flush(); printf("LIBGL: Stub GetCompressedTexImage\n"); @@ -1825,29 +1826,77 @@ void glGetCompressedTexImage(GLenum target, GLint lod, GLvoid *img) { return; } -void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, +void glshim_glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) { - glCompressedTexImage2D(target, level, internalformat, width, 1, border, imageSize, data); + glshim_glCompressedTexImage2D(target, level, internalformat, width, 1, border, imageSize, data); } -void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, +void glshim_glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) { - glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); + glshim_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); } -void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, +void glshim_glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) { - glCompressedTexSubImage2D(target, level, xoffset, 0, width, 1, format, imageSize, data); + glshim_glCompressedTexSubImage2D(target, level, xoffset, 0, width, 1, format, imageSize, data); } -void glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, +void glshim_glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) { - glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); + glshim_glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); } + + +//Direct wrapper +void glTexImage2D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *data) __attribute__((alias("glshim_glTexImage2D"))); +void glTexImage1D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *data) __attribute__((alias("glshim_glTexImage1D"))); +void glTexImage3D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *data) __attribute__((alias("glshim_glTexImage3D"))); +void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *data) __attribute__((alias("glshim_glTexSubImage2D"))); +void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *data) __attribute__((alias("glshim_glTexSubImage1D"))); +void glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *data) __attribute__((alias("glshim_glTexSubImage3D"))); +void glBindTexture(GLenum target, GLuint texture) __attribute__((alias("glshim_glBindTexture"))); +void glGenTextures(GLsizei n, GLuint * textures) __attribute__((alias("glshim_glGenTextures"))); +void glDeleteTextures(GLsizei n, const GLuint * textures) __attribute__((alias("glshim_glDeleteTextures"))); +void glTexParameteri(GLenum target, GLenum pname, GLint param) __attribute__((alias("glshim_glTexParameteri"))); +void glTexParameterf(GLenum target, GLenum pname, GLfloat param) __attribute__((alias("glshim_glTexParameterf"))); +GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences) __attribute__((alias("glshim_glAreTexturesResident"))); +void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) __attribute__((alias("glshim_glGetTexLevelParameteriv"))); +void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * img) __attribute__((alias("glshim_glGetTexImage"))); +void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * data) __attribute__((alias("glshim_glReadPixels"))); +void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) __attribute__((alias("glshim_glCompressedTexImage2D"))); +void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) __attribute__((alias("glshim_glCompressedTexImage1D"))); +void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) __attribute__((alias("glshim_glCompressedTexImage3D"))); +void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) __attribute__((alias("glshim_glCompressedTexSubImage2D"))); +void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) __attribute__((alias("glshim_glCompressedTexSubImage1D"))); +void glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) __attribute__((alias("glshim_glCompressedTexSubImage3D"))); +void glGetCompressedTexImage(GLenum target, GLint lod, GLvoid *img) __attribute__((alias("glshim_glGetCompressedTexImage"))); +void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) __attribute__((alias("glshim_glCopyTexImage1D"))); +void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) __attribute__((alias("glshim_glCopyTexImage2D"))); +void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) __attribute__((alias("glshim_glCopyTexSubImage2D"))); +void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) __attribute__((alias("glshim_glCopyTexSubImage1D"))); +void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) __attribute__((alias("glshim_glCopyTexSubImage3D"))); +void glActiveTexture( GLenum texture ) __attribute__((alias("glshim_glActiveTexture"))); +void glClientActiveTexture( GLenum texture ) __attribute__((alias("glshim_glClientActiveTexture"))); +GLboolean glIsTexture( GLuint texture ) __attribute__((alias("glshim_glIsTexture"))); +void glPixelStorei(GLenum pname, GLint param) __attribute__((alias("glshim_glPixelStorei"))); +//EXT mapper +void glTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *data) __attribute__((alias("glshim_glTexSubImage3D"))); +void glCompressedTexImage2DEXT(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) __attribute__((alias("glshim_glCompressedTexImage2D"))); +void glCompressedTexImage1DEXT(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) __attribute__((alias("glshim_glCompressedTexImage1D"))); +void glCompressedTexImage3DEXT(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) __attribute__((alias("glshim_glCompressedTexImage3D"))); +void glCompressedTexSubImage2DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) __attribute__((alias("glshim_glCompressedTexSubImage2D"))); +void glCompressedTexSubImage1DEXT(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) __attribute__((alias("glshim_glCompressedTexSubImage1D"))); +void glCompressedTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) __attribute__((alias("glshim_glCompressedTexSubImage3D"))); +void glGetCompressedTexImageEXT(GLenum target, GLint lod, GLvoid *img) __attribute__((alias("glshim_glGetCompressedTexImage"))); +void glCopyTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) __attribute__((alias("glshim_glCopyTexSubImage3D"))); + +//ARB mapper +void glActiveTextureARB(GLenum texture) __attribute__((alias("glshim_glActiveTexture"))); +void glClientActiveTextureARB(GLenum texture) __attribute__((alias("glshim_glClientActiveTexture"))); diff --git a/project/jni/glshim/src/gl/texture.h b/project/jni/glshim/src/gl/texture.h index 9d18b2b11..856d5987b 100755 --- a/project/jni/glshim/src/gl/texture.h +++ b/project/jni/glshim/src/gl/texture.h @@ -3,76 +3,76 @@ #ifndef GL_TEXTURE_H #define GL_TEXTURE_H -void glTexImage2D(GLenum target, GLint level, GLint internalFormat, +void glshim_glTexImage2D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *data); -void glTexImage1D(GLenum target, GLint level, GLint internalFormat, +void glshim_glTexImage1D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *data); -void glTexImage3D(GLenum target, GLint level, GLint internalFormat, +void glshim_glTexImage3D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *data); -void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, +void glshim_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *data); -void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, +void glshim_glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *data); -void glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, +void glshim_glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *data); -void glBindTexture(GLenum target, GLuint texture); -void glGenTextures(GLsizei n, GLuint * textures); -void glDeleteTextures(GLsizei n, const GLuint * textures); -void glTexParameteri(GLenum target, GLenum pname, GLint param); -void glTexParameterf(GLenum target, GLenum pname, GLfloat param); -GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences); -void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params); -void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * img); -void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * data); +void glshim_glBindTexture(GLenum target, GLuint texture); +void glshim_glGenTextures(GLsizei n, GLuint * textures); +void glshim_glDeleteTextures(GLsizei n, const GLuint * textures); +void glshim_glTexParameteri(GLenum target, GLenum pname, GLint param); +void glshim_glTexParameterf(GLenum target, GLenum pname, GLfloat param); +GLboolean glshim_glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences); +void glshim_glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params); +void glshim_glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * img); +void glshim_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * data); -void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, +void glshim_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); -void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, +void glshim_glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); -void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, +void glshim_glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); -void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, +void glshim_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); -void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, +void glshim_glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); -void glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, +void glshim_glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); -void glGetCompressedTexImage(GLenum target, GLint lod, GLvoid *img); +void glshim_glGetCompressedTexImage(GLenum target, GLint lod, GLvoid *img); -void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, +void glshim_glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, +void glshim_glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, +void glshim_glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, +void glshim_glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, +void glshim_glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); @@ -124,12 +124,12 @@ static inline GLenum map_tex_target(GLenum target) { } return target; } -gltexture_t* getTexture(GLenum target, GLuint texture); +gltexture_t* glshim_getTexture(GLenum target, GLuint texture); -void glActiveTexture( GLenum texture ); -void glClientActiveTexture( GLenum texture ); -void glMultiTexCoord2f( GLenum target, GLfloat s, GLfloat t ); -GLboolean glIsTexture( GLuint texture ); +void glshim_glActiveTexture( GLenum texture ); +void glshim_glClientActiveTexture( GLenum texture ); +void glshim_glMultiTexCoord2f( GLenum target, GLfloat s, GLfloat t ); +GLboolean glshim_glIsTexture( GLuint texture ); void tex_setup_texcoord(GLuint texunit, GLuint len); diff --git a/project/jni/glshim/src/gl/wrap/gl.c b/project/jni/glshim/src/gl/wrap/gl.c index ad16547b5..1c81a1aad 100755 --- a/project/jni/glshim/src/gl/wrap/gl.c +++ b/project/jni/glshim/src/gl/wrap/gl.c @@ -1,6 +1,6 @@ #include "gl.h" #include "../debug.h" -#include +//#include #define constDoubleToFloat(a, size) \ GLfloat s[size]; \ @@ -12,58 +12,50 @@ // naive wrappers #ifdef USE_ES2 -void glCompileShaderARB(GLuint shader) { - glCompileShader(shader); +void glshim_glCompileShader(GLuint shader) { + glshim_glCompileShader(shader); GLint status; - glGetShaderiv(shader, GL_COMPILE_STATUS, &status); + glshim_glGetShaderiv(shader, GL_COMPILE_STATUS, &status); if (status == GL_FALSE) { GLint log_length; - glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &log_length); + glshim_glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &log_length); GLchar *log = malloc(sizeof(GLchar) * log_length); - glGetShaderInfoLog(shader, log_length, NULL, log); + glshim_glGetShaderInfoLog(shader, log_length, NULL, log); printf("Shader compile failed: %s\n", log); free(log); } } -GLuint glCreateShaderObjectARB(GLenum shaderType) { +GLuint glshim_glCreateShaderObject(GLenum shaderType) { return glCreateShader(shaderType); } -void glShaderSourceARB(GLuint shader, GLsizei count, const GLchar **string, const GLint *length) { - glShaderSource(shader, count, string, length); +void glshim_glShaderSource(GLuint shader, GLsizei count, const GLchar **string, const GLint *length) { + glshim_glShaderSource(shader, count, string, length); } -void glGetObjectParameterivARB(GLuint shader, GLenum pname, GLint *params) { - glGetShaderiv(shader, pname, params); +void glshim_glGetObjectParameteriv(GLuint shader, GLenum pname, GLint *params) { + glshim_glGetShaderiv(shader, pname, params); } #endif -void glActiveTextureARB(GLenum texture) { - glActiveTexture(texture); +void glshim_glClearDepth(GLdouble depth) { + glshim_glClearDepthf(depth); } -void glClearDepth(GLdouble depth) { - glClearDepthf(depth); -} -void glClientActiveTextureARB(GLenum texture) { -#ifndef USE_ES2 - glClientActiveTexture(texture); -#endif -} -void glClipPlane(GLenum plane, const GLdouble *equation) { +void glshim_glClipPlane(GLenum plane, const GLdouble *equation) { constDoubleToFloat(equation, 4); - glClipPlanef(plane, s); + glshim_glClipPlanef(plane, s); } -void glDepthRange(GLdouble nearVal, GLdouble farVal) { - glDepthRangef(nearVal, farVal); +void glshim_glDepthRange(GLdouble nearVal, GLdouble farVal) { + glshim_glDepthRangef(nearVal, farVal); } -void glFogi(GLenum pname, GLint param) { - glFogf(pname, param); +void glshim_glFogi(GLenum pname, GLint param) { + glshim_glFogf(pname, param); } -void glFogiv(GLenum pname, GLint *iparams) { +void glshim_glFogiv(GLenum pname, GLint *iparams) { switch (pname) { case GL_FOG_DENSITY: case GL_FOG_START: case GL_FOG_END: case GL_FOG_INDEX: { - glFogf(pname, *iparams); + glshim_glFogf(pname, *iparams); break; } case GL_FOG_MODE: @@ -72,32 +64,32 @@ void glFogiv(GLenum pname, GLint *iparams) { for (int i = 0; i < 4; i++) { params[i] = iparams[i]; } - glFogfv(pname, params); + glshim_glFogfv(pname, params); break; } } } -void glGetTexGendv(GLenum coord,GLenum pname,GLdouble *params) { +void glshim_glGetTexGendv(GLenum coord,GLenum pname,GLdouble *params) { GLfloat fparams[4]; - glGetTexGenfv(coord, pname, fparams); + glshim_glGetTexGenfv(coord, pname, fparams); if (pname==GL_TEXTURE_GEN_MODE) *params=fparams[0]; else for (int i=0; i<4; i++) params[i]=fparams[i]; } -void glGetTexGeniv(GLenum coord,GLenum pname,GLint *params) { +void glshim_glGetTexGeniv(GLenum coord,GLenum pname,GLint *params) { GLfloat fparams[4]; - glGetTexGenfv(coord, pname, fparams); + glshim_glGetTexGenfv(coord, pname, fparams); if (pname==GL_TEXTURE_GEN_MODE) *params=fparams[0]; else for (int i=0; i<4; i++) params[i]=fparams[i]; } -void glGetMaterialiv(GLenum face, GLenum pname, GLint * params) { +void glshim_glGetMaterialiv(GLenum face, GLenum pname, GLint * params) { GLfloat fparams[4]; - glGetMaterialfv(face, pname, fparams); + glshim_glGetMaterialfv(face, pname, fparams); if (pname==GL_SHININESS) *params=fparams[0]; else for (int i=0; i<4; i++) params[i]=fparams[i]; } -void glGetLightiv(GLenum light, GLenum pname, GLint * params) { +void glshim_glGetLightiv(GLenum light, GLenum pname, GLint * params) { GLfloat fparams[4]; - glGetLightfv(light, pname, fparams); + glshim_glGetLightfv(light, pname, fparams); int n=4; if (pname==GL_SPOT_EXPONENT) n=1; if (pname==GL_SPOT_CUTOFF) n=1; @@ -105,33 +97,33 @@ void glGetLightiv(GLenum light, GLenum pname, GLint * params) { if (pname==GL_SPOT_DIRECTION) n=3; else for (int i=0; ielements = elements; #endif } -void glDrawRangeElementsEXT(GLenum mode,GLuint start,GLuint end,GLsizei count,GLenum type,const void *indices) { - glDrawRangeElements(mode, start, end, count, type, indices); -} -void glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha) { +void glshim_glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha) { // ignore buf is better than nothing... // TODO: handle buf - glBlendEquationSeparate(modeRGB, modeAlpha); + glshim_glBlendEquationSeparate(modeRGB, modeAlpha); } -void glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) { +void glshim_glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) { // ignore buf is better than nothing.. // TODO: handle buf - glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); + glshim_glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); } #undef constDoubleToFloat + +//Direct wrapper +#ifdef USE_ES2 +void glCompileShader(GLuint shader) __attribute__((alias("glshim_glCompileShader"))); +GLuint glCreateShaderObject(GLenum shaderType) __attribute__((alias("glshim_glCreateShaderObject"))); +void glGetObjectParameteriv(GLuint shader, GLenum pname, GLint *params) __attribute__((alias("glshim_glGetObjectParameteriv"))); +void glShaderSource(GLuint shader, GLsizei count, const GLchar **string, const GLint *length) __attribute__((alias("glshim_glShaderSource"))); + +void glCompileShaderARB(GLuint shader) __attribute__((alias("glshim_glCompileShader"))); +GLuint glCreateShaderObjectARB(GLenum shaderType) __attribute__((alias("glshim_glCreateShaderObject"))); +void glGetObjectParameterivARB(GLuint shader, GLenum pname, GLint *params) __attribute__((alias("glshim_glGetObjectParameteriv"))); +void glShaderSourceARB(GLuint shader, GLsizei count, const GLchar **string, const GLint *length) __attribute__((alias("glshim_glShaderSource"))); +#endif + +void glClearDepth(GLdouble depth) __attribute__((alias("glshim_glClearDepth"))); +void glClipPlane(GLenum plane, const GLdouble *equation) __attribute__((alias("glshim_glClipPlane"))); +void glDepthRange(GLdouble nearVal, GLdouble farVal) __attribute__((alias("glshim_glDepthRange"))); +void glFogi(GLenum pname, GLint param) __attribute__((alias("glshim_glFogi"))); +void glFogiv(GLenum pname, GLint *params) __attribute__((alias("glshim_glFogiv"))); +void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far) __attribute__((alias("glshim_glFrustum"))); +void glGetDoublev(GLenum pname, GLdouble *params) __attribute__((alias("glshim_glGetDoublev"))); +void glLighti(GLenum light, GLenum pname, GLint param) __attribute__((alias("glshim_glLighti"))); +void glLightiv(GLenum light, GLenum pname, GLint *iparams) __attribute__((alias("glshim_glLightiv"))); +void glLightModeli(GLenum pname, GLint param) __attribute__((alias("glshim_glLightModeli"))); +void glLightModeliv(GLenum pname, GLint *iparams) __attribute__((alias("glshim_glLightModeliv"))); +void glMateriali(GLenum face, GLenum pname, GLint param) __attribute__((alias("glshim_glMateriali"))); +void glMaterialiv(GLenum face, GLenum pname, GLint *param) __attribute__((alias("glshim_glMaterialiv"))); +void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far) __attribute__((alias("glshim_glOrtho"))); +void glGetMaterialiv(GLenum face, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetMaterialiv"))); +void glGetLightiv(GLenum light, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetLightiv"))); +void glGetClipPlane(GLenum plane, GLdouble *equation) __attribute__((alias("glshim_glGetClipPlane"))); +void glDrawRangeElements(GLenum mode,GLuint start,GLuint end,GLsizei count,GLenum type,const void *indices) __attribute__((alias("glshim_glDrawRangeElements"))); +void glColor3f(GLfloat r, GLfloat g, GLfloat b) __attribute__((alias("glshim_glColor3f"))); +void glColor3fv(GLfloat *c) __attribute__((alias("glshim_glColor3fv"))); +void glColor4fv(GLfloat *c) __attribute__((alias("glshim_glColor4fv"))); +void glIndexfv(const GLfloat *c) __attribute__((alias("glshim_glIndexfv"))); +void glSecondaryColor3fv(const GLfloat *v) __attribute__((alias("glshim_glSecondaryColor3fv"))); +void glRasterPos2f(GLfloat x, GLfloat y) __attribute__((alias("glshim_glRasterPos2f"))); +void glRasterPos2fv(const GLfloat *v) __attribute__((alias("glshim_glRasterPos2fv"))); +void glRasterPos3fv(const GLfloat *v) __attribute__((alias("glshim_glRasterPos3fv"))); +void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) __attribute__((alias("glshim_glRasterPos4f"))); +void glRasterPos4fv(const GLfloat *v) __attribute__((alias("glshim_glRasterPos4fv"))); +void glWindowPos2f(GLfloat x, GLfloat y) __attribute__((alias("glshim_glWindowPos2f"))); +void glWindowPos2fv(const GLfloat *v) __attribute__((alias("glshim_glWindowPos2fv"))); +void glWindowPos3fv(const GLfloat *v) __attribute__((alias("glshim_glWindowPos3fv"))); +void glPixelStoref(GLenum pname, GLfloat param) __attribute__((alias("glshim_glPixelStoref"))); +void glGetTexGendv(GLenum coord,GLenum pname,GLdouble *params) __attribute__((alias("glshim_glGetTexGendv"))); +void glGetTexGeniv(GLenum coord,GLenum pname,GLint *params) __attribute__((alias("glshim_glGetTexGeniv"))); +void glPixelTransferi(GLenum pname, GLint param) __attribute__((alias("glshim_glPixelTransferi"))); +void glEvalCoord1d(GLdouble u) __attribute__((alias("glshim_glEvalCoord1d"))); +void glEvalCoord1dv(GLdouble *v) __attribute__((alias("glshim_glEvalCoord1dv"))); +void glEvalCoord1fv(GLfloat *v) __attribute__((alias("glshim_glEvalCoord1fv"))); +void glEvalCoord2d(GLdouble u, GLdouble v) __attribute__((alias("glshim_glEvalCoord2d"))); +void glEvalCoord2dv(GLdouble *v) __attribute__((alias("glshim_glEvalCoord2dv"))); +void glEvalCoord2fv(GLfloat *v) __attribute__((alias("glshim_glEvalCoord2fv"))); +void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2) __attribute__((alias("glshim_glMapGrid1d"))); +void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) __attribute__((alias("glshim_glMapGrid2d"))); +void glLoadMatrixd(const GLdouble *m) __attribute__((alias("glshim_glLoadMatrixd"))); +void glMultMatrixd(const GLdouble *m) __attribute__((alias("glshim_glMultMatrixd"))); +void glNormal3fv(GLfloat *v) __attribute__((alias("glshim_glNormal3fv"))); + +// rect +#define GL_RECT(suffix, type) \ + void glRect##suffix(type x1, type y1, type x2, type y2) __attribute__((alias("glshim_glRect" #suffix))); \ + void glRect##suffix##v(const type *v)__attribute__((alias("glshim_glRect" #suffix "v"))); + +GL_RECT(d, GLdouble) +GL_RECT(f, GLfloat) +GL_RECT(i, GLint) +GL_RECT(s, GLshort) +#undef GL_RECT + +void glTexCoord1f(GLfloat s) __attribute__((alias("glshim_glTexCoord1f"))); +void glTexCoord1fv(GLfloat *t) __attribute__((alias("glshim_glTexCoord1fv"))); +void glTexCoord2f(GLfloat s, GLfloat t) __attribute__((alias("glshim_glTexCoord2f"))); +void glTexCoord2fv(GLfloat *t) __attribute__((alias("glshim_glTexCoord2fv"))); +void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) __attribute__((alias("glshim_glTexCoord3f"))); +void glTexCoord3fv(GLfloat *t) __attribute__((alias("glshim_glTexCoord3fv"))); +void glTexCoord4fv(GLfloat *t) __attribute__((alias("glshim_glTexCoord4fv"))); +void glMultiTexCoord1f(GLenum target, GLfloat s) __attribute__((alias("glshim_glMultiTexCoord1f"))); +void glMultiTexCoord1fv(GLenum target, GLfloat *t) __attribute__((alias("glshim_glMultiTexCoord1fv"))); +void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t) __attribute__((alias("glshim_glMultiTexCoord2f"))); +void glMultiTexCoord2fv(GLenum target, GLfloat *t) __attribute__((alias("glshim_glMultiTexCoord2fv"))); +void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r) __attribute__((alias("glshim_glMultiTexCoord3f"))); +void glMultiTexCoord3fv(GLenum target, GLfloat *t) __attribute__((alias("glshim_glMultiTexCoord3fv"))); +void glMultiTexCoord4fv(GLenum target, GLfloat *t) __attribute__((alias("glshim_glMultiTexCoord4fv"))); +void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params) __attribute__((alias("glshim_glGetTexLevelParameterfv"))); +void glTexGend(GLenum coord, GLenum pname, GLdouble param) __attribute__((alias("glshim_glTexGend"))); +void glTexGenf(GLenum coord, GLenum pname, GLfloat param) __attribute__((alias("glshim_glTexGenf"))); +void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params) __attribute__((alias("glshim_glTexGendv"))); +void glTexGeniv(GLenum coord, GLenum pname, const GLint *params) __attribute__((alias("glshim_glTexGeniv"))); +void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) __attribute__((alias("glshim_glRotated"))); +void glScaled(GLdouble x, GLdouble y, GLdouble z) __attribute__((alias("glshim_glScaled"))); +void glTranslated(GLdouble x, GLdouble y, GLdouble z) __attribute__((alias("glshim_glTranslated"))); +void glVertex2f(GLfloat x, GLfloat y) __attribute__((alias("glshim_glVertex2f"))); +void glVertex2fv(GLfloat *v) __attribute__((alias("glshim_glVertex2fv"))); +void glVertex3f(GLfloat r, GLfloat g, GLfloat b) __attribute__((alias("glshim_glVertex3f"))); +void glVertex3fv(GLfloat *v) __attribute__((alias("glshim_glVertex3fv"))); +void glVertex4fv(GLfloat *v) __attribute__((alias("glshim_glVertex4fv"))); + +// basic thunking + +#define THUNK(suffix, type) \ +void glColor3##suffix##v(const type *v) __attribute__((alias("glshim_glColor3"#suffix "v"))); \ +void glColor3##suffix(type r, type g, type b) __attribute__((alias("glshim_glColor3"#suffix))); \ +void glColor4##suffix##v(const type *v) __attribute__((alias("glshim_glColor4"#suffix "v"))); \ +void glColor4##suffix(type r, type g, type b, type a) __attribute__((alias("glshim_glColor4"#suffix))); \ +void glSecondaryColor3##suffix##v(const type *v) __attribute__((alias("glshim_glSecondaryColor3"#suffix "v"))); \ +void glSecondaryColor3##suffix(type r, type g, type b) __attribute__((alias("glshim_glSecondaryColor3"#suffix))); \ +void glIndex##suffix##v(const type *c) __attribute__((alias("glshim_glIndex"#suffix"v"))); \ +void glIndex##suffix(type c) __attribute__((alias("glshim_glIndex"#suffix))); \ +void glNormal3##suffix##v(const type *v) __attribute__((alias("glshim_glNormal3"#suffix"v"))); \ +void glNormal3##suffix(type x, type y, type z) __attribute__((alias("glshim_glNormal3"#suffix))); \ +void glRasterPos2##suffix##v(type *v) __attribute__((alias("glshim_glRasterPos2"#suffix"v"))); \ +void glRasterPos2##suffix(type x, type y) __attribute__((alias("glshim_glRasterPos2"#suffix))); \ +void glRasterPos3##suffix##v(type *v) __attribute__((alias("glshim_glRasterPos3"#suffix"v"))); \ +void glRasterPos3##suffix(type x, type y, type z) __attribute__((alias("glshim_glRasterPos3"#suffix))); \ +void glRasterPos4##suffix##v(type *v) __attribute__((alias("glshim_glRasterPos4"#suffix"v"))); \ +void glRasterPos4##suffix(type x, type y, type z, type w)__attribute__((alias("glshim_glRasterPos4"#suffix))); \ +void glWindowPos2##suffix##v(type *v) __attribute__((alias("glshim_glWindowPos2"#suffix"v"))); \ +void glWindowPos2##suffix(type x, type y) __attribute__((alias("glshim_glWindowPos2"#suffix))); \ +void glWindowPos3##suffix##v(type *v) __attribute__((alias("glshim_glWindowPos3"#suffix"v"))); \ +void glWindowPos3##suffix(type x, type y, type z) __attribute__((alias("glshim_glWindowPos3"#suffix))); \ +void glVertex2##suffix##v(type *v) __attribute__((alias("glshim_glVertex2"#suffix"v"))); \ +void glVertex2##suffix(type x, type y) __attribute__((alias("glshim_glVertex2"#suffix))); \ +void glVertex3##suffix##v(type *v) __attribute__((alias("glshim_glVertex3"#suffix"v"))); \ +void glVertex3##suffix(type x, type y, type z) __attribute__((alias("glshim_glVertex3"#suffix))); \ +void glVertex4##suffix(type x, type y, type z, type w) __attribute__((alias("glshim_glVertex4"#suffix))); \ +void glVertex4##suffix##v(type *v) __attribute__((alias("glshim_glVertex4"#suffix"v"))); \ +void glTexCoord1##suffix(type s) __attribute__((alias("glshim_glTexCoord1"#suffix))); \ +void glTexCoord1##suffix##v(type *t) __attribute__((alias("glshim_glTexCoord1"#suffix"v"))); \ +void glTexCoord2##suffix(type s, type t) __attribute__((alias("glshim_glTexCoord2"#suffix))); \ +void glTexCoord2##suffix##v(type *t) __attribute__((alias("glshim_glTexCoord2"#suffix"v"))); \ +void glTexCoord3##suffix(type s, type t, type r) __attribute__((alias("glshim_glTexCoord3"#suffix))); \ +void glTexCoord3##suffix##v(type *t) __attribute__((alias("glshim_glTexCoord3"#suffix"v"))); \ +void glTexCoord4##suffix(type s, type t, type r, type q)__attribute__((alias("glshim_glTexCoord4"#suffix))); \ +void glTexCoord4##suffix##v(type *t) __attribute__((alias("glshim_glTexCoord4"#suffix"v"))); \ +void glMultiTexCoord1##suffix(GLenum target, type s) __attribute__((alias("glshim_glMultiTexCoord1"#suffix))); \ +void glMultiTexCoord1##suffix##v(GLenum target, type *t)__attribute__((alias("glshim_glMultiTexCoord1"#suffix"v"))); \ +void glMultiTexCoord2##suffix(GLenum target, type s, type t) __attribute__((alias("glshim_glMultiTexCoord2"#suffix))); \ +void glMultiTexCoord2##suffix##v(GLenum target, type *t) __attribute__((alias("glshim_glMultiTexCoord2"#suffix"v"))); \ +void glMultiTexCoord3##suffix(GLenum target, type s, type t, type r)__attribute__((alias("glshim_glMultiTexCoord3"#suffix))); \ +void glMultiTexCoord3##suffix##v(GLenum target, type *t) __attribute__((alias("glshim_glMultiTexCoord3"#suffix"v"))); \ +void glMultiTexCoord4##suffix(GLenum target, type s, type t, type r, type q) __attribute__((alias("glshim_glMultiTexCoord4"#suffix))); \ +void glMultiTexCoord4##suffix##v(GLenum target, type *t) __attribute__((alias("glshim_glMultiTexCoord4"#suffix"v"))); \ +void glMultiTexCoord1##suffix##ARB(GLenum target, type s) __attribute__((alias("glshim_glMultiTexCoord1"#suffix))); \ +void glMultiTexCoord1##suffix##vARB(GLenum target, type *t) __attribute__((alias("glshim_glMultiTexCoord1"#suffix"v"))); \ +void glMultiTexCoord2##suffix##ARB(GLenum target, type s, type t) __attribute__((alias("glshim_glMultiTexCoord2"#suffix))); \ +void glMultiTexCoord2##suffix##vARB(GLenum target, type *t) __attribute__((alias("glshim_glMultiTexCoord2"#suffix"v"))); \ +void glMultiTexCoord3##suffix##ARB(GLenum target, type s, type t, type r) __attribute__((alias("glshim_glMultiTexCoord3"#suffix))); \ +void glMultiTexCoord3##suffix##vARB(GLenum target, type *t) __attribute__((alias("glshim_glMultiTexCoord3"#suffix"v"))); \ +void glMultiTexCoord4##suffix##ARB(GLenum target, type s, type t, type r, type q) __attribute__((alias("glshim_glMultiTexCoord4"#suffix))); \ +void glMultiTexCoord4##suffix##vARB(GLenum target, type *t)__attribute__((alias("glshim_glMultiTexCoord4"#suffix"v"))); + +THUNK(b, GLbyte) +THUNK(d, GLdouble) +THUNK(i, GLint) +THUNK(s, GLshort) +THUNK(ub, GLubyte) +THUNK(ui, GLuint) +THUNK(us, GLushort) +#undef THUNK + +#define THUNK(suffix, type) \ + extern void glGet##suffix##v(GLenum pname, type *params); + +THUNK(Double, GLdouble) +THUNK(Integer, GLint) +THUNK(Float, GLfloat) +#undef THUNK + +void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t) __attribute__((alias("glshim_glMultiTexCoord2f"))); +void glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r) __attribute__((alias("glshim_glMultiTexCoord3f"))); +void glMultiTexCoord2fvARB(GLenum target, GLfloat *t) __attribute__((alias("glshim_glMultiTexCoord2fv"))); +void glMultiTexCoord3fvARB(GLenum target, GLfloat *t) __attribute__((alias("glshim_glMultiTexCoord3fv"))); +void glMultiTexCoord4fvARB(GLenum target, GLfloat *t) __attribute__((alias("glshim_glMultiTexCoord4fv"))); +void glDrawRangeElementsEXT(GLenum mode,GLuint start,GLuint end,GLsizei count,GLenum type,const void *indices) __attribute__((alias("glshim_glDrawRangeElements"))); diff --git a/project/jni/glshim/src/gl/wrap/gl.h b/project/jni/glshim/src/gl/wrap/gl.h index f85d359c5..7387c037a 100755 --- a/project/jni/glshim/src/gl/wrap/gl.h +++ b/project/jni/glshim/src/gl/wrap/gl.h @@ -1,88 +1,84 @@ -#include "../gl.h" -#include - #ifndef GL_WRAP_H #define GL_WRAP_H +#include "../gl.h" +//#include + + // misc naive wrappers #ifdef USE_ES2 -void glCompileShaderARB(GLuint shader); -GLuint glCreateShaderObjectARB(GLenum shaderType); -void glGetObjectParameterivARB(GLuint shader, GLenum pname, GLint *params); -void glShaderSourceARB(GLuint shader, GLsizei count, const GLchar **string, const GLint *length); +void glshim_glCompileShaderARB(GLuint shader); +GLuint glshim_glCreateShaderObjectARB(GLenum shaderType); +void glshim_glGetObjectParameterivARB(GLuint shader, GLenum pname, GLint *params); +void glshim_glShaderSourceARB(GLuint shader, GLsizei count, const GLchar **string, const GLint *length); #endif -void glActiveTextureARB(GLenum texture); -void glClearDepth(GLdouble depth); -void glClientActiveTextureARB(GLenum texture); -void glClipPlane(GLenum plane, const GLdouble *equation); -void glDepthRange(GLdouble nearVal, GLdouble farVal); -void glFogi(GLenum pname, GLint param); -void glFogiv(GLenum pname, GLint *params); -void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far); -void glGetDoublev(GLenum pname, GLdouble *params); -void glLighti(GLenum light, GLenum pname, GLint param); -void glLightiv(GLenum light, GLenum pname, GLint *iparams); -void glLightModeli(GLenum pname, GLint param); -void glLightModeliv(GLenum pname, GLint *iparams); -void glMateriali(GLenum face, GLenum pname, GLint param); -void glMaterialiv(GLenum face, GLenum pname, GLint *param); -void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t); -void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far); -void glGetMaterialiv(GLenum face, GLenum pname, GLint * params); -void glGetLightiv(GLenum light, GLenum pname, GLint * params); -void glGetClipPlane(GLenum plane, GLdouble *equation); +void glshim_glClearDepth(GLdouble depth); +void glshim_glClipPlane(GLenum plane, const GLdouble *equation); +void glshim_glDepthRange(GLdouble nearVal, GLdouble farVal); +void glshim_glFogi(GLenum pname, GLint param); +void glshim_glFogiv(GLenum pname, GLint *params); +void glshim_glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far); +void glshim_glGetDoublev(GLenum pname, GLdouble *params); +void glshim_glLighti(GLenum light, GLenum pname, GLint param); +void glshim_glLightiv(GLenum light, GLenum pname, GLint *iparams); +void glshim_glLightModeli(GLenum pname, GLint param); +void glshim_glLightModeliv(GLenum pname, GLint *iparams); +void glshim_glMateriali(GLenum face, GLenum pname, GLint param); +void glshim_glMaterialiv(GLenum face, GLenum pname, GLint *param); +void glshim_glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t); +void glshim_glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far); +void glshim_glGetMaterialiv(GLenum face, GLenum pname, GLint * params); +void glshim_glGetLightiv(GLenum light, GLenum pname, GLint * params); +void glshim_glGetClipPlane(GLenum plane, GLdouble *equation); -void glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); - -void glDrawRangeElementsEXT(GLenum mode,GLuint start,GLuint end,GLsizei count,GLenum type,const void *indices); -void glDrawRangeElements(GLenum mode,GLuint start,GLuint end,GLsizei count,GLenum type,const void *indices); +void glshim_glDrawRangeElements(GLenum mode,GLuint start,GLuint end,GLsizei count,GLenum type,const void *indices); // color -void glColor3f(GLfloat r, GLfloat g, GLfloat b); -void glColor3fv(GLfloat *c); -void glColor4fv(GLfloat *c); -void glIndexfv(const GLfloat *c); -void glSecondaryColor3fv(const GLfloat *v); +void glshim_glColor3f(GLfloat r, GLfloat g, GLfloat b); +void glshim_glColor3fv(GLfloat *c); +void glshim_glColor4fv(GLfloat *c); +void glshim_glIndexfv(const GLfloat *c); +void glshim_glSecondaryColor3fv(const GLfloat *v); // raster -void glRasterPos2f(GLfloat x, GLfloat y); -void glRasterPos2fv(const GLfloat *v); -void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z); -void glRasterPos3fv(const GLfloat *v); -void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); -void glRasterPos4fv(const GLfloat *v); -void glWindowPos2f(GLfloat x, GLfloat y); -void glWindowPos2fv(const GLfloat *v); -void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z); -void glWindowPos3fv(const GLfloat *v); +void glshim_glRasterPos2f(GLfloat x, GLfloat y); +void glshim_glRasterPos2fv(const GLfloat *v); +void glshim_glRasterPos3f(GLfloat x, GLfloat y, GLfloat z); +void glshim_glRasterPos3fv(const GLfloat *v); +void glshim_glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); +void glshim_glRasterPos4fv(const GLfloat *v); +void glshim_glWindowPos2f(GLfloat x, GLfloat y); +void glshim_glWindowPos2fv(const GLfloat *v); +void glshim_glWindowPos3f(GLfloat x, GLfloat y, GLfloat z); +void glshim_glWindowPos3fv(const GLfloat *v); -void glPixelStoref(GLenum pname, GLfloat param); -void glGetTexGendv(GLenum coord,GLenum pname,GLdouble *params); -void glGetTexGeniv(GLenum coord,GLenum pname,GLint *params); -void glPixelTransferi(GLenum pname, GLint param); -void glPixelTransferf(GLenum pname, GLfloat param); +void glshim_glPixelStoref(GLenum pname, GLfloat param); +void glshim_glGetTexGendv(GLenum coord,GLenum pname,GLdouble *params); +void glshim_glGetTexGeniv(GLenum coord,GLenum pname,GLint *params); +void glshim_glPixelTransferi(GLenum pname, GLint param); +void glshim_glPixelTransferf(GLenum pname, GLfloat param); // eval -void glEvalCoord1d(GLdouble u); -void glEvalCoord1dv(GLdouble *v); -void glEvalCoord1fv(GLfloat *v); -void glEvalCoord2d(GLdouble u, GLdouble v); -void glEvalCoord2dv(GLdouble *v); -void glEvalCoord2fv(GLfloat *v); -void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2); -void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); +void glshim_glEvalCoord1d(GLdouble u); +void glshim_glEvalCoord1dv(GLdouble *v); +void glshim_glEvalCoord1fv(GLfloat *v); +void glshim_glEvalCoord2d(GLdouble u, GLdouble v); +void glshim_glEvalCoord2dv(GLdouble *v); +void glshim_glEvalCoord2fv(GLfloat *v); +void glshim_glMapGrid1d(GLint un, GLdouble u1, GLdouble u2); +void glshim_glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); // matrix -void glLoadMatrixd(const GLdouble *m); -void glMultMatrixd(const GLdouble *m); +void glshim_glLoadMatrixd(const GLdouble *m); +void glshim_glMultMatrixd(const GLdouble *m); // normal -void glNormal3fv(GLfloat *v); +void glshim_glNormal3fv(GLfloat *v); // rect #define GL_RECT(suffix, type) \ - void glRect##suffix(type x1, type y1, type x2, type y2); \ - void glRect##suffix##v(const type *v); + void glshim_glRect##suffix(type x1, type y1, type x2, type y2); \ + void glshim_glRect##suffix##v(const type *v); GL_RECT(d, GLdouble) GL_RECT(f, GLfloat) @@ -92,51 +88,45 @@ GL_RECT(s, GLshort) // textures -void glTexCoord1f(GLfloat s); -void glTexCoord1fv(GLfloat *t); -void glTexCoord2fv(GLfloat *t); -void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r); -void glTexCoord3fv(GLfloat *t); -void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q); -void glTexCoord4fv(GLfloat *t); +void glshim_glTexCoord1f(GLfloat s); +void glshim_glTexCoord1fv(GLfloat *t); +void glshim_glTexCoord2f(GLfloat s, GLfloat t); +void glshim_glTexCoord2fv(GLfloat *t); +void glshim_glTexCoord3f(GLfloat s, GLfloat t, GLfloat r); +void glshim_glTexCoord3fv(GLfloat *t); +void glshim_glTexCoord4fv(GLfloat *t); -void glMultiTexCoord1f(GLenum target, GLfloat s); -void glMultiTexCoord1fv(GLenum target, GLfloat *t); -void glMultiTexCoord2fv(GLenum target, GLfloat *t); -void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r); -void glMultiTexCoord3fv(GLenum target, GLfloat *t); -void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -void glMultiTexCoord4fv(GLenum target, GLfloat *t); -void glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t); -void glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r); -void glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); -void glMultiTexCoord2fvARB(GLenum target, GLfloat *t); -void glMultiTexCoord3fvARB(GLenum target, GLfloat *t); -void glMultiTexCoord4fvARB(GLenum target, GLfloat *t); +void glshim_glMultiTexCoord1f(GLenum target, GLfloat s); +void glshim_glMultiTexCoord1fv(GLenum target, GLfloat *t); +void glshim_glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t); +void glshim_glMultiTexCoord2fv(GLenum target, GLfloat *t); +void glshim_glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r); +void glshim_glMultiTexCoord3fv(GLenum target, GLfloat *t); +void glshim_glMultiTexCoord4fv(GLenum target, GLfloat *t); -void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params); +void glshim_glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params); -void glPolygonMode(GLenum face, GLenum mode); +void glshim_glPolygonMode(GLenum face, GLenum mode); // texgen -void glTexGend(GLenum coord, GLenum pname, GLdouble param); -void glTexGeni(GLenum coord, GLenum pname, GLint param); -void glTexGenf(GLenum coord, GLenum pname, GLfloat param); -void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params); -void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params); -void glTexGeniv(GLenum coord, GLenum pname, const GLint *params); +void glshim_glTexGend(GLenum coord, GLenum pname, GLdouble param); +void glshim_glTexGeni(GLenum coord, GLenum pname, GLint param); +void glshim_glTexGenf(GLenum coord, GLenum pname, GLfloat param); +void glshim_glTexGendv(GLenum coord, GLenum pname, const GLdouble *params); +void glshim_glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params); +void glshim_glTexGeniv(GLenum coord, GLenum pname, const GLint *params); // transforms -void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); -void glScaled(GLdouble x, GLdouble y, GLdouble z); -void glTranslated(GLdouble x, GLdouble y, GLdouble z); +void glshim_glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); +void glshim_glScaled(GLdouble x, GLdouble y, GLdouble z); +void glshim_glTranslated(GLdouble x, GLdouble y, GLdouble z); // vertex -void glVertex2f(GLfloat x, GLfloat y); -void glVertex2fv(GLfloat *v); -void glVertex3fv(GLfloat *v); -void glVertex4f(GLfloat r, GLfloat g, GLfloat b, GLfloat w); -void glVertex4fv(GLfloat *v); +void glshim_glVertex2f(GLfloat x, GLfloat y); +void glshim_glVertex2fv(GLfloat *v); +void glshim_glVertex3fv(GLfloat *v); +void glshim_glVertex3f(GLfloat r, GLfloat g, GLfloat b); +void glshim_glVertex4fv(GLfloat *v); // OES wrappers @@ -150,56 +140,56 @@ void glOrthofOES(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLflo // basic thunking #define THUNK(suffix, type) \ -void glColor3##suffix##v(const type *v); \ -void glColor3##suffix(type r, type g, type b); \ -void glColor4##suffix##v(const type *v); \ -void glColor4##suffix(type r, type g, type b, type a); \ -void glSecondaryColor3##suffix##v(const type *v); \ -void glSecondaryColor3##suffix(type r, type g, type b); \ -void glIndex##suffix##v(const type *c); \ -void glIndex##suffix(type c); \ -void glNormal3##suffix##v(const type *v); \ -void glNormal3##suffix(type x, type y, type z); \ -void glRasterPos2##suffix##v(type *v); \ -void glRasterPos2##suffix(type x, type y); \ -void glRasterPos3##suffix##v(type *v); \ -void glRasterPos3##suffix(type x, type y, type z); \ -void glRasterPos4##suffix##v(type *v); \ -void glRasterPos4##suffix(type x, type y, type z, type w); \ -void glWindowPos2##suffix##v(type *v); \ -void glWindowPos2##suffix(type x, type y); \ -void glWindowPos3##suffix##v(type *v); \ -void glWindowPos3##suffix(type x, type y, type z); \ -void glVertex2##suffix##v(type *v); \ -void glVertex2##suffix(type x, type y); \ -void glVertex3##suffix##v(type *v); \ -void glVertex3##suffix(type x, type y, type z); \ -void glVertex4##suffix(type x, type y, type z, type w); \ -void glVertex4##suffix##v(type *v); \ -void glTexCoord1##suffix(type s); \ -void glTexCoord1##suffix##v(type *t); \ -void glTexCoord2##suffix(type s, type t); \ -void glTexCoord2##suffix##v(type *t); \ -void glTexCoord3##suffix(type s, type t, type r); \ -void glTexCoord3##suffix##v(type *t); \ -void glTexCoord4##suffix(type s, type t, type r, type q); \ -void glTexCoord4##suffix##v(type *t); \ -void glMultiTexCoord1##suffix(GLenum target, type s); \ -void glMultiTexCoord1##suffix##v(GLenum target, type *t); \ -void glMultiTexCoord2##suffix(GLenum target, type s, type t); \ -void glMultiTexCoord2##suffix##v(GLenum target, type *t); \ -void glMultiTexCoord3##suffix(GLenum target, type s, type t, type r); \ -void glMultiTexCoord3##suffix##v(GLenum target, type *t); \ -void glMultiTexCoord4##suffix(GLenum target, type s, type t, type r, type q); \ -void glMultiTexCoord4##suffix##v(GLenum target, type *t); \ -void glMultiTexCoord1##suffix##ARB(GLenum target, type s); \ -void glMultiTexCoord1##suffix##vARB(GLenum target, type *t); \ -void glMultiTexCoord2##suffix##ARB(GLenum target, type s, type t); \ -void glMultiTexCoord2##suffix##vARB(GLenum target, type *t); \ -void glMultiTexCoord3##suffix##ARB(GLenum target, type s, type t, type r); \ -void glMultiTexCoord3##suffix##vARB(GLenum target, type *t); \ -void glMultiTexCoord4##suffix##ARB(GLenum target, type s, type t, type r, type q); \ -void glMultiTexCoord4##suffix##vARB(GLenum target, type *t); +void glshim_glColor3##suffix##v(const type *v); \ +void glshim_glColor3##suffix(type r, type g, type b); \ +void glshim_glColor4##suffix##v(const type *v); \ +void glshim_glColor4##suffix(type r, type g, type b, type a); \ +void glshim_glSecondaryColor3##suffix##v(const type *v); \ +void glshim_glSecondaryColor3##suffix(type r, type g, type b); \ +void glshim_glIndex##suffix##v(const type *c); \ +void glshim_glIndex##suffix(type c); \ +void glshim_glNormal3##suffix##v(const type *v); \ +void glshim_glNormal3##suffix(type x, type y, type z); \ +void glshim_glRasterPos2##suffix##v(type *v); \ +void glshim_glRasterPos2##suffix(type x, type y); \ +void glshim_glRasterPos3##suffix##v(type *v); \ +void glshim_glRasterPos3##suffix(type x, type y, type z); \ +void glshim_glRasterPos4##suffix##v(type *v); \ +void glshim_glRasterPos4##suffix(type x, type y, type z, type w); \ +void glshim_glWindowPos2##suffix##v(type *v); \ +void glshim_glWindowPos2##suffix(type x, type y); \ +void glshim_glWindowPos3##suffix##v(type *v); \ +void glshim_glWindowPos3##suffix(type x, type y, type z); \ +void glshim_glVertex2##suffix##v(type *v); \ +void glshim_glVertex2##suffix(type x, type y); \ +void glshim_glVertex3##suffix##v(type *v); \ +void glshim_glVertex3##suffix(type x, type y, type z); \ +void glshim_glVertex4##suffix(type x, type y, type z, type w); \ +void glshim_glVertex4##suffix##v(type *v); \ +void glshim_glTexCoord1##suffix(type s); \ +void glshim_glTexCoord1##suffix##v(type *t); \ +void glshim_glTexCoord2##suffix(type s, type t); \ +void glshim_glTexCoord2##suffix##v(type *t); \ +void glshim_glTexCoord3##suffix(type s, type t, type r); \ +void glshim_glTexCoord3##suffix##v(type *t); \ +void glshim_glTexCoord4##suffix(type s, type t, type r, type q); \ +void glshim_glTexCoord4##suffix##v(type *t); \ +void glshim_glMultiTexCoord1##suffix(GLenum target, type s); \ +void glshim_glMultiTexCoord1##suffix##v(GLenum target, type *t); \ +void glshim_glMultiTexCoord2##suffix(GLenum target, type s, type t); \ +void glshim_glMultiTexCoord2##suffix##v(GLenum target, type *t); \ +void glshim_glMultiTexCoord3##suffix(GLenum target, type s, type t, type r); \ +void glshim_glMultiTexCoord3##suffix##v(GLenum target, type *t); \ +void glshim_glMultiTexCoord4##suffix(GLenum target, type s, type t, type r, type q); \ +void glshim_glMultiTexCoord4##suffix##v(GLenum target, type *t); \ +void glshim_glMultiTexCoord1##suffix##ARB(GLenum target, type s); \ +void glshim_glMultiTexCoord1##suffix##vARB(GLenum target, type *t); \ +void glshim_glMultiTexCoord2##suffix##ARB(GLenum target, type s, type t); \ +void glshim_glMultiTexCoord2##suffix##vARB(GLenum target, type *t); \ +void glshim_glMultiTexCoord3##suffix##ARB(GLenum target, type s, type t, type r); \ +void glshim_glMultiTexCoord3##suffix##vARB(GLenum target, type *t); \ +void glshim_glMultiTexCoord4##suffix##ARB(GLenum target, type s, type t, type r, type q); \ +void glshim_glMultiTexCoord4##suffix##vARB(GLenum target, type *t); THUNK(b, GLbyte) THUNK(d, GLdouble) diff --git a/project/jni/glshim/src/gl/wrap/gles.c b/project/jni/glshim/src/gl/wrap/gles.c index 67ec0996f..4762357d0 100755 --- a/project/jni/glshim/src/gl/wrap/gles.c +++ b/project/jni/glshim/src/gl/wrap/gles.c @@ -1,1309 +1,1454 @@ #ifndef USE_ES2 #include "gles.h" #ifndef skip_glActiveTexture -void glActiveTexture(GLenum texture) { +void glshim_glActiveTexture(GLenum texture) { LOAD_GLES(glActiveTexture); #ifndef direct_glActiveTexture PUSH_IF_COMPILING(glActiveTexture) #endif gles_glActiveTexture(texture); } +void glActiveTexture(GLenum texture) __attribute__((alias("glshim_glActiveTexture"))); #endif #ifndef skip_glAlphaFunc -void glAlphaFunc(GLenum func, GLclampf ref) { +void glshim_glAlphaFunc(GLenum func, GLclampf ref) { LOAD_GLES(glAlphaFunc); #ifndef direct_glAlphaFunc PUSH_IF_COMPILING(glAlphaFunc) #endif gles_glAlphaFunc(func, ref); } +void glAlphaFunc(GLenum func, GLclampf ref) __attribute__((alias("glshim_glAlphaFunc"))); #endif #ifndef skip_glAlphaFuncx -void glAlphaFuncx(GLenum func, GLclampx ref) { +void glshim_glAlphaFuncx(GLenum func, GLclampx ref) { LOAD_GLES(glAlphaFuncx); #ifndef direct_glAlphaFuncx PUSH_IF_COMPILING(glAlphaFuncx) #endif gles_glAlphaFuncx(func, ref); } +void glAlphaFuncx(GLenum func, GLclampx ref) __attribute__((alias("glshim_glAlphaFuncx"))); #endif #ifndef skip_glBindBuffer -void glBindBuffer(GLenum target, GLuint buffer) { +void glshim_glBindBuffer(GLenum target, GLuint buffer) { LOAD_GLES(glBindBuffer); #ifndef direct_glBindBuffer PUSH_IF_COMPILING(glBindBuffer) #endif gles_glBindBuffer(target, buffer); } +void glBindBuffer(GLenum target, GLuint buffer) __attribute__((alias("glshim_glBindBuffer"))); #endif #ifndef skip_glBindTexture -void glBindTexture(GLenum target, GLuint texture) { +void glshim_glBindTexture(GLenum target, GLuint texture) { LOAD_GLES(glBindTexture); #ifndef direct_glBindTexture PUSH_IF_COMPILING(glBindTexture) #endif gles_glBindTexture(target, texture); } +void glBindTexture(GLenum target, GLuint texture) __attribute__((alias("glshim_glBindTexture"))); #endif #ifndef skip_glBlendFunc -void glBlendFunc(GLenum sfactor, GLenum dfactor) { +void glshim_glBlendFunc(GLenum sfactor, GLenum dfactor) { LOAD_GLES(glBlendFunc); #ifndef direct_glBlendFunc PUSH_IF_COMPILING(glBlendFunc) #endif gles_glBlendFunc(sfactor, dfactor); } +void glBlendFunc(GLenum sfactor, GLenum dfactor) __attribute__((alias("glshim_glBlendFunc"))); #endif #ifndef skip_glBufferData -void glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) { +void glshim_glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) { LOAD_GLES(glBufferData); #ifndef direct_glBufferData PUSH_IF_COMPILING(glBufferData) #endif gles_glBufferData(target, size, data, usage); } +void glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) __attribute__((alias("glshim_glBufferData"))); #endif #ifndef skip_glBufferSubData -void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) { +void glshim_glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) { LOAD_GLES(glBufferSubData); #ifndef direct_glBufferSubData PUSH_IF_COMPILING(glBufferSubData) #endif gles_glBufferSubData(target, offset, size, data); } +void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) __attribute__((alias("glshim_glBufferSubData"))); #endif #ifndef skip_glClear -void glClear(GLbitfield mask) { +void glshim_glClear(GLbitfield mask) { LOAD_GLES(glClear); #ifndef direct_glClear PUSH_IF_COMPILING(glClear) #endif gles_glClear(mask); } +void glClear(GLbitfield mask) __attribute__((alias("glshim_glClear"))); #endif #ifndef skip_glClearColor -void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { +void glshim_glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { LOAD_GLES(glClearColor); #ifndef direct_glClearColor PUSH_IF_COMPILING(glClearColor) #endif gles_glClearColor(red, green, blue, alpha); } +void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) __attribute__((alias("glshim_glClearColor"))); #endif #ifndef skip_glClearColorx -void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { +void glshim_glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { LOAD_GLES(glClearColorx); #ifndef direct_glClearColorx PUSH_IF_COMPILING(glClearColorx) #endif gles_glClearColorx(red, green, blue, alpha); } +void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) __attribute__((alias("glshim_glClearColorx"))); #endif #ifndef skip_glClearDepthf -void glClearDepthf(GLclampf depth) { +void glshim_glClearDepthf(GLclampf depth) { LOAD_GLES(glClearDepthf); #ifndef direct_glClearDepthf PUSH_IF_COMPILING(glClearDepthf) #endif gles_glClearDepthf(depth); } +void glClearDepthf(GLclampf depth) __attribute__((alias("glshim_glClearDepthf"))); #endif #ifndef skip_glClearDepthx -void glClearDepthx(GLclampx depth) { +void glshim_glClearDepthx(GLclampx depth) { LOAD_GLES(glClearDepthx); #ifndef direct_glClearDepthx PUSH_IF_COMPILING(glClearDepthx) #endif gles_glClearDepthx(depth); } +void glClearDepthx(GLclampx depth) __attribute__((alias("glshim_glClearDepthx"))); #endif #ifndef skip_glClearStencil -void glClearStencil(GLint s) { +void glshim_glClearStencil(GLint s) { LOAD_GLES(glClearStencil); #ifndef direct_glClearStencil PUSH_IF_COMPILING(glClearStencil) #endif gles_glClearStencil(s); } +void glClearStencil(GLint s) __attribute__((alias("glshim_glClearStencil"))); #endif #ifndef skip_glClientActiveTexture -void glClientActiveTexture(GLenum texture) { +void glshim_glClientActiveTexture(GLenum texture) { LOAD_GLES(glClientActiveTexture); #ifndef direct_glClientActiveTexture PUSH_IF_COMPILING(glClientActiveTexture) #endif gles_glClientActiveTexture(texture); } +void glClientActiveTexture(GLenum texture) __attribute__((alias("glshim_glClientActiveTexture"))); #endif #ifndef skip_glClipPlanef -void glClipPlanef(GLenum plane, const GLfloat * equation) { +void glshim_glClipPlanef(GLenum plane, const GLfloat * equation) { LOAD_GLES(glClipPlanef); #ifndef direct_glClipPlanef PUSH_IF_COMPILING(glClipPlanef) #endif gles_glClipPlanef(plane, equation); } +void glClipPlanef(GLenum plane, const GLfloat * equation) __attribute__((alias("glshim_glClipPlanef"))); #endif #ifndef skip_glClipPlanex -void glClipPlanex(GLenum plane, const GLfixed * equation) { +void glshim_glClipPlanex(GLenum plane, const GLfixed * equation) { LOAD_GLES(glClipPlanex); #ifndef direct_glClipPlanex PUSH_IF_COMPILING(glClipPlanex) #endif gles_glClipPlanex(plane, equation); } +void glClipPlanex(GLenum plane, const GLfixed * equation) __attribute__((alias("glshim_glClipPlanex"))); #endif #ifndef skip_glColor4f -void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { +void glshim_glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { LOAD_GLES(glColor4f); #ifndef direct_glColor4f PUSH_IF_COMPILING(glColor4f) #endif gles_glColor4f(red, green, blue, alpha); } +void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) __attribute__((alias("glshim_glColor4f"))); #endif #ifndef skip_glColor4ub -void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { +void glshim_glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { LOAD_GLES(glColor4ub); #ifndef direct_glColor4ub PUSH_IF_COMPILING(glColor4ub) #endif gles_glColor4ub(red, green, blue, alpha); } +void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) __attribute__((alias("glshim_glColor4ub"))); #endif #ifndef skip_glColor4x -void glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { +void glshim_glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { LOAD_GLES(glColor4x); #ifndef direct_glColor4x PUSH_IF_COMPILING(glColor4x) #endif gles_glColor4x(red, green, blue, alpha); } +void glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) __attribute__((alias("glshim_glColor4x"))); #endif #ifndef skip_glColorMask -void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { +void glshim_glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { LOAD_GLES(glColorMask); #ifndef direct_glColorMask PUSH_IF_COMPILING(glColorMask) #endif gles_glColorMask(red, green, blue, alpha); } +void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) __attribute__((alias("glshim_glColorMask"))); #endif #ifndef skip_glColorPointer -void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { +void glshim_glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { LOAD_GLES(glColorPointer); #ifndef direct_glColorPointer PUSH_IF_COMPILING(glColorPointer) #endif gles_glColorPointer(size, type, stride, pointer); } +void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glColorPointer"))); #endif #ifndef skip_glCompressedTexImage2D -void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data) { +void glshim_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data) { LOAD_GLES(glCompressedTexImage2D); #ifndef direct_glCompressedTexImage2D PUSH_IF_COMPILING(glCompressedTexImage2D) #endif gles_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); } +void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data) __attribute__((alias("glshim_glCompressedTexImage2D"))); #endif #ifndef skip_glCompressedTexSubImage2D -void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data) { +void glshim_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data) { LOAD_GLES(glCompressedTexSubImage2D); #ifndef direct_glCompressedTexSubImage2D PUSH_IF_COMPILING(glCompressedTexSubImage2D) #endif gles_glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); } +void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data) __attribute__((alias("glshim_glCompressedTexSubImage2D"))); #endif #ifndef skip_glCopyTexImage2D -void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { +void glshim_glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { LOAD_GLES(glCopyTexImage2D); #ifndef direct_glCopyTexImage2D PUSH_IF_COMPILING(glCopyTexImage2D) #endif gles_glCopyTexImage2D(target, level, internalformat, x, y, width, height, border); } +void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) __attribute__((alias("glshim_glCopyTexImage2D"))); #endif #ifndef skip_glCopyTexSubImage2D -void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { +void glshim_glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { LOAD_GLES(glCopyTexSubImage2D); #ifndef direct_glCopyTexSubImage2D PUSH_IF_COMPILING(glCopyTexSubImage2D) #endif gles_glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); } +void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) __attribute__((alias("glshim_glCopyTexSubImage2D"))); #endif #ifndef skip_glCullFace -void glCullFace(GLenum mode) { +void glshim_glCullFace(GLenum mode) { LOAD_GLES(glCullFace); #ifndef direct_glCullFace PUSH_IF_COMPILING(glCullFace) #endif gles_glCullFace(mode); } +void glCullFace(GLenum mode) __attribute__((alias("glshim_glCullFace"))); #endif #ifndef skip_glDeleteBuffers -void glDeleteBuffers(GLsizei n, const GLuint * buffers) { +void glshim_glDeleteBuffers(GLsizei n, const GLuint * buffers) { LOAD_GLES(glDeleteBuffers); #ifndef direct_glDeleteBuffers PUSH_IF_COMPILING(glDeleteBuffers) #endif gles_glDeleteBuffers(n, buffers); } +void glDeleteBuffers(GLsizei n, const GLuint * buffers) __attribute__((alias("glshim_glDeleteBuffers"))); #endif #ifndef skip_glDeleteTextures -void glDeleteTextures(GLsizei n, const GLuint * textures) { +void glshim_glDeleteTextures(GLsizei n, const GLuint * textures) { LOAD_GLES(glDeleteTextures); #ifndef direct_glDeleteTextures PUSH_IF_COMPILING(glDeleteTextures) #endif gles_glDeleteTextures(n, textures); } +void glDeleteTextures(GLsizei n, const GLuint * textures) __attribute__((alias("glshim_glDeleteTextures"))); #endif #ifndef skip_glDepthFunc -void glDepthFunc(GLenum func) { +void glshim_glDepthFunc(GLenum func) { LOAD_GLES(glDepthFunc); #ifndef direct_glDepthFunc PUSH_IF_COMPILING(glDepthFunc) #endif gles_glDepthFunc(func); } +void glDepthFunc(GLenum func) __attribute__((alias("glshim_glDepthFunc"))); #endif #ifndef skip_glDepthMask -void glDepthMask(GLboolean flag) { +void glshim_glDepthMask(GLboolean flag) { LOAD_GLES(glDepthMask); #ifndef direct_glDepthMask PUSH_IF_COMPILING(glDepthMask) #endif gles_glDepthMask(flag); } +void glDepthMask(GLboolean flag) __attribute__((alias("glshim_glDepthMask"))); #endif #ifndef skip_glDepthRangef -void glDepthRangef(GLclampf near, GLclampf far) { +void glshim_glDepthRangef(GLclampf near, GLclampf far) { LOAD_GLES(glDepthRangef); #ifndef direct_glDepthRangef PUSH_IF_COMPILING(glDepthRangef) #endif gles_glDepthRangef(near, far); } +void glDepthRangef(GLclampf near, GLclampf far) __attribute__((alias("glshim_glDepthRangef"))); #endif #ifndef skip_glDepthRangex -void glDepthRangex(GLclampx near, GLclampx far) { +void glshim_glDepthRangex(GLclampx near, GLclampx far) { LOAD_GLES(glDepthRangex); #ifndef direct_glDepthRangex PUSH_IF_COMPILING(glDepthRangex) #endif gles_glDepthRangex(near, far); } +void glDepthRangex(GLclampx near, GLclampx far) __attribute__((alias("glshim_glDepthRangex"))); #endif #ifndef skip_glDisable -void glDisable(GLenum cap) { +void glshim_glDisable(GLenum cap) { LOAD_GLES(glDisable); #ifndef direct_glDisable PUSH_IF_COMPILING(glDisable) #endif gles_glDisable(cap); } +void glDisable(GLenum cap) __attribute__((alias("glshim_glDisable"))); #endif #ifndef skip_glDisableClientState -void glDisableClientState(GLenum array) { +void glshim_glDisableClientState(GLenum array) { LOAD_GLES(glDisableClientState); #ifndef direct_glDisableClientState PUSH_IF_COMPILING(glDisableClientState) #endif gles_glDisableClientState(array); } +void glDisableClientState(GLenum array) __attribute__((alias("glshim_glDisableClientState"))); #endif #ifndef skip_glDrawArrays -void glDrawArrays(GLenum mode, GLint first, GLsizei count) { +void glshim_glDrawArrays(GLenum mode, GLint first, GLsizei count) { LOAD_GLES(glDrawArrays); #ifndef direct_glDrawArrays PUSH_IF_COMPILING(glDrawArrays) #endif gles_glDrawArrays(mode, first, count); } +void glDrawArrays(GLenum mode, GLint first, GLsizei count) __attribute__((alias("glshim_glDrawArrays"))); #endif #ifndef skip_glDrawElements -void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) { +void glshim_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) { LOAD_GLES(glDrawElements); #ifndef direct_glDrawElements PUSH_IF_COMPILING(glDrawElements) #endif gles_glDrawElements(mode, count, type, indices); } +void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) __attribute__((alias("glshim_glDrawElements"))); #endif #ifndef skip_glEnable -void glEnable(GLenum cap) { +void glshim_glEnable(GLenum cap) { LOAD_GLES(glEnable); #ifndef direct_glEnable PUSH_IF_COMPILING(glEnable) #endif gles_glEnable(cap); } +void glEnable(GLenum cap) __attribute__((alias("glshim_glEnable"))); #endif #ifndef skip_glEnableClientState -void glEnableClientState(GLenum array) { +void glshim_glEnableClientState(GLenum array) { LOAD_GLES(glEnableClientState); #ifndef direct_glEnableClientState PUSH_IF_COMPILING(glEnableClientState) #endif gles_glEnableClientState(array); } +void glEnableClientState(GLenum array) __attribute__((alias("glshim_glEnableClientState"))); #endif #ifndef skip_glFinish -void glFinish() { +void glshim_glFinish() { LOAD_GLES(glFinish); #ifndef direct_glFinish PUSH_IF_COMPILING(glFinish) #endif gles_glFinish(); } +void glFinish() __attribute__((alias("glshim_glFinish"))); #endif #ifndef skip_glFlush -void glFlush() { +void glshim_glFlush() { LOAD_GLES(glFlush); #ifndef direct_glFlush PUSH_IF_COMPILING(glFlush) #endif gles_glFlush(); } +void glFlush() __attribute__((alias("glshim_glFlush"))); #endif #ifndef skip_glFogf -void glFogf(GLenum pname, GLfloat param) { +void glshim_glFogf(GLenum pname, GLfloat param) { LOAD_GLES(glFogf); #ifndef direct_glFogf PUSH_IF_COMPILING(glFogf) #endif gles_glFogf(pname, param); } +void glFogf(GLenum pname, GLfloat param) __attribute__((alias("glshim_glFogf"))); #endif #ifndef skip_glFogfv -void glFogfv(GLenum pname, const GLfloat * params) { +void glshim_glFogfv(GLenum pname, const GLfloat * params) { LOAD_GLES(glFogfv); #ifndef direct_glFogfv PUSH_IF_COMPILING(glFogfv) #endif gles_glFogfv(pname, params); } +void glFogfv(GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glFogfv"))); #endif #ifndef skip_glFogx -void glFogx(GLenum pname, GLfixed param) { +void glshim_glFogx(GLenum pname, GLfixed param) { LOAD_GLES(glFogx); #ifndef direct_glFogx PUSH_IF_COMPILING(glFogx) #endif gles_glFogx(pname, param); } +void glFogx(GLenum pname, GLfixed param) __attribute__((alias("glshim_glFogx"))); #endif #ifndef skip_glFogxv -void glFogxv(GLenum pname, const GLfixed * params) { +void glshim_glFogxv(GLenum pname, const GLfixed * params) { LOAD_GLES(glFogxv); #ifndef direct_glFogxv PUSH_IF_COMPILING(glFogxv) #endif gles_glFogxv(pname, params); } +void glFogxv(GLenum pname, const GLfixed * params) __attribute__((alias("glshim_glFogxv"))); #endif #ifndef skip_glFrontFace -void glFrontFace(GLenum mode) { +void glshim_glFrontFace(GLenum mode) { LOAD_GLES(glFrontFace); #ifndef direct_glFrontFace PUSH_IF_COMPILING(glFrontFace) #endif gles_glFrontFace(mode); } +void glFrontFace(GLenum mode) __attribute__((alias("glshim_glFrontFace"))); #endif #ifndef skip_glFrustumf -void glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat near, GLfloat far) { +void glshim_glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat near, GLfloat far) { LOAD_GLES(glFrustumf); #ifndef direct_glFrustumf PUSH_IF_COMPILING(glFrustumf) #endif gles_glFrustumf(left, right, bottom, top, near, far); } +void glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat near, GLfloat far) __attribute__((alias("glshim_glFrustumf"))); #endif #ifndef skip_glFrustumx -void glFrustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed near, GLfixed far) { +void glshim_glFrustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed near, GLfixed far) { LOAD_GLES(glFrustumx); #ifndef direct_glFrustumx PUSH_IF_COMPILING(glFrustumx) #endif gles_glFrustumx(left, right, bottom, top, near, far); } +void glFrustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed near, GLfixed far) __attribute__((alias("glshim_glFrustumx"))); #endif #ifndef skip_glGenBuffers -void glGenBuffers(GLsizei n, GLuint * buffers) { +void glshim_glGenBuffers(GLsizei n, GLuint * buffers) { LOAD_GLES(glGenBuffers); #ifndef direct_glGenBuffers PUSH_IF_COMPILING(glGenBuffers) #endif gles_glGenBuffers(n, buffers); } +void glGenBuffers(GLsizei n, GLuint * buffers) __attribute__((alias("glshim_glGenBuffers"))); #endif #ifndef skip_glGenTextures -void glGenTextures(GLsizei n, GLuint * textures) { +void glshim_glGenTextures(GLsizei n, GLuint * textures) { LOAD_GLES(glGenTextures); #ifndef direct_glGenTextures PUSH_IF_COMPILING(glGenTextures) #endif gles_glGenTextures(n, textures); } +void glGenTextures(GLsizei n, GLuint * textures) __attribute__((alias("glshim_glGenTextures"))); #endif #ifndef skip_glGetBooleanv -void glGetBooleanv(GLenum pname, GLboolean * params) { +void glshim_glGetBooleanv(GLenum pname, GLboolean * params) { LOAD_GLES(glGetBooleanv); #ifndef direct_glGetBooleanv PUSH_IF_COMPILING(glGetBooleanv) #endif gles_glGetBooleanv(pname, params); } +void glGetBooleanv(GLenum pname, GLboolean * params) __attribute__((alias("glshim_glGetBooleanv"))); #endif #ifndef skip_glGetBufferParameteriv -void glGetBufferParameteriv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetBufferParameteriv(GLenum target, GLenum pname, GLint * params) { LOAD_GLES(glGetBufferParameteriv); #ifndef direct_glGetBufferParameteriv PUSH_IF_COMPILING(glGetBufferParameteriv) #endif gles_glGetBufferParameteriv(target, pname, params); } +void glGetBufferParameteriv(GLenum target, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetBufferParameteriv"))); #endif #ifndef skip_glGetClipPlanef -void glGetClipPlanef(GLenum plane, GLfloat * equation) { +void glshim_glGetClipPlanef(GLenum plane, GLfloat * equation) { LOAD_GLES(glGetClipPlanef); #ifndef direct_glGetClipPlanef PUSH_IF_COMPILING(glGetClipPlanef) #endif gles_glGetClipPlanef(plane, equation); } +void glGetClipPlanef(GLenum plane, GLfloat * equation) __attribute__((alias("glshim_glGetClipPlanef"))); #endif #ifndef skip_glGetClipPlanex -void glGetClipPlanex(GLenum plane, GLfixed * equation) { +void glshim_glGetClipPlanex(GLenum plane, GLfixed * equation) { LOAD_GLES(glGetClipPlanex); #ifndef direct_glGetClipPlanex PUSH_IF_COMPILING(glGetClipPlanex) #endif gles_glGetClipPlanex(plane, equation); } +void glGetClipPlanex(GLenum plane, GLfixed * equation) __attribute__((alias("glshim_glGetClipPlanex"))); #endif #ifndef skip_glGetError -GLenum glGetError() { +GLenum glshim_glGetError() { LOAD_GLES(glGetError); #ifndef direct_glGetError PUSH_IF_COMPILING(glGetError) #endif return gles_glGetError(); } +GLenum glGetError() __attribute__((alias("glshim_glGetError"))); #endif #ifndef skip_glGetFixedv -void glGetFixedv(GLenum pname, GLfixed * params) { +void glshim_glGetFixedv(GLenum pname, GLfixed * params) { LOAD_GLES(glGetFixedv); #ifndef direct_glGetFixedv PUSH_IF_COMPILING(glGetFixedv) #endif gles_glGetFixedv(pname, params); } +void glGetFixedv(GLenum pname, GLfixed * params) __attribute__((alias("glshim_glGetFixedv"))); #endif #ifndef skip_glGetFloatv -void glGetFloatv(GLenum pname, GLfloat * params) { +void glshim_glGetFloatv(GLenum pname, GLfloat * params) { LOAD_GLES(glGetFloatv); #ifndef direct_glGetFloatv PUSH_IF_COMPILING(glGetFloatv) #endif gles_glGetFloatv(pname, params); } +void glGetFloatv(GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetFloatv"))); #endif #ifndef skip_glGetIntegerv -void glGetIntegerv(GLenum pname, GLint * params) { +void glshim_glGetIntegerv(GLenum pname, GLint * params) { LOAD_GLES(glGetIntegerv); #ifndef direct_glGetIntegerv PUSH_IF_COMPILING(glGetIntegerv) #endif gles_glGetIntegerv(pname, params); } +void glGetIntegerv(GLenum pname, GLint * params) __attribute__((alias("glshim_glGetIntegerv"))); #endif #ifndef skip_glGetLightfv -void glGetLightfv(GLenum light, GLenum pname, GLfloat * params) { +void glshim_glGetLightfv(GLenum light, GLenum pname, GLfloat * params) { LOAD_GLES(glGetLightfv); #ifndef direct_glGetLightfv PUSH_IF_COMPILING(glGetLightfv) #endif gles_glGetLightfv(light, pname, params); } +void glGetLightfv(GLenum light, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetLightfv"))); #endif #ifndef skip_glGetLightxv -void glGetLightxv(GLenum light, GLenum pname, GLfixed * params) { +void glshim_glGetLightxv(GLenum light, GLenum pname, GLfixed * params) { LOAD_GLES(glGetLightxv); #ifndef direct_glGetLightxv PUSH_IF_COMPILING(glGetLightxv) #endif gles_glGetLightxv(light, pname, params); } +void glGetLightxv(GLenum light, GLenum pname, GLfixed * params) __attribute__((alias("glshim_glGetLightxv"))); #endif #ifndef skip_glGetMaterialfv -void glGetMaterialfv(GLenum face, GLenum pname, GLfloat * params) { +void glshim_glGetMaterialfv(GLenum face, GLenum pname, GLfloat * params) { LOAD_GLES(glGetMaterialfv); #ifndef direct_glGetMaterialfv PUSH_IF_COMPILING(glGetMaterialfv) #endif gles_glGetMaterialfv(face, pname, params); } +void glGetMaterialfv(GLenum face, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetMaterialfv"))); #endif #ifndef skip_glGetMaterialxv -void glGetMaterialxv(GLenum face, GLenum pname, GLfixed * params) { +void glshim_glGetMaterialxv(GLenum face, GLenum pname, GLfixed * params) { LOAD_GLES(glGetMaterialxv); #ifndef direct_glGetMaterialxv PUSH_IF_COMPILING(glGetMaterialxv) #endif gles_glGetMaterialxv(face, pname, params); } +void glGetMaterialxv(GLenum face, GLenum pname, GLfixed * params) __attribute__((alias("glshim_glGetMaterialxv"))); #endif #ifndef skip_glGetPointerv -void glGetPointerv(GLenum pname, GLvoid ** params) { +void glshim_glGetPointerv(GLenum pname, GLvoid ** params) { LOAD_GLES(glGetPointerv); #ifndef direct_glGetPointerv PUSH_IF_COMPILING(glGetPointerv) #endif gles_glGetPointerv(pname, params); } +void glGetPointerv(GLenum pname, GLvoid ** params) __attribute__((alias("glshim_glGetPointerv"))); #endif #ifndef skip_glGetString -const GLubyte * glGetString(GLenum name) { +const GLubyte * glshim_glGetString(GLenum name) { LOAD_GLES(glGetString); #ifndef direct_glGetString PUSH_IF_COMPILING(glGetString) #endif return gles_glGetString(name); } +const GLubyte * glGetString(GLenum name) __attribute__((alias("glshim_glGetString"))); #endif #ifndef skip_glGetTexEnvfv -void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat * params) { +void glshim_glGetTexEnvfv(GLenum target, GLenum pname, GLfloat * params) { LOAD_GLES(glGetTexEnvfv); #ifndef direct_glGetTexEnvfv PUSH_IF_COMPILING(glGetTexEnvfv) #endif gles_glGetTexEnvfv(target, pname, params); } +void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetTexEnvfv"))); #endif #ifndef skip_glGetTexEnviv -void glGetTexEnviv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetTexEnviv(GLenum target, GLenum pname, GLint * params) { LOAD_GLES(glGetTexEnviv); #ifndef direct_glGetTexEnviv PUSH_IF_COMPILING(glGetTexEnviv) #endif gles_glGetTexEnviv(target, pname, params); } +void glGetTexEnviv(GLenum target, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetTexEnviv"))); #endif #ifndef skip_glGetTexEnvxv -void glGetTexEnvxv(GLenum target, GLenum pname, GLfixed * params) { +void glshim_glGetTexEnvxv(GLenum target, GLenum pname, GLfixed * params) { LOAD_GLES(glGetTexEnvxv); #ifndef direct_glGetTexEnvxv PUSH_IF_COMPILING(glGetTexEnvxv) #endif gles_glGetTexEnvxv(target, pname, params); } +void glGetTexEnvxv(GLenum target, GLenum pname, GLfixed * params) __attribute__((alias("glshim_glGetTexEnvxv"))); #endif #ifndef skip_glGetTexParameterfv -void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat * params) { +void glshim_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat * params) { LOAD_GLES(glGetTexParameterfv); #ifndef direct_glGetTexParameterfv PUSH_IF_COMPILING(glGetTexParameterfv) #endif gles_glGetTexParameterfv(target, pname, params); } +void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetTexParameterfv"))); #endif #ifndef skip_glGetTexParameteriv -void glGetTexParameteriv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetTexParameteriv(GLenum target, GLenum pname, GLint * params) { LOAD_GLES(glGetTexParameteriv); #ifndef direct_glGetTexParameteriv PUSH_IF_COMPILING(glGetTexParameteriv) #endif gles_glGetTexParameteriv(target, pname, params); } +void glGetTexParameteriv(GLenum target, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetTexParameteriv"))); #endif #ifndef skip_glGetTexParameterxv -void glGetTexParameterxv(GLenum target, GLenum pname, GLfixed * params) { +void glshim_glGetTexParameterxv(GLenum target, GLenum pname, GLfixed * params) { LOAD_GLES(glGetTexParameterxv); #ifndef direct_glGetTexParameterxv PUSH_IF_COMPILING(glGetTexParameterxv) #endif gles_glGetTexParameterxv(target, pname, params); } +void glGetTexParameterxv(GLenum target, GLenum pname, GLfixed * params) __attribute__((alias("glshim_glGetTexParameterxv"))); #endif #ifndef skip_glHint -void glHint(GLenum target, GLenum mode) { +void glshim_glHint(GLenum target, GLenum mode) { LOAD_GLES(glHint); #ifndef direct_glHint PUSH_IF_COMPILING(glHint) #endif gles_glHint(target, mode); } +void glHint(GLenum target, GLenum mode) __attribute__((alias("glshim_glHint"))); #endif #ifndef skip_glIsBuffer -GLboolean glIsBuffer(GLuint buffer) { +GLboolean glshim_glIsBuffer(GLuint buffer) { LOAD_GLES(glIsBuffer); #ifndef direct_glIsBuffer PUSH_IF_COMPILING(glIsBuffer) #endif return gles_glIsBuffer(buffer); } +GLboolean glIsBuffer(GLuint buffer) __attribute__((alias("glshim_glIsBuffer"))); #endif #ifndef skip_glIsEnabled -GLboolean glIsEnabled(GLenum cap) { +GLboolean glshim_glIsEnabled(GLenum cap) { LOAD_GLES(glIsEnabled); #ifndef direct_glIsEnabled PUSH_IF_COMPILING(glIsEnabled) #endif return gles_glIsEnabled(cap); } +GLboolean glIsEnabled(GLenum cap) __attribute__((alias("glshim_glIsEnabled"))); #endif #ifndef skip_glIsTexture -GLboolean glIsTexture(GLuint texture) { +GLboolean glshim_glIsTexture(GLuint texture) { LOAD_GLES(glIsTexture); #ifndef direct_glIsTexture PUSH_IF_COMPILING(glIsTexture) #endif return gles_glIsTexture(texture); } +GLboolean glIsTexture(GLuint texture) __attribute__((alias("glshim_glIsTexture"))); #endif #ifndef skip_glLightModelf -void glLightModelf(GLenum pname, GLfloat param) { +void glshim_glLightModelf(GLenum pname, GLfloat param) { LOAD_GLES(glLightModelf); #ifndef direct_glLightModelf PUSH_IF_COMPILING(glLightModelf) #endif gles_glLightModelf(pname, param); } +void glLightModelf(GLenum pname, GLfloat param) __attribute__((alias("glshim_glLightModelf"))); #endif #ifndef skip_glLightModelfv -void glLightModelfv(GLenum pname, const GLfloat * params) { +void glshim_glLightModelfv(GLenum pname, const GLfloat * params) { LOAD_GLES(glLightModelfv); #ifndef direct_glLightModelfv PUSH_IF_COMPILING(glLightModelfv) #endif gles_glLightModelfv(pname, params); } +void glLightModelfv(GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glLightModelfv"))); #endif #ifndef skip_glLightModelx -void glLightModelx(GLenum pname, GLfixed param) { +void glshim_glLightModelx(GLenum pname, GLfixed param) { LOAD_GLES(glLightModelx); #ifndef direct_glLightModelx PUSH_IF_COMPILING(glLightModelx) #endif gles_glLightModelx(pname, param); } +void glLightModelx(GLenum pname, GLfixed param) __attribute__((alias("glshim_glLightModelx"))); #endif #ifndef skip_glLightModelxv -void glLightModelxv(GLenum pname, const GLfixed * params) { +void glshim_glLightModelxv(GLenum pname, const GLfixed * params) { LOAD_GLES(glLightModelxv); #ifndef direct_glLightModelxv PUSH_IF_COMPILING(glLightModelxv) #endif gles_glLightModelxv(pname, params); } +void glLightModelxv(GLenum pname, const GLfixed * params) __attribute__((alias("glshim_glLightModelxv"))); #endif #ifndef skip_glLightf -void glLightf(GLenum light, GLenum pname, GLfloat param) { +void glshim_glLightf(GLenum light, GLenum pname, GLfloat param) { LOAD_GLES(glLightf); #ifndef direct_glLightf PUSH_IF_COMPILING(glLightf) #endif gles_glLightf(light, pname, param); } +void glLightf(GLenum light, GLenum pname, GLfloat param) __attribute__((alias("glshim_glLightf"))); #endif #ifndef skip_glLightfv -void glLightfv(GLenum light, GLenum pname, const GLfloat * params) { +void glshim_glLightfv(GLenum light, GLenum pname, const GLfloat * params) { LOAD_GLES(glLightfv); #ifndef direct_glLightfv PUSH_IF_COMPILING(glLightfv) #endif gles_glLightfv(light, pname, params); } +void glLightfv(GLenum light, GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glLightfv"))); #endif #ifndef skip_glLightx -void glLightx(GLenum light, GLenum pname, GLfixed param) { +void glshim_glLightx(GLenum light, GLenum pname, GLfixed param) { LOAD_GLES(glLightx); #ifndef direct_glLightx PUSH_IF_COMPILING(glLightx) #endif gles_glLightx(light, pname, param); } +void glLightx(GLenum light, GLenum pname, GLfixed param) __attribute__((alias("glshim_glLightx"))); #endif #ifndef skip_glLightxv -void glLightxv(GLenum light, GLenum pname, const GLfixed * params) { +void glshim_glLightxv(GLenum light, GLenum pname, const GLfixed * params) { LOAD_GLES(glLightxv); #ifndef direct_glLightxv PUSH_IF_COMPILING(glLightxv) #endif gles_glLightxv(light, pname, params); } +void glLightxv(GLenum light, GLenum pname, const GLfixed * params) __attribute__((alias("glshim_glLightxv"))); #endif #ifndef skip_glLineWidth -void glLineWidth(GLfloat width) { +void glshim_glLineWidth(GLfloat width) { LOAD_GLES(glLineWidth); #ifndef direct_glLineWidth PUSH_IF_COMPILING(glLineWidth) #endif gles_glLineWidth(width); } +void glLineWidth(GLfloat width) __attribute__((alias("glshim_glLineWidth"))); #endif #ifndef skip_glLineWidthx -void glLineWidthx(GLfixed width) { +void glshim_glLineWidthx(GLfixed width) { LOAD_GLES(glLineWidthx); #ifndef direct_glLineWidthx PUSH_IF_COMPILING(glLineWidthx) #endif gles_glLineWidthx(width); } +void glLineWidthx(GLfixed width) __attribute__((alias("glshim_glLineWidthx"))); #endif #ifndef skip_glLoadIdentity -void glLoadIdentity() { +void glshim_glLoadIdentity() { LOAD_GLES(glLoadIdentity); #ifndef direct_glLoadIdentity PUSH_IF_COMPILING(glLoadIdentity) #endif gles_glLoadIdentity(); } +void glLoadIdentity() __attribute__((alias("glshim_glLoadIdentity"))); #endif #ifndef skip_glLoadMatrixf -void glLoadMatrixf(const GLfloat * m) { +void glshim_glLoadMatrixf(const GLfloat * m) { LOAD_GLES(glLoadMatrixf); #ifndef direct_glLoadMatrixf PUSH_IF_COMPILING(glLoadMatrixf) #endif gles_glLoadMatrixf(m); } +void glLoadMatrixf(const GLfloat * m) __attribute__((alias("glshim_glLoadMatrixf"))); #endif #ifndef skip_glLoadMatrixx -void glLoadMatrixx(const GLfixed * m) { +void glshim_glLoadMatrixx(const GLfixed * m) { LOAD_GLES(glLoadMatrixx); #ifndef direct_glLoadMatrixx PUSH_IF_COMPILING(glLoadMatrixx) #endif gles_glLoadMatrixx(m); } +void glLoadMatrixx(const GLfixed * m) __attribute__((alias("glshim_glLoadMatrixx"))); #endif #ifndef skip_glLogicOp -void glLogicOp(GLenum opcode) { +void glshim_glLogicOp(GLenum opcode) { LOAD_GLES(glLogicOp); #ifndef direct_glLogicOp PUSH_IF_COMPILING(glLogicOp) #endif gles_glLogicOp(opcode); } +void glLogicOp(GLenum opcode) __attribute__((alias("glshim_glLogicOp"))); #endif #ifndef skip_glMaterialf -void glMaterialf(GLenum face, GLenum pname, GLfloat param) { +void glshim_glMaterialf(GLenum face, GLenum pname, GLfloat param) { LOAD_GLES(glMaterialf); #ifndef direct_glMaterialf PUSH_IF_COMPILING(glMaterialf) #endif gles_glMaterialf(face, pname, param); } +void glMaterialf(GLenum face, GLenum pname, GLfloat param) __attribute__((alias("glshim_glMaterialf"))); #endif #ifndef skip_glMaterialfv -void glMaterialfv(GLenum face, GLenum pname, const GLfloat * params) { +void glshim_glMaterialfv(GLenum face, GLenum pname, const GLfloat * params) { LOAD_GLES(glMaterialfv); #ifndef direct_glMaterialfv PUSH_IF_COMPILING(glMaterialfv) #endif gles_glMaterialfv(face, pname, params); } +void glMaterialfv(GLenum face, GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glMaterialfv"))); #endif #ifndef skip_glMaterialx -void glMaterialx(GLenum face, GLenum pname, GLfixed param) { +void glshim_glMaterialx(GLenum face, GLenum pname, GLfixed param) { LOAD_GLES(glMaterialx); #ifndef direct_glMaterialx PUSH_IF_COMPILING(glMaterialx) #endif gles_glMaterialx(face, pname, param); } +void glMaterialx(GLenum face, GLenum pname, GLfixed param) __attribute__((alias("glshim_glMaterialx"))); #endif #ifndef skip_glMaterialxv -void glMaterialxv(GLenum face, GLenum pname, const GLfixed * params) { +void glshim_glMaterialxv(GLenum face, GLenum pname, const GLfixed * params) { LOAD_GLES(glMaterialxv); #ifndef direct_glMaterialxv PUSH_IF_COMPILING(glMaterialxv) #endif gles_glMaterialxv(face, pname, params); } +void glMaterialxv(GLenum face, GLenum pname, const GLfixed * params) __attribute__((alias("glshim_glMaterialxv"))); #endif #ifndef skip_glMatrixMode -void glMatrixMode(GLenum mode) { +void glshim_glMatrixMode(GLenum mode) { LOAD_GLES(glMatrixMode); #ifndef direct_glMatrixMode PUSH_IF_COMPILING(glMatrixMode) #endif gles_glMatrixMode(mode); } +void glMatrixMode(GLenum mode) __attribute__((alias("glshim_glMatrixMode"))); #endif #ifndef skip_glMultMatrixf -void glMultMatrixf(const GLfloat * m) { +void glshim_glMultMatrixf(const GLfloat * m) { LOAD_GLES(glMultMatrixf); #ifndef direct_glMultMatrixf PUSH_IF_COMPILING(glMultMatrixf) #endif gles_glMultMatrixf(m); } +void glMultMatrixf(const GLfloat * m) __attribute__((alias("glshim_glMultMatrixf"))); #endif #ifndef skip_glMultMatrixx -void glMultMatrixx(const GLfixed * m) { +void glshim_glMultMatrixx(const GLfixed * m) { LOAD_GLES(glMultMatrixx); #ifndef direct_glMultMatrixx PUSH_IF_COMPILING(glMultMatrixx) #endif gles_glMultMatrixx(m); } +void glMultMatrixx(const GLfixed * m) __attribute__((alias("glshim_glMultMatrixx"))); #endif #ifndef skip_glMultiTexCoord4f -void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { +void glshim_glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { LOAD_GLES(glMultiTexCoord4f); #ifndef direct_glMultiTexCoord4f PUSH_IF_COMPILING(glMultiTexCoord4f) #endif gles_glMultiTexCoord4f(target, s, t, r, q); } +void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) __attribute__((alias("glshim_glMultiTexCoord4f"))); #endif #ifndef skip_glMultiTexCoord4x -void glMultiTexCoord4x(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { +void glshim_glMultiTexCoord4x(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { LOAD_GLES(glMultiTexCoord4x); #ifndef direct_glMultiTexCoord4x PUSH_IF_COMPILING(glMultiTexCoord4x) #endif gles_glMultiTexCoord4x(target, s, t, r, q); } +void glMultiTexCoord4x(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q) __attribute__((alias("glshim_glMultiTexCoord4x"))); #endif #ifndef skip_glNormal3f -void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) { +void glshim_glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) { LOAD_GLES(glNormal3f); #ifndef direct_glNormal3f PUSH_IF_COMPILING(glNormal3f) #endif gles_glNormal3f(nx, ny, nz); } +void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) __attribute__((alias("glshim_glNormal3f"))); #endif #ifndef skip_glNormal3x -void glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz) { +void glshim_glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz) { LOAD_GLES(glNormal3x); #ifndef direct_glNormal3x PUSH_IF_COMPILING(glNormal3x) #endif gles_glNormal3x(nx, ny, nz); } +void glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz) __attribute__((alias("glshim_glNormal3x"))); #endif #ifndef skip_glNormalPointer -void glNormalPointer(GLenum type, GLsizei stride, const GLvoid * pointer) { +void glshim_glNormalPointer(GLenum type, GLsizei stride, const GLvoid * pointer) { LOAD_GLES(glNormalPointer); #ifndef direct_glNormalPointer PUSH_IF_COMPILING(glNormalPointer) #endif gles_glNormalPointer(type, stride, pointer); } +void glNormalPointer(GLenum type, GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glNormalPointer"))); #endif #ifndef skip_glOrthof -void glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat near, GLfloat far) { +void glshim_glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat near, GLfloat far) { LOAD_GLES(glOrthof); #ifndef direct_glOrthof PUSH_IF_COMPILING(glOrthof) #endif gles_glOrthof(left, right, bottom, top, near, far); } +void glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat near, GLfloat far) __attribute__((alias("glshim_glOrthof"))); #endif #ifndef skip_glOrthox -void glOrthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed near, GLfixed far) { +void glshim_glOrthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed near, GLfixed far) { LOAD_GLES(glOrthox); #ifndef direct_glOrthox PUSH_IF_COMPILING(glOrthox) #endif gles_glOrthox(left, right, bottom, top, near, far); } +void glOrthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed near, GLfixed far) __attribute__((alias("glshim_glOrthox"))); #endif #ifndef skip_glPixelStorei -void glPixelStorei(GLenum pname, GLint param) { +void glshim_glPixelStorei(GLenum pname, GLint param) { LOAD_GLES(glPixelStorei); #ifndef direct_glPixelStorei PUSH_IF_COMPILING(glPixelStorei) #endif gles_glPixelStorei(pname, param); } +void glPixelStorei(GLenum pname, GLint param) __attribute__((alias("glshim_glPixelStorei"))); #endif #ifndef skip_glPointParameterf -void glPointParameterf(GLenum pname, GLfloat param) { +void glshim_glPointParameterf(GLenum pname, GLfloat param) { LOAD_GLES(glPointParameterf); #ifndef direct_glPointParameterf PUSH_IF_COMPILING(glPointParameterf) #endif gles_glPointParameterf(pname, param); } +void glPointParameterf(GLenum pname, GLfloat param) __attribute__((alias("glshim_glPointParameterf"))); #endif #ifndef skip_glPointParameterfv -void glPointParameterfv(GLenum pname, const GLfloat * params) { +void glshim_glPointParameterfv(GLenum pname, const GLfloat * params) { LOAD_GLES(glPointParameterfv); #ifndef direct_glPointParameterfv PUSH_IF_COMPILING(glPointParameterfv) #endif gles_glPointParameterfv(pname, params); } +void glPointParameterfv(GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glPointParameterfv"))); #endif #ifndef skip_glPointParameterx -void glPointParameterx(GLenum pname, GLfixed param) { +void glshim_glPointParameterx(GLenum pname, GLfixed param) { LOAD_GLES(glPointParameterx); #ifndef direct_glPointParameterx PUSH_IF_COMPILING(glPointParameterx) #endif gles_glPointParameterx(pname, param); } +void glPointParameterx(GLenum pname, GLfixed param) __attribute__((alias("glshim_glPointParameterx"))); #endif #ifndef skip_glPointParameterxv -void glPointParameterxv(GLenum pname, const GLfixed * params) { +void glshim_glPointParameterxv(GLenum pname, const GLfixed * params) { LOAD_GLES(glPointParameterxv); #ifndef direct_glPointParameterxv PUSH_IF_COMPILING(glPointParameterxv) #endif gles_glPointParameterxv(pname, params); } +void glPointParameterxv(GLenum pname, const GLfixed * params) __attribute__((alias("glshim_glPointParameterxv"))); #endif #ifndef skip_glPointSize -void glPointSize(GLfloat size) { +void glshim_glPointSize(GLfloat size) { LOAD_GLES(glPointSize); #ifndef direct_glPointSize PUSH_IF_COMPILING(glPointSize) #endif gles_glPointSize(size); } +void glPointSize(GLfloat size) __attribute__((alias("glshim_glPointSize"))); #endif #ifndef skip_glPointSizePointerOES -void glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid * pointer) { +void glshim_glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid * pointer) { LOAD_GLES(glPointSizePointerOES); #ifndef direct_glPointSizePointerOES PUSH_IF_COMPILING(glPointSizePointerOES) #endif gles_glPointSizePointerOES(type, stride, pointer); } +void glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glPointSizePointerOES"))); #endif #ifndef skip_glPointSizex -void glPointSizex(GLfixed size) { +void glshim_glPointSizex(GLfixed size) { LOAD_GLES(glPointSizex); #ifndef direct_glPointSizex PUSH_IF_COMPILING(glPointSizex) #endif gles_glPointSizex(size); } +void glPointSizex(GLfixed size) __attribute__((alias("glshim_glPointSizex"))); #endif #ifndef skip_glPolygonOffset -void glPolygonOffset(GLfloat factor, GLfloat units) { +void glshim_glPolygonOffset(GLfloat factor, GLfloat units) { LOAD_GLES(glPolygonOffset); #ifndef direct_glPolygonOffset PUSH_IF_COMPILING(glPolygonOffset) #endif gles_glPolygonOffset(factor, units); } +void glPolygonOffset(GLfloat factor, GLfloat units) __attribute__((alias("glshim_glPolygonOffset"))); #endif #ifndef skip_glPolygonOffsetx -void glPolygonOffsetx(GLfixed factor, GLfixed units) { +void glshim_glPolygonOffsetx(GLfixed factor, GLfixed units) { LOAD_GLES(glPolygonOffsetx); #ifndef direct_glPolygonOffsetx PUSH_IF_COMPILING(glPolygonOffsetx) #endif gles_glPolygonOffsetx(factor, units); } +void glPolygonOffsetx(GLfixed factor, GLfixed units) __attribute__((alias("glshim_glPolygonOffsetx"))); #endif #ifndef skip_glPopMatrix -void glPopMatrix() { +void glshim_glPopMatrix() { LOAD_GLES(glPopMatrix); #ifndef direct_glPopMatrix PUSH_IF_COMPILING(glPopMatrix) #endif gles_glPopMatrix(); } +void glPopMatrix() __attribute__((alias("glshim_glPopMatrix"))); #endif #ifndef skip_glPushMatrix -void glPushMatrix() { +void glshim_glPushMatrix() { LOAD_GLES(glPushMatrix); #ifndef direct_glPushMatrix PUSH_IF_COMPILING(glPushMatrix) #endif gles_glPushMatrix(); } +void glPushMatrix() __attribute__((alias("glshim_glPushMatrix"))); #endif #ifndef skip_glReadPixels -void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels) { +void glshim_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels) { LOAD_GLES(glReadPixels); #ifndef direct_glReadPixels PUSH_IF_COMPILING(glReadPixels) #endif gles_glReadPixels(x, y, width, height, format, type, pixels); } +void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels) __attribute__((alias("glshim_glReadPixels"))); #endif #ifndef skip_glRotatef -void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { +void glshim_glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { LOAD_GLES(glRotatef); #ifndef direct_glRotatef PUSH_IF_COMPILING(glRotatef) #endif gles_glRotatef(angle, x, y, z); } +void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) __attribute__((alias("glshim_glRotatef"))); #endif #ifndef skip_glRotatex -void glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) { +void glshim_glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) { LOAD_GLES(glRotatex); #ifndef direct_glRotatex PUSH_IF_COMPILING(glRotatex) #endif gles_glRotatex(angle, x, y, z); } +void glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) __attribute__((alias("glshim_glRotatex"))); #endif #ifndef skip_glSampleCoverage -void glSampleCoverage(GLclampf value, GLboolean invert) { +void glshim_glSampleCoverage(GLclampf value, GLboolean invert) { LOAD_GLES(glSampleCoverage); #ifndef direct_glSampleCoverage PUSH_IF_COMPILING(glSampleCoverage) #endif gles_glSampleCoverage(value, invert); } +void glSampleCoverage(GLclampf value, GLboolean invert) __attribute__((alias("glshim_glSampleCoverage"))); #endif #ifndef skip_glSampleCoveragex -void glSampleCoveragex(GLclampx value, GLboolean invert) { +void glshim_glSampleCoveragex(GLclampx value, GLboolean invert) { LOAD_GLES(glSampleCoveragex); #ifndef direct_glSampleCoveragex PUSH_IF_COMPILING(glSampleCoveragex) #endif gles_glSampleCoveragex(value, invert); } +void glSampleCoveragex(GLclampx value, GLboolean invert) __attribute__((alias("glshim_glSampleCoveragex"))); #endif #ifndef skip_glScalef -void glScalef(GLfloat x, GLfloat y, GLfloat z) { +void glshim_glScalef(GLfloat x, GLfloat y, GLfloat z) { LOAD_GLES(glScalef); #ifndef direct_glScalef PUSH_IF_COMPILING(glScalef) #endif gles_glScalef(x, y, z); } +void glScalef(GLfloat x, GLfloat y, GLfloat z) __attribute__((alias("glshim_glScalef"))); #endif #ifndef skip_glScalex -void glScalex(GLfixed x, GLfixed y, GLfixed z) { +void glshim_glScalex(GLfixed x, GLfixed y, GLfixed z) { LOAD_GLES(glScalex); #ifndef direct_glScalex PUSH_IF_COMPILING(glScalex) #endif gles_glScalex(x, y, z); } +void glScalex(GLfixed x, GLfixed y, GLfixed z) __attribute__((alias("glshim_glScalex"))); #endif #ifndef skip_glScissor -void glScissor(GLint x, GLint y, GLsizei width, GLsizei height) { +void glshim_glScissor(GLint x, GLint y, GLsizei width, GLsizei height) { LOAD_GLES(glScissor); #ifndef direct_glScissor PUSH_IF_COMPILING(glScissor) #endif gles_glScissor(x, y, width, height); } +void glScissor(GLint x, GLint y, GLsizei width, GLsizei height) __attribute__((alias("glshim_glScissor"))); #endif #ifndef skip_glShadeModel -void glShadeModel(GLenum mode) { +void glshim_glShadeModel(GLenum mode) { LOAD_GLES(glShadeModel); #ifndef direct_glShadeModel PUSH_IF_COMPILING(glShadeModel) #endif gles_glShadeModel(mode); } +void glShadeModel(GLenum mode) __attribute__((alias("glshim_glShadeModel"))); #endif #ifndef skip_glStencilFunc -void glStencilFunc(GLenum func, GLint ref, GLuint mask) { +void glshim_glStencilFunc(GLenum func, GLint ref, GLuint mask) { LOAD_GLES(glStencilFunc); #ifndef direct_glStencilFunc PUSH_IF_COMPILING(glStencilFunc) #endif gles_glStencilFunc(func, ref, mask); } +void glStencilFunc(GLenum func, GLint ref, GLuint mask) __attribute__((alias("glshim_glStencilFunc"))); #endif #ifndef skip_glStencilMask -void glStencilMask(GLuint mask) { +void glshim_glStencilMask(GLuint mask) { LOAD_GLES(glStencilMask); #ifndef direct_glStencilMask PUSH_IF_COMPILING(glStencilMask) #endif gles_glStencilMask(mask); } +void glStencilMask(GLuint mask) __attribute__((alias("glshim_glStencilMask"))); #endif #ifndef skip_glStencilOp -void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) { +void glshim_glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) { LOAD_GLES(glStencilOp); #ifndef direct_glStencilOp PUSH_IF_COMPILING(glStencilOp) #endif gles_glStencilOp(fail, zfail, zpass); } +void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) __attribute__((alias("glshim_glStencilOp"))); #endif #ifndef skip_glTexCoordPointer -void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { +void glshim_glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { LOAD_GLES(glTexCoordPointer); #ifndef direct_glTexCoordPointer PUSH_IF_COMPILING(glTexCoordPointer) #endif gles_glTexCoordPointer(size, type, stride, pointer); } +void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glTexCoordPointer"))); #endif #ifndef skip_glTexEnvf -void glTexEnvf(GLenum target, GLenum pname, GLfloat param) { +void glshim_glTexEnvf(GLenum target, GLenum pname, GLfloat param) { LOAD_GLES(glTexEnvf); #ifndef direct_glTexEnvf PUSH_IF_COMPILING(glTexEnvf) #endif gles_glTexEnvf(target, pname, param); } +void glTexEnvf(GLenum target, GLenum pname, GLfloat param) __attribute__((alias("glshim_glTexEnvf"))); #endif #ifndef skip_glTexEnvfv -void glTexEnvfv(GLenum target, GLenum pname, const GLfloat * params) { +void glshim_glTexEnvfv(GLenum target, GLenum pname, const GLfloat * params) { LOAD_GLES(glTexEnvfv); #ifndef direct_glTexEnvfv PUSH_IF_COMPILING(glTexEnvfv) #endif gles_glTexEnvfv(target, pname, params); } +void glTexEnvfv(GLenum target, GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glTexEnvfv"))); #endif #ifndef skip_glTexEnvi -void glTexEnvi(GLenum target, GLenum pname, GLint param) { +void glshim_glTexEnvi(GLenum target, GLenum pname, GLint param) { LOAD_GLES(glTexEnvi); #ifndef direct_glTexEnvi PUSH_IF_COMPILING(glTexEnvi) #endif gles_glTexEnvi(target, pname, param); } +void glTexEnvi(GLenum target, GLenum pname, GLint param) __attribute__((alias("glshim_glTexEnvi"))); #endif #ifndef skip_glTexEnviv -void glTexEnviv(GLenum target, GLenum pname, const GLint * params) { +void glshim_glTexEnviv(GLenum target, GLenum pname, const GLint * params) { LOAD_GLES(glTexEnviv); #ifndef direct_glTexEnviv PUSH_IF_COMPILING(glTexEnviv) #endif gles_glTexEnviv(target, pname, params); } +void glTexEnviv(GLenum target, GLenum pname, const GLint * params) __attribute__((alias("glshim_glTexEnviv"))); #endif #ifndef skip_glTexEnvx -void glTexEnvx(GLenum target, GLenum pname, GLfixed param) { +void glshim_glTexEnvx(GLenum target, GLenum pname, GLfixed param) { LOAD_GLES(glTexEnvx); #ifndef direct_glTexEnvx PUSH_IF_COMPILING(glTexEnvx) #endif gles_glTexEnvx(target, pname, param); } +void glTexEnvx(GLenum target, GLenum pname, GLfixed param) __attribute__((alias("glshim_glTexEnvx"))); #endif #ifndef skip_glTexEnvxv -void glTexEnvxv(GLenum target, GLenum pname, const GLfixed * params) { +void glshim_glTexEnvxv(GLenum target, GLenum pname, const GLfixed * params) { LOAD_GLES(glTexEnvxv); #ifndef direct_glTexEnvxv PUSH_IF_COMPILING(glTexEnvxv) #endif gles_glTexEnvxv(target, pname, params); } +void glTexEnvxv(GLenum target, GLenum pname, const GLfixed * params) __attribute__((alias("glshim_glTexEnvxv"))); #endif #ifndef skip_glTexImage2D -void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels) { +void glshim_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels) { LOAD_GLES(glTexImage2D); #ifndef direct_glTexImage2D PUSH_IF_COMPILING(glTexImage2D) #endif gles_glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels); } +void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels) __attribute__((alias("glshim_glTexImage2D"))); #endif #ifndef skip_glTexParameterf -void glTexParameterf(GLenum target, GLenum pname, GLfloat param) { +void glshim_glTexParameterf(GLenum target, GLenum pname, GLfloat param) { LOAD_GLES(glTexParameterf); #ifndef direct_glTexParameterf PUSH_IF_COMPILING(glTexParameterf) #endif gles_glTexParameterf(target, pname, param); } +void glTexParameterf(GLenum target, GLenum pname, GLfloat param) __attribute__((alias("glshim_glTexParameterf"))); #endif #ifndef skip_glTexParameterfv -void glTexParameterfv(GLenum target, GLenum pname, const GLfloat * params) { +void glshim_glTexParameterfv(GLenum target, GLenum pname, const GLfloat * params) { LOAD_GLES(glTexParameterfv); #ifndef direct_glTexParameterfv PUSH_IF_COMPILING(glTexParameterfv) #endif gles_glTexParameterfv(target, pname, params); } +void glTexParameterfv(GLenum target, GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glTexParameterfv"))); #endif #ifndef skip_glTexParameteri -void glTexParameteri(GLenum target, GLenum pname, GLint param) { +void glshim_glTexParameteri(GLenum target, GLenum pname, GLint param) { LOAD_GLES(glTexParameteri); #ifndef direct_glTexParameteri PUSH_IF_COMPILING(glTexParameteri) #endif gles_glTexParameteri(target, pname, param); } +void glTexParameteri(GLenum target, GLenum pname, GLint param) __attribute__((alias("glshim_glTexParameteri"))); #endif #ifndef skip_glTexParameteriv -void glTexParameteriv(GLenum target, GLenum pname, const GLint * params) { +void glshim_glTexParameteriv(GLenum target, GLenum pname, const GLint * params) { LOAD_GLES(glTexParameteriv); #ifndef direct_glTexParameteriv PUSH_IF_COMPILING(glTexParameteriv) #endif gles_glTexParameteriv(target, pname, params); } +void glTexParameteriv(GLenum target, GLenum pname, const GLint * params) __attribute__((alias("glshim_glTexParameteriv"))); #endif #ifndef skip_glTexParameterx -void glTexParameterx(GLenum target, GLenum pname, GLfixed param) { +void glshim_glTexParameterx(GLenum target, GLenum pname, GLfixed param) { LOAD_GLES(glTexParameterx); #ifndef direct_glTexParameterx PUSH_IF_COMPILING(glTexParameterx) #endif gles_glTexParameterx(target, pname, param); } +void glTexParameterx(GLenum target, GLenum pname, GLfixed param) __attribute__((alias("glshim_glTexParameterx"))); #endif #ifndef skip_glTexParameterxv -void glTexParameterxv(GLenum target, GLenum pname, const GLfixed * params) { +void glshim_glTexParameterxv(GLenum target, GLenum pname, const GLfixed * params) { LOAD_GLES(glTexParameterxv); #ifndef direct_glTexParameterxv PUSH_IF_COMPILING(glTexParameterxv) #endif gles_glTexParameterxv(target, pname, params); } +void glTexParameterxv(GLenum target, GLenum pname, const GLfixed * params) __attribute__((alias("glshim_glTexParameterxv"))); #endif #ifndef skip_glTexSubImage2D -void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) { +void glshim_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) { LOAD_GLES(glTexSubImage2D); #ifndef direct_glTexSubImage2D PUSH_IF_COMPILING(glTexSubImage2D) #endif gles_glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); } +void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) __attribute__((alias("glshim_glTexSubImage2D"))); #endif #ifndef skip_glTranslatef -void glTranslatef(GLfloat x, GLfloat y, GLfloat z) { +void glshim_glTranslatef(GLfloat x, GLfloat y, GLfloat z) { LOAD_GLES(glTranslatef); #ifndef direct_glTranslatef PUSH_IF_COMPILING(glTranslatef) #endif gles_glTranslatef(x, y, z); } +void glTranslatef(GLfloat x, GLfloat y, GLfloat z) __attribute__((alias("glshim_glTranslatef"))); #endif #ifndef skip_glTranslatex -void glTranslatex(GLfixed x, GLfixed y, GLfixed z) { +void glshim_glTranslatex(GLfixed x, GLfixed y, GLfixed z) { LOAD_GLES(glTranslatex); #ifndef direct_glTranslatex PUSH_IF_COMPILING(glTranslatex) #endif gles_glTranslatex(x, y, z); } +void glTranslatex(GLfixed x, GLfixed y, GLfixed z) __attribute__((alias("glshim_glTranslatex"))); #endif #ifndef skip_glVertexPointer -void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { +void glshim_glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { LOAD_GLES(glVertexPointer); #ifndef direct_glVertexPointer PUSH_IF_COMPILING(glVertexPointer) #endif gles_glVertexPointer(size, type, stride, pointer); } +void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glVertexPointer"))); #endif #ifndef skip_glViewport -void glViewport(GLint x, GLint y, GLsizei width, GLsizei height) { +void glshim_glViewport(GLint x, GLint y, GLsizei width, GLsizei height) { LOAD_GLES(glViewport); #ifndef direct_glViewport PUSH_IF_COMPILING(glViewport) #endif gles_glViewport(x, y, width, height); } +void glViewport(GLint x, GLint y, GLsizei width, GLsizei height) __attribute__((alias("glshim_glViewport"))); #endif void glPackedCall(const packed_call_t *packed) { switch (packed->format) { diff --git a/project/jni/glshim/src/gl/wrap/gles.h b/project/jni/glshim/src/gl/wrap/gles.h index 6ae4f4e0f..685626af4 100755 --- a/project/jni/glshim/src/gl/wrap/gles.h +++ b/project/jni/glshim/src/gl/wrap/gles.h @@ -2530,341 +2530,341 @@ void glIndexedCall(const indexed_call_t *packed, void *ret_v); #define glViewport_INDEXED INDEXED_void_GLint_GLint_GLsizei_GLsizei #define glViewport_FORMAT FORMAT_void_GLint_GLint_GLsizei_GLsizei -void glActiveTexture(glActiveTexture_ARG_EXPAND); +void glshim_glActiveTexture(glActiveTexture_ARG_EXPAND); typedef void (*glActiveTexture_PTR)(glActiveTexture_ARG_EXPAND); -void glAlphaFunc(glAlphaFunc_ARG_EXPAND); +void glshim_glAlphaFunc(glAlphaFunc_ARG_EXPAND); typedef void (*glAlphaFunc_PTR)(glAlphaFunc_ARG_EXPAND); -void glAlphaFuncx(glAlphaFuncx_ARG_EXPAND); +void glshim_glAlphaFuncx(glAlphaFuncx_ARG_EXPAND); typedef void (*glAlphaFuncx_PTR)(glAlphaFuncx_ARG_EXPAND); -void glBindBuffer(glBindBuffer_ARG_EXPAND); +void glshim_glBindBuffer(glBindBuffer_ARG_EXPAND); typedef void (*glBindBuffer_PTR)(glBindBuffer_ARG_EXPAND); -void glBindFramebuffer(glBindFramebuffer_ARG_EXPAND); +void glshim_glBindFramebuffer(glBindFramebuffer_ARG_EXPAND); typedef void (*glBindFramebuffer_PTR)(glBindFramebuffer_ARG_EXPAND); -void glBindRenderbuffer(glBindRenderbuffer_ARG_EXPAND); +void glshim_glBindRenderbuffer(glBindRenderbuffer_ARG_EXPAND); typedef void (*glBindRenderbuffer_PTR)(glBindRenderbuffer_ARG_EXPAND); -void glBindTexture(glBindTexture_ARG_EXPAND); +void glshim_glBindTexture(glBindTexture_ARG_EXPAND); typedef void (*glBindTexture_PTR)(glBindTexture_ARG_EXPAND); -void glBlendColor(glBlendColor_ARG_EXPAND); +void glshim_glBlendColor(glBlendColor_ARG_EXPAND); typedef void (*glBlendColor_PTR)(glBlendColor_ARG_EXPAND); -void glBlendEquation(glBlendEquation_ARG_EXPAND); +void glshim_glBlendEquation(glBlendEquation_ARG_EXPAND); typedef void (*glBlendEquation_PTR)(glBlendEquation_ARG_EXPAND); -void glBlendEquationSeparate(glBlendEquationSeparate_ARG_EXPAND); +void glshim_glBlendEquationSeparate(glBlendEquationSeparate_ARG_EXPAND); typedef void (*glBlendEquationSeparate_PTR)(glBlendEquationSeparate_ARG_EXPAND); -void glBlendFunc(glBlendFunc_ARG_EXPAND); +void glshim_glBlendFunc(glBlendFunc_ARG_EXPAND); typedef void (*glBlendFunc_PTR)(glBlendFunc_ARG_EXPAND); -void glBlendFuncSeparate(glBlendFuncSeparate_ARG_EXPAND); +void glshim_glBlendFuncSeparate(glBlendFuncSeparate_ARG_EXPAND); typedef void (*glBlendFuncSeparate_PTR)(glBlendFuncSeparate_ARG_EXPAND); -void glBufferData(glBufferData_ARG_EXPAND); +void glshim_glBufferData(glBufferData_ARG_EXPAND); typedef void (*glBufferData_PTR)(glBufferData_ARG_EXPAND); -void glBufferSubData(glBufferSubData_ARG_EXPAND); +void glshim_glBufferSubData(glBufferSubData_ARG_EXPAND); typedef void (*glBufferSubData_PTR)(glBufferSubData_ARG_EXPAND); -GLenum glCheckFramebufferStatus(glCheckFramebufferStatus_ARG_EXPAND); +GLenum glshim_glCheckFramebufferStatus(glCheckFramebufferStatus_ARG_EXPAND); typedef GLenum (*glCheckFramebufferStatus_PTR)(glCheckFramebufferStatus_ARG_EXPAND); -void glClear(glClear_ARG_EXPAND); +void glshim_glClear(glClear_ARG_EXPAND); typedef void (*glClear_PTR)(glClear_ARG_EXPAND); -void glClearColor(glClearColor_ARG_EXPAND); +void glshim_glClearColor(glClearColor_ARG_EXPAND); typedef void (*glClearColor_PTR)(glClearColor_ARG_EXPAND); -void glClearColorx(glClearColorx_ARG_EXPAND); +void glshim_glClearColorx(glClearColorx_ARG_EXPAND); typedef void (*glClearColorx_PTR)(glClearColorx_ARG_EXPAND); -void glClearDepthf(glClearDepthf_ARG_EXPAND); +void glshim_glClearDepthf(glClearDepthf_ARG_EXPAND); typedef void (*glClearDepthf_PTR)(glClearDepthf_ARG_EXPAND); -void glClearDepthx(glClearDepthx_ARG_EXPAND); +void glshim_glClearDepthx(glClearDepthx_ARG_EXPAND); typedef void (*glClearDepthx_PTR)(glClearDepthx_ARG_EXPAND); -void glClearStencil(glClearStencil_ARG_EXPAND); +void glshim_glClearStencil(glClearStencil_ARG_EXPAND); typedef void (*glClearStencil_PTR)(glClearStencil_ARG_EXPAND); -void glClientActiveTexture(glClientActiveTexture_ARG_EXPAND); +void glshim_glClientActiveTexture(glClientActiveTexture_ARG_EXPAND); typedef void (*glClientActiveTexture_PTR)(glClientActiveTexture_ARG_EXPAND); -void glClipPlanef(glClipPlanef_ARG_EXPAND); +void glshim_glClipPlanef(glClipPlanef_ARG_EXPAND); typedef void (*glClipPlanef_PTR)(glClipPlanef_ARG_EXPAND); -void glClipPlanex(glClipPlanex_ARG_EXPAND); +void glshim_glClipPlanex(glClipPlanex_ARG_EXPAND); typedef void (*glClipPlanex_PTR)(glClipPlanex_ARG_EXPAND); -void glColor4f(glColor4f_ARG_EXPAND); +void glshim_glColor4f(glColor4f_ARG_EXPAND); typedef void (*glColor4f_PTR)(glColor4f_ARG_EXPAND); -void glColor4ub(glColor4ub_ARG_EXPAND); +void glshim_glColor4ub(glColor4ub_ARG_EXPAND); typedef void (*glColor4ub_PTR)(glColor4ub_ARG_EXPAND); -void glColor4x(glColor4x_ARG_EXPAND); +void glshim_glColor4x(glColor4x_ARG_EXPAND); typedef void (*glColor4x_PTR)(glColor4x_ARG_EXPAND); -void glColorMask(glColorMask_ARG_EXPAND); +void glshim_glColorMask(glColorMask_ARG_EXPAND); typedef void (*glColorMask_PTR)(glColorMask_ARG_EXPAND); -void glColorPointer(glColorPointer_ARG_EXPAND); +void glshim_glColorPointer(glColorPointer_ARG_EXPAND); typedef void (*glColorPointer_PTR)(glColorPointer_ARG_EXPAND); -void glCompressedTexImage2D(glCompressedTexImage2D_ARG_EXPAND); +void glshim_glCompressedTexImage2D(glCompressedTexImage2D_ARG_EXPAND); typedef void (*glCompressedTexImage2D_PTR)(glCompressedTexImage2D_ARG_EXPAND); -void glCompressedTexSubImage2D(glCompressedTexSubImage2D_ARG_EXPAND); +void glshim_glCompressedTexSubImage2D(glCompressedTexSubImage2D_ARG_EXPAND); typedef void (*glCompressedTexSubImage2D_PTR)(glCompressedTexSubImage2D_ARG_EXPAND); -void glCopyTexImage2D(glCopyTexImage2D_ARG_EXPAND); +void glshim_glCopyTexImage2D(glCopyTexImage2D_ARG_EXPAND); typedef void (*glCopyTexImage2D_PTR)(glCopyTexImage2D_ARG_EXPAND); -void glCopyTexSubImage2D(glCopyTexSubImage2D_ARG_EXPAND); +void glshim_glCopyTexSubImage2D(glCopyTexSubImage2D_ARG_EXPAND); typedef void (*glCopyTexSubImage2D_PTR)(glCopyTexSubImage2D_ARG_EXPAND); -void glCullFace(glCullFace_ARG_EXPAND); +void glshim_glCullFace(glCullFace_ARG_EXPAND); typedef void (*glCullFace_PTR)(glCullFace_ARG_EXPAND); -void glDeleteBuffers(glDeleteBuffers_ARG_EXPAND); +void glshim_glDeleteBuffers(glDeleteBuffers_ARG_EXPAND); typedef void (*glDeleteBuffers_PTR)(glDeleteBuffers_ARG_EXPAND); -void glDeleteFramebuffers(glDeleteFramebuffers_ARG_EXPAND); +void glshim_glDeleteFramebuffers(glDeleteFramebuffers_ARG_EXPAND); typedef void (*glDeleteFramebuffers_PTR)(glDeleteFramebuffers_ARG_EXPAND); -void glDeleteRenderbuffers(glDeleteRenderbuffers_ARG_EXPAND); +void glshim_glDeleteRenderbuffers(glDeleteRenderbuffers_ARG_EXPAND); typedef void (*glDeleteRenderbuffers_PTR)(glDeleteRenderbuffers_ARG_EXPAND); -void glDeleteTextures(glDeleteTextures_ARG_EXPAND); +void glshim_glDeleteTextures(glDeleteTextures_ARG_EXPAND); typedef void (*glDeleteTextures_PTR)(glDeleteTextures_ARG_EXPAND); -void glDepthFunc(glDepthFunc_ARG_EXPAND); +void glshim_glDepthFunc(glDepthFunc_ARG_EXPAND); typedef void (*glDepthFunc_PTR)(glDepthFunc_ARG_EXPAND); -void glDepthMask(glDepthMask_ARG_EXPAND); +void glshim_glDepthMask(glDepthMask_ARG_EXPAND); typedef void (*glDepthMask_PTR)(glDepthMask_ARG_EXPAND); -void glDepthRangef(glDepthRangef_ARG_EXPAND); +void glshim_glDepthRangef(glDepthRangef_ARG_EXPAND); typedef void (*glDepthRangef_PTR)(glDepthRangef_ARG_EXPAND); -void glDepthRangex(glDepthRangex_ARG_EXPAND); +void glshim_glDepthRangex(glDepthRangex_ARG_EXPAND); typedef void (*glDepthRangex_PTR)(glDepthRangex_ARG_EXPAND); -void glDisable(glDisable_ARG_EXPAND); +void glshim_glDisable(glDisable_ARG_EXPAND); typedef void (*glDisable_PTR)(glDisable_ARG_EXPAND); -void glDisableClientState(glDisableClientState_ARG_EXPAND); +void glshim_glDisableClientState(glDisableClientState_ARG_EXPAND); typedef void (*glDisableClientState_PTR)(glDisableClientState_ARG_EXPAND); -void glDrawArrays(glDrawArrays_ARG_EXPAND); +void glshim_glDrawArrays(glDrawArrays_ARG_EXPAND); typedef void (*glDrawArrays_PTR)(glDrawArrays_ARG_EXPAND); -void glDrawElements(glDrawElements_ARG_EXPAND); +void glshim_glDrawElements(glDrawElements_ARG_EXPAND); typedef void (*glDrawElements_PTR)(glDrawElements_ARG_EXPAND); -void glDrawTexf(glDrawTexf_ARG_EXPAND); +void glshim_glDrawTexf(glDrawTexf_ARG_EXPAND); typedef void (*glDrawTexf_PTR)(glDrawTexf_ARG_EXPAND); -void glDrawTexi(glDrawTexi_ARG_EXPAND); +void glshim_glDrawTexi(glDrawTexi_ARG_EXPAND); typedef void (*glDrawTexi_PTR)(glDrawTexi_ARG_EXPAND); -void glEnable(glEnable_ARG_EXPAND); +void glshim_glEnable(glEnable_ARG_EXPAND); typedef void (*glEnable_PTR)(glEnable_ARG_EXPAND); -void glEnableClientState(glEnableClientState_ARG_EXPAND); +void glshim_glEnableClientState(glEnableClientState_ARG_EXPAND); typedef void (*glEnableClientState_PTR)(glEnableClientState_ARG_EXPAND); -void glFinish(glFinish_ARG_EXPAND); +void glshim_glFinish(glFinish_ARG_EXPAND); typedef void (*glFinish_PTR)(glFinish_ARG_EXPAND); -void glFlush(glFlush_ARG_EXPAND); +void glshim_glFlush(glFlush_ARG_EXPAND); typedef void (*glFlush_PTR)(glFlush_ARG_EXPAND); -void glFogf(glFogf_ARG_EXPAND); +void glshim_glFogf(glFogf_ARG_EXPAND); typedef void (*glFogf_PTR)(glFogf_ARG_EXPAND); -void glFogfv(glFogfv_ARG_EXPAND); +void glshim_glFogfv(glFogfv_ARG_EXPAND); typedef void (*glFogfv_PTR)(glFogfv_ARG_EXPAND); -void glFogx(glFogx_ARG_EXPAND); +void glshim_glFogx(glFogx_ARG_EXPAND); typedef void (*glFogx_PTR)(glFogx_ARG_EXPAND); -void glFogxv(glFogxv_ARG_EXPAND); +void glshim_glFogxv(glFogxv_ARG_EXPAND); typedef void (*glFogxv_PTR)(glFogxv_ARG_EXPAND); -void glFramebufferRenderbuffer(glFramebufferRenderbuffer_ARG_EXPAND); +void glshim_glFramebufferRenderbuffer(glFramebufferRenderbuffer_ARG_EXPAND); typedef void (*glFramebufferRenderbuffer_PTR)(glFramebufferRenderbuffer_ARG_EXPAND); -void glFramebufferTexture2D(glFramebufferTexture2D_ARG_EXPAND); +void glshim_glFramebufferTexture2D(glFramebufferTexture2D_ARG_EXPAND); typedef void (*glFramebufferTexture2D_PTR)(glFramebufferTexture2D_ARG_EXPAND); -void glFrontFace(glFrontFace_ARG_EXPAND); +void glshim_glFrontFace(glFrontFace_ARG_EXPAND); typedef void (*glFrontFace_PTR)(glFrontFace_ARG_EXPAND); -void glFrustumf(glFrustumf_ARG_EXPAND); +void glshim_glFrustumf(glFrustumf_ARG_EXPAND); typedef void (*glFrustumf_PTR)(glFrustumf_ARG_EXPAND); -void glFrustumx(glFrustumx_ARG_EXPAND); +void glshim_glFrustumx(glFrustumx_ARG_EXPAND); typedef void (*glFrustumx_PTR)(glFrustumx_ARG_EXPAND); -void glGenBuffers(glGenBuffers_ARG_EXPAND); +void glshim_glGenBuffers(glGenBuffers_ARG_EXPAND); typedef void (*glGenBuffers_PTR)(glGenBuffers_ARG_EXPAND); -void glGenFramebuffers(glGenFramebuffers_ARG_EXPAND); +void glshim_glGenFramebuffers(glGenFramebuffers_ARG_EXPAND); typedef void (*glGenFramebuffers_PTR)(glGenFramebuffers_ARG_EXPAND); -void glGenRenderbuffers(glGenRenderbuffers_ARG_EXPAND); +void glshim_glGenRenderbuffers(glGenRenderbuffers_ARG_EXPAND); typedef void (*glGenRenderbuffers_PTR)(glGenRenderbuffers_ARG_EXPAND); -void glGenTextures(glGenTextures_ARG_EXPAND); +void glshim_glGenTextures(glGenTextures_ARG_EXPAND); typedef void (*glGenTextures_PTR)(glGenTextures_ARG_EXPAND); -void glGenerateMipmap(glGenerateMipmap_ARG_EXPAND); +void glshim_glGenerateMipmap(glGenerateMipmap_ARG_EXPAND); typedef void (*glGenerateMipmap_PTR)(glGenerateMipmap_ARG_EXPAND); -void glGetBooleanv(glGetBooleanv_ARG_EXPAND); +void glshim_glGetBooleanv(glGetBooleanv_ARG_EXPAND); typedef void (*glGetBooleanv_PTR)(glGetBooleanv_ARG_EXPAND); -void glGetBufferParameteriv(glGetBufferParameteriv_ARG_EXPAND); +void glshim_glGetBufferParameteriv(glGetBufferParameteriv_ARG_EXPAND); typedef void (*glGetBufferParameteriv_PTR)(glGetBufferParameteriv_ARG_EXPAND); -void glGetClipPlanef(glGetClipPlanef_ARG_EXPAND); +void glshim_glGetClipPlanef(glGetClipPlanef_ARG_EXPAND); typedef void (*glGetClipPlanef_PTR)(glGetClipPlanef_ARG_EXPAND); -void glGetClipPlanex(glGetClipPlanex_ARG_EXPAND); +void glshim_glGetClipPlanex(glGetClipPlanex_ARG_EXPAND); typedef void (*glGetClipPlanex_PTR)(glGetClipPlanex_ARG_EXPAND); -GLenum glGetError(glGetError_ARG_EXPAND); +GLenum glshim_glGetError(glGetError_ARG_EXPAND); typedef GLenum (*glGetError_PTR)(glGetError_ARG_EXPAND); -void glGetFixedv(glGetFixedv_ARG_EXPAND); +void glshim_glGetFixedv(glGetFixedv_ARG_EXPAND); typedef void (*glGetFixedv_PTR)(glGetFixedv_ARG_EXPAND); -void glGetFloatv(glGetFloatv_ARG_EXPAND); +void glshim_glGetFloatv(glGetFloatv_ARG_EXPAND); typedef void (*glGetFloatv_PTR)(glGetFloatv_ARG_EXPAND); -void glGetFramebufferAttachmentParameteriv(glGetFramebufferAttachmentParameteriv_ARG_EXPAND); +void glshim_glGetFramebufferAttachmentParameteriv(glGetFramebufferAttachmentParameteriv_ARG_EXPAND); typedef void (*glGetFramebufferAttachmentParameteriv_PTR)(glGetFramebufferAttachmentParameteriv_ARG_EXPAND); -void glGetIntegerv(glGetIntegerv_ARG_EXPAND); +void glshim_glGetIntegerv(glGetIntegerv_ARG_EXPAND); typedef void (*glGetIntegerv_PTR)(glGetIntegerv_ARG_EXPAND); -void glGetLightfv(glGetLightfv_ARG_EXPAND); +void glshim_glGetLightfv(glGetLightfv_ARG_EXPAND); typedef void (*glGetLightfv_PTR)(glGetLightfv_ARG_EXPAND); -void glGetLightxv(glGetLightxv_ARG_EXPAND); +void glshim_glGetLightxv(glGetLightxv_ARG_EXPAND); typedef void (*glGetLightxv_PTR)(glGetLightxv_ARG_EXPAND); -void glGetMaterialfv(glGetMaterialfv_ARG_EXPAND); +void glshim_glGetMaterialfv(glGetMaterialfv_ARG_EXPAND); typedef void (*glGetMaterialfv_PTR)(glGetMaterialfv_ARG_EXPAND); -void glGetMaterialxv(glGetMaterialxv_ARG_EXPAND); +void glshim_glGetMaterialxv(glGetMaterialxv_ARG_EXPAND); typedef void (*glGetMaterialxv_PTR)(glGetMaterialxv_ARG_EXPAND); -void glGetPointerv(glGetPointerv_ARG_EXPAND); +void glshim_glGetPointerv(glGetPointerv_ARG_EXPAND); typedef void (*glGetPointerv_PTR)(glGetPointerv_ARG_EXPAND); -void glGetRenderbufferParameteriv(glGetRenderbufferParameteriv_ARG_EXPAND); +void glshim_glGetRenderbufferParameteriv(glGetRenderbufferParameteriv_ARG_EXPAND); typedef void (*glGetRenderbufferParameteriv_PTR)(glGetRenderbufferParameteriv_ARG_EXPAND); -const GLubyte * glGetString(glGetString_ARG_EXPAND); +const GLubyte * glshim_glGetString(glGetString_ARG_EXPAND); typedef const GLubyte * (*glGetString_PTR)(glGetString_ARG_EXPAND); -void glGetTexEnvfv(glGetTexEnvfv_ARG_EXPAND); +void glshim_glGetTexEnvfv(glGetTexEnvfv_ARG_EXPAND); typedef void (*glGetTexEnvfv_PTR)(glGetTexEnvfv_ARG_EXPAND); -void glGetTexEnviv(glGetTexEnviv_ARG_EXPAND); +void glshim_glGetTexEnviv(glGetTexEnviv_ARG_EXPAND); typedef void (*glGetTexEnviv_PTR)(glGetTexEnviv_ARG_EXPAND); -void glGetTexEnvxv(glGetTexEnvxv_ARG_EXPAND); +void glshim_glGetTexEnvxv(glGetTexEnvxv_ARG_EXPAND); typedef void (*glGetTexEnvxv_PTR)(glGetTexEnvxv_ARG_EXPAND); -void glGetTexParameterfv(glGetTexParameterfv_ARG_EXPAND); +void glshim_glGetTexParameterfv(glGetTexParameterfv_ARG_EXPAND); typedef void (*glGetTexParameterfv_PTR)(glGetTexParameterfv_ARG_EXPAND); -void glGetTexParameteriv(glGetTexParameteriv_ARG_EXPAND); +void glshim_glGetTexParameteriv(glGetTexParameteriv_ARG_EXPAND); typedef void (*glGetTexParameteriv_PTR)(glGetTexParameteriv_ARG_EXPAND); -void glGetTexParameterxv(glGetTexParameterxv_ARG_EXPAND); +void glshim_glGetTexParameterxv(glGetTexParameterxv_ARG_EXPAND); typedef void (*glGetTexParameterxv_PTR)(glGetTexParameterxv_ARG_EXPAND); -void glHint(glHint_ARG_EXPAND); +void glshim_glHint(glHint_ARG_EXPAND); typedef void (*glHint_PTR)(glHint_ARG_EXPAND); -GLboolean glIsBuffer(glIsBuffer_ARG_EXPAND); +GLboolean glshim_glIsBuffer(glIsBuffer_ARG_EXPAND); typedef GLboolean (*glIsBuffer_PTR)(glIsBuffer_ARG_EXPAND); -GLboolean glIsEnabled(glIsEnabled_ARG_EXPAND); +GLboolean glshim_glIsEnabled(glIsEnabled_ARG_EXPAND); typedef GLboolean (*glIsEnabled_PTR)(glIsEnabled_ARG_EXPAND); -GLboolean glIsFramebuffer(glIsFramebuffer_ARG_EXPAND); +GLboolean glshim_glIsFramebuffer(glIsFramebuffer_ARG_EXPAND); typedef GLboolean (*glIsFramebuffer_PTR)(glIsFramebuffer_ARG_EXPAND); -GLboolean glIsRenderbuffer(glIsRenderbuffer_ARG_EXPAND); +GLboolean glshim_glIsRenderbuffer(glIsRenderbuffer_ARG_EXPAND); typedef GLboolean (*glIsRenderbuffer_PTR)(glIsRenderbuffer_ARG_EXPAND); -GLboolean glIsTexture(glIsTexture_ARG_EXPAND); +GLboolean glshim_glIsTexture(glIsTexture_ARG_EXPAND); typedef GLboolean (*glIsTexture_PTR)(glIsTexture_ARG_EXPAND); -void glLightModelf(glLightModelf_ARG_EXPAND); +void glshim_glLightModelf(glLightModelf_ARG_EXPAND); typedef void (*glLightModelf_PTR)(glLightModelf_ARG_EXPAND); -void glLightModelfv(glLightModelfv_ARG_EXPAND); +void glshim_glLightModelfv(glLightModelfv_ARG_EXPAND); typedef void (*glLightModelfv_PTR)(glLightModelfv_ARG_EXPAND); -void glLightModelx(glLightModelx_ARG_EXPAND); +void glshim_glLightModelx(glLightModelx_ARG_EXPAND); typedef void (*glLightModelx_PTR)(glLightModelx_ARG_EXPAND); -void glLightModelxv(glLightModelxv_ARG_EXPAND); +void glshim_glLightModelxv(glLightModelxv_ARG_EXPAND); typedef void (*glLightModelxv_PTR)(glLightModelxv_ARG_EXPAND); -void glLightf(glLightf_ARG_EXPAND); +void glshim_glLightf(glLightf_ARG_EXPAND); typedef void (*glLightf_PTR)(glLightf_ARG_EXPAND); -void glLightfv(glLightfv_ARG_EXPAND); +void glshim_glLightfv(glLightfv_ARG_EXPAND); typedef void (*glLightfv_PTR)(glLightfv_ARG_EXPAND); -void glLightx(glLightx_ARG_EXPAND); +void glshim_glLightx(glLightx_ARG_EXPAND); typedef void (*glLightx_PTR)(glLightx_ARG_EXPAND); -void glLightxv(glLightxv_ARG_EXPAND); +void glshim_glLightxv(glLightxv_ARG_EXPAND); typedef void (*glLightxv_PTR)(glLightxv_ARG_EXPAND); -void glLineWidth(glLineWidth_ARG_EXPAND); +void glshim_glLineWidth(glLineWidth_ARG_EXPAND); typedef void (*glLineWidth_PTR)(glLineWidth_ARG_EXPAND); -void glLineWidthx(glLineWidthx_ARG_EXPAND); +void glshim_glLineWidthx(glLineWidthx_ARG_EXPAND); typedef void (*glLineWidthx_PTR)(glLineWidthx_ARG_EXPAND); -void glLoadIdentity(glLoadIdentity_ARG_EXPAND); +void glshim_glLoadIdentity(glLoadIdentity_ARG_EXPAND); typedef void (*glLoadIdentity_PTR)(glLoadIdentity_ARG_EXPAND); -void glLoadMatrixf(glLoadMatrixf_ARG_EXPAND); +void glshim_glLoadMatrixf(glLoadMatrixf_ARG_EXPAND); typedef void (*glLoadMatrixf_PTR)(glLoadMatrixf_ARG_EXPAND); -void glLoadMatrixx(glLoadMatrixx_ARG_EXPAND); +void glshim_glLoadMatrixx(glLoadMatrixx_ARG_EXPAND); typedef void (*glLoadMatrixx_PTR)(glLoadMatrixx_ARG_EXPAND); -void glLogicOp(glLogicOp_ARG_EXPAND); +void glshim_glLogicOp(glLogicOp_ARG_EXPAND); typedef void (*glLogicOp_PTR)(glLogicOp_ARG_EXPAND); -void glMaterialf(glMaterialf_ARG_EXPAND); +void glshim_glMaterialf(glMaterialf_ARG_EXPAND); typedef void (*glMaterialf_PTR)(glMaterialf_ARG_EXPAND); -void glMaterialfv(glMaterialfv_ARG_EXPAND); +void glshim_glMaterialfv(glMaterialfv_ARG_EXPAND); typedef void (*glMaterialfv_PTR)(glMaterialfv_ARG_EXPAND); -void glMaterialx(glMaterialx_ARG_EXPAND); +void glshim_glMaterialx(glMaterialx_ARG_EXPAND); typedef void (*glMaterialx_PTR)(glMaterialx_ARG_EXPAND); -void glMaterialxv(glMaterialxv_ARG_EXPAND); +void glshim_glMaterialxv(glMaterialxv_ARG_EXPAND); typedef void (*glMaterialxv_PTR)(glMaterialxv_ARG_EXPAND); -void glMatrixMode(glMatrixMode_ARG_EXPAND); +void glshim_glMatrixMode(glMatrixMode_ARG_EXPAND); typedef void (*glMatrixMode_PTR)(glMatrixMode_ARG_EXPAND); -void glMultMatrixf(glMultMatrixf_ARG_EXPAND); +void glshim_glMultMatrixf(glMultMatrixf_ARG_EXPAND); typedef void (*glMultMatrixf_PTR)(glMultMatrixf_ARG_EXPAND); -void glMultMatrixx(glMultMatrixx_ARG_EXPAND); +void glshim_glMultMatrixx(glMultMatrixx_ARG_EXPAND); typedef void (*glMultMatrixx_PTR)(glMultMatrixx_ARG_EXPAND); -void glMultiTexCoord4f(glMultiTexCoord4f_ARG_EXPAND); +void glshim_glMultiTexCoord4f(glMultiTexCoord4f_ARG_EXPAND); typedef void (*glMultiTexCoord4f_PTR)(glMultiTexCoord4f_ARG_EXPAND); -void glMultiTexCoord4x(glMultiTexCoord4x_ARG_EXPAND); +void glshim_glMultiTexCoord4x(glMultiTexCoord4x_ARG_EXPAND); typedef void (*glMultiTexCoord4x_PTR)(glMultiTexCoord4x_ARG_EXPAND); -void glNormal3f(glNormal3f_ARG_EXPAND); +void glshim_glNormal3f(glNormal3f_ARG_EXPAND); typedef void (*glNormal3f_PTR)(glNormal3f_ARG_EXPAND); -void glNormal3x(glNormal3x_ARG_EXPAND); +void glshim_glNormal3x(glNormal3x_ARG_EXPAND); typedef void (*glNormal3x_PTR)(glNormal3x_ARG_EXPAND); -void glNormalPointer(glNormalPointer_ARG_EXPAND); +void glshim_glNormalPointer(glNormalPointer_ARG_EXPAND); typedef void (*glNormalPointer_PTR)(glNormalPointer_ARG_EXPAND); -void glOrthof(glOrthof_ARG_EXPAND); +void glshim_glOrthof(glOrthof_ARG_EXPAND); typedef void (*glOrthof_PTR)(glOrthof_ARG_EXPAND); -void glOrthox(glOrthox_ARG_EXPAND); +void glshim_glOrthox(glOrthox_ARG_EXPAND); typedef void (*glOrthox_PTR)(glOrthox_ARG_EXPAND); -void glPixelStorei(glPixelStorei_ARG_EXPAND); +void glshim_glPixelStorei(glPixelStorei_ARG_EXPAND); typedef void (*glPixelStorei_PTR)(glPixelStorei_ARG_EXPAND); -void glPointParameterf(glPointParameterf_ARG_EXPAND); +void glshim_glPointParameterf(glPointParameterf_ARG_EXPAND); typedef void (*glPointParameterf_PTR)(glPointParameterf_ARG_EXPAND); -void glPointParameterfv(glPointParameterfv_ARG_EXPAND); +void glshim_glPointParameterfv(glPointParameterfv_ARG_EXPAND); typedef void (*glPointParameterfv_PTR)(glPointParameterfv_ARG_EXPAND); -void glPointParameterx(glPointParameterx_ARG_EXPAND); +void glshim_glPointParameterx(glPointParameterx_ARG_EXPAND); typedef void (*glPointParameterx_PTR)(glPointParameterx_ARG_EXPAND); -void glPointParameterxv(glPointParameterxv_ARG_EXPAND); +void glshim_glPointParameterxv(glPointParameterxv_ARG_EXPAND); typedef void (*glPointParameterxv_PTR)(glPointParameterxv_ARG_EXPAND); -void glPointSize(glPointSize_ARG_EXPAND); +void glshim_glPointSize(glPointSize_ARG_EXPAND); typedef void (*glPointSize_PTR)(glPointSize_ARG_EXPAND); -void glPointSizePointerOES(glPointSizePointerOES_ARG_EXPAND); +void glshim_glPointSizePointerOES(glPointSizePointerOES_ARG_EXPAND); typedef void (*glPointSizePointerOES_PTR)(glPointSizePointerOES_ARG_EXPAND); -void glPointSizex(glPointSizex_ARG_EXPAND); +void glshim_glPointSizex(glPointSizex_ARG_EXPAND); typedef void (*glPointSizex_PTR)(glPointSizex_ARG_EXPAND); -void glPolygonOffset(glPolygonOffset_ARG_EXPAND); +void glshim_glPolygonOffset(glPolygonOffset_ARG_EXPAND); typedef void (*glPolygonOffset_PTR)(glPolygonOffset_ARG_EXPAND); -void glPolygonOffsetx(glPolygonOffsetx_ARG_EXPAND); +void glshim_glPolygonOffsetx(glPolygonOffsetx_ARG_EXPAND); typedef void (*glPolygonOffsetx_PTR)(glPolygonOffsetx_ARG_EXPAND); -void glPopMatrix(glPopMatrix_ARG_EXPAND); +void glshim_glPopMatrix(glPopMatrix_ARG_EXPAND); typedef void (*glPopMatrix_PTR)(glPopMatrix_ARG_EXPAND); -void glPushMatrix(glPushMatrix_ARG_EXPAND); +void glshim_glPushMatrix(glPushMatrix_ARG_EXPAND); typedef void (*glPushMatrix_PTR)(glPushMatrix_ARG_EXPAND); -void glReadPixels(glReadPixels_ARG_EXPAND); +void glshim_glReadPixels(glReadPixels_ARG_EXPAND); typedef void (*glReadPixels_PTR)(glReadPixels_ARG_EXPAND); -void glRenderbufferStorage(glRenderbufferStorage_ARG_EXPAND); +void glshim_glRenderbufferStorage(glRenderbufferStorage_ARG_EXPAND); typedef void (*glRenderbufferStorage_PTR)(glRenderbufferStorage_ARG_EXPAND); -void glRotatef(glRotatef_ARG_EXPAND); +void glshim_glRotatef(glRotatef_ARG_EXPAND); typedef void (*glRotatef_PTR)(glRotatef_ARG_EXPAND); -void glRotatex(glRotatex_ARG_EXPAND); +void glshim_glRotatex(glRotatex_ARG_EXPAND); typedef void (*glRotatex_PTR)(glRotatex_ARG_EXPAND); -void glSampleCoverage(glSampleCoverage_ARG_EXPAND); +void glshim_glSampleCoverage(glSampleCoverage_ARG_EXPAND); typedef void (*glSampleCoverage_PTR)(glSampleCoverage_ARG_EXPAND); -void glSampleCoveragex(glSampleCoveragex_ARG_EXPAND); +void glshim_glSampleCoveragex(glSampleCoveragex_ARG_EXPAND); typedef void (*glSampleCoveragex_PTR)(glSampleCoveragex_ARG_EXPAND); -void glScalef(glScalef_ARG_EXPAND); +void glshim_glScalef(glScalef_ARG_EXPAND); typedef void (*glScalef_PTR)(glScalef_ARG_EXPAND); -void glScalex(glScalex_ARG_EXPAND); +void glshim_glScalex(glScalex_ARG_EXPAND); typedef void (*glScalex_PTR)(glScalex_ARG_EXPAND); -void glScissor(glScissor_ARG_EXPAND); +void glshim_glScissor(glScissor_ARG_EXPAND); typedef void (*glScissor_PTR)(glScissor_ARG_EXPAND); -void glShadeModel(glShadeModel_ARG_EXPAND); +void glshim_glShadeModel(glShadeModel_ARG_EXPAND); typedef void (*glShadeModel_PTR)(glShadeModel_ARG_EXPAND); -void glStencilFunc(glStencilFunc_ARG_EXPAND); +void glshim_glStencilFunc(glStencilFunc_ARG_EXPAND); typedef void (*glStencilFunc_PTR)(glStencilFunc_ARG_EXPAND); -void glStencilMask(glStencilMask_ARG_EXPAND); +void glshim_glStencilMask(glStencilMask_ARG_EXPAND); typedef void (*glStencilMask_PTR)(glStencilMask_ARG_EXPAND); -void glStencilOp(glStencilOp_ARG_EXPAND); +void glshim_glStencilOp(glStencilOp_ARG_EXPAND); typedef void (*glStencilOp_PTR)(glStencilOp_ARG_EXPAND); -void glTexCoordPointer(glTexCoordPointer_ARG_EXPAND); +void glshim_glTexCoordPointer(glTexCoordPointer_ARG_EXPAND); typedef void (*glTexCoordPointer_PTR)(glTexCoordPointer_ARG_EXPAND); -void glTexEnvf(glTexEnvf_ARG_EXPAND); +void glshim_glTexEnvf(glTexEnvf_ARG_EXPAND); typedef void (*glTexEnvf_PTR)(glTexEnvf_ARG_EXPAND); -void glTexEnvfv(glTexEnvfv_ARG_EXPAND); +void glshim_glTexEnvfv(glTexEnvfv_ARG_EXPAND); typedef void (*glTexEnvfv_PTR)(glTexEnvfv_ARG_EXPAND); -void glTexEnvi(glTexEnvi_ARG_EXPAND); +void glshim_glTexEnvi(glTexEnvi_ARG_EXPAND); typedef void (*glTexEnvi_PTR)(glTexEnvi_ARG_EXPAND); -void glTexEnviv(glTexEnviv_ARG_EXPAND); +void glshim_glTexEnviv(glTexEnviv_ARG_EXPAND); typedef void (*glTexEnviv_PTR)(glTexEnviv_ARG_EXPAND); -void glTexEnvx(glTexEnvx_ARG_EXPAND); +void glshim_glTexEnvx(glTexEnvx_ARG_EXPAND); typedef void (*glTexEnvx_PTR)(glTexEnvx_ARG_EXPAND); -void glTexEnvxv(glTexEnvxv_ARG_EXPAND); +void glshim_glTexEnvxv(glTexEnvxv_ARG_EXPAND); typedef void (*glTexEnvxv_PTR)(glTexEnvxv_ARG_EXPAND); -void glTexGenfv(glTexGenfv_ARG_EXPAND); +void glshim_glTexGenfv(glTexGenfv_ARG_EXPAND); typedef void (*glTexGenfv_PTR)(glTexGenfv_ARG_EXPAND); -void glTexGeni(glTexGeni_ARG_EXPAND); +void glshim_glTexGeni(glTexGeni_ARG_EXPAND); typedef void (*glTexGeni_PTR)(glTexGeni_ARG_EXPAND); -void glTexImage2D(glTexImage2D_ARG_EXPAND); +void glshim_glTexImage2D(glTexImage2D_ARG_EXPAND); typedef void (*glTexImage2D_PTR)(glTexImage2D_ARG_EXPAND); -void glTexParameterf(glTexParameterf_ARG_EXPAND); +void glshim_glTexParameterf(glTexParameterf_ARG_EXPAND); typedef void (*glTexParameterf_PTR)(glTexParameterf_ARG_EXPAND); -void glTexParameterfv(glTexParameterfv_ARG_EXPAND); +void glshim_glTexParameterfv(glTexParameterfv_ARG_EXPAND); typedef void (*glTexParameterfv_PTR)(glTexParameterfv_ARG_EXPAND); -void glTexParameteri(glTexParameteri_ARG_EXPAND); +void glshim_glTexParameteri(glTexParameteri_ARG_EXPAND); typedef void (*glTexParameteri_PTR)(glTexParameteri_ARG_EXPAND); -void glTexParameteriv(glTexParameteriv_ARG_EXPAND); +void glshim_glTexParameteriv(glTexParameteriv_ARG_EXPAND); typedef void (*glTexParameteriv_PTR)(glTexParameteriv_ARG_EXPAND); -void glTexParameterx(glTexParameterx_ARG_EXPAND); +void glshim_glTexParameterx(glTexParameterx_ARG_EXPAND); typedef void (*glTexParameterx_PTR)(glTexParameterx_ARG_EXPAND); -void glTexParameterxv(glTexParameterxv_ARG_EXPAND); +void glshim_glTexParameterxv(glTexParameterxv_ARG_EXPAND); typedef void (*glTexParameterxv_PTR)(glTexParameterxv_ARG_EXPAND); -void glTexSubImage2D(glTexSubImage2D_ARG_EXPAND); +void glshim_glTexSubImage2D(glTexSubImage2D_ARG_EXPAND); typedef void (*glTexSubImage2D_PTR)(glTexSubImage2D_ARG_EXPAND); -void glTranslatef(glTranslatef_ARG_EXPAND); +void glshim_glTranslatef(glTranslatef_ARG_EXPAND); typedef void (*glTranslatef_PTR)(glTranslatef_ARG_EXPAND); -void glTranslatex(glTranslatex_ARG_EXPAND); +void glshim_glTranslatex(glTranslatex_ARG_EXPAND); typedef void (*glTranslatex_PTR)(glTranslatex_ARG_EXPAND); -void glVertexPointer(glVertexPointer_ARG_EXPAND); +void glshim_glVertexPointer(glVertexPointer_ARG_EXPAND); typedef void (*glVertexPointer_PTR)(glVertexPointer_ARG_EXPAND); -void glViewport(glViewport_ARG_EXPAND); +void glshim_glViewport(glViewport_ARG_EXPAND); typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); @@ -2873,7 +2873,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glActiveTexture(texture) { \ glActiveTexture_PACKED *packed_data = malloc(sizeof(glActiveTexture_PACKED)); \ packed_data->format = glActiveTexture_FORMAT; \ - packed_data->func = glActiveTexture; \ + packed_data->func = glshim_glActiveTexture; \ packed_data->args.a1 = (GLenum)texture; \ glPushCall((void *)packed_data); \ } @@ -2882,7 +2882,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glAlphaFunc(func, ref) { \ glAlphaFunc_PACKED *packed_data = malloc(sizeof(glAlphaFunc_PACKED)); \ packed_data->format = glAlphaFunc_FORMAT; \ - packed_data->func = glAlphaFunc; \ + packed_data->func = glshim_glAlphaFunc; \ packed_data->args.a1 = (GLenum)func; \ packed_data->args.a2 = (GLclampf)ref; \ glPushCall((void *)packed_data); \ @@ -2892,7 +2892,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glAlphaFuncx(func, ref) { \ glAlphaFuncx_PACKED *packed_data = malloc(sizeof(glAlphaFuncx_PACKED)); \ packed_data->format = glAlphaFuncx_FORMAT; \ - packed_data->func = glAlphaFuncx; \ + packed_data->func = glshim_glAlphaFuncx; \ packed_data->args.a1 = (GLenum)func; \ packed_data->args.a2 = (GLclampx)ref; \ glPushCall((void *)packed_data); \ @@ -2902,7 +2902,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBindBuffer(target, buffer) { \ glBindBuffer_PACKED *packed_data = malloc(sizeof(glBindBuffer_PACKED)); \ packed_data->format = glBindBuffer_FORMAT; \ - packed_data->func = glBindBuffer; \ + packed_data->func = glshim_glBindBuffer; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLuint)buffer; \ glPushCall((void *)packed_data); \ @@ -2912,7 +2912,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBindFramebuffer(target, framebuffer) { \ glBindFramebuffer_PACKED *packed_data = malloc(sizeof(glBindFramebuffer_PACKED)); \ packed_data->format = glBindFramebuffer_FORMAT; \ - packed_data->func = glBindFramebuffer; \ + packed_data->func = glshim_glBindFramebuffer; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLuint)framebuffer; \ glPushCall((void *)packed_data); \ @@ -2922,7 +2922,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBindRenderbuffer(target, renderbuffer) { \ glBindRenderbuffer_PACKED *packed_data = malloc(sizeof(glBindRenderbuffer_PACKED)); \ packed_data->format = glBindRenderbuffer_FORMAT; \ - packed_data->func = glBindRenderbuffer; \ + packed_data->func = glshim_glBindRenderbuffer; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLuint)renderbuffer; \ glPushCall((void *)packed_data); \ @@ -2932,7 +2932,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBindTexture(target, texture) { \ glBindTexture_PACKED *packed_data = malloc(sizeof(glBindTexture_PACKED)); \ packed_data->format = glBindTexture_FORMAT; \ - packed_data->func = glBindTexture; \ + packed_data->func = glshim_glBindTexture; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLuint)texture; \ glPushCall((void *)packed_data); \ @@ -2942,7 +2942,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBlendColor(red, green, blue, alpha) { \ glBlendColor_PACKED *packed_data = malloc(sizeof(glBlendColor_PACKED)); \ packed_data->format = glBlendColor_FORMAT; \ - packed_data->func = glBlendColor; \ + packed_data->func = glshim_glBlendColor; \ packed_data->args.a1 = (GLclampf)red; \ packed_data->args.a2 = (GLclampf)green; \ packed_data->args.a3 = (GLclampf)blue; \ @@ -2954,7 +2954,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBlendEquation(mode) { \ glBlendEquation_PACKED *packed_data = malloc(sizeof(glBlendEquation_PACKED)); \ packed_data->format = glBlendEquation_FORMAT; \ - packed_data->func = glBlendEquation; \ + packed_data->func = glshim_glBlendEquation; \ packed_data->args.a1 = (GLenum)mode; \ glPushCall((void *)packed_data); \ } @@ -2963,7 +2963,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBlendEquationSeparate(modeRGB, modeA) { \ glBlendEquationSeparate_PACKED *packed_data = malloc(sizeof(glBlendEquationSeparate_PACKED)); \ packed_data->format = glBlendEquationSeparate_FORMAT; \ - packed_data->func = glBlendEquationSeparate; \ + packed_data->func = glshim_glBlendEquationSeparate; \ packed_data->args.a1 = (GLenum)modeRGB; \ packed_data->args.a2 = (GLenum)modeA; \ glPushCall((void *)packed_data); \ @@ -2973,7 +2973,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBlendFunc(sfactor, dfactor) { \ glBlendFunc_PACKED *packed_data = malloc(sizeof(glBlendFunc_PACKED)); \ packed_data->format = glBlendFunc_FORMAT; \ - packed_data->func = glBlendFunc; \ + packed_data->func = glshim_glBlendFunc; \ packed_data->args.a1 = (GLenum)sfactor; \ packed_data->args.a2 = (GLenum)dfactor; \ glPushCall((void *)packed_data); \ @@ -2983,7 +2983,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha) { \ glBlendFuncSeparate_PACKED *packed_data = malloc(sizeof(glBlendFuncSeparate_PACKED)); \ packed_data->format = glBlendFuncSeparate_FORMAT; \ - packed_data->func = glBlendFuncSeparate; \ + packed_data->func = glshim_glBlendFuncSeparate; \ packed_data->args.a1 = (GLenum)sfactorRGB; \ packed_data->args.a2 = (GLenum)dfactorRGB; \ packed_data->args.a3 = (GLenum)sfactorAlpha; \ @@ -2995,7 +2995,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBufferData(target, size, data, usage) { \ glBufferData_PACKED *packed_data = malloc(sizeof(glBufferData_PACKED)); \ packed_data->format = glBufferData_FORMAT; \ - packed_data->func = glBufferData; \ + packed_data->func = glshim_glBufferData; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLsizeiptr)size; \ packed_data->args.a3 = (GLvoid *)data; \ @@ -3007,7 +3007,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBufferSubData(target, offset, size, data) { \ glBufferSubData_PACKED *packed_data = malloc(sizeof(glBufferSubData_PACKED)); \ packed_data->format = glBufferSubData_FORMAT; \ - packed_data->func = glBufferSubData; \ + packed_data->func = glshim_glBufferSubData; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLintptr)offset; \ packed_data->args.a3 = (GLsizeiptr)size; \ @@ -3019,7 +3019,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glCheckFramebufferStatus(target) { \ glCheckFramebufferStatus_PACKED *packed_data = malloc(sizeof(glCheckFramebufferStatus_PACKED)); \ packed_data->format = glCheckFramebufferStatus_FORMAT; \ - packed_data->func = glCheckFramebufferStatus; \ + packed_data->func = glshim_glCheckFramebufferStatus; \ packed_data->args.a1 = (GLenum)target; \ glPushCall((void *)packed_data); \ } @@ -3028,7 +3028,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glClear(mask) { \ glClear_PACKED *packed_data = malloc(sizeof(glClear_PACKED)); \ packed_data->format = glClear_FORMAT; \ - packed_data->func = glClear; \ + packed_data->func = glshim_glClear; \ packed_data->args.a1 = (GLbitfield)mask; \ glPushCall((void *)packed_data); \ } @@ -3037,7 +3037,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glClearColor(red, green, blue, alpha) { \ glClearColor_PACKED *packed_data = malloc(sizeof(glClearColor_PACKED)); \ packed_data->format = glClearColor_FORMAT; \ - packed_data->func = glClearColor; \ + packed_data->func = glshim_glClearColor; \ packed_data->args.a1 = (GLclampf)red; \ packed_data->args.a2 = (GLclampf)green; \ packed_data->args.a3 = (GLclampf)blue; \ @@ -3049,7 +3049,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glClearColorx(red, green, blue, alpha) { \ glClearColorx_PACKED *packed_data = malloc(sizeof(glClearColorx_PACKED)); \ packed_data->format = glClearColorx_FORMAT; \ - packed_data->func = glClearColorx; \ + packed_data->func = glshim_glClearColorx; \ packed_data->args.a1 = (GLclampx)red; \ packed_data->args.a2 = (GLclampx)green; \ packed_data->args.a3 = (GLclampx)blue; \ @@ -3061,7 +3061,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glClearDepthf(depth) { \ glClearDepthf_PACKED *packed_data = malloc(sizeof(glClearDepthf_PACKED)); \ packed_data->format = glClearDepthf_FORMAT; \ - packed_data->func = glClearDepthf; \ + packed_data->func = glshim_glClearDepthf; \ packed_data->args.a1 = (GLclampf)depth; \ glPushCall((void *)packed_data); \ } @@ -3070,7 +3070,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glClearDepthx(depth) { \ glClearDepthx_PACKED *packed_data = malloc(sizeof(glClearDepthx_PACKED)); \ packed_data->format = glClearDepthx_FORMAT; \ - packed_data->func = glClearDepthx; \ + packed_data->func = glshim_glClearDepthx; \ packed_data->args.a1 = (GLclampx)depth; \ glPushCall((void *)packed_data); \ } @@ -3079,7 +3079,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glClearStencil(s) { \ glClearStencil_PACKED *packed_data = malloc(sizeof(glClearStencil_PACKED)); \ packed_data->format = glClearStencil_FORMAT; \ - packed_data->func = glClearStencil; \ + packed_data->func = glshim_glClearStencil; \ packed_data->args.a1 = (GLint)s; \ glPushCall((void *)packed_data); \ } @@ -3088,7 +3088,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glClientActiveTexture(texture) { \ glClientActiveTexture_PACKED *packed_data = malloc(sizeof(glClientActiveTexture_PACKED)); \ packed_data->format = glClientActiveTexture_FORMAT; \ - packed_data->func = glClientActiveTexture; \ + packed_data->func = glshim_glClientActiveTexture; \ packed_data->args.a1 = (GLenum)texture; \ glPushCall((void *)packed_data); \ } @@ -3097,7 +3097,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glClipPlanef(plane, equation) { \ glClipPlanef_PACKED *packed_data = malloc(sizeof(glClipPlanef_PACKED)); \ packed_data->format = glClipPlanef_FORMAT; \ - packed_data->func = glClipPlanef; \ + packed_data->func = glshim_glClipPlanef; \ packed_data->args.a1 = (GLenum)plane; \ packed_data->args.a2 = (GLfloat *)equation; \ glPushCall((void *)packed_data); \ @@ -3107,7 +3107,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glClipPlanex(plane, equation) { \ glClipPlanex_PACKED *packed_data = malloc(sizeof(glClipPlanex_PACKED)); \ packed_data->format = glClipPlanex_FORMAT; \ - packed_data->func = glClipPlanex; \ + packed_data->func = glshim_glClipPlanex; \ packed_data->args.a1 = (GLenum)plane; \ packed_data->args.a2 = (GLfixed *)equation; \ glPushCall((void *)packed_data); \ @@ -3117,7 +3117,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glColor4f(red, green, blue, alpha) { \ glColor4f_PACKED *packed_data = malloc(sizeof(glColor4f_PACKED)); \ packed_data->format = glColor4f_FORMAT; \ - packed_data->func = glColor4f; \ + packed_data->func = glshim_glColor4f; \ packed_data->args.a1 = (GLfloat)red; \ packed_data->args.a2 = (GLfloat)green; \ packed_data->args.a3 = (GLfloat)blue; \ @@ -3129,7 +3129,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glColor4ub(red, green, blue, alpha) { \ glColor4ub_PACKED *packed_data = malloc(sizeof(glColor4ub_PACKED)); \ packed_data->format = glColor4ub_FORMAT; \ - packed_data->func = glColor4ub; \ + packed_data->func = glshim_glColor4ub; \ packed_data->args.a1 = (GLubyte)red; \ packed_data->args.a2 = (GLubyte)green; \ packed_data->args.a3 = (GLubyte)blue; \ @@ -3141,7 +3141,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glColor4x(red, green, blue, alpha) { \ glColor4x_PACKED *packed_data = malloc(sizeof(glColor4x_PACKED)); \ packed_data->format = glColor4x_FORMAT; \ - packed_data->func = glColor4x; \ + packed_data->func = glshim_glColor4x; \ packed_data->args.a1 = (GLfixed)red; \ packed_data->args.a2 = (GLfixed)green; \ packed_data->args.a3 = (GLfixed)blue; \ @@ -3153,7 +3153,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glColorMask(red, green, blue, alpha) { \ glColorMask_PACKED *packed_data = malloc(sizeof(glColorMask_PACKED)); \ packed_data->format = glColorMask_FORMAT; \ - packed_data->func = glColorMask; \ + packed_data->func = glshim_glColorMask; \ packed_data->args.a1 = (GLboolean)red; \ packed_data->args.a2 = (GLboolean)green; \ packed_data->args.a3 = (GLboolean)blue; \ @@ -3165,7 +3165,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glColorPointer(size, type, stride, pointer) { \ glColorPointer_PACKED *packed_data = malloc(sizeof(glColorPointer_PACKED)); \ packed_data->format = glColorPointer_FORMAT; \ - packed_data->func = glColorPointer; \ + packed_data->func = glshim_glColorPointer; \ packed_data->args.a1 = (GLint)size; \ packed_data->args.a2 = (GLenum)type; \ packed_data->args.a3 = (GLsizei)stride; \ @@ -3177,7 +3177,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data) { \ glCompressedTexImage2D_PACKED *packed_data = malloc(sizeof(glCompressedTexImage2D_PACKED)); \ packed_data->format = glCompressedTexImage2D_FORMAT; \ - packed_data->func = glCompressedTexImage2D; \ + packed_data->func = glshim_glCompressedTexImage2D; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLint)level; \ packed_data->args.a3 = (GLenum)internalformat; \ @@ -3193,7 +3193,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data) { \ glCompressedTexSubImage2D_PACKED *packed_data = malloc(sizeof(glCompressedTexSubImage2D_PACKED)); \ packed_data->format = glCompressedTexSubImage2D_FORMAT; \ - packed_data->func = glCompressedTexSubImage2D; \ + packed_data->func = glshim_glCompressedTexSubImage2D; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLint)level; \ packed_data->args.a3 = (GLint)xoffset; \ @@ -3210,7 +3210,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glCopyTexImage2D(target, level, internalformat, x, y, width, height, border) { \ glCopyTexImage2D_PACKED *packed_data = malloc(sizeof(glCopyTexImage2D_PACKED)); \ packed_data->format = glCopyTexImage2D_FORMAT; \ - packed_data->func = glCopyTexImage2D; \ + packed_data->func = glshim_glCopyTexImage2D; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLint)level; \ packed_data->args.a3 = (GLenum)internalformat; \ @@ -3226,7 +3226,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height) { \ glCopyTexSubImage2D_PACKED *packed_data = malloc(sizeof(glCopyTexSubImage2D_PACKED)); \ packed_data->format = glCopyTexSubImage2D_FORMAT; \ - packed_data->func = glCopyTexSubImage2D; \ + packed_data->func = glshim_glCopyTexSubImage2D; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLint)level; \ packed_data->args.a3 = (GLint)xoffset; \ @@ -3242,7 +3242,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glCullFace(mode) { \ glCullFace_PACKED *packed_data = malloc(sizeof(glCullFace_PACKED)); \ packed_data->format = glCullFace_FORMAT; \ - packed_data->func = glCullFace; \ + packed_data->func = glshim_glCullFace; \ packed_data->args.a1 = (GLenum)mode; \ glPushCall((void *)packed_data); \ } @@ -3251,7 +3251,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDeleteBuffers(n, buffers) { \ glDeleteBuffers_PACKED *packed_data = malloc(sizeof(glDeleteBuffers_PACKED)); \ packed_data->format = glDeleteBuffers_FORMAT; \ - packed_data->func = glDeleteBuffers; \ + packed_data->func = glshim_glDeleteBuffers; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)buffers; \ glPushCall((void *)packed_data); \ @@ -3261,7 +3261,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDeleteFramebuffers(n, framebuffers) { \ glDeleteFramebuffers_PACKED *packed_data = malloc(sizeof(glDeleteFramebuffers_PACKED)); \ packed_data->format = glDeleteFramebuffers_FORMAT; \ - packed_data->func = glDeleteFramebuffers; \ + packed_data->func = glshim_glDeleteFramebuffers; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)framebuffers; \ glPushCall((void *)packed_data); \ @@ -3271,7 +3271,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDeleteRenderbuffers(n, renderbuffers) { \ glDeleteRenderbuffers_PACKED *packed_data = malloc(sizeof(glDeleteRenderbuffers_PACKED)); \ packed_data->format = glDeleteRenderbuffers_FORMAT; \ - packed_data->func = glDeleteRenderbuffers; \ + packed_data->func = glshim_glDeleteRenderbuffers; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)renderbuffers; \ glPushCall((void *)packed_data); \ @@ -3281,7 +3281,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDeleteTextures(n, textures) { \ glDeleteTextures_PACKED *packed_data = malloc(sizeof(glDeleteTextures_PACKED)); \ packed_data->format = glDeleteTextures_FORMAT; \ - packed_data->func = glDeleteTextures; \ + packed_data->func = glshim_glDeleteTextures; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)textures; \ glPushCall((void *)packed_data); \ @@ -3291,7 +3291,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDepthFunc(func) { \ glDepthFunc_PACKED *packed_data = malloc(sizeof(glDepthFunc_PACKED)); \ packed_data->format = glDepthFunc_FORMAT; \ - packed_data->func = glDepthFunc; \ + packed_data->func = glshim_glDepthFunc; \ packed_data->args.a1 = (GLenum)func; \ glPushCall((void *)packed_data); \ } @@ -3300,7 +3300,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDepthMask(flag) { \ glDepthMask_PACKED *packed_data = malloc(sizeof(glDepthMask_PACKED)); \ packed_data->format = glDepthMask_FORMAT; \ - packed_data->func = glDepthMask; \ + packed_data->func = glshim_glDepthMask; \ packed_data->args.a1 = (GLboolean)flag; \ glPushCall((void *)packed_data); \ } @@ -3309,7 +3309,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDepthRangef(near, far) { \ glDepthRangef_PACKED *packed_data = malloc(sizeof(glDepthRangef_PACKED)); \ packed_data->format = glDepthRangef_FORMAT; \ - packed_data->func = glDepthRangef; \ + packed_data->func = glshim_glDepthRangef; \ packed_data->args.a1 = (GLclampf)near; \ packed_data->args.a2 = (GLclampf)far; \ glPushCall((void *)packed_data); \ @@ -3319,7 +3319,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDepthRangex(near, far) { \ glDepthRangex_PACKED *packed_data = malloc(sizeof(glDepthRangex_PACKED)); \ packed_data->format = glDepthRangex_FORMAT; \ - packed_data->func = glDepthRangex; \ + packed_data->func = glshim_glDepthRangex; \ packed_data->args.a1 = (GLclampx)near; \ packed_data->args.a2 = (GLclampx)far; \ glPushCall((void *)packed_data); \ @@ -3329,7 +3329,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDisable(cap) { \ glDisable_PACKED *packed_data = malloc(sizeof(glDisable_PACKED)); \ packed_data->format = glDisable_FORMAT; \ - packed_data->func = glDisable; \ + packed_data->func = glshim_glDisable; \ packed_data->args.a1 = (GLenum)cap; \ glPushCall((void *)packed_data); \ } @@ -3338,7 +3338,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDisableClientState(array) { \ glDisableClientState_PACKED *packed_data = malloc(sizeof(glDisableClientState_PACKED)); \ packed_data->format = glDisableClientState_FORMAT; \ - packed_data->func = glDisableClientState; \ + packed_data->func = glshim_glDisableClientState; \ packed_data->args.a1 = (GLenum)array; \ glPushCall((void *)packed_data); \ } @@ -3347,7 +3347,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDrawArrays(mode, first, count) { \ glDrawArrays_PACKED *packed_data = malloc(sizeof(glDrawArrays_PACKED)); \ packed_data->format = glDrawArrays_FORMAT; \ - packed_data->func = glDrawArrays; \ + packed_data->func = glshim_glDrawArrays; \ packed_data->args.a1 = (GLenum)mode; \ packed_data->args.a2 = (GLint)first; \ packed_data->args.a3 = (GLsizei)count; \ @@ -3358,7 +3358,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDrawElements(mode, count, type, indices) { \ glDrawElements_PACKED *packed_data = malloc(sizeof(glDrawElements_PACKED)); \ packed_data->format = glDrawElements_FORMAT; \ - packed_data->func = glDrawElements; \ + packed_data->func = glshim_glDrawElements; \ packed_data->args.a1 = (GLenum)mode; \ packed_data->args.a2 = (GLsizei)count; \ packed_data->args.a3 = (GLenum)type; \ @@ -3370,7 +3370,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDrawTexf(x, y, z, width, height) { \ glDrawTexf_PACKED *packed_data = malloc(sizeof(glDrawTexf_PACKED)); \ packed_data->format = glDrawTexf_FORMAT; \ - packed_data->func = glDrawTexf; \ + packed_data->func = glshim_glDrawTexf; \ packed_data->args.a1 = (GLfloat)x; \ packed_data->args.a2 = (GLfloat)y; \ packed_data->args.a3 = (GLfloat)z; \ @@ -3383,7 +3383,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDrawTexi(x, y, z, width, height) { \ glDrawTexi_PACKED *packed_data = malloc(sizeof(glDrawTexi_PACKED)); \ packed_data->format = glDrawTexi_FORMAT; \ - packed_data->func = glDrawTexi; \ + packed_data->func = glshim_glDrawTexi; \ packed_data->args.a1 = (GLint)x; \ packed_data->args.a2 = (GLint)y; \ packed_data->args.a3 = (GLint)z; \ @@ -3396,7 +3396,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glEnable(cap) { \ glEnable_PACKED *packed_data = malloc(sizeof(glEnable_PACKED)); \ packed_data->format = glEnable_FORMAT; \ - packed_data->func = glEnable; \ + packed_data->func = glshim_glEnable; \ packed_data->args.a1 = (GLenum)cap; \ glPushCall((void *)packed_data); \ } @@ -3405,7 +3405,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glEnableClientState(array) { \ glEnableClientState_PACKED *packed_data = malloc(sizeof(glEnableClientState_PACKED)); \ packed_data->format = glEnableClientState_FORMAT; \ - packed_data->func = glEnableClientState; \ + packed_data->func = glshim_glEnableClientState; \ packed_data->args.a1 = (GLenum)array; \ glPushCall((void *)packed_data); \ } @@ -3414,7 +3414,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFinish() { \ glFinish_PACKED *packed_data = malloc(sizeof(glFinish_PACKED)); \ packed_data->format = glFinish_FORMAT; \ - packed_data->func = glFinish; \ + packed_data->func = glshim_glFinish; \ glPushCall((void *)packed_data); \ } #endif @@ -3422,7 +3422,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFlush() { \ glFlush_PACKED *packed_data = malloc(sizeof(glFlush_PACKED)); \ packed_data->format = glFlush_FORMAT; \ - packed_data->func = glFlush; \ + packed_data->func = glshim_glFlush; \ glPushCall((void *)packed_data); \ } #endif @@ -3430,7 +3430,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFogf(pname, param) { \ glFogf_PACKED *packed_data = malloc(sizeof(glFogf_PACKED)); \ packed_data->format = glFogf_FORMAT; \ - packed_data->func = glFogf; \ + packed_data->func = glshim_glFogf; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLfloat)param; \ glPushCall((void *)packed_data); \ @@ -3440,7 +3440,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFogfv(pname, params) { \ glFogfv_PACKED *packed_data = malloc(sizeof(glFogfv_PACKED)); \ packed_data->format = glFogfv_FORMAT; \ - packed_data->func = glFogfv; \ + packed_data->func = glshim_glFogfv; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLfloat *)params; \ glPushCall((void *)packed_data); \ @@ -3450,7 +3450,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFogx(pname, param) { \ glFogx_PACKED *packed_data = malloc(sizeof(glFogx_PACKED)); \ packed_data->format = glFogx_FORMAT; \ - packed_data->func = glFogx; \ + packed_data->func = glshim_glFogx; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLfixed)param; \ glPushCall((void *)packed_data); \ @@ -3460,7 +3460,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFogxv(pname, params) { \ glFogxv_PACKED *packed_data = malloc(sizeof(glFogxv_PACKED)); \ packed_data->format = glFogxv_FORMAT; \ - packed_data->func = glFogxv; \ + packed_data->func = glshim_glFogxv; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLfixed *)params; \ glPushCall((void *)packed_data); \ @@ -3470,7 +3470,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer) { \ glFramebufferRenderbuffer_PACKED *packed_data = malloc(sizeof(glFramebufferRenderbuffer_PACKED)); \ packed_data->format = glFramebufferRenderbuffer_FORMAT; \ - packed_data->func = glFramebufferRenderbuffer; \ + packed_data->func = glshim_glFramebufferRenderbuffer; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)attachment; \ packed_data->args.a3 = (GLenum)renderbuffertarget; \ @@ -3482,7 +3482,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFramebufferTexture2D(target, attachment, textarget, texture, level) { \ glFramebufferTexture2D_PACKED *packed_data = malloc(sizeof(glFramebufferTexture2D_PACKED)); \ packed_data->format = glFramebufferTexture2D_FORMAT; \ - packed_data->func = glFramebufferTexture2D; \ + packed_data->func = glshim_glFramebufferTexture2D; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)attachment; \ packed_data->args.a3 = (GLenum)textarget; \ @@ -3495,7 +3495,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFrontFace(mode) { \ glFrontFace_PACKED *packed_data = malloc(sizeof(glFrontFace_PACKED)); \ packed_data->format = glFrontFace_FORMAT; \ - packed_data->func = glFrontFace; \ + packed_data->func = glshim_glFrontFace; \ packed_data->args.a1 = (GLenum)mode; \ glPushCall((void *)packed_data); \ } @@ -3504,7 +3504,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFrustumf(left, right, bottom, top, near, far) { \ glFrustumf_PACKED *packed_data = malloc(sizeof(glFrustumf_PACKED)); \ packed_data->format = glFrustumf_FORMAT; \ - packed_data->func = glFrustumf; \ + packed_data->func = glshim_glFrustumf; \ packed_data->args.a1 = (GLfloat)left; \ packed_data->args.a2 = (GLfloat)right; \ packed_data->args.a3 = (GLfloat)bottom; \ @@ -3518,7 +3518,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFrustumx(left, right, bottom, top, near, far) { \ glFrustumx_PACKED *packed_data = malloc(sizeof(glFrustumx_PACKED)); \ packed_data->format = glFrustumx_FORMAT; \ - packed_data->func = glFrustumx; \ + packed_data->func = glshim_glFrustumx; \ packed_data->args.a1 = (GLfixed)left; \ packed_data->args.a2 = (GLfixed)right; \ packed_data->args.a3 = (GLfixed)bottom; \ @@ -3532,7 +3532,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGenBuffers(n, buffers) { \ glGenBuffers_PACKED *packed_data = malloc(sizeof(glGenBuffers_PACKED)); \ packed_data->format = glGenBuffers_FORMAT; \ - packed_data->func = glGenBuffers; \ + packed_data->func = glshim_glGenBuffers; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)buffers; \ glPushCall((void *)packed_data); \ @@ -3542,7 +3542,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGenFramebuffers(n, ids) { \ glGenFramebuffers_PACKED *packed_data = malloc(sizeof(glGenFramebuffers_PACKED)); \ packed_data->format = glGenFramebuffers_FORMAT; \ - packed_data->func = glGenFramebuffers; \ + packed_data->func = glshim_glGenFramebuffers; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)ids; \ glPushCall((void *)packed_data); \ @@ -3552,7 +3552,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGenRenderbuffers(n, renderbuffers) { \ glGenRenderbuffers_PACKED *packed_data = malloc(sizeof(glGenRenderbuffers_PACKED)); \ packed_data->format = glGenRenderbuffers_FORMAT; \ - packed_data->func = glGenRenderbuffers; \ + packed_data->func = glshim_glGenRenderbuffers; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)renderbuffers; \ glPushCall((void *)packed_data); \ @@ -3562,7 +3562,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGenTextures(n, textures) { \ glGenTextures_PACKED *packed_data = malloc(sizeof(glGenTextures_PACKED)); \ packed_data->format = glGenTextures_FORMAT; \ - packed_data->func = glGenTextures; \ + packed_data->func = glshim_glGenTextures; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)textures; \ glPushCall((void *)packed_data); \ @@ -3572,7 +3572,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGenerateMipmap(target) { \ glGenerateMipmap_PACKED *packed_data = malloc(sizeof(glGenerateMipmap_PACKED)); \ packed_data->format = glGenerateMipmap_FORMAT; \ - packed_data->func = glGenerateMipmap; \ + packed_data->func = glshim_glGenerateMipmap; \ packed_data->args.a1 = (GLenum)target; \ glPushCall((void *)packed_data); \ } @@ -3581,7 +3581,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetBooleanv(pname, params) { \ glGetBooleanv_PACKED *packed_data = malloc(sizeof(glGetBooleanv_PACKED)); \ packed_data->format = glGetBooleanv_FORMAT; \ - packed_data->func = glGetBooleanv; \ + packed_data->func = glshim_glGetBooleanv; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLboolean *)params; \ glPushCall((void *)packed_data); \ @@ -3591,7 +3591,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetBufferParameteriv(target, pname, params) { \ glGetBufferParameteriv_PACKED *packed_data = malloc(sizeof(glGetBufferParameteriv_PACKED)); \ packed_data->format = glGetBufferParameteriv_FORMAT; \ - packed_data->func = glGetBufferParameteriv; \ + packed_data->func = glshim_glGetBufferParameteriv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint *)params; \ @@ -3602,7 +3602,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetClipPlanef(plane, equation) { \ glGetClipPlanef_PACKED *packed_data = malloc(sizeof(glGetClipPlanef_PACKED)); \ packed_data->format = glGetClipPlanef_FORMAT; \ - packed_data->func = glGetClipPlanef; \ + packed_data->func = glshim_glGetClipPlanef; \ packed_data->args.a1 = (GLenum)plane; \ packed_data->args.a2 = (GLfloat *)equation; \ glPushCall((void *)packed_data); \ @@ -3612,7 +3612,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetClipPlanex(plane, equation) { \ glGetClipPlanex_PACKED *packed_data = malloc(sizeof(glGetClipPlanex_PACKED)); \ packed_data->format = glGetClipPlanex_FORMAT; \ - packed_data->func = glGetClipPlanex; \ + packed_data->func = glshim_glGetClipPlanex; \ packed_data->args.a1 = (GLenum)plane; \ packed_data->args.a2 = (GLfixed *)equation; \ glPushCall((void *)packed_data); \ @@ -3622,7 +3622,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetError() { \ glGetError_PACKED *packed_data = malloc(sizeof(glGetError_PACKED)); \ packed_data->format = glGetError_FORMAT; \ - packed_data->func = glGetError; \ + packed_data->func = glshim_glGetError; \ glPushCall((void *)packed_data); \ } #endif @@ -3630,7 +3630,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetFixedv(pname, params) { \ glGetFixedv_PACKED *packed_data = malloc(sizeof(glGetFixedv_PACKED)); \ packed_data->format = glGetFixedv_FORMAT; \ - packed_data->func = glGetFixedv; \ + packed_data->func = glshim_glGetFixedv; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLfixed *)params; \ glPushCall((void *)packed_data); \ @@ -3640,7 +3640,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetFloatv(pname, params) { \ glGetFloatv_PACKED *packed_data = malloc(sizeof(glGetFloatv_PACKED)); \ packed_data->format = glGetFloatv_FORMAT; \ - packed_data->func = glGetFloatv; \ + packed_data->func = glshim_glGetFloatv; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLfloat *)params; \ glPushCall((void *)packed_data); \ @@ -3650,7 +3650,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetFramebufferAttachmentParameteriv(target, attachment, pname, params) { \ glGetFramebufferAttachmentParameteriv_PACKED *packed_data = malloc(sizeof(glGetFramebufferAttachmentParameteriv_PACKED)); \ packed_data->format = glGetFramebufferAttachmentParameteriv_FORMAT; \ - packed_data->func = glGetFramebufferAttachmentParameteriv; \ + packed_data->func = glshim_glGetFramebufferAttachmentParameteriv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)attachment; \ packed_data->args.a3 = (GLenum)pname; \ @@ -3662,7 +3662,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetIntegerv(pname, params) { \ glGetIntegerv_PACKED *packed_data = malloc(sizeof(glGetIntegerv_PACKED)); \ packed_data->format = glGetIntegerv_FORMAT; \ - packed_data->func = glGetIntegerv; \ + packed_data->func = glshim_glGetIntegerv; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLint *)params; \ glPushCall((void *)packed_data); \ @@ -3672,7 +3672,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetLightfv(light, pname, params) { \ glGetLightfv_PACKED *packed_data = malloc(sizeof(glGetLightfv_PACKED)); \ packed_data->format = glGetLightfv_FORMAT; \ - packed_data->func = glGetLightfv; \ + packed_data->func = glshim_glGetLightfv; \ packed_data->args.a1 = (GLenum)light; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat *)params; \ @@ -3683,7 +3683,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetLightxv(light, pname, params) { \ glGetLightxv_PACKED *packed_data = malloc(sizeof(glGetLightxv_PACKED)); \ packed_data->format = glGetLightxv_FORMAT; \ - packed_data->func = glGetLightxv; \ + packed_data->func = glshim_glGetLightxv; \ packed_data->args.a1 = (GLenum)light; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfixed *)params; \ @@ -3694,7 +3694,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetMaterialfv(face, pname, params) { \ glGetMaterialfv_PACKED *packed_data = malloc(sizeof(glGetMaterialfv_PACKED)); \ packed_data->format = glGetMaterialfv_FORMAT; \ - packed_data->func = glGetMaterialfv; \ + packed_data->func = glshim_glGetMaterialfv; \ packed_data->args.a1 = (GLenum)face; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat *)params; \ @@ -3705,7 +3705,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetMaterialxv(face, pname, params) { \ glGetMaterialxv_PACKED *packed_data = malloc(sizeof(glGetMaterialxv_PACKED)); \ packed_data->format = glGetMaterialxv_FORMAT; \ - packed_data->func = glGetMaterialxv; \ + packed_data->func = glshim_glGetMaterialxv; \ packed_data->args.a1 = (GLenum)face; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfixed *)params; \ @@ -3716,7 +3716,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetPointerv(pname, params) { \ glGetPointerv_PACKED *packed_data = malloc(sizeof(glGetPointerv_PACKED)); \ packed_data->format = glGetPointerv_FORMAT; \ - packed_data->func = glGetPointerv; \ + packed_data->func = glshim_glGetPointerv; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLvoid **)params; \ glPushCall((void *)packed_data); \ @@ -3726,7 +3726,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetRenderbufferParameteriv(target, pname, params) { \ glGetRenderbufferParameteriv_PACKED *packed_data = malloc(sizeof(glGetRenderbufferParameteriv_PACKED)); \ packed_data->format = glGetRenderbufferParameteriv_FORMAT; \ - packed_data->func = glGetRenderbufferParameteriv; \ + packed_data->func = glshim_glGetRenderbufferParameteriv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint *)params; \ @@ -3737,7 +3737,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetString(name) { \ glGetString_PACKED *packed_data = malloc(sizeof(glGetString_PACKED)); \ packed_data->format = glGetString_FORMAT; \ - packed_data->func = glGetString; \ + packed_data->func = glshim_glGetString; \ packed_data->args.a1 = (GLenum)name; \ glPushCall((void *)packed_data); \ } @@ -3746,7 +3746,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetTexEnvfv(target, pname, params) { \ glGetTexEnvfv_PACKED *packed_data = malloc(sizeof(glGetTexEnvfv_PACKED)); \ packed_data->format = glGetTexEnvfv_FORMAT; \ - packed_data->func = glGetTexEnvfv; \ + packed_data->func = glshim_glGetTexEnvfv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat *)params; \ @@ -3757,7 +3757,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetTexEnviv(target, pname, params) { \ glGetTexEnviv_PACKED *packed_data = malloc(sizeof(glGetTexEnviv_PACKED)); \ packed_data->format = glGetTexEnviv_FORMAT; \ - packed_data->func = glGetTexEnviv; \ + packed_data->func = glshim_glGetTexEnviv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint *)params; \ @@ -3768,7 +3768,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetTexEnvxv(target, pname, params) { \ glGetTexEnvxv_PACKED *packed_data = malloc(sizeof(glGetTexEnvxv_PACKED)); \ packed_data->format = glGetTexEnvxv_FORMAT; \ - packed_data->func = glGetTexEnvxv; \ + packed_data->func = glshim_glGetTexEnvxv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfixed *)params; \ @@ -3779,7 +3779,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetTexParameterfv(target, pname, params) { \ glGetTexParameterfv_PACKED *packed_data = malloc(sizeof(glGetTexParameterfv_PACKED)); \ packed_data->format = glGetTexParameterfv_FORMAT; \ - packed_data->func = glGetTexParameterfv; \ + packed_data->func = glshim_glGetTexParameterfv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat *)params; \ @@ -3790,7 +3790,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetTexParameteriv(target, pname, params) { \ glGetTexParameteriv_PACKED *packed_data = malloc(sizeof(glGetTexParameteriv_PACKED)); \ packed_data->format = glGetTexParameteriv_FORMAT; \ - packed_data->func = glGetTexParameteriv; \ + packed_data->func = glshim_glGetTexParameteriv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint *)params; \ @@ -3801,7 +3801,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetTexParameterxv(target, pname, params) { \ glGetTexParameterxv_PACKED *packed_data = malloc(sizeof(glGetTexParameterxv_PACKED)); \ packed_data->format = glGetTexParameterxv_FORMAT; \ - packed_data->func = glGetTexParameterxv; \ + packed_data->func = glshim_glGetTexParameterxv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfixed *)params; \ @@ -3812,7 +3812,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glHint(target, mode) { \ glHint_PACKED *packed_data = malloc(sizeof(glHint_PACKED)); \ packed_data->format = glHint_FORMAT; \ - packed_data->func = glHint; \ + packed_data->func = glshim_glHint; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)mode; \ glPushCall((void *)packed_data); \ @@ -3822,7 +3822,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glIsBuffer(buffer) { \ glIsBuffer_PACKED *packed_data = malloc(sizeof(glIsBuffer_PACKED)); \ packed_data->format = glIsBuffer_FORMAT; \ - packed_data->func = glIsBuffer; \ + packed_data->func = glshim_glIsBuffer; \ packed_data->args.a1 = (GLuint)buffer; \ glPushCall((void *)packed_data); \ } @@ -3831,7 +3831,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glIsEnabled(cap) { \ glIsEnabled_PACKED *packed_data = malloc(sizeof(glIsEnabled_PACKED)); \ packed_data->format = glIsEnabled_FORMAT; \ - packed_data->func = glIsEnabled; \ + packed_data->func = glshim_glIsEnabled; \ packed_data->args.a1 = (GLenum)cap; \ glPushCall((void *)packed_data); \ } @@ -3840,7 +3840,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glIsFramebuffer(framebuffer) { \ glIsFramebuffer_PACKED *packed_data = malloc(sizeof(glIsFramebuffer_PACKED)); \ packed_data->format = glIsFramebuffer_FORMAT; \ - packed_data->func = glIsFramebuffer; \ + packed_data->func = glshim_glIsFramebuffer; \ packed_data->args.a1 = (GLuint)framebuffer; \ glPushCall((void *)packed_data); \ } @@ -3849,7 +3849,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glIsRenderbuffer(renderbuffer) { \ glIsRenderbuffer_PACKED *packed_data = malloc(sizeof(glIsRenderbuffer_PACKED)); \ packed_data->format = glIsRenderbuffer_FORMAT; \ - packed_data->func = glIsRenderbuffer; \ + packed_data->func = glshim_glIsRenderbuffer; \ packed_data->args.a1 = (GLuint)renderbuffer; \ glPushCall((void *)packed_data); \ } @@ -3858,7 +3858,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glIsTexture(texture) { \ glIsTexture_PACKED *packed_data = malloc(sizeof(glIsTexture_PACKED)); \ packed_data->format = glIsTexture_FORMAT; \ - packed_data->func = glIsTexture; \ + packed_data->func = glshim_glIsTexture; \ packed_data->args.a1 = (GLuint)texture; \ glPushCall((void *)packed_data); \ } @@ -3867,7 +3867,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLightModelf(pname, param) { \ glLightModelf_PACKED *packed_data = malloc(sizeof(glLightModelf_PACKED)); \ packed_data->format = glLightModelf_FORMAT; \ - packed_data->func = glLightModelf; \ + packed_data->func = glshim_glLightModelf; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLfloat)param; \ glPushCall((void *)packed_data); \ @@ -3877,7 +3877,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLightModelfv(pname, params) { \ glLightModelfv_PACKED *packed_data = malloc(sizeof(glLightModelfv_PACKED)); \ packed_data->format = glLightModelfv_FORMAT; \ - packed_data->func = glLightModelfv; \ + packed_data->func = glshim_glLightModelfv; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLfloat *)params; \ glPushCall((void *)packed_data); \ @@ -3887,7 +3887,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLightModelx(pname, param) { \ glLightModelx_PACKED *packed_data = malloc(sizeof(glLightModelx_PACKED)); \ packed_data->format = glLightModelx_FORMAT; \ - packed_data->func = glLightModelx; \ + packed_data->func = glshim_glLightModelx; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLfixed)param; \ glPushCall((void *)packed_data); \ @@ -3897,7 +3897,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLightModelxv(pname, params) { \ glLightModelxv_PACKED *packed_data = malloc(sizeof(glLightModelxv_PACKED)); \ packed_data->format = glLightModelxv_FORMAT; \ - packed_data->func = glLightModelxv; \ + packed_data->func = glshim_glLightModelxv; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLfixed *)params; \ glPushCall((void *)packed_data); \ @@ -3907,7 +3907,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLightf(light, pname, param) { \ glLightf_PACKED *packed_data = malloc(sizeof(glLightf_PACKED)); \ packed_data->format = glLightf_FORMAT; \ - packed_data->func = glLightf; \ + packed_data->func = glshim_glLightf; \ packed_data->args.a1 = (GLenum)light; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat)param; \ @@ -3918,7 +3918,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLightfv(light, pname, params) { \ glLightfv_PACKED *packed_data = malloc(sizeof(glLightfv_PACKED)); \ packed_data->format = glLightfv_FORMAT; \ - packed_data->func = glLightfv; \ + packed_data->func = glshim_glLightfv; \ packed_data->args.a1 = (GLenum)light; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat *)params; \ @@ -3929,7 +3929,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLightx(light, pname, param) { \ glLightx_PACKED *packed_data = malloc(sizeof(glLightx_PACKED)); \ packed_data->format = glLightx_FORMAT; \ - packed_data->func = glLightx; \ + packed_data->func = glshim_glLightx; \ packed_data->args.a1 = (GLenum)light; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfixed)param; \ @@ -3940,7 +3940,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLightxv(light, pname, params) { \ glLightxv_PACKED *packed_data = malloc(sizeof(glLightxv_PACKED)); \ packed_data->format = glLightxv_FORMAT; \ - packed_data->func = glLightxv; \ + packed_data->func = glshim_glLightxv; \ packed_data->args.a1 = (GLenum)light; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfixed *)params; \ @@ -3951,7 +3951,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLineWidth(width) { \ glLineWidth_PACKED *packed_data = malloc(sizeof(glLineWidth_PACKED)); \ packed_data->format = glLineWidth_FORMAT; \ - packed_data->func = glLineWidth; \ + packed_data->func = glshim_glLineWidth; \ packed_data->args.a1 = (GLfloat)width; \ glPushCall((void *)packed_data); \ } @@ -3960,7 +3960,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLineWidthx(width) { \ glLineWidthx_PACKED *packed_data = malloc(sizeof(glLineWidthx_PACKED)); \ packed_data->format = glLineWidthx_FORMAT; \ - packed_data->func = glLineWidthx; \ + packed_data->func = glshim_glLineWidthx; \ packed_data->args.a1 = (GLfixed)width; \ glPushCall((void *)packed_data); \ } @@ -3969,7 +3969,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLoadIdentity() { \ glLoadIdentity_PACKED *packed_data = malloc(sizeof(glLoadIdentity_PACKED)); \ packed_data->format = glLoadIdentity_FORMAT; \ - packed_data->func = glLoadIdentity; \ + packed_data->func = glshim_glLoadIdentity; \ glPushCall((void *)packed_data); \ } #endif @@ -3977,7 +3977,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLoadMatrixf(m) { \ glLoadMatrixf_PACKED *packed_data = malloc(sizeof(glLoadMatrixf_PACKED)); \ packed_data->format = glLoadMatrixf_FORMAT; \ - packed_data->func = glLoadMatrixf; \ + packed_data->func = glshim_glLoadMatrixf; \ packed_data->args.a1 = (GLfloat *)m; \ glPushCall((void *)packed_data); \ } @@ -3986,7 +3986,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLoadMatrixx(m) { \ glLoadMatrixx_PACKED *packed_data = malloc(sizeof(glLoadMatrixx_PACKED)); \ packed_data->format = glLoadMatrixx_FORMAT; \ - packed_data->func = glLoadMatrixx; \ + packed_data->func = glshim_glLoadMatrixx; \ packed_data->args.a1 = (GLfixed *)m; \ glPushCall((void *)packed_data); \ } @@ -3995,7 +3995,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLogicOp(opcode) { \ glLogicOp_PACKED *packed_data = malloc(sizeof(glLogicOp_PACKED)); \ packed_data->format = glLogicOp_FORMAT; \ - packed_data->func = glLogicOp; \ + packed_data->func = glshim_glLogicOp; \ packed_data->args.a1 = (GLenum)opcode; \ glPushCall((void *)packed_data); \ } @@ -4004,7 +4004,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glMaterialf(face, pname, param) { \ glMaterialf_PACKED *packed_data = malloc(sizeof(glMaterialf_PACKED)); \ packed_data->format = glMaterialf_FORMAT; \ - packed_data->func = glMaterialf; \ + packed_data->func = glshim_glMaterialf; \ packed_data->args.a1 = (GLenum)face; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat)param; \ @@ -4015,7 +4015,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glMaterialfv(face, pname, params) { \ glMaterialfv_PACKED *packed_data = malloc(sizeof(glMaterialfv_PACKED)); \ packed_data->format = glMaterialfv_FORMAT; \ - packed_data->func = glMaterialfv; \ + packed_data->func = glshim_glMaterialfv; \ packed_data->args.a1 = (GLenum)face; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat *)params; \ @@ -4026,7 +4026,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glMaterialx(face, pname, param) { \ glMaterialx_PACKED *packed_data = malloc(sizeof(glMaterialx_PACKED)); \ packed_data->format = glMaterialx_FORMAT; \ - packed_data->func = glMaterialx; \ + packed_data->func = glshim_glMaterialx; \ packed_data->args.a1 = (GLenum)face; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfixed)param; \ @@ -4037,7 +4037,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glMaterialxv(face, pname, params) { \ glMaterialxv_PACKED *packed_data = malloc(sizeof(glMaterialxv_PACKED)); \ packed_data->format = glMaterialxv_FORMAT; \ - packed_data->func = glMaterialxv; \ + packed_data->func = glshim_glMaterialxv; \ packed_data->args.a1 = (GLenum)face; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfixed *)params; \ @@ -4048,7 +4048,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glMatrixMode(mode) { \ glMatrixMode_PACKED *packed_data = malloc(sizeof(glMatrixMode_PACKED)); \ packed_data->format = glMatrixMode_FORMAT; \ - packed_data->func = glMatrixMode; \ + packed_data->func = glshim_glMatrixMode; \ packed_data->args.a1 = (GLenum)mode; \ glPushCall((void *)packed_data); \ } @@ -4057,7 +4057,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glMultMatrixf(m) { \ glMultMatrixf_PACKED *packed_data = malloc(sizeof(glMultMatrixf_PACKED)); \ packed_data->format = glMultMatrixf_FORMAT; \ - packed_data->func = glMultMatrixf; \ + packed_data->func = glshim_glMultMatrixf; \ packed_data->args.a1 = (GLfloat *)m; \ glPushCall((void *)packed_data); \ } @@ -4066,7 +4066,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glMultMatrixx(m) { \ glMultMatrixx_PACKED *packed_data = malloc(sizeof(glMultMatrixx_PACKED)); \ packed_data->format = glMultMatrixx_FORMAT; \ - packed_data->func = glMultMatrixx; \ + packed_data->func = glshim_glMultMatrixx; \ packed_data->args.a1 = (GLfixed *)m; \ glPushCall((void *)packed_data); \ } @@ -4075,7 +4075,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glMultiTexCoord4f(target, s, t, r, q) { \ glMultiTexCoord4f_PACKED *packed_data = malloc(sizeof(glMultiTexCoord4f_PACKED)); \ packed_data->format = glMultiTexCoord4f_FORMAT; \ - packed_data->func = glMultiTexCoord4f; \ + packed_data->func = glshim_glMultiTexCoord4f; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLfloat)s; \ packed_data->args.a3 = (GLfloat)t; \ @@ -4088,7 +4088,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glMultiTexCoord4x(target, s, t, r, q) { \ glMultiTexCoord4x_PACKED *packed_data = malloc(sizeof(glMultiTexCoord4x_PACKED)); \ packed_data->format = glMultiTexCoord4x_FORMAT; \ - packed_data->func = glMultiTexCoord4x; \ + packed_data->func = glshim_glMultiTexCoord4x; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLfixed)s; \ packed_data->args.a3 = (GLfixed)t; \ @@ -4101,7 +4101,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glNormal3f(nx, ny, nz) { \ glNormal3f_PACKED *packed_data = malloc(sizeof(glNormal3f_PACKED)); \ packed_data->format = glNormal3f_FORMAT; \ - packed_data->func = glNormal3f; \ + packed_data->func = glshim_glNormal3f; \ packed_data->args.a1 = (GLfloat)nx; \ packed_data->args.a2 = (GLfloat)ny; \ packed_data->args.a3 = (GLfloat)nz; \ @@ -4112,7 +4112,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glNormal3x(nx, ny, nz) { \ glNormal3x_PACKED *packed_data = malloc(sizeof(glNormal3x_PACKED)); \ packed_data->format = glNormal3x_FORMAT; \ - packed_data->func = glNormal3x; \ + packed_data->func = glshim_glNormal3x; \ packed_data->args.a1 = (GLfixed)nx; \ packed_data->args.a2 = (GLfixed)ny; \ packed_data->args.a3 = (GLfixed)nz; \ @@ -4123,7 +4123,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glNormalPointer(type, stride, pointer) { \ glNormalPointer_PACKED *packed_data = malloc(sizeof(glNormalPointer_PACKED)); \ packed_data->format = glNormalPointer_FORMAT; \ - packed_data->func = glNormalPointer; \ + packed_data->func = glshim_glNormalPointer; \ packed_data->args.a1 = (GLenum)type; \ packed_data->args.a2 = (GLsizei)stride; \ packed_data->args.a3 = (GLvoid *)pointer; \ @@ -4134,7 +4134,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glOrthof(left, right, bottom, top, near, far) { \ glOrthof_PACKED *packed_data = malloc(sizeof(glOrthof_PACKED)); \ packed_data->format = glOrthof_FORMAT; \ - packed_data->func = glOrthof; \ + packed_data->func = glshim_glOrthof; \ packed_data->args.a1 = (GLfloat)left; \ packed_data->args.a2 = (GLfloat)right; \ packed_data->args.a3 = (GLfloat)bottom; \ @@ -4148,7 +4148,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glOrthox(left, right, bottom, top, near, far) { \ glOrthox_PACKED *packed_data = malloc(sizeof(glOrthox_PACKED)); \ packed_data->format = glOrthox_FORMAT; \ - packed_data->func = glOrthox; \ + packed_data->func = glshim_glOrthox; \ packed_data->args.a1 = (GLfixed)left; \ packed_data->args.a2 = (GLfixed)right; \ packed_data->args.a3 = (GLfixed)bottom; \ @@ -4162,7 +4162,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glPixelStorei(pname, param) { \ glPixelStorei_PACKED *packed_data = malloc(sizeof(glPixelStorei_PACKED)); \ packed_data->format = glPixelStorei_FORMAT; \ - packed_data->func = glPixelStorei; \ + packed_data->func = glshim_glPixelStorei; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLint)param; \ glPushCall((void *)packed_data); \ @@ -4172,7 +4172,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glPointParameterf(pname, param) { \ glPointParameterf_PACKED *packed_data = malloc(sizeof(glPointParameterf_PACKED)); \ packed_data->format = glPointParameterf_FORMAT; \ - packed_data->func = glPointParameterf; \ + packed_data->func = glshim_glPointParameterf; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLfloat)param; \ glPushCall((void *)packed_data); \ @@ -4182,7 +4182,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glPointParameterfv(pname, params) { \ glPointParameterfv_PACKED *packed_data = malloc(sizeof(glPointParameterfv_PACKED)); \ packed_data->format = glPointParameterfv_FORMAT; \ - packed_data->func = glPointParameterfv; \ + packed_data->func = glshim_glPointParameterfv; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLfloat *)params; \ glPushCall((void *)packed_data); \ @@ -4192,7 +4192,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glPointParameterx(pname, param) { \ glPointParameterx_PACKED *packed_data = malloc(sizeof(glPointParameterx_PACKED)); \ packed_data->format = glPointParameterx_FORMAT; \ - packed_data->func = glPointParameterx; \ + packed_data->func = glshim_glPointParameterx; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLfixed)param; \ glPushCall((void *)packed_data); \ @@ -4202,7 +4202,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glPointParameterxv(pname, params) { \ glPointParameterxv_PACKED *packed_data = malloc(sizeof(glPointParameterxv_PACKED)); \ packed_data->format = glPointParameterxv_FORMAT; \ - packed_data->func = glPointParameterxv; \ + packed_data->func = glshim_glPointParameterxv; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLfixed *)params; \ glPushCall((void *)packed_data); \ @@ -4212,7 +4212,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glPointSize(size) { \ glPointSize_PACKED *packed_data = malloc(sizeof(glPointSize_PACKED)); \ packed_data->format = glPointSize_FORMAT; \ - packed_data->func = glPointSize; \ + packed_data->func = glshim_glPointSize; \ packed_data->args.a1 = (GLfloat)size; \ glPushCall((void *)packed_data); \ } @@ -4221,7 +4221,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glPointSizePointerOES(type, stride, pointer) { \ glPointSizePointerOES_PACKED *packed_data = malloc(sizeof(glPointSizePointerOES_PACKED)); \ packed_data->format = glPointSizePointerOES_FORMAT; \ - packed_data->func = glPointSizePointerOES; \ + packed_data->func = glshim_glPointSizePointerOES; \ packed_data->args.a1 = (GLenum)type; \ packed_data->args.a2 = (GLsizei)stride; \ packed_data->args.a3 = (GLvoid *)pointer; \ @@ -4232,7 +4232,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glPointSizex(size) { \ glPointSizex_PACKED *packed_data = malloc(sizeof(glPointSizex_PACKED)); \ packed_data->format = glPointSizex_FORMAT; \ - packed_data->func = glPointSizex; \ + packed_data->func = glshim_glPointSizex; \ packed_data->args.a1 = (GLfixed)size; \ glPushCall((void *)packed_data); \ } @@ -4241,7 +4241,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glPolygonOffset(factor, units) { \ glPolygonOffset_PACKED *packed_data = malloc(sizeof(glPolygonOffset_PACKED)); \ packed_data->format = glPolygonOffset_FORMAT; \ - packed_data->func = glPolygonOffset; \ + packed_data->func = glshim_glPolygonOffset; \ packed_data->args.a1 = (GLfloat)factor; \ packed_data->args.a2 = (GLfloat)units; \ glPushCall((void *)packed_data); \ @@ -4251,7 +4251,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glPolygonOffsetx(factor, units) { \ glPolygonOffsetx_PACKED *packed_data = malloc(sizeof(glPolygonOffsetx_PACKED)); \ packed_data->format = glPolygonOffsetx_FORMAT; \ - packed_data->func = glPolygonOffsetx; \ + packed_data->func = glshim_glPolygonOffsetx; \ packed_data->args.a1 = (GLfixed)factor; \ packed_data->args.a2 = (GLfixed)units; \ glPushCall((void *)packed_data); \ @@ -4261,7 +4261,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glPopMatrix() { \ glPopMatrix_PACKED *packed_data = malloc(sizeof(glPopMatrix_PACKED)); \ packed_data->format = glPopMatrix_FORMAT; \ - packed_data->func = glPopMatrix; \ + packed_data->func = glshim_glPopMatrix; \ glPushCall((void *)packed_data); \ } #endif @@ -4269,7 +4269,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glPushMatrix() { \ glPushMatrix_PACKED *packed_data = malloc(sizeof(glPushMatrix_PACKED)); \ packed_data->format = glPushMatrix_FORMAT; \ - packed_data->func = glPushMatrix; \ + packed_data->func = glshim_glPushMatrix; \ glPushCall((void *)packed_data); \ } #endif @@ -4277,7 +4277,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glReadPixels(x, y, width, height, format, type, pixels) { \ glReadPixels_PACKED *packed_data = malloc(sizeof(glReadPixels_PACKED)); \ packed_data->format = glReadPixels_FORMAT; \ - packed_data->func = glReadPixels; \ + packed_data->func = glshim_glReadPixels; \ packed_data->args.a1 = (GLint)x; \ packed_data->args.a2 = (GLint)y; \ packed_data->args.a3 = (GLsizei)width; \ @@ -4292,7 +4292,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glRenderbufferStorage(target, internalformat, width, height) { \ glRenderbufferStorage_PACKED *packed_data = malloc(sizeof(glRenderbufferStorage_PACKED)); \ packed_data->format = glRenderbufferStorage_FORMAT; \ - packed_data->func = glRenderbufferStorage; \ + packed_data->func = glshim_glRenderbufferStorage; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)internalformat; \ packed_data->args.a3 = (GLsizei)width; \ @@ -4304,7 +4304,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glRotatef(angle, x, y, z) { \ glRotatef_PACKED *packed_data = malloc(sizeof(glRotatef_PACKED)); \ packed_data->format = glRotatef_FORMAT; \ - packed_data->func = glRotatef; \ + packed_data->func = glshim_glRotatef; \ packed_data->args.a1 = (GLfloat)angle; \ packed_data->args.a2 = (GLfloat)x; \ packed_data->args.a3 = (GLfloat)y; \ @@ -4316,7 +4316,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glRotatex(angle, x, y, z) { \ glRotatex_PACKED *packed_data = malloc(sizeof(glRotatex_PACKED)); \ packed_data->format = glRotatex_FORMAT; \ - packed_data->func = glRotatex; \ + packed_data->func = glshim_glRotatex; \ packed_data->args.a1 = (GLfixed)angle; \ packed_data->args.a2 = (GLfixed)x; \ packed_data->args.a3 = (GLfixed)y; \ @@ -4328,7 +4328,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glSampleCoverage(value, invert) { \ glSampleCoverage_PACKED *packed_data = malloc(sizeof(glSampleCoverage_PACKED)); \ packed_data->format = glSampleCoverage_FORMAT; \ - packed_data->func = glSampleCoverage; \ + packed_data->func = glshim_glSampleCoverage; \ packed_data->args.a1 = (GLclampf)value; \ packed_data->args.a2 = (GLboolean)invert; \ glPushCall((void *)packed_data); \ @@ -4338,7 +4338,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glSampleCoveragex(value, invert) { \ glSampleCoveragex_PACKED *packed_data = malloc(sizeof(glSampleCoveragex_PACKED)); \ packed_data->format = glSampleCoveragex_FORMAT; \ - packed_data->func = glSampleCoveragex; \ + packed_data->func = glshim_glSampleCoveragex; \ packed_data->args.a1 = (GLclampx)value; \ packed_data->args.a2 = (GLboolean)invert; \ glPushCall((void *)packed_data); \ @@ -4348,7 +4348,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glScalef(x, y, z) { \ glScalef_PACKED *packed_data = malloc(sizeof(glScalef_PACKED)); \ packed_data->format = glScalef_FORMAT; \ - packed_data->func = glScalef; \ + packed_data->func = glshim_glScalef; \ packed_data->args.a1 = (GLfloat)x; \ packed_data->args.a2 = (GLfloat)y; \ packed_data->args.a3 = (GLfloat)z; \ @@ -4359,7 +4359,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glScalex(x, y, z) { \ glScalex_PACKED *packed_data = malloc(sizeof(glScalex_PACKED)); \ packed_data->format = glScalex_FORMAT; \ - packed_data->func = glScalex; \ + packed_data->func = glshim_glScalex; \ packed_data->args.a1 = (GLfixed)x; \ packed_data->args.a2 = (GLfixed)y; \ packed_data->args.a3 = (GLfixed)z; \ @@ -4370,7 +4370,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glScissor(x, y, width, height) { \ glScissor_PACKED *packed_data = malloc(sizeof(glScissor_PACKED)); \ packed_data->format = glScissor_FORMAT; \ - packed_data->func = glScissor; \ + packed_data->func = glshim_glScissor; \ packed_data->args.a1 = (GLint)x; \ packed_data->args.a2 = (GLint)y; \ packed_data->args.a3 = (GLsizei)width; \ @@ -4382,7 +4382,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glShadeModel(mode) { \ glShadeModel_PACKED *packed_data = malloc(sizeof(glShadeModel_PACKED)); \ packed_data->format = glShadeModel_FORMAT; \ - packed_data->func = glShadeModel; \ + packed_data->func = glshim_glShadeModel; \ packed_data->args.a1 = (GLenum)mode; \ glPushCall((void *)packed_data); \ } @@ -4391,7 +4391,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glStencilFunc(func, ref, mask) { \ glStencilFunc_PACKED *packed_data = malloc(sizeof(glStencilFunc_PACKED)); \ packed_data->format = glStencilFunc_FORMAT; \ - packed_data->func = glStencilFunc; \ + packed_data->func = glshim_glStencilFunc; \ packed_data->args.a1 = (GLenum)func; \ packed_data->args.a2 = (GLint)ref; \ packed_data->args.a3 = (GLuint)mask; \ @@ -4402,7 +4402,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glStencilMask(mask) { \ glStencilMask_PACKED *packed_data = malloc(sizeof(glStencilMask_PACKED)); \ packed_data->format = glStencilMask_FORMAT; \ - packed_data->func = glStencilMask; \ + packed_data->func = glshim_glStencilMask; \ packed_data->args.a1 = (GLuint)mask; \ glPushCall((void *)packed_data); \ } @@ -4411,7 +4411,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glStencilOp(fail, zfail, zpass) { \ glStencilOp_PACKED *packed_data = malloc(sizeof(glStencilOp_PACKED)); \ packed_data->format = glStencilOp_FORMAT; \ - packed_data->func = glStencilOp; \ + packed_data->func = glshim_glStencilOp; \ packed_data->args.a1 = (GLenum)fail; \ packed_data->args.a2 = (GLenum)zfail; \ packed_data->args.a3 = (GLenum)zpass; \ @@ -4422,7 +4422,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexCoordPointer(size, type, stride, pointer) { \ glTexCoordPointer_PACKED *packed_data = malloc(sizeof(glTexCoordPointer_PACKED)); \ packed_data->format = glTexCoordPointer_FORMAT; \ - packed_data->func = glTexCoordPointer; \ + packed_data->func = glshim_glTexCoordPointer; \ packed_data->args.a1 = (GLint)size; \ packed_data->args.a2 = (GLenum)type; \ packed_data->args.a3 = (GLsizei)stride; \ @@ -4434,7 +4434,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexEnvf(target, pname, param) { \ glTexEnvf_PACKED *packed_data = malloc(sizeof(glTexEnvf_PACKED)); \ packed_data->format = glTexEnvf_FORMAT; \ - packed_data->func = glTexEnvf; \ + packed_data->func = glshim_glTexEnvf; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat)param; \ @@ -4445,7 +4445,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexEnvfv(target, pname, params) { \ glTexEnvfv_PACKED *packed_data = malloc(sizeof(glTexEnvfv_PACKED)); \ packed_data->format = glTexEnvfv_FORMAT; \ - packed_data->func = glTexEnvfv; \ + packed_data->func = glshim_glTexEnvfv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat *)params; \ @@ -4456,7 +4456,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexEnvi(target, pname, param) { \ glTexEnvi_PACKED *packed_data = malloc(sizeof(glTexEnvi_PACKED)); \ packed_data->format = glTexEnvi_FORMAT; \ - packed_data->func = glTexEnvi; \ + packed_data->func = glshim_glTexEnvi; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint)param; \ @@ -4467,7 +4467,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexEnviv(target, pname, params) { \ glTexEnviv_PACKED *packed_data = malloc(sizeof(glTexEnviv_PACKED)); \ packed_data->format = glTexEnviv_FORMAT; \ - packed_data->func = glTexEnviv; \ + packed_data->func = glshim_glTexEnviv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint *)params; \ @@ -4478,7 +4478,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexEnvx(target, pname, param) { \ glTexEnvx_PACKED *packed_data = malloc(sizeof(glTexEnvx_PACKED)); \ packed_data->format = glTexEnvx_FORMAT; \ - packed_data->func = glTexEnvx; \ + packed_data->func = glshim_glTexEnvx; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfixed)param; \ @@ -4489,7 +4489,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexEnvxv(target, pname, params) { \ glTexEnvxv_PACKED *packed_data = malloc(sizeof(glTexEnvxv_PACKED)); \ packed_data->format = glTexEnvxv_FORMAT; \ - packed_data->func = glTexEnvxv; \ + packed_data->func = glshim_glTexEnvxv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfixed *)params; \ @@ -4500,7 +4500,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexGenfv(coord, pname, params) { \ glTexGenfv_PACKED *packed_data = malloc(sizeof(glTexGenfv_PACKED)); \ packed_data->format = glTexGenfv_FORMAT; \ - packed_data->func = glTexGenfv; \ + packed_data->func = glshim_glTexGenfv; \ packed_data->args.a1 = (GLenum)coord; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat *)params; \ @@ -4511,7 +4511,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexGeni(coord, pname, param) { \ glTexGeni_PACKED *packed_data = malloc(sizeof(glTexGeni_PACKED)); \ packed_data->format = glTexGeni_FORMAT; \ - packed_data->func = glTexGeni; \ + packed_data->func = glshim_glTexGeni; \ packed_data->args.a1 = (GLenum)coord; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint)param; \ @@ -4522,7 +4522,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels) { \ glTexImage2D_PACKED *packed_data = malloc(sizeof(glTexImage2D_PACKED)); \ packed_data->format = glTexImage2D_FORMAT; \ - packed_data->func = glTexImage2D; \ + packed_data->func = glshim_glTexImage2D; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLint)level; \ packed_data->args.a3 = (GLint)internalformat; \ @@ -4539,7 +4539,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexParameterf(target, pname, param) { \ glTexParameterf_PACKED *packed_data = malloc(sizeof(glTexParameterf_PACKED)); \ packed_data->format = glTexParameterf_FORMAT; \ - packed_data->func = glTexParameterf; \ + packed_data->func = glshim_glTexParameterf; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat)param; \ @@ -4550,7 +4550,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexParameterfv(target, pname, params) { \ glTexParameterfv_PACKED *packed_data = malloc(sizeof(glTexParameterfv_PACKED)); \ packed_data->format = glTexParameterfv_FORMAT; \ - packed_data->func = glTexParameterfv; \ + packed_data->func = glshim_glTexParameterfv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat *)params; \ @@ -4561,7 +4561,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexParameteri(target, pname, param) { \ glTexParameteri_PACKED *packed_data = malloc(sizeof(glTexParameteri_PACKED)); \ packed_data->format = glTexParameteri_FORMAT; \ - packed_data->func = glTexParameteri; \ + packed_data->func = glshim_glTexParameteri; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint)param; \ @@ -4572,7 +4572,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexParameteriv(target, pname, params) { \ glTexParameteriv_PACKED *packed_data = malloc(sizeof(glTexParameteriv_PACKED)); \ packed_data->format = glTexParameteriv_FORMAT; \ - packed_data->func = glTexParameteriv; \ + packed_data->func = glshim_glTexParameteriv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint *)params; \ @@ -4583,7 +4583,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexParameterx(target, pname, param) { \ glTexParameterx_PACKED *packed_data = malloc(sizeof(glTexParameterx_PACKED)); \ packed_data->format = glTexParameterx_FORMAT; \ - packed_data->func = glTexParameterx; \ + packed_data->func = glshim_glTexParameterx; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfixed)param; \ @@ -4594,7 +4594,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexParameterxv(target, pname, params) { \ glTexParameterxv_PACKED *packed_data = malloc(sizeof(glTexParameterxv_PACKED)); \ packed_data->format = glTexParameterxv_FORMAT; \ - packed_data->func = glTexParameterxv; \ + packed_data->func = glshim_glTexParameterxv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfixed *)params; \ @@ -4605,7 +4605,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels) { \ glTexSubImage2D_PACKED *packed_data = malloc(sizeof(glTexSubImage2D_PACKED)); \ packed_data->format = glTexSubImage2D_FORMAT; \ - packed_data->func = glTexSubImage2D; \ + packed_data->func = glshim_glTexSubImage2D; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLint)level; \ packed_data->args.a3 = (GLint)xoffset; \ @@ -4622,7 +4622,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTranslatef(x, y, z) { \ glTranslatef_PACKED *packed_data = malloc(sizeof(glTranslatef_PACKED)); \ packed_data->format = glTranslatef_FORMAT; \ - packed_data->func = glTranslatef; \ + packed_data->func = glshim_glTranslatef; \ packed_data->args.a1 = (GLfloat)x; \ packed_data->args.a2 = (GLfloat)y; \ packed_data->args.a3 = (GLfloat)z; \ @@ -4633,7 +4633,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTranslatex(x, y, z) { \ glTranslatex_PACKED *packed_data = malloc(sizeof(glTranslatex_PACKED)); \ packed_data->format = glTranslatex_FORMAT; \ - packed_data->func = glTranslatex; \ + packed_data->func = glshim_glTranslatex; \ packed_data->args.a1 = (GLfixed)x; \ packed_data->args.a2 = (GLfixed)y; \ packed_data->args.a3 = (GLfixed)z; \ @@ -4644,7 +4644,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glVertexPointer(size, type, stride, pointer) { \ glVertexPointer_PACKED *packed_data = malloc(sizeof(glVertexPointer_PACKED)); \ packed_data->format = glVertexPointer_FORMAT; \ - packed_data->func = glVertexPointer; \ + packed_data->func = glshim_glVertexPointer; \ packed_data->args.a1 = (GLint)size; \ packed_data->args.a2 = (GLenum)type; \ packed_data->args.a3 = (GLsizei)stride; \ @@ -4656,7 +4656,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glViewport(x, y, width, height) { \ glViewport_PACKED *packed_data = malloc(sizeof(glViewport_PACKED)); \ packed_data->format = glViewport_FORMAT; \ - packed_data->func = glViewport; \ + packed_data->func = glshim_glViewport; \ packed_data->args.a1 = (GLint)x; \ packed_data->args.a2 = (GLint)y; \ packed_data->args.a3 = (GLsizei)width; \ diff --git a/project/jni/glshim/src/gl/wrap/gles2.c b/project/jni/glshim/src/gl/wrap/gles2.c index ea7588520..116d32f9a 100755 --- a/project/jni/glshim/src/gl/wrap/gles2.c +++ b/project/jni/glshim/src/gl/wrap/gles2.c @@ -1,1282 +1,1424 @@ #ifdef USE_ES2 #include "gles2.h" #ifndef skip_glActiveTexture -void glActiveTexture(GLenum texture) { +void glshim_glActiveTexture(GLenum texture) { LOAD_GLES(glActiveTexture); #ifndef direct_glActiveTexture PUSH_IF_COMPILING(glActiveTexture) #endif gles_glActiveTexture(texture); } +void glActiveTexture(GLenum texture) __attribute__((alias("glshim_glActiveTexture"))); #endif #ifndef skip_glAttachShader -void glAttachShader(GLuint program, GLuint shader) { +void glshim_glAttachShader(GLuint program, GLuint shader) { LOAD_GLES(glAttachShader); #ifndef direct_glAttachShader PUSH_IF_COMPILING(glAttachShader) #endif gles_glAttachShader(program, shader); } +void glAttachShader(GLuint program, GLuint shader) __attribute__((alias("glshim_glAttachShader"))); #endif #ifndef skip_glBindAttribLocation -void glBindAttribLocation(GLuint program, GLuint index, const GLchar * name) { +void glshim_glBindAttribLocation(GLuint program, GLuint index, const GLchar * name) { LOAD_GLES(glBindAttribLocation); #ifndef direct_glBindAttribLocation PUSH_IF_COMPILING(glBindAttribLocation) #endif gles_glBindAttribLocation(program, index, name); } +void glBindAttribLocation(GLuint program, GLuint index, const GLchar * name) __attribute__((alias("glshim_glBindAttribLocation"))); #endif #ifndef skip_glBindBuffer -void glBindBuffer(GLenum target, GLuint buffer) { +void glshim_glBindBuffer(GLenum target, GLuint buffer) { LOAD_GLES(glBindBuffer); #ifndef direct_glBindBuffer PUSH_IF_COMPILING(glBindBuffer) #endif gles_glBindBuffer(target, buffer); } +void glBindBuffer(GLenum target, GLuint buffer) __attribute__((alias("glshim_glBindBuffer"))); #endif #ifndef skip_glBindFramebuffer -void glBindFramebuffer(GLenum target, GLuint framebuffer) { +void glshim_glBindFramebuffer(GLenum target, GLuint framebuffer) { LOAD_GLES(glBindFramebuffer); #ifndef direct_glBindFramebuffer PUSH_IF_COMPILING(glBindFramebuffer) #endif gles_glBindFramebuffer(target, framebuffer); } +void glBindFramebuffer(GLenum target, GLuint framebuffer) __attribute__((alias("glshim_glBindFramebuffer"))); #endif #ifndef skip_glBindRenderbuffer -void glBindRenderbuffer(GLenum target, GLuint renderbuffer) { +void glshim_glBindRenderbuffer(GLenum target, GLuint renderbuffer) { LOAD_GLES(glBindRenderbuffer); #ifndef direct_glBindRenderbuffer PUSH_IF_COMPILING(glBindRenderbuffer) #endif gles_glBindRenderbuffer(target, renderbuffer); } +void glBindRenderbuffer(GLenum target, GLuint renderbuffer) __attribute__((alias("glshim_glBindRenderbuffer"))); #endif #ifndef skip_glBindTexture -void glBindTexture(GLenum target, GLuint texture) { +void glshim_glBindTexture(GLenum target, GLuint texture) { LOAD_GLES(glBindTexture); #ifndef direct_glBindTexture PUSH_IF_COMPILING(glBindTexture) #endif gles_glBindTexture(target, texture); } +void glBindTexture(GLenum target, GLuint texture) __attribute__((alias("glshim_glBindTexture"))); #endif #ifndef skip_glBlendColor -void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { +void glshim_glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { LOAD_GLES(glBlendColor); #ifndef direct_glBlendColor PUSH_IF_COMPILING(glBlendColor) #endif gles_glBlendColor(red, green, blue, alpha); } +void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) __attribute__((alias("glshim_glBlendColor"))); #endif #ifndef skip_glBlendEquation -void glBlendEquation(GLenum mode) { +void glshim_glBlendEquation(GLenum mode) { LOAD_GLES(glBlendEquation); #ifndef direct_glBlendEquation PUSH_IF_COMPILING(glBlendEquation) #endif gles_glBlendEquation(mode); } +void glBlendEquation(GLenum mode) __attribute__((alias("glshim_glBlendEquation"))); #endif #ifndef skip_glBlendEquationSeparate -void glBlendEquationSeparate(GLenum modeRGB, GLenum modeA) { +void glshim_glBlendEquationSeparate(GLenum modeRGB, GLenum modeA) { LOAD_GLES(glBlendEquationSeparate); #ifndef direct_glBlendEquationSeparate PUSH_IF_COMPILING(glBlendEquationSeparate) #endif gles_glBlendEquationSeparate(modeRGB, modeA); } +void glBlendEquationSeparate(GLenum modeRGB, GLenum modeA) __attribute__((alias("glshim_glBlendEquationSeparate"))); #endif #ifndef skip_glBlendFunc -void glBlendFunc(GLenum sfactor, GLenum dfactor) { +void glshim_glBlendFunc(GLenum sfactor, GLenum dfactor) { LOAD_GLES(glBlendFunc); #ifndef direct_glBlendFunc PUSH_IF_COMPILING(glBlendFunc) #endif gles_glBlendFunc(sfactor, dfactor); } +void glBlendFunc(GLenum sfactor, GLenum dfactor) __attribute__((alias("glshim_glBlendFunc"))); #endif #ifndef skip_glBlendFuncSeparate -void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { +void glshim_glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { LOAD_GLES(glBlendFuncSeparate); #ifndef direct_glBlendFuncSeparate PUSH_IF_COMPILING(glBlendFuncSeparate) #endif gles_glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); } +void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) __attribute__((alias("glshim_glBlendFuncSeparate"))); #endif #ifndef skip_glBufferData -void glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) { +void glshim_glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) { LOAD_GLES(glBufferData); #ifndef direct_glBufferData PUSH_IF_COMPILING(glBufferData) #endif gles_glBufferData(target, size, data, usage); } +void glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) __attribute__((alias("glshim_glBufferData"))); #endif #ifndef skip_glBufferSubData -void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) { +void glshim_glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) { LOAD_GLES(glBufferSubData); #ifndef direct_glBufferSubData PUSH_IF_COMPILING(glBufferSubData) #endif gles_glBufferSubData(target, offset, size, data); } +void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) __attribute__((alias("glshim_glBufferSubData"))); #endif #ifndef skip_glCheckFramebufferStatus -GLenum glCheckFramebufferStatus(GLenum target) { +GLenum glshim_glCheckFramebufferStatus(GLenum target) { LOAD_GLES(glCheckFramebufferStatus); #ifndef direct_glCheckFramebufferStatus PUSH_IF_COMPILING(glCheckFramebufferStatus) #endif return gles_glCheckFramebufferStatus(target); } +GLenum glCheckFramebufferStatus(GLenum target) __attribute__((alias("glshim_glCheckFramebufferStatus"))); #endif #ifndef skip_glClear -void glClear(GLbitfield mask) { +void glshim_glClear(GLbitfield mask) { LOAD_GLES(glClear); #ifndef direct_glClear PUSH_IF_COMPILING(glClear) #endif gles_glClear(mask); } +void glClear(GLbitfield mask) __attribute__((alias("glshim_glClear"))); #endif #ifndef skip_glClearColor -void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { +void glshim_glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { LOAD_GLES(glClearColor); #ifndef direct_glClearColor PUSH_IF_COMPILING(glClearColor) #endif gles_glClearColor(red, green, blue, alpha); } +void glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) __attribute__((alias("glshim_glClearColor"))); #endif #ifndef skip_glClearDepthf -void glClearDepthf(GLclampf depth) { +void glshim_glClearDepthf(GLclampf depth) { LOAD_GLES(glClearDepthf); #ifndef direct_glClearDepthf PUSH_IF_COMPILING(glClearDepthf) #endif gles_glClearDepthf(depth); } +void glClearDepthf(GLclampf depth) __attribute__((alias("glshim_glClearDepthf"))); #endif #ifndef skip_glClearStencil -void glClearStencil(GLint s) { +void glshim_glClearStencil(GLint s) { LOAD_GLES(glClearStencil); #ifndef direct_glClearStencil PUSH_IF_COMPILING(glClearStencil) #endif gles_glClearStencil(s); } +void glClearStencil(GLint s) __attribute__((alias("glshim_glClearStencil"))); #endif #ifndef skip_glColorMask -void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { +void glshim_glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { LOAD_GLES(glColorMask); #ifndef direct_glColorMask PUSH_IF_COMPILING(glColorMask) #endif gles_glColorMask(red, green, blue, alpha); } +void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) __attribute__((alias("glshim_glColorMask"))); #endif #ifndef skip_glCompileShader -void glCompileShader(GLuint shader) { +void glshim_glCompileShader(GLuint shader) { LOAD_GLES(glCompileShader); #ifndef direct_glCompileShader PUSH_IF_COMPILING(glCompileShader) #endif gles_glCompileShader(shader); } +void glCompileShader(GLuint shader) __attribute__((alias("glshim_glCompileShader"))); #endif #ifndef skip_glCompressedTexImage2D -void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data) { +void glshim_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data) { LOAD_GLES(glCompressedTexImage2D); #ifndef direct_glCompressedTexImage2D PUSH_IF_COMPILING(glCompressedTexImage2D) #endif gles_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); } +void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data) __attribute__((alias("glshim_glCompressedTexImage2D"))); #endif #ifndef skip_glCompressedTexSubImage2D -void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data) { +void glshim_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data) { LOAD_GLES(glCompressedTexSubImage2D); #ifndef direct_glCompressedTexSubImage2D PUSH_IF_COMPILING(glCompressedTexSubImage2D) #endif gles_glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); } +void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data) __attribute__((alias("glshim_glCompressedTexSubImage2D"))); #endif #ifndef skip_glCopyTexImage2D -void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { +void glshim_glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { LOAD_GLES(glCopyTexImage2D); #ifndef direct_glCopyTexImage2D PUSH_IF_COMPILING(glCopyTexImage2D) #endif gles_glCopyTexImage2D(target, level, internalformat, x, y, width, height, border); } +void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) __attribute__((alias("glshim_glCopyTexImage2D"))); #endif #ifndef skip_glCopyTexSubImage2D -void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { +void glshim_glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { LOAD_GLES(glCopyTexSubImage2D); #ifndef direct_glCopyTexSubImage2D PUSH_IF_COMPILING(glCopyTexSubImage2D) #endif gles_glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); } +void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) __attribute__((alias("glshim_glCopyTexSubImage2D"))); #endif #ifndef skip_glCreateProgram -GLuint glCreateProgram() { +GLuint glshim_glCreateProgram() { LOAD_GLES(glCreateProgram); #ifndef direct_glCreateProgram PUSH_IF_COMPILING(glCreateProgram) #endif return gles_glCreateProgram(); } +GLuint glCreateProgram() __attribute__((alias("glshim_glCreateProgram"))); #endif #ifndef skip_glCreateShader -GLuint glCreateShader(GLenum type) { +GLuint glshim_glCreateShader(GLenum type) { LOAD_GLES(glCreateShader); #ifndef direct_glCreateShader PUSH_IF_COMPILING(glCreateShader) #endif return gles_glCreateShader(type); } +GLuint glCreateShader(GLenum type) __attribute__((alias("glshim_glCreateShader"))); #endif #ifndef skip_glCullFace -void glCullFace(GLenum mode) { +void glshim_glCullFace(GLenum mode) { LOAD_GLES(glCullFace); #ifndef direct_glCullFace PUSH_IF_COMPILING(glCullFace) #endif gles_glCullFace(mode); } +void glCullFace(GLenum mode) __attribute__((alias("glshim_glCullFace"))); #endif #ifndef skip_glDeleteBuffers -void glDeleteBuffers(GLsizei n, const GLuint * buffer) { +void glshim_glDeleteBuffers(GLsizei n, const GLuint * buffer) { LOAD_GLES(glDeleteBuffers); #ifndef direct_glDeleteBuffers PUSH_IF_COMPILING(glDeleteBuffers) #endif gles_glDeleteBuffers(n, buffer); } +void glDeleteBuffers(GLsizei n, const GLuint * buffer) __attribute__((alias("glshim_glDeleteBuffers"))); #endif #ifndef skip_glDeleteFramebuffers -void glDeleteFramebuffers(GLsizei n, const GLuint * framebuffers) { +void glshim_glDeleteFramebuffers(GLsizei n, const GLuint * framebuffers) { LOAD_GLES(glDeleteFramebuffers); #ifndef direct_glDeleteFramebuffers PUSH_IF_COMPILING(glDeleteFramebuffers) #endif gles_glDeleteFramebuffers(n, framebuffers); } +void glDeleteFramebuffers(GLsizei n, const GLuint * framebuffers) __attribute__((alias("glshim_glDeleteFramebuffers"))); #endif #ifndef skip_glDeleteProgram -void glDeleteProgram(GLuint program) { +void glshim_glDeleteProgram(GLuint program) { LOAD_GLES(glDeleteProgram); #ifndef direct_glDeleteProgram PUSH_IF_COMPILING(glDeleteProgram) #endif gles_glDeleteProgram(program); } +void glDeleteProgram(GLuint program) __attribute__((alias("glshim_glDeleteProgram"))); #endif #ifndef skip_glDeleteRenderbuffers -void glDeleteRenderbuffers(GLsizei n, const GLuint * renderbuffers) { +void glshim_glDeleteRenderbuffers(GLsizei n, const GLuint * renderbuffers) { LOAD_GLES(glDeleteRenderbuffers); #ifndef direct_glDeleteRenderbuffers PUSH_IF_COMPILING(glDeleteRenderbuffers) #endif gles_glDeleteRenderbuffers(n, renderbuffers); } +void glDeleteRenderbuffers(GLsizei n, const GLuint * renderbuffers) __attribute__((alias("glshim_glDeleteRenderbuffers"))); #endif #ifndef skip_glDeleteShader -void glDeleteShader(GLuint program) { +void glshim_glDeleteShader(GLuint program) { LOAD_GLES(glDeleteShader); #ifndef direct_glDeleteShader PUSH_IF_COMPILING(glDeleteShader) #endif gles_glDeleteShader(program); } +void glDeleteShader(GLuint program) __attribute__((alias("glshim_glDeleteShader"))); #endif #ifndef skip_glDeleteTextures -void glDeleteTextures(GLsizei n, const GLuint * textures) { +void glshim_glDeleteTextures(GLsizei n, const GLuint * textures) { LOAD_GLES(glDeleteTextures); #ifndef direct_glDeleteTextures PUSH_IF_COMPILING(glDeleteTextures) #endif gles_glDeleteTextures(n, textures); } +void glDeleteTextures(GLsizei n, const GLuint * textures) __attribute__((alias("glshim_glDeleteTextures"))); #endif #ifndef skip_glDepthFunc -void glDepthFunc(GLenum func) { +void glshim_glDepthFunc(GLenum func) { LOAD_GLES(glDepthFunc); #ifndef direct_glDepthFunc PUSH_IF_COMPILING(glDepthFunc) #endif gles_glDepthFunc(func); } +void glDepthFunc(GLenum func) __attribute__((alias("glshim_glDepthFunc"))); #endif #ifndef skip_glDepthMask -void glDepthMask(GLboolean flag) { +void glshim_glDepthMask(GLboolean flag) { LOAD_GLES(glDepthMask); #ifndef direct_glDepthMask PUSH_IF_COMPILING(glDepthMask) #endif gles_glDepthMask(flag); } +void glDepthMask(GLboolean flag) __attribute__((alias("glshim_glDepthMask"))); #endif #ifndef skip_glDepthRangef -void glDepthRangef(GLclampf zNear, GLclampf zFar) { +void glshim_glDepthRangef(GLclampf zNear, GLclampf zFar) { LOAD_GLES(glDepthRangef); #ifndef direct_glDepthRangef PUSH_IF_COMPILING(glDepthRangef) #endif gles_glDepthRangef(zNear, zFar); } +void glDepthRangef(GLclampf zNear, GLclampf zFar) __attribute__((alias("glshim_glDepthRangef"))); #endif #ifndef skip_glDetachShader -void glDetachShader(GLuint program, GLuint shader) { +void glshim_glDetachShader(GLuint program, GLuint shader) { LOAD_GLES(glDetachShader); #ifndef direct_glDetachShader PUSH_IF_COMPILING(glDetachShader) #endif gles_glDetachShader(program, shader); } +void glDetachShader(GLuint program, GLuint shader) __attribute__((alias("glshim_glDetachShader"))); #endif #ifndef skip_glDisable -void glDisable(GLenum cap) { +void glshim_glDisable(GLenum cap) { LOAD_GLES(glDisable); #ifndef direct_glDisable PUSH_IF_COMPILING(glDisable) #endif gles_glDisable(cap); } +void glDisable(GLenum cap) __attribute__((alias("glshim_glDisable"))); #endif #ifndef skip_glDisableVertexAttribArray -void glDisableVertexAttribArray(GLuint index) { +void glshim_glDisableVertexAttribArray(GLuint index) { LOAD_GLES(glDisableVertexAttribArray); #ifndef direct_glDisableVertexAttribArray PUSH_IF_COMPILING(glDisableVertexAttribArray) #endif gles_glDisableVertexAttribArray(index); } +void glDisableVertexAttribArray(GLuint index) __attribute__((alias("glshim_glDisableVertexAttribArray"))); #endif #ifndef skip_glDrawArrays -void glDrawArrays(GLenum mode, GLint first, GLsizei count) { +void glshim_glDrawArrays(GLenum mode, GLint first, GLsizei count) { LOAD_GLES(glDrawArrays); #ifndef direct_glDrawArrays PUSH_IF_COMPILING(glDrawArrays) #endif gles_glDrawArrays(mode, first, count); } +void glDrawArrays(GLenum mode, GLint first, GLsizei count) __attribute__((alias("glshim_glDrawArrays"))); #endif #ifndef skip_glDrawElements -void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) { +void glshim_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) { LOAD_GLES(glDrawElements); #ifndef direct_glDrawElements PUSH_IF_COMPILING(glDrawElements) #endif gles_glDrawElements(mode, count, type, indices); } +void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) __attribute__((alias("glshim_glDrawElements"))); #endif #ifndef skip_glEnable -void glEnable(GLenum cap) { +void glshim_glEnable(GLenum cap) { LOAD_GLES(glEnable); #ifndef direct_glEnable PUSH_IF_COMPILING(glEnable) #endif gles_glEnable(cap); } +void glEnable(GLenum cap) __attribute__((alias("glshim_glEnable"))); #endif #ifndef skip_glEnableVertexAttribArray -void glEnableVertexAttribArray(GLuint index) { +void glshim_glEnableVertexAttribArray(GLuint index) { LOAD_GLES(glEnableVertexAttribArray); #ifndef direct_glEnableVertexAttribArray PUSH_IF_COMPILING(glEnableVertexAttribArray) #endif gles_glEnableVertexAttribArray(index); } +void glEnableVertexAttribArray(GLuint index) __attribute__((alias("glshim_glEnableVertexAttribArray"))); #endif #ifndef skip_glFinish -void glFinish() { +void glshim_glFinish() { LOAD_GLES(glFinish); #ifndef direct_glFinish PUSH_IF_COMPILING(glFinish) #endif gles_glFinish(); } +void glFinish() __attribute__((alias("glshim_glFinish"))); #endif #ifndef skip_glFlush -void glFlush() { +void glshim_glFlush() { LOAD_GLES(glFlush); #ifndef direct_glFlush PUSH_IF_COMPILING(glFlush) #endif gles_glFlush(); } +void glFlush() __attribute__((alias("glshim_glFlush"))); #endif #ifndef skip_glFramebufferRenderbuffer -void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) { +void glshim_glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) { LOAD_GLES(glFramebufferRenderbuffer); #ifndef direct_glFramebufferRenderbuffer PUSH_IF_COMPILING(glFramebufferRenderbuffer) #endif gles_glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); } +void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) __attribute__((alias("glshim_glFramebufferRenderbuffer"))); #endif #ifndef skip_glFramebufferTexture2D -void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { +void glshim_glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { LOAD_GLES(glFramebufferTexture2D); #ifndef direct_glFramebufferTexture2D PUSH_IF_COMPILING(glFramebufferTexture2D) #endif gles_glFramebufferTexture2D(target, attachment, textarget, texture, level); } +void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) __attribute__((alias("glshim_glFramebufferTexture2D"))); #endif #ifndef skip_glFrontFace -void glFrontFace(GLenum mode) { +void glshim_glFrontFace(GLenum mode) { LOAD_GLES(glFrontFace); #ifndef direct_glFrontFace PUSH_IF_COMPILING(glFrontFace) #endif gles_glFrontFace(mode); } +void glFrontFace(GLenum mode) __attribute__((alias("glshim_glFrontFace"))); #endif #ifndef skip_glGenBuffers -void glGenBuffers(GLsizei n, GLuint * buffer) { +void glshim_glGenBuffers(GLsizei n, GLuint * buffer) { LOAD_GLES(glGenBuffers); #ifndef direct_glGenBuffers PUSH_IF_COMPILING(glGenBuffers) #endif gles_glGenBuffers(n, buffer); } +void glGenBuffers(GLsizei n, GLuint * buffer) __attribute__((alias("glshim_glGenBuffers"))); #endif #ifndef skip_glGenFramebuffers -void glGenFramebuffers(GLsizei n, GLuint * framebuffers) { +void glshim_glGenFramebuffers(GLsizei n, GLuint * framebuffers) { LOAD_GLES(glGenFramebuffers); #ifndef direct_glGenFramebuffers PUSH_IF_COMPILING(glGenFramebuffers) #endif gles_glGenFramebuffers(n, framebuffers); } +void glGenFramebuffers(GLsizei n, GLuint * framebuffers) __attribute__((alias("glshim_glGenFramebuffers"))); #endif #ifndef skip_glGenRenderbuffers -void glGenRenderbuffers(GLsizei n, GLuint * renderbuffers) { +void glshim_glGenRenderbuffers(GLsizei n, GLuint * renderbuffers) { LOAD_GLES(glGenRenderbuffers); #ifndef direct_glGenRenderbuffers PUSH_IF_COMPILING(glGenRenderbuffers) #endif gles_glGenRenderbuffers(n, renderbuffers); } +void glGenRenderbuffers(GLsizei n, GLuint * renderbuffers) __attribute__((alias("glshim_glGenRenderbuffers"))); #endif #ifndef skip_glGenTextures -void glGenTextures(GLsizei n, GLuint * textures) { +void glshim_glGenTextures(GLsizei n, GLuint * textures) { LOAD_GLES(glGenTextures); #ifndef direct_glGenTextures PUSH_IF_COMPILING(glGenTextures) #endif gles_glGenTextures(n, textures); } +void glGenTextures(GLsizei n, GLuint * textures) __attribute__((alias("glshim_glGenTextures"))); #endif #ifndef skip_glGenerateMipmap -void glGenerateMipmap(GLenum target) { +void glshim_glGenerateMipmap(GLenum target) { LOAD_GLES(glGenerateMipmap); #ifndef direct_glGenerateMipmap PUSH_IF_COMPILING(glGenerateMipmap) #endif gles_glGenerateMipmap(target); } +void glGenerateMipmap(GLenum target) __attribute__((alias("glshim_glGenerateMipmap"))); #endif #ifndef skip_glGetActiveAttrib -void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) { +void glshim_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) { LOAD_GLES(glGetActiveAttrib); #ifndef direct_glGetActiveAttrib PUSH_IF_COMPILING(glGetActiveAttrib) #endif gles_glGetActiveAttrib(program, index, bufSize, length, size, type, name); } +void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) __attribute__((alias("glshim_glGetActiveAttrib"))); #endif #ifndef skip_glGetActiveUniform -void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) { +void glshim_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) { LOAD_GLES(glGetActiveUniform); #ifndef direct_glGetActiveUniform PUSH_IF_COMPILING(glGetActiveUniform) #endif gles_glGetActiveUniform(program, index, bufSize, length, size, type, name); } +void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name) __attribute__((alias("glshim_glGetActiveUniform"))); #endif #ifndef skip_glGetAttachedShaders -void glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * obj) { +void glshim_glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * obj) { LOAD_GLES(glGetAttachedShaders); #ifndef direct_glGetAttachedShaders PUSH_IF_COMPILING(glGetAttachedShaders) #endif gles_glGetAttachedShaders(program, maxCount, count, obj); } +void glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * obj) __attribute__((alias("glshim_glGetAttachedShaders"))); #endif #ifndef skip_glGetAttribLocation -GLint glGetAttribLocation(GLuint program, const GLchar * name) { +GLint glshim_glGetAttribLocation(GLuint program, const GLchar * name) { LOAD_GLES(glGetAttribLocation); #ifndef direct_glGetAttribLocation PUSH_IF_COMPILING(glGetAttribLocation) #endif return gles_glGetAttribLocation(program, name); } +GLint glGetAttribLocation(GLuint program, const GLchar * name) __attribute__((alias("glshim_glGetAttribLocation"))); #endif #ifndef skip_glGetBooleanv -void glGetBooleanv(GLenum pname, GLboolean * params) { +void glshim_glGetBooleanv(GLenum pname, GLboolean * params) { LOAD_GLES(glGetBooleanv); #ifndef direct_glGetBooleanv PUSH_IF_COMPILING(glGetBooleanv) #endif gles_glGetBooleanv(pname, params); } +void glGetBooleanv(GLenum pname, GLboolean * params) __attribute__((alias("glshim_glGetBooleanv"))); #endif #ifndef skip_glGetBufferParameteriv -void glGetBufferParameteriv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetBufferParameteriv(GLenum target, GLenum pname, GLint * params) { LOAD_GLES(glGetBufferParameteriv); #ifndef direct_glGetBufferParameteriv PUSH_IF_COMPILING(glGetBufferParameteriv) #endif gles_glGetBufferParameteriv(target, pname, params); } +void glGetBufferParameteriv(GLenum target, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetBufferParameteriv"))); #endif #ifndef skip_glGetError -GLenum glGetError() { +GLenum glshim_glGetError() { LOAD_GLES(glGetError); #ifndef direct_glGetError PUSH_IF_COMPILING(glGetError) #endif return gles_glGetError(); } +GLenum glGetError() __attribute__((alias("glshim_glGetError"))); #endif #ifndef skip_glGetFloatv -void glGetFloatv(GLenum pname, GLfloat * params) { +void glshim_glGetFloatv(GLenum pname, GLfloat * params) { LOAD_GLES(glGetFloatv); #ifndef direct_glGetFloatv PUSH_IF_COMPILING(glGetFloatv) #endif gles_glGetFloatv(pname, params); } +void glGetFloatv(GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetFloatv"))); #endif #ifndef skip_glGetFramebufferAttachmentParameteriv -void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint * params) { +void glshim_glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint * params) { LOAD_GLES(glGetFramebufferAttachmentParameteriv); #ifndef direct_glGetFramebufferAttachmentParameteriv PUSH_IF_COMPILING(glGetFramebufferAttachmentParameteriv) #endif gles_glGetFramebufferAttachmentParameteriv(target, attachment, pname, params); } +void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetFramebufferAttachmentParameteriv"))); #endif #ifndef skip_glGetIntegerv -void glGetIntegerv(GLenum pname, GLint * params) { +void glshim_glGetIntegerv(GLenum pname, GLint * params) { LOAD_GLES(glGetIntegerv); #ifndef direct_glGetIntegerv PUSH_IF_COMPILING(glGetIntegerv) #endif gles_glGetIntegerv(pname, params); } +void glGetIntegerv(GLenum pname, GLint * params) __attribute__((alias("glshim_glGetIntegerv"))); #endif #ifndef skip_glGetProgramInfoLog -void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { +void glshim_glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { LOAD_GLES(glGetProgramInfoLog); #ifndef direct_glGetProgramInfoLog PUSH_IF_COMPILING(glGetProgramInfoLog) #endif gles_glGetProgramInfoLog(program, bufSize, length, infoLog); } +void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog) __attribute__((alias("glshim_glGetProgramInfoLog"))); #endif #ifndef skip_glGetProgramiv -void glGetProgramiv(GLuint program, GLenum pname, GLint * params) { +void glshim_glGetProgramiv(GLuint program, GLenum pname, GLint * params) { LOAD_GLES(glGetProgramiv); #ifndef direct_glGetProgramiv PUSH_IF_COMPILING(glGetProgramiv) #endif gles_glGetProgramiv(program, pname, params); } +void glGetProgramiv(GLuint program, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetProgramiv"))); #endif #ifndef skip_glGetRenderbufferParameteriv -void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint * params) { LOAD_GLES(glGetRenderbufferParameteriv); #ifndef direct_glGetRenderbufferParameteriv PUSH_IF_COMPILING(glGetRenderbufferParameteriv) #endif gles_glGetRenderbufferParameteriv(target, pname, params); } +void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetRenderbufferParameteriv"))); #endif #ifndef skip_glGetShaderInfoLog -void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { +void glshim_glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog) { LOAD_GLES(glGetShaderInfoLog); #ifndef direct_glGetShaderInfoLog PUSH_IF_COMPILING(glGetShaderInfoLog) #endif gles_glGetShaderInfoLog(shader, bufSize, length, infoLog); } +void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog) __attribute__((alias("glshim_glGetShaderInfoLog"))); #endif #ifndef skip_glGetShaderPrecisionFormat -void glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision) { +void glshim_glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision) { LOAD_GLES(glGetShaderPrecisionFormat); #ifndef direct_glGetShaderPrecisionFormat PUSH_IF_COMPILING(glGetShaderPrecisionFormat) #endif gles_glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision); } +void glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision) __attribute__((alias("glshim_glGetShaderPrecisionFormat"))); #endif #ifndef skip_glGetShaderSource -void glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source) { +void glshim_glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source) { LOAD_GLES(glGetShaderSource); #ifndef direct_glGetShaderSource PUSH_IF_COMPILING(glGetShaderSource) #endif gles_glGetShaderSource(shader, bufSize, length, source); } +void glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source) __attribute__((alias("glshim_glGetShaderSource"))); #endif #ifndef skip_glGetShaderiv -void glGetShaderiv(GLuint shader, GLenum pname, GLint * params) { +void glshim_glGetShaderiv(GLuint shader, GLenum pname, GLint * params) { LOAD_GLES(glGetShaderiv); #ifndef direct_glGetShaderiv PUSH_IF_COMPILING(glGetShaderiv) #endif gles_glGetShaderiv(shader, pname, params); } +void glGetShaderiv(GLuint shader, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetShaderiv"))); #endif #ifndef skip_glGetString -const GLubyte * glGetString(GLenum name) { +const GLubyte * glshim_glGetString(GLenum name) { LOAD_GLES(glGetString); #ifndef direct_glGetString PUSH_IF_COMPILING(glGetString) #endif return gles_glGetString(name); } +const GLubyte * glGetString(GLenum name) __attribute__((alias("glshim_glGetString"))); #endif #ifndef skip_glGetTexParameterfv -void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat * params) { +void glshim_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat * params) { LOAD_GLES(glGetTexParameterfv); #ifndef direct_glGetTexParameterfv PUSH_IF_COMPILING(glGetTexParameterfv) #endif gles_glGetTexParameterfv(target, pname, params); } +void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetTexParameterfv"))); #endif #ifndef skip_glGetTexParameteriv -void glGetTexParameteriv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetTexParameteriv(GLenum target, GLenum pname, GLint * params) { LOAD_GLES(glGetTexParameteriv); #ifndef direct_glGetTexParameteriv PUSH_IF_COMPILING(glGetTexParameteriv) #endif gles_glGetTexParameteriv(target, pname, params); } +void glGetTexParameteriv(GLenum target, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetTexParameteriv"))); #endif #ifndef skip_glGetUniformLocation -GLint glGetUniformLocation(GLuint program, const GLchar * name) { +GLint glshim_glGetUniformLocation(GLuint program, const GLchar * name) { LOAD_GLES(glGetUniformLocation); #ifndef direct_glGetUniformLocation PUSH_IF_COMPILING(glGetUniformLocation) #endif return gles_glGetUniformLocation(program, name); } +GLint glGetUniformLocation(GLuint program, const GLchar * name) __attribute__((alias("glshim_glGetUniformLocation"))); #endif #ifndef skip_glGetUniformfv -void glGetUniformfv(GLuint program, GLint location, GLfloat * params) { +void glshim_glGetUniformfv(GLuint program, GLint location, GLfloat * params) { LOAD_GLES(glGetUniformfv); #ifndef direct_glGetUniformfv PUSH_IF_COMPILING(glGetUniformfv) #endif gles_glGetUniformfv(program, location, params); } +void glGetUniformfv(GLuint program, GLint location, GLfloat * params) __attribute__((alias("glshim_glGetUniformfv"))); #endif #ifndef skip_glGetUniformiv -void glGetUniformiv(GLuint program, GLint location, GLint * params) { +void glshim_glGetUniformiv(GLuint program, GLint location, GLint * params) { LOAD_GLES(glGetUniformiv); #ifndef direct_glGetUniformiv PUSH_IF_COMPILING(glGetUniformiv) #endif gles_glGetUniformiv(program, location, params); } +void glGetUniformiv(GLuint program, GLint location, GLint * params) __attribute__((alias("glshim_glGetUniformiv"))); #endif #ifndef skip_glGetVertexAttribPointerv -void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid ** pointer) { +void glshim_glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid ** pointer) { LOAD_GLES(glGetVertexAttribPointerv); #ifndef direct_glGetVertexAttribPointerv PUSH_IF_COMPILING(glGetVertexAttribPointerv) #endif gles_glGetVertexAttribPointerv(index, pname, pointer); } +void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid ** pointer) __attribute__((alias("glshim_glGetVertexAttribPointerv"))); #endif #ifndef skip_glGetVertexAttribfv -void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat * params) { +void glshim_glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat * params) { LOAD_GLES(glGetVertexAttribfv); #ifndef direct_glGetVertexAttribfv PUSH_IF_COMPILING(glGetVertexAttribfv) #endif gles_glGetVertexAttribfv(index, pname, params); } +void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetVertexAttribfv"))); #endif #ifndef skip_glGetVertexAttribiv -void glGetVertexAttribiv(GLuint index, GLenum pname, GLint * params) { +void glshim_glGetVertexAttribiv(GLuint index, GLenum pname, GLint * params) { LOAD_GLES(glGetVertexAttribiv); #ifndef direct_glGetVertexAttribiv PUSH_IF_COMPILING(glGetVertexAttribiv) #endif gles_glGetVertexAttribiv(index, pname, params); } +void glGetVertexAttribiv(GLuint index, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetVertexAttribiv"))); #endif #ifndef skip_glHint -void glHint(GLenum target, GLenum mode) { +void glshim_glHint(GLenum target, GLenum mode) { LOAD_GLES(glHint); #ifndef direct_glHint PUSH_IF_COMPILING(glHint) #endif gles_glHint(target, mode); } +void glHint(GLenum target, GLenum mode) __attribute__((alias("glshim_glHint"))); #endif #ifndef skip_glIsBuffer -GLboolean glIsBuffer(GLuint buffer) { +GLboolean glshim_glIsBuffer(GLuint buffer) { LOAD_GLES(glIsBuffer); #ifndef direct_glIsBuffer PUSH_IF_COMPILING(glIsBuffer) #endif return gles_glIsBuffer(buffer); } +GLboolean glIsBuffer(GLuint buffer) __attribute__((alias("glshim_glIsBuffer"))); #endif #ifndef skip_glIsEnabled -GLboolean glIsEnabled(GLenum cap) { +GLboolean glshim_glIsEnabled(GLenum cap) { LOAD_GLES(glIsEnabled); #ifndef direct_glIsEnabled PUSH_IF_COMPILING(glIsEnabled) #endif return gles_glIsEnabled(cap); } +GLboolean glIsEnabled(GLenum cap) __attribute__((alias("glshim_glIsEnabled"))); #endif #ifndef skip_glIsFramebuffer -GLboolean glIsFramebuffer(GLuint framebuffer) { +GLboolean glshim_glIsFramebuffer(GLuint framebuffer) { LOAD_GLES(glIsFramebuffer); #ifndef direct_glIsFramebuffer PUSH_IF_COMPILING(glIsFramebuffer) #endif return gles_glIsFramebuffer(framebuffer); } +GLboolean glIsFramebuffer(GLuint framebuffer) __attribute__((alias("glshim_glIsFramebuffer"))); #endif #ifndef skip_glIsProgram -GLboolean glIsProgram(GLuint program) { +GLboolean glshim_glIsProgram(GLuint program) { LOAD_GLES(glIsProgram); #ifndef direct_glIsProgram PUSH_IF_COMPILING(glIsProgram) #endif return gles_glIsProgram(program); } +GLboolean glIsProgram(GLuint program) __attribute__((alias("glshim_glIsProgram"))); #endif #ifndef skip_glIsRenderbuffer -GLboolean glIsRenderbuffer(GLuint renderbuffer) { +GLboolean glshim_glIsRenderbuffer(GLuint renderbuffer) { LOAD_GLES(glIsRenderbuffer); #ifndef direct_glIsRenderbuffer PUSH_IF_COMPILING(glIsRenderbuffer) #endif return gles_glIsRenderbuffer(renderbuffer); } +GLboolean glIsRenderbuffer(GLuint renderbuffer) __attribute__((alias("glshim_glIsRenderbuffer"))); #endif #ifndef skip_glIsShader -GLboolean glIsShader(GLuint shader) { +GLboolean glshim_glIsShader(GLuint shader) { LOAD_GLES(glIsShader); #ifndef direct_glIsShader PUSH_IF_COMPILING(glIsShader) #endif return gles_glIsShader(shader); } +GLboolean glIsShader(GLuint shader) __attribute__((alias("glshim_glIsShader"))); #endif #ifndef skip_glIsTexture -GLboolean glIsTexture(GLuint texture) { +GLboolean glshim_glIsTexture(GLuint texture) { LOAD_GLES(glIsTexture); #ifndef direct_glIsTexture PUSH_IF_COMPILING(glIsTexture) #endif return gles_glIsTexture(texture); } +GLboolean glIsTexture(GLuint texture) __attribute__((alias("glshim_glIsTexture"))); #endif #ifndef skip_glLineWidth -void glLineWidth(GLfloat width) { +void glshim_glLineWidth(GLfloat width) { LOAD_GLES(glLineWidth); #ifndef direct_glLineWidth PUSH_IF_COMPILING(glLineWidth) #endif gles_glLineWidth(width); } +void glLineWidth(GLfloat width) __attribute__((alias("glshim_glLineWidth"))); #endif #ifndef skip_glLinkProgram -void glLinkProgram(GLuint program) { +void glshim_glLinkProgram(GLuint program) { LOAD_GLES(glLinkProgram); #ifndef direct_glLinkProgram PUSH_IF_COMPILING(glLinkProgram) #endif gles_glLinkProgram(program); } +void glLinkProgram(GLuint program) __attribute__((alias("glshim_glLinkProgram"))); #endif #ifndef skip_glPixelStorei -void glPixelStorei(GLenum pname, GLint param) { +void glshim_glPixelStorei(GLenum pname, GLint param) { LOAD_GLES(glPixelStorei); #ifndef direct_glPixelStorei PUSH_IF_COMPILING(glPixelStorei) #endif gles_glPixelStorei(pname, param); } +void glPixelStorei(GLenum pname, GLint param) __attribute__((alias("glshim_glPixelStorei"))); #endif #ifndef skip_glPolygonOffset -void glPolygonOffset(GLfloat factor, GLfloat units) { +void glshim_glPolygonOffset(GLfloat factor, GLfloat units) { LOAD_GLES(glPolygonOffset); #ifndef direct_glPolygonOffset PUSH_IF_COMPILING(glPolygonOffset) #endif gles_glPolygonOffset(factor, units); } +void glPolygonOffset(GLfloat factor, GLfloat units) __attribute__((alias("glshim_glPolygonOffset"))); #endif #ifndef skip_glReadPixels -void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels) { +void glshim_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels) { LOAD_GLES(glReadPixels); #ifndef direct_glReadPixels PUSH_IF_COMPILING(glReadPixels) #endif gles_glReadPixels(x, y, width, height, format, type, pixels); } +void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels) __attribute__((alias("glshim_glReadPixels"))); #endif #ifndef skip_glReleaseShaderCompiler -void glReleaseShaderCompiler() { +void glshim_glReleaseShaderCompiler() { LOAD_GLES(glReleaseShaderCompiler); #ifndef direct_glReleaseShaderCompiler PUSH_IF_COMPILING(glReleaseShaderCompiler) #endif gles_glReleaseShaderCompiler(); } +void glReleaseShaderCompiler() __attribute__((alias("glshim_glReleaseShaderCompiler"))); #endif #ifndef skip_glRenderbufferStorage -void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) { +void glshim_glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) { LOAD_GLES(glRenderbufferStorage); #ifndef direct_glRenderbufferStorage PUSH_IF_COMPILING(glRenderbufferStorage) #endif gles_glRenderbufferStorage(target, internalformat, width, height); } +void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) __attribute__((alias("glshim_glRenderbufferStorage"))); #endif #ifndef skip_glSampleCoverage -void glSampleCoverage(GLclampf value, GLboolean invert) { +void glshim_glSampleCoverage(GLclampf value, GLboolean invert) { LOAD_GLES(glSampleCoverage); #ifndef direct_glSampleCoverage PUSH_IF_COMPILING(glSampleCoverage) #endif gles_glSampleCoverage(value, invert); } +void glSampleCoverage(GLclampf value, GLboolean invert) __attribute__((alias("glshim_glSampleCoverage"))); #endif #ifndef skip_glScissor -void glScissor(GLint x, GLint y, GLsizei width, GLsizei height) { +void glshim_glScissor(GLint x, GLint y, GLsizei width, GLsizei height) { LOAD_GLES(glScissor); #ifndef direct_glScissor PUSH_IF_COMPILING(glScissor) #endif gles_glScissor(x, y, width, height); } +void glScissor(GLint x, GLint y, GLsizei width, GLsizei height) __attribute__((alias("glshim_glScissor"))); #endif #ifndef skip_glShaderBinary -void glShaderBinary(GLsizei n, const GLuint * shaders, GLenum binaryformat, const GLvoid * binary, GLsizei length) { +void glshim_glShaderBinary(GLsizei n, const GLuint * shaders, GLenum binaryformat, const GLvoid * binary, GLsizei length) { LOAD_GLES(glShaderBinary); #ifndef direct_glShaderBinary PUSH_IF_COMPILING(glShaderBinary) #endif gles_glShaderBinary(n, shaders, binaryformat, binary, length); } +void glShaderBinary(GLsizei n, const GLuint * shaders, GLenum binaryformat, const GLvoid * binary, GLsizei length) __attribute__((alias("glshim_glShaderBinary"))); #endif #ifndef skip_glShaderSource -void glShaderSource(GLuint shader, GLsizei count, const GLchar * const * string, const GLint * length) { +void glshim_glShaderSource(GLuint shader, GLsizei count, const GLchar * const * string, const GLint * length) { LOAD_GLES(glShaderSource); #ifndef direct_glShaderSource PUSH_IF_COMPILING(glShaderSource) #endif gles_glShaderSource(shader, count, string, length); } +void glShaderSource(GLuint shader, GLsizei count, const GLchar * const * string, const GLint * length) __attribute__((alias("glshim_glShaderSource"))); #endif #ifndef skip_glStencilFunc -void glStencilFunc(GLenum func, GLint ref, GLuint mask) { +void glshim_glStencilFunc(GLenum func, GLint ref, GLuint mask) { LOAD_GLES(glStencilFunc); #ifndef direct_glStencilFunc PUSH_IF_COMPILING(glStencilFunc) #endif gles_glStencilFunc(func, ref, mask); } +void glStencilFunc(GLenum func, GLint ref, GLuint mask) __attribute__((alias("glshim_glStencilFunc"))); #endif #ifndef skip_glStencilFuncSeparate -void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) { +void glshim_glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) { LOAD_GLES(glStencilFuncSeparate); #ifndef direct_glStencilFuncSeparate PUSH_IF_COMPILING(glStencilFuncSeparate) #endif gles_glStencilFuncSeparate(face, func, ref, mask); } +void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) __attribute__((alias("glshim_glStencilFuncSeparate"))); #endif #ifndef skip_glStencilMask -void glStencilMask(GLuint mask) { +void glshim_glStencilMask(GLuint mask) { LOAD_GLES(glStencilMask); #ifndef direct_glStencilMask PUSH_IF_COMPILING(glStencilMask) #endif gles_glStencilMask(mask); } +void glStencilMask(GLuint mask) __attribute__((alias("glshim_glStencilMask"))); #endif #ifndef skip_glStencilMaskSeparate -void glStencilMaskSeparate(GLenum face, GLuint mask) { +void glshim_glStencilMaskSeparate(GLenum face, GLuint mask) { LOAD_GLES(glStencilMaskSeparate); #ifndef direct_glStencilMaskSeparate PUSH_IF_COMPILING(glStencilMaskSeparate) #endif gles_glStencilMaskSeparate(face, mask); } +void glStencilMaskSeparate(GLenum face, GLuint mask) __attribute__((alias("glshim_glStencilMaskSeparate"))); #endif #ifndef skip_glStencilOp -void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) { +void glshim_glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) { LOAD_GLES(glStencilOp); #ifndef direct_glStencilOp PUSH_IF_COMPILING(glStencilOp) #endif gles_glStencilOp(fail, zfail, zpass); } +void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) __attribute__((alias("glshim_glStencilOp"))); #endif #ifndef skip_glStencilOpSeparate -void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum zfail, GLenum zpass) { +void glshim_glStencilOpSeparate(GLenum face, GLenum sfail, GLenum zfail, GLenum zpass) { LOAD_GLES(glStencilOpSeparate); #ifndef direct_glStencilOpSeparate PUSH_IF_COMPILING(glStencilOpSeparate) #endif gles_glStencilOpSeparate(face, sfail, zfail, zpass); } +void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum zfail, GLenum zpass) __attribute__((alias("glshim_glStencilOpSeparate"))); #endif #ifndef skip_glTexImage2D -void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels) { +void glshim_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels) { LOAD_GLES(glTexImage2D); #ifndef direct_glTexImage2D PUSH_IF_COMPILING(glTexImage2D) #endif gles_glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels); } +void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels) __attribute__((alias("glshim_glTexImage2D"))); #endif #ifndef skip_glTexParameterf -void glTexParameterf(GLenum target, GLenum pname, GLfloat param) { +void glshim_glTexParameterf(GLenum target, GLenum pname, GLfloat param) { LOAD_GLES(glTexParameterf); #ifndef direct_glTexParameterf PUSH_IF_COMPILING(glTexParameterf) #endif gles_glTexParameterf(target, pname, param); } +void glTexParameterf(GLenum target, GLenum pname, GLfloat param) __attribute__((alias("glshim_glTexParameterf"))); #endif #ifndef skip_glTexParameterfv -void glTexParameterfv(GLenum target, GLenum pname, const GLfloat * params) { +void glshim_glTexParameterfv(GLenum target, GLenum pname, const GLfloat * params) { LOAD_GLES(glTexParameterfv); #ifndef direct_glTexParameterfv PUSH_IF_COMPILING(glTexParameterfv) #endif gles_glTexParameterfv(target, pname, params); } +void glTexParameterfv(GLenum target, GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glTexParameterfv"))); #endif #ifndef skip_glTexParameteri -void glTexParameteri(GLenum target, GLenum pname, GLint param) { +void glshim_glTexParameteri(GLenum target, GLenum pname, GLint param) { LOAD_GLES(glTexParameteri); #ifndef direct_glTexParameteri PUSH_IF_COMPILING(glTexParameteri) #endif gles_glTexParameteri(target, pname, param); } +void glTexParameteri(GLenum target, GLenum pname, GLint param) __attribute__((alias("glshim_glTexParameteri"))); #endif #ifndef skip_glTexParameteriv -void glTexParameteriv(GLenum target, GLenum pname, const GLint * params) { +void glshim_glTexParameteriv(GLenum target, GLenum pname, const GLint * params) { LOAD_GLES(glTexParameteriv); #ifndef direct_glTexParameteriv PUSH_IF_COMPILING(glTexParameteriv) #endif gles_glTexParameteriv(target, pname, params); } +void glTexParameteriv(GLenum target, GLenum pname, const GLint * params) __attribute__((alias("glshim_glTexParameteriv"))); #endif #ifndef skip_glTexSubImage2D -void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) { +void glshim_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) { LOAD_GLES(glTexSubImage2D); #ifndef direct_glTexSubImage2D PUSH_IF_COMPILING(glTexSubImage2D) #endif gles_glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); } +void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) __attribute__((alias("glshim_glTexSubImage2D"))); #endif #ifndef skip_glUniform1f -void glUniform1f(GLint location, GLfloat v0) { +void glshim_glUniform1f(GLint location, GLfloat v0) { LOAD_GLES(glUniform1f); #ifndef direct_glUniform1f PUSH_IF_COMPILING(glUniform1f) #endif gles_glUniform1f(location, v0); } +void glUniform1f(GLint location, GLfloat v0) __attribute__((alias("glshim_glUniform1f"))); #endif #ifndef skip_glUniform1fv -void glUniform1fv(GLint location, GLsizei count, const GLfloat * value) { +void glshim_glUniform1fv(GLint location, GLsizei count, const GLfloat * value) { LOAD_GLES(glUniform1fv); #ifndef direct_glUniform1fv PUSH_IF_COMPILING(glUniform1fv) #endif gles_glUniform1fv(location, count, value); } +void glUniform1fv(GLint location, GLsizei count, const GLfloat * value) __attribute__((alias("glshim_glUniform1fv"))); #endif #ifndef skip_glUniform1i -void glUniform1i(GLint location, GLint v0) { +void glshim_glUniform1i(GLint location, GLint v0) { LOAD_GLES(glUniform1i); #ifndef direct_glUniform1i PUSH_IF_COMPILING(glUniform1i) #endif gles_glUniform1i(location, v0); } +void glUniform1i(GLint location, GLint v0) __attribute__((alias("glshim_glUniform1i"))); #endif #ifndef skip_glUniform1iv -void glUniform1iv(GLint location, GLsizei count, const GLint * value) { +void glshim_glUniform1iv(GLint location, GLsizei count, const GLint * value) { LOAD_GLES(glUniform1iv); #ifndef direct_glUniform1iv PUSH_IF_COMPILING(glUniform1iv) #endif gles_glUniform1iv(location, count, value); } +void glUniform1iv(GLint location, GLsizei count, const GLint * value) __attribute__((alias("glshim_glUniform1iv"))); #endif #ifndef skip_glUniform2f -void glUniform2f(GLint location, GLfloat v0, GLfloat v1) { +void glshim_glUniform2f(GLint location, GLfloat v0, GLfloat v1) { LOAD_GLES(glUniform2f); #ifndef direct_glUniform2f PUSH_IF_COMPILING(glUniform2f) #endif gles_glUniform2f(location, v0, v1); } +void glUniform2f(GLint location, GLfloat v0, GLfloat v1) __attribute__((alias("glshim_glUniform2f"))); #endif #ifndef skip_glUniform2fv -void glUniform2fv(GLint location, GLsizei count, const GLfloat * value) { +void glshim_glUniform2fv(GLint location, GLsizei count, const GLfloat * value) { LOAD_GLES(glUniform2fv); #ifndef direct_glUniform2fv PUSH_IF_COMPILING(glUniform2fv) #endif gles_glUniform2fv(location, count, value); } +void glUniform2fv(GLint location, GLsizei count, const GLfloat * value) __attribute__((alias("glshim_glUniform2fv"))); #endif #ifndef skip_glUniform2i -void glUniform2i(GLint location, GLint v0, GLint v1) { +void glshim_glUniform2i(GLint location, GLint v0, GLint v1) { LOAD_GLES(glUniform2i); #ifndef direct_glUniform2i PUSH_IF_COMPILING(glUniform2i) #endif gles_glUniform2i(location, v0, v1); } +void glUniform2i(GLint location, GLint v0, GLint v1) __attribute__((alias("glshim_glUniform2i"))); #endif #ifndef skip_glUniform2iv -void glUniform2iv(GLint location, GLsizei count, const GLint * value) { +void glshim_glUniform2iv(GLint location, GLsizei count, const GLint * value) { LOAD_GLES(glUniform2iv); #ifndef direct_glUniform2iv PUSH_IF_COMPILING(glUniform2iv) #endif gles_glUniform2iv(location, count, value); } +void glUniform2iv(GLint location, GLsizei count, const GLint * value) __attribute__((alias("glshim_glUniform2iv"))); #endif #ifndef skip_glUniform3f -void glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { +void glshim_glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { LOAD_GLES(glUniform3f); #ifndef direct_glUniform3f PUSH_IF_COMPILING(glUniform3f) #endif gles_glUniform3f(location, v0, v1, v2); } +void glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) __attribute__((alias("glshim_glUniform3f"))); #endif #ifndef skip_glUniform3fv -void glUniform3fv(GLint location, GLsizei count, const GLfloat * value) { +void glshim_glUniform3fv(GLint location, GLsizei count, const GLfloat * value) { LOAD_GLES(glUniform3fv); #ifndef direct_glUniform3fv PUSH_IF_COMPILING(glUniform3fv) #endif gles_glUniform3fv(location, count, value); } +void glUniform3fv(GLint location, GLsizei count, const GLfloat * value) __attribute__((alias("glshim_glUniform3fv"))); #endif #ifndef skip_glUniform3i -void glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) { +void glshim_glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) { LOAD_GLES(glUniform3i); #ifndef direct_glUniform3i PUSH_IF_COMPILING(glUniform3i) #endif gles_glUniform3i(location, v0, v1, v2); } +void glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) __attribute__((alias("glshim_glUniform3i"))); #endif #ifndef skip_glUniform3iv -void glUniform3iv(GLint location, GLsizei count, const GLint * value) { +void glshim_glUniform3iv(GLint location, GLsizei count, const GLint * value) { LOAD_GLES(glUniform3iv); #ifndef direct_glUniform3iv PUSH_IF_COMPILING(glUniform3iv) #endif gles_glUniform3iv(location, count, value); } +void glUniform3iv(GLint location, GLsizei count, const GLint * value) __attribute__((alias("glshim_glUniform3iv"))); #endif #ifndef skip_glUniform4f -void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { +void glshim_glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { LOAD_GLES(glUniform4f); #ifndef direct_glUniform4f PUSH_IF_COMPILING(glUniform4f) #endif gles_glUniform4f(location, v0, v1, v2, v3); } +void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) __attribute__((alias("glshim_glUniform4f"))); #endif #ifndef skip_glUniform4fv -void glUniform4fv(GLint location, GLsizei count, const GLfloat * value) { +void glshim_glUniform4fv(GLint location, GLsizei count, const GLfloat * value) { LOAD_GLES(glUniform4fv); #ifndef direct_glUniform4fv PUSH_IF_COMPILING(glUniform4fv) #endif gles_glUniform4fv(location, count, value); } +void glUniform4fv(GLint location, GLsizei count, const GLfloat * value) __attribute__((alias("glshim_glUniform4fv"))); #endif #ifndef skip_glUniform4i -void glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { +void glshim_glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) { LOAD_GLES(glUniform4i); #ifndef direct_glUniform4i PUSH_IF_COMPILING(glUniform4i) #endif gles_glUniform4i(location, v0, v1, v2, v3); } +void glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) __attribute__((alias("glshim_glUniform4i"))); #endif #ifndef skip_glUniform4iv -void glUniform4iv(GLint location, GLsizei count, const GLint * value) { +void glshim_glUniform4iv(GLint location, GLsizei count, const GLint * value) { LOAD_GLES(glUniform4iv); #ifndef direct_glUniform4iv PUSH_IF_COMPILING(glUniform4iv) #endif gles_glUniform4iv(location, count, value); } +void glUniform4iv(GLint location, GLsizei count, const GLint * value) __attribute__((alias("glshim_glUniform4iv"))); #endif #ifndef skip_glUniformMatrix2fv -void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { +void glshim_glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { LOAD_GLES(glUniformMatrix2fv); #ifndef direct_glUniformMatrix2fv PUSH_IF_COMPILING(glUniformMatrix2fv) #endif gles_glUniformMatrix2fv(location, count, transpose, value); } +void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) __attribute__((alias("glshim_glUniformMatrix2fv"))); #endif #ifndef skip_glUniformMatrix3fv -void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { +void glshim_glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { LOAD_GLES(glUniformMatrix3fv); #ifndef direct_glUniformMatrix3fv PUSH_IF_COMPILING(glUniformMatrix3fv) #endif gles_glUniformMatrix3fv(location, count, transpose, value); } +void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) __attribute__((alias("glshim_glUniformMatrix3fv"))); #endif #ifndef skip_glUniformMatrix4fv -void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { +void glshim_glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { LOAD_GLES(glUniformMatrix4fv); #ifndef direct_glUniformMatrix4fv PUSH_IF_COMPILING(glUniformMatrix4fv) #endif gles_glUniformMatrix4fv(location, count, transpose, value); } +void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) __attribute__((alias("glshim_glUniformMatrix4fv"))); #endif #ifndef skip_glUseProgram -void glUseProgram(GLuint program) { +void glshim_glUseProgram(GLuint program) { LOAD_GLES(glUseProgram); #ifndef direct_glUseProgram PUSH_IF_COMPILING(glUseProgram) #endif gles_glUseProgram(program); } +void glUseProgram(GLuint program) __attribute__((alias("glshim_glUseProgram"))); #endif #ifndef skip_glValidateProgram -void glValidateProgram(GLuint program) { +void glshim_glValidateProgram(GLuint program) { LOAD_GLES(glValidateProgram); #ifndef direct_glValidateProgram PUSH_IF_COMPILING(glValidateProgram) #endif gles_glValidateProgram(program); } +void glValidateProgram(GLuint program) __attribute__((alias("glshim_glValidateProgram"))); #endif #ifndef skip_glVertexAttrib1f -void glVertexAttrib1f(GLuint index, GLfloat x) { +void glshim_glVertexAttrib1f(GLuint index, GLfloat x) { LOAD_GLES(glVertexAttrib1f); #ifndef direct_glVertexAttrib1f PUSH_IF_COMPILING(glVertexAttrib1f) #endif gles_glVertexAttrib1f(index, x); } +void glVertexAttrib1f(GLuint index, GLfloat x) __attribute__((alias("glshim_glVertexAttrib1f"))); #endif #ifndef skip_glVertexAttrib1fv -void glVertexAttrib1fv(GLuint index, const GLfloat * v) { +void glshim_glVertexAttrib1fv(GLuint index, const GLfloat * v) { LOAD_GLES(glVertexAttrib1fv); #ifndef direct_glVertexAttrib1fv PUSH_IF_COMPILING(glVertexAttrib1fv) #endif gles_glVertexAttrib1fv(index, v); } +void glVertexAttrib1fv(GLuint index, const GLfloat * v) __attribute__((alias("glshim_glVertexAttrib1fv"))); #endif #ifndef skip_glVertexAttrib2f -void glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y) { +void glshim_glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y) { LOAD_GLES(glVertexAttrib2f); #ifndef direct_glVertexAttrib2f PUSH_IF_COMPILING(glVertexAttrib2f) #endif gles_glVertexAttrib2f(index, x, y); } +void glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y) __attribute__((alias("glshim_glVertexAttrib2f"))); #endif #ifndef skip_glVertexAttrib2fv -void glVertexAttrib2fv(GLuint index, const GLfloat * v) { +void glshim_glVertexAttrib2fv(GLuint index, const GLfloat * v) { LOAD_GLES(glVertexAttrib2fv); #ifndef direct_glVertexAttrib2fv PUSH_IF_COMPILING(glVertexAttrib2fv) #endif gles_glVertexAttrib2fv(index, v); } +void glVertexAttrib2fv(GLuint index, const GLfloat * v) __attribute__((alias("glshim_glVertexAttrib2fv"))); #endif #ifndef skip_glVertexAttrib3f -void glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) { +void glshim_glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) { LOAD_GLES(glVertexAttrib3f); #ifndef direct_glVertexAttrib3f PUSH_IF_COMPILING(glVertexAttrib3f) #endif gles_glVertexAttrib3f(index, x, y, z); } +void glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) __attribute__((alias("glshim_glVertexAttrib3f"))); #endif #ifndef skip_glVertexAttrib3fv -void glVertexAttrib3fv(GLuint index, const GLfloat * v) { +void glshim_glVertexAttrib3fv(GLuint index, const GLfloat * v) { LOAD_GLES(glVertexAttrib3fv); #ifndef direct_glVertexAttrib3fv PUSH_IF_COMPILING(glVertexAttrib3fv) #endif gles_glVertexAttrib3fv(index, v); } +void glVertexAttrib3fv(GLuint index, const GLfloat * v) __attribute__((alias("glshim_glVertexAttrib3fv"))); #endif #ifndef skip_glVertexAttrib4f -void glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { +void glshim_glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { LOAD_GLES(glVertexAttrib4f); #ifndef direct_glVertexAttrib4f PUSH_IF_COMPILING(glVertexAttrib4f) #endif gles_glVertexAttrib4f(index, x, y, z, w); } +void glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) __attribute__((alias("glshim_glVertexAttrib4f"))); #endif #ifndef skip_glVertexAttrib4fv -void glVertexAttrib4fv(GLuint index, const GLfloat * v) { +void glshim_glVertexAttrib4fv(GLuint index, const GLfloat * v) { LOAD_GLES(glVertexAttrib4fv); #ifndef direct_glVertexAttrib4fv PUSH_IF_COMPILING(glVertexAttrib4fv) #endif gles_glVertexAttrib4fv(index, v); } +void glVertexAttrib4fv(GLuint index, const GLfloat * v) __attribute__((alias("glshim_glVertexAttrib4fv"))); #endif #ifndef skip_glVertexAttribPointer -void glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pointer) { +void glshim_glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pointer) { LOAD_GLES(glVertexAttribPointer); #ifndef direct_glVertexAttribPointer PUSH_IF_COMPILING(glVertexAttribPointer) #endif gles_glVertexAttribPointer(index, size, type, normalized, stride, pointer); } +void glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glVertexAttribPointer"))); #endif #ifndef skip_glViewport -void glViewport(GLint x, GLint y, GLsizei width, GLsizei height) { +void glshim_glViewport(GLint x, GLint y, GLsizei width, GLsizei height) { LOAD_GLES(glViewport); #ifndef direct_glViewport PUSH_IF_COMPILING(glViewport) #endif gles_glViewport(x, y, width, height); } +void glViewport(GLint x, GLint y, GLsizei width, GLsizei height) __attribute__((alias("glshim_glViewport"))); #endif void glPackedCall(const packed_call_t *packed) { switch (packed->format) { diff --git a/project/jni/glshim/src/gl/wrap/gles2.h b/project/jni/glshim/src/gl/wrap/gles2.h old mode 100644 new mode 100755 index 18d1bb4ab..ab8f9710e --- a/project/jni/glshim/src/gl/wrap/gles2.h +++ b/project/jni/glshim/src/gl/wrap/gles2.h @@ -2389,289 +2389,289 @@ void glIndexedCall(const indexed_call_t *packed, void *ret_v); #define glViewport_INDEXED INDEXED_void_GLint_GLint_GLsizei_GLsizei #define glViewport_FORMAT FORMAT_void_GLint_GLint_GLsizei_GLsizei -void glActiveTexture(glActiveTexture_ARG_EXPAND); +void glshim_glActiveTexture(glActiveTexture_ARG_EXPAND); typedef void (*glActiveTexture_PTR)(glActiveTexture_ARG_EXPAND); -void glAttachShader(glAttachShader_ARG_EXPAND); +void glshim_glAttachShader(glAttachShader_ARG_EXPAND); typedef void (*glAttachShader_PTR)(glAttachShader_ARG_EXPAND); -void glBindAttribLocation(glBindAttribLocation_ARG_EXPAND); +void glshim_glBindAttribLocation(glBindAttribLocation_ARG_EXPAND); typedef void (*glBindAttribLocation_PTR)(glBindAttribLocation_ARG_EXPAND); -void glBindBuffer(glBindBuffer_ARG_EXPAND); +void glshim_glBindBuffer(glBindBuffer_ARG_EXPAND); typedef void (*glBindBuffer_PTR)(glBindBuffer_ARG_EXPAND); -void glBindFramebuffer(glBindFramebuffer_ARG_EXPAND); +void glshim_glBindFramebuffer(glBindFramebuffer_ARG_EXPAND); typedef void (*glBindFramebuffer_PTR)(glBindFramebuffer_ARG_EXPAND); -void glBindRenderbuffer(glBindRenderbuffer_ARG_EXPAND); +void glshim_glBindRenderbuffer(glBindRenderbuffer_ARG_EXPAND); typedef void (*glBindRenderbuffer_PTR)(glBindRenderbuffer_ARG_EXPAND); -void glBindTexture(glBindTexture_ARG_EXPAND); +void glshim_glBindTexture(glBindTexture_ARG_EXPAND); typedef void (*glBindTexture_PTR)(glBindTexture_ARG_EXPAND); -void glBlendColor(glBlendColor_ARG_EXPAND); +void glshim_glBlendColor(glBlendColor_ARG_EXPAND); typedef void (*glBlendColor_PTR)(glBlendColor_ARG_EXPAND); -void glBlendEquation(glBlendEquation_ARG_EXPAND); +void glshim_glBlendEquation(glBlendEquation_ARG_EXPAND); typedef void (*glBlendEquation_PTR)(glBlendEquation_ARG_EXPAND); -void glBlendEquationSeparate(glBlendEquationSeparate_ARG_EXPAND); +void glshim_glBlendEquationSeparate(glBlendEquationSeparate_ARG_EXPAND); typedef void (*glBlendEquationSeparate_PTR)(glBlendEquationSeparate_ARG_EXPAND); -void glBlendFunc(glBlendFunc_ARG_EXPAND); +void glshim_glBlendFunc(glBlendFunc_ARG_EXPAND); typedef void (*glBlendFunc_PTR)(glBlendFunc_ARG_EXPAND); -void glBlendFuncSeparate(glBlendFuncSeparate_ARG_EXPAND); +void glshim_glBlendFuncSeparate(glBlendFuncSeparate_ARG_EXPAND); typedef void (*glBlendFuncSeparate_PTR)(glBlendFuncSeparate_ARG_EXPAND); -void glBufferData(glBufferData_ARG_EXPAND); +void glshim_glBufferData(glBufferData_ARG_EXPAND); typedef void (*glBufferData_PTR)(glBufferData_ARG_EXPAND); -void glBufferSubData(glBufferSubData_ARG_EXPAND); +void glshim_glBufferSubData(glBufferSubData_ARG_EXPAND); typedef void (*glBufferSubData_PTR)(glBufferSubData_ARG_EXPAND); -GLenum glCheckFramebufferStatus(glCheckFramebufferStatus_ARG_EXPAND); +GLenum glshim_glCheckFramebufferStatus(glCheckFramebufferStatus_ARG_EXPAND); typedef GLenum (*glCheckFramebufferStatus_PTR)(glCheckFramebufferStatus_ARG_EXPAND); -void glClear(glClear_ARG_EXPAND); +void glshim_glClear(glClear_ARG_EXPAND); typedef void (*glClear_PTR)(glClear_ARG_EXPAND); -void glClearColor(glClearColor_ARG_EXPAND); +void glshim_glClearColor(glClearColor_ARG_EXPAND); typedef void (*glClearColor_PTR)(glClearColor_ARG_EXPAND); -void glClearDepthf(glClearDepthf_ARG_EXPAND); +void glshim_glClearDepthf(glClearDepthf_ARG_EXPAND); typedef void (*glClearDepthf_PTR)(glClearDepthf_ARG_EXPAND); -void glClearStencil(glClearStencil_ARG_EXPAND); +void glshim_glClearStencil(glClearStencil_ARG_EXPAND); typedef void (*glClearStencil_PTR)(glClearStencil_ARG_EXPAND); -void glColorMask(glColorMask_ARG_EXPAND); +void glshim_glColorMask(glColorMask_ARG_EXPAND); typedef void (*glColorMask_PTR)(glColorMask_ARG_EXPAND); -void glCompileShader(glCompileShader_ARG_EXPAND); +void glshim_glCompileShader(glCompileShader_ARG_EXPAND); typedef void (*glCompileShader_PTR)(glCompileShader_ARG_EXPAND); -void glCompressedTexImage2D(glCompressedTexImage2D_ARG_EXPAND); +void glshim_glCompressedTexImage2D(glCompressedTexImage2D_ARG_EXPAND); typedef void (*glCompressedTexImage2D_PTR)(glCompressedTexImage2D_ARG_EXPAND); -void glCompressedTexSubImage2D(glCompressedTexSubImage2D_ARG_EXPAND); +void glshim_glCompressedTexSubImage2D(glCompressedTexSubImage2D_ARG_EXPAND); typedef void (*glCompressedTexSubImage2D_PTR)(glCompressedTexSubImage2D_ARG_EXPAND); -void glCopyTexImage2D(glCopyTexImage2D_ARG_EXPAND); +void glshim_glCopyTexImage2D(glCopyTexImage2D_ARG_EXPAND); typedef void (*glCopyTexImage2D_PTR)(glCopyTexImage2D_ARG_EXPAND); -void glCopyTexSubImage2D(glCopyTexSubImage2D_ARG_EXPAND); +void glshim_glCopyTexSubImage2D(glCopyTexSubImage2D_ARG_EXPAND); typedef void (*glCopyTexSubImage2D_PTR)(glCopyTexSubImage2D_ARG_EXPAND); -GLuint glCreateProgram(glCreateProgram_ARG_EXPAND); +GLuint glshim_glCreateProgram(glCreateProgram_ARG_EXPAND); typedef GLuint (*glCreateProgram_PTR)(glCreateProgram_ARG_EXPAND); -GLuint glCreateShader(glCreateShader_ARG_EXPAND); +GLuint glshim_glCreateShader(glCreateShader_ARG_EXPAND); typedef GLuint (*glCreateShader_PTR)(glCreateShader_ARG_EXPAND); -void glCullFace(glCullFace_ARG_EXPAND); +void glshim_glCullFace(glCullFace_ARG_EXPAND); typedef void (*glCullFace_PTR)(glCullFace_ARG_EXPAND); -void glDeleteBuffers(glDeleteBuffers_ARG_EXPAND); +void glshim_glDeleteBuffers(glDeleteBuffers_ARG_EXPAND); typedef void (*glDeleteBuffers_PTR)(glDeleteBuffers_ARG_EXPAND); -void glDeleteFramebuffers(glDeleteFramebuffers_ARG_EXPAND); +void glshim_glDeleteFramebuffers(glDeleteFramebuffers_ARG_EXPAND); typedef void (*glDeleteFramebuffers_PTR)(glDeleteFramebuffers_ARG_EXPAND); -void glDeleteProgram(glDeleteProgram_ARG_EXPAND); +void glshim_glDeleteProgram(glDeleteProgram_ARG_EXPAND); typedef void (*glDeleteProgram_PTR)(glDeleteProgram_ARG_EXPAND); -void glDeleteRenderbuffers(glDeleteRenderbuffers_ARG_EXPAND); +void glshim_glDeleteRenderbuffers(glDeleteRenderbuffers_ARG_EXPAND); typedef void (*glDeleteRenderbuffers_PTR)(glDeleteRenderbuffers_ARG_EXPAND); -void glDeleteShader(glDeleteShader_ARG_EXPAND); +void glshim_glDeleteShader(glDeleteShader_ARG_EXPAND); typedef void (*glDeleteShader_PTR)(glDeleteShader_ARG_EXPAND); -void glDeleteTextures(glDeleteTextures_ARG_EXPAND); +void glshim_glDeleteTextures(glDeleteTextures_ARG_EXPAND); typedef void (*glDeleteTextures_PTR)(glDeleteTextures_ARG_EXPAND); -void glDepthFunc(glDepthFunc_ARG_EXPAND); +void glshim_glDepthFunc(glDepthFunc_ARG_EXPAND); typedef void (*glDepthFunc_PTR)(glDepthFunc_ARG_EXPAND); -void glDepthMask(glDepthMask_ARG_EXPAND); +void glshim_glDepthMask(glDepthMask_ARG_EXPAND); typedef void (*glDepthMask_PTR)(glDepthMask_ARG_EXPAND); -void glDepthRangef(glDepthRangef_ARG_EXPAND); +void glshim_glDepthRangef(glDepthRangef_ARG_EXPAND); typedef void (*glDepthRangef_PTR)(glDepthRangef_ARG_EXPAND); -void glDetachShader(glDetachShader_ARG_EXPAND); +void glshim_glDetachShader(glDetachShader_ARG_EXPAND); typedef void (*glDetachShader_PTR)(glDetachShader_ARG_EXPAND); -void glDisable(glDisable_ARG_EXPAND); +void glshim_glDisable(glDisable_ARG_EXPAND); typedef void (*glDisable_PTR)(glDisable_ARG_EXPAND); -void glDisableVertexAttribArray(glDisableVertexAttribArray_ARG_EXPAND); +void glshim_glDisableVertexAttribArray(glDisableVertexAttribArray_ARG_EXPAND); typedef void (*glDisableVertexAttribArray_PTR)(glDisableVertexAttribArray_ARG_EXPAND); -void glDrawArrays(glDrawArrays_ARG_EXPAND); +void glshim_glDrawArrays(glDrawArrays_ARG_EXPAND); typedef void (*glDrawArrays_PTR)(glDrawArrays_ARG_EXPAND); -void glDrawElements(glDrawElements_ARG_EXPAND); +void glshim_glDrawElements(glDrawElements_ARG_EXPAND); typedef void (*glDrawElements_PTR)(glDrawElements_ARG_EXPAND); -void glEnable(glEnable_ARG_EXPAND); +void glshim_glEnable(glEnable_ARG_EXPAND); typedef void (*glEnable_PTR)(glEnable_ARG_EXPAND); -void glEnableVertexAttribArray(glEnableVertexAttribArray_ARG_EXPAND); +void glshim_glEnableVertexAttribArray(glEnableVertexAttribArray_ARG_EXPAND); typedef void (*glEnableVertexAttribArray_PTR)(glEnableVertexAttribArray_ARG_EXPAND); -void glFinish(glFinish_ARG_EXPAND); +void glshim_glFinish(glFinish_ARG_EXPAND); typedef void (*glFinish_PTR)(glFinish_ARG_EXPAND); -void glFlush(glFlush_ARG_EXPAND); +void glshim_glFlush(glFlush_ARG_EXPAND); typedef void (*glFlush_PTR)(glFlush_ARG_EXPAND); -void glFramebufferRenderbuffer(glFramebufferRenderbuffer_ARG_EXPAND); +void glshim_glFramebufferRenderbuffer(glFramebufferRenderbuffer_ARG_EXPAND); typedef void (*glFramebufferRenderbuffer_PTR)(glFramebufferRenderbuffer_ARG_EXPAND); -void glFramebufferTexture2D(glFramebufferTexture2D_ARG_EXPAND); +void glshim_glFramebufferTexture2D(glFramebufferTexture2D_ARG_EXPAND); typedef void (*glFramebufferTexture2D_PTR)(glFramebufferTexture2D_ARG_EXPAND); -void glFrontFace(glFrontFace_ARG_EXPAND); +void glshim_glFrontFace(glFrontFace_ARG_EXPAND); typedef void (*glFrontFace_PTR)(glFrontFace_ARG_EXPAND); -void glGenBuffers(glGenBuffers_ARG_EXPAND); +void glshim_glGenBuffers(glGenBuffers_ARG_EXPAND); typedef void (*glGenBuffers_PTR)(glGenBuffers_ARG_EXPAND); -void glGenFramebuffers(glGenFramebuffers_ARG_EXPAND); +void glshim_glGenFramebuffers(glGenFramebuffers_ARG_EXPAND); typedef void (*glGenFramebuffers_PTR)(glGenFramebuffers_ARG_EXPAND); -void glGenRenderbuffers(glGenRenderbuffers_ARG_EXPAND); +void glshim_glGenRenderbuffers(glGenRenderbuffers_ARG_EXPAND); typedef void (*glGenRenderbuffers_PTR)(glGenRenderbuffers_ARG_EXPAND); -void glGenTextures(glGenTextures_ARG_EXPAND); +void glshim_glGenTextures(glGenTextures_ARG_EXPAND); typedef void (*glGenTextures_PTR)(glGenTextures_ARG_EXPAND); -void glGenerateMipmap(glGenerateMipmap_ARG_EXPAND); +void glshim_glGenerateMipmap(glGenerateMipmap_ARG_EXPAND); typedef void (*glGenerateMipmap_PTR)(glGenerateMipmap_ARG_EXPAND); -void glGetActiveAttrib(glGetActiveAttrib_ARG_EXPAND); +void glshim_glGetActiveAttrib(glGetActiveAttrib_ARG_EXPAND); typedef void (*glGetActiveAttrib_PTR)(glGetActiveAttrib_ARG_EXPAND); -void glGetActiveUniform(glGetActiveUniform_ARG_EXPAND); +void glshim_glGetActiveUniform(glGetActiveUniform_ARG_EXPAND); typedef void (*glGetActiveUniform_PTR)(glGetActiveUniform_ARG_EXPAND); -void glGetAttachedShaders(glGetAttachedShaders_ARG_EXPAND); +void glshim_glGetAttachedShaders(glGetAttachedShaders_ARG_EXPAND); typedef void (*glGetAttachedShaders_PTR)(glGetAttachedShaders_ARG_EXPAND); -GLint glGetAttribLocation(glGetAttribLocation_ARG_EXPAND); +GLint glshim_glGetAttribLocation(glGetAttribLocation_ARG_EXPAND); typedef GLint (*glGetAttribLocation_PTR)(glGetAttribLocation_ARG_EXPAND); -void glGetBooleanv(glGetBooleanv_ARG_EXPAND); +void glshim_glGetBooleanv(glGetBooleanv_ARG_EXPAND); typedef void (*glGetBooleanv_PTR)(glGetBooleanv_ARG_EXPAND); -void glGetBufferParameteriv(glGetBufferParameteriv_ARG_EXPAND); +void glshim_glGetBufferParameteriv(glGetBufferParameteriv_ARG_EXPAND); typedef void (*glGetBufferParameteriv_PTR)(glGetBufferParameteriv_ARG_EXPAND); -GLenum glGetError(glGetError_ARG_EXPAND); +GLenum glshim_glGetError(glGetError_ARG_EXPAND); typedef GLenum (*glGetError_PTR)(glGetError_ARG_EXPAND); -void glGetFloatv(glGetFloatv_ARG_EXPAND); +void glshim_glGetFloatv(glGetFloatv_ARG_EXPAND); typedef void (*glGetFloatv_PTR)(glGetFloatv_ARG_EXPAND); -void glGetFramebufferAttachmentParameteriv(glGetFramebufferAttachmentParameteriv_ARG_EXPAND); +void glshim_glGetFramebufferAttachmentParameteriv(glGetFramebufferAttachmentParameteriv_ARG_EXPAND); typedef void (*glGetFramebufferAttachmentParameteriv_PTR)(glGetFramebufferAttachmentParameteriv_ARG_EXPAND); -void glGetIntegerv(glGetIntegerv_ARG_EXPAND); +void glshim_glGetIntegerv(glGetIntegerv_ARG_EXPAND); typedef void (*glGetIntegerv_PTR)(glGetIntegerv_ARG_EXPAND); -void glGetProgramInfoLog(glGetProgramInfoLog_ARG_EXPAND); +void glshim_glGetProgramInfoLog(glGetProgramInfoLog_ARG_EXPAND); typedef void (*glGetProgramInfoLog_PTR)(glGetProgramInfoLog_ARG_EXPAND); -void glGetProgramiv(glGetProgramiv_ARG_EXPAND); +void glshim_glGetProgramiv(glGetProgramiv_ARG_EXPAND); typedef void (*glGetProgramiv_PTR)(glGetProgramiv_ARG_EXPAND); -void glGetRenderbufferParameteriv(glGetRenderbufferParameteriv_ARG_EXPAND); +void glshim_glGetRenderbufferParameteriv(glGetRenderbufferParameteriv_ARG_EXPAND); typedef void (*glGetRenderbufferParameteriv_PTR)(glGetRenderbufferParameteriv_ARG_EXPAND); -void glGetShaderInfoLog(glGetShaderInfoLog_ARG_EXPAND); +void glshim_glGetShaderInfoLog(glGetShaderInfoLog_ARG_EXPAND); typedef void (*glGetShaderInfoLog_PTR)(glGetShaderInfoLog_ARG_EXPAND); -void glGetShaderPrecisionFormat(glGetShaderPrecisionFormat_ARG_EXPAND); +void glshim_glGetShaderPrecisionFormat(glGetShaderPrecisionFormat_ARG_EXPAND); typedef void (*glGetShaderPrecisionFormat_PTR)(glGetShaderPrecisionFormat_ARG_EXPAND); -void glGetShaderSource(glGetShaderSource_ARG_EXPAND); +void glshim_glGetShaderSource(glGetShaderSource_ARG_EXPAND); typedef void (*glGetShaderSource_PTR)(glGetShaderSource_ARG_EXPAND); -void glGetShaderiv(glGetShaderiv_ARG_EXPAND); +void glshim_glGetShaderiv(glGetShaderiv_ARG_EXPAND); typedef void (*glGetShaderiv_PTR)(glGetShaderiv_ARG_EXPAND); -const GLubyte * glGetString(glGetString_ARG_EXPAND); +const GLubyte * glshim_glGetString(glGetString_ARG_EXPAND); typedef const GLubyte * (*glGetString_PTR)(glGetString_ARG_EXPAND); -void glGetTexParameterfv(glGetTexParameterfv_ARG_EXPAND); +void glshim_glGetTexParameterfv(glGetTexParameterfv_ARG_EXPAND); typedef void (*glGetTexParameterfv_PTR)(glGetTexParameterfv_ARG_EXPAND); -void glGetTexParameteriv(glGetTexParameteriv_ARG_EXPAND); +void glshim_glGetTexParameteriv(glGetTexParameteriv_ARG_EXPAND); typedef void (*glGetTexParameteriv_PTR)(glGetTexParameteriv_ARG_EXPAND); -GLint glGetUniformLocation(glGetUniformLocation_ARG_EXPAND); +GLint glshim_glGetUniformLocation(glGetUniformLocation_ARG_EXPAND); typedef GLint (*glGetUniformLocation_PTR)(glGetUniformLocation_ARG_EXPAND); -void glGetUniformfv(glGetUniformfv_ARG_EXPAND); +void glshim_glGetUniformfv(glGetUniformfv_ARG_EXPAND); typedef void (*glGetUniformfv_PTR)(glGetUniformfv_ARG_EXPAND); -void glGetUniformiv(glGetUniformiv_ARG_EXPAND); +void glshim_glGetUniformiv(glGetUniformiv_ARG_EXPAND); typedef void (*glGetUniformiv_PTR)(glGetUniformiv_ARG_EXPAND); -void glGetVertexAttribPointerv(glGetVertexAttribPointerv_ARG_EXPAND); +void glshim_glGetVertexAttribPointerv(glGetVertexAttribPointerv_ARG_EXPAND); typedef void (*glGetVertexAttribPointerv_PTR)(glGetVertexAttribPointerv_ARG_EXPAND); -void glGetVertexAttribfv(glGetVertexAttribfv_ARG_EXPAND); +void glshim_glGetVertexAttribfv(glGetVertexAttribfv_ARG_EXPAND); typedef void (*glGetVertexAttribfv_PTR)(glGetVertexAttribfv_ARG_EXPAND); -void glGetVertexAttribiv(glGetVertexAttribiv_ARG_EXPAND); +void glshim_glGetVertexAttribiv(glGetVertexAttribiv_ARG_EXPAND); typedef void (*glGetVertexAttribiv_PTR)(glGetVertexAttribiv_ARG_EXPAND); -void glHint(glHint_ARG_EXPAND); +void glshim_glHint(glHint_ARG_EXPAND); typedef void (*glHint_PTR)(glHint_ARG_EXPAND); -GLboolean glIsBuffer(glIsBuffer_ARG_EXPAND); +GLboolean glshim_glIsBuffer(glIsBuffer_ARG_EXPAND); typedef GLboolean (*glIsBuffer_PTR)(glIsBuffer_ARG_EXPAND); -GLboolean glIsEnabled(glIsEnabled_ARG_EXPAND); +GLboolean glshim_glIsEnabled(glIsEnabled_ARG_EXPAND); typedef GLboolean (*glIsEnabled_PTR)(glIsEnabled_ARG_EXPAND); -GLboolean glIsFramebuffer(glIsFramebuffer_ARG_EXPAND); +GLboolean glshim_glIsFramebuffer(glIsFramebuffer_ARG_EXPAND); typedef GLboolean (*glIsFramebuffer_PTR)(glIsFramebuffer_ARG_EXPAND); -GLboolean glIsProgram(glIsProgram_ARG_EXPAND); +GLboolean glshim_glIsProgram(glIsProgram_ARG_EXPAND); typedef GLboolean (*glIsProgram_PTR)(glIsProgram_ARG_EXPAND); -GLboolean glIsRenderbuffer(glIsRenderbuffer_ARG_EXPAND); +GLboolean glshim_glIsRenderbuffer(glIsRenderbuffer_ARG_EXPAND); typedef GLboolean (*glIsRenderbuffer_PTR)(glIsRenderbuffer_ARG_EXPAND); -GLboolean glIsShader(glIsShader_ARG_EXPAND); +GLboolean glshim_glIsShader(glIsShader_ARG_EXPAND); typedef GLboolean (*glIsShader_PTR)(glIsShader_ARG_EXPAND); -GLboolean glIsTexture(glIsTexture_ARG_EXPAND); +GLboolean glshim_glIsTexture(glIsTexture_ARG_EXPAND); typedef GLboolean (*glIsTexture_PTR)(glIsTexture_ARG_EXPAND); -void glLineWidth(glLineWidth_ARG_EXPAND); +void glshim_glLineWidth(glLineWidth_ARG_EXPAND); typedef void (*glLineWidth_PTR)(glLineWidth_ARG_EXPAND); -void glLinkProgram(glLinkProgram_ARG_EXPAND); +void glshim_glLinkProgram(glLinkProgram_ARG_EXPAND); typedef void (*glLinkProgram_PTR)(glLinkProgram_ARG_EXPAND); -void glPixelStorei(glPixelStorei_ARG_EXPAND); +void glshim_glPixelStorei(glPixelStorei_ARG_EXPAND); typedef void (*glPixelStorei_PTR)(glPixelStorei_ARG_EXPAND); -void glPolygonOffset(glPolygonOffset_ARG_EXPAND); +void glshim_glPolygonOffset(glPolygonOffset_ARG_EXPAND); typedef void (*glPolygonOffset_PTR)(glPolygonOffset_ARG_EXPAND); -void glReadPixels(glReadPixels_ARG_EXPAND); +void glshim_glReadPixels(glReadPixels_ARG_EXPAND); typedef void (*glReadPixels_PTR)(glReadPixels_ARG_EXPAND); -void glReleaseShaderCompiler(glReleaseShaderCompiler_ARG_EXPAND); +void glshim_glReleaseShaderCompiler(glReleaseShaderCompiler_ARG_EXPAND); typedef void (*glReleaseShaderCompiler_PTR)(glReleaseShaderCompiler_ARG_EXPAND); -void glRenderbufferStorage(glRenderbufferStorage_ARG_EXPAND); +void glshim_glRenderbufferStorage(glRenderbufferStorage_ARG_EXPAND); typedef void (*glRenderbufferStorage_PTR)(glRenderbufferStorage_ARG_EXPAND); -void glSampleCoverage(glSampleCoverage_ARG_EXPAND); +void glshim_glSampleCoverage(glSampleCoverage_ARG_EXPAND); typedef void (*glSampleCoverage_PTR)(glSampleCoverage_ARG_EXPAND); -void glScissor(glScissor_ARG_EXPAND); +void glshim_glScissor(glScissor_ARG_EXPAND); typedef void (*glScissor_PTR)(glScissor_ARG_EXPAND); -void glShaderBinary(glShaderBinary_ARG_EXPAND); +void glshim_glShaderBinary(glShaderBinary_ARG_EXPAND); typedef void (*glShaderBinary_PTR)(glShaderBinary_ARG_EXPAND); -void glShaderSource(glShaderSource_ARG_EXPAND); +void glshim_glShaderSource(glShaderSource_ARG_EXPAND); typedef void (*glShaderSource_PTR)(glShaderSource_ARG_EXPAND); -void glStencilFunc(glStencilFunc_ARG_EXPAND); +void glshim_glStencilFunc(glStencilFunc_ARG_EXPAND); typedef void (*glStencilFunc_PTR)(glStencilFunc_ARG_EXPAND); -void glStencilFuncSeparate(glStencilFuncSeparate_ARG_EXPAND); +void glshim_glStencilFuncSeparate(glStencilFuncSeparate_ARG_EXPAND); typedef void (*glStencilFuncSeparate_PTR)(glStencilFuncSeparate_ARG_EXPAND); -void glStencilMask(glStencilMask_ARG_EXPAND); +void glshim_glStencilMask(glStencilMask_ARG_EXPAND); typedef void (*glStencilMask_PTR)(glStencilMask_ARG_EXPAND); -void glStencilMaskSeparate(glStencilMaskSeparate_ARG_EXPAND); +void glshim_glStencilMaskSeparate(glStencilMaskSeparate_ARG_EXPAND); typedef void (*glStencilMaskSeparate_PTR)(glStencilMaskSeparate_ARG_EXPAND); -void glStencilOp(glStencilOp_ARG_EXPAND); +void glshim_glStencilOp(glStencilOp_ARG_EXPAND); typedef void (*glStencilOp_PTR)(glStencilOp_ARG_EXPAND); -void glStencilOpSeparate(glStencilOpSeparate_ARG_EXPAND); +void glshim_glStencilOpSeparate(glStencilOpSeparate_ARG_EXPAND); typedef void (*glStencilOpSeparate_PTR)(glStencilOpSeparate_ARG_EXPAND); -void glTexImage2D(glTexImage2D_ARG_EXPAND); +void glshim_glTexImage2D(glTexImage2D_ARG_EXPAND); typedef void (*glTexImage2D_PTR)(glTexImage2D_ARG_EXPAND); -void glTexParameterf(glTexParameterf_ARG_EXPAND); +void glshim_glTexParameterf(glTexParameterf_ARG_EXPAND); typedef void (*glTexParameterf_PTR)(glTexParameterf_ARG_EXPAND); -void glTexParameterfv(glTexParameterfv_ARG_EXPAND); +void glshim_glTexParameterfv(glTexParameterfv_ARG_EXPAND); typedef void (*glTexParameterfv_PTR)(glTexParameterfv_ARG_EXPAND); -void glTexParameteri(glTexParameteri_ARG_EXPAND); +void glshim_glTexParameteri(glTexParameteri_ARG_EXPAND); typedef void (*glTexParameteri_PTR)(glTexParameteri_ARG_EXPAND); -void glTexParameteriv(glTexParameteriv_ARG_EXPAND); +void glshim_glTexParameteriv(glTexParameteriv_ARG_EXPAND); typedef void (*glTexParameteriv_PTR)(glTexParameteriv_ARG_EXPAND); -void glTexSubImage2D(glTexSubImage2D_ARG_EXPAND); +void glshim_glTexSubImage2D(glTexSubImage2D_ARG_EXPAND); typedef void (*glTexSubImage2D_PTR)(glTexSubImage2D_ARG_EXPAND); -void glUniform1f(glUniform1f_ARG_EXPAND); +void glshim_glUniform1f(glUniform1f_ARG_EXPAND); typedef void (*glUniform1f_PTR)(glUniform1f_ARG_EXPAND); -void glUniform1fv(glUniform1fv_ARG_EXPAND); +void glshim_glUniform1fv(glUniform1fv_ARG_EXPAND); typedef void (*glUniform1fv_PTR)(glUniform1fv_ARG_EXPAND); -void glUniform1i(glUniform1i_ARG_EXPAND); +void glshim_glUniform1i(glUniform1i_ARG_EXPAND); typedef void (*glUniform1i_PTR)(glUniform1i_ARG_EXPAND); -void glUniform1iv(glUniform1iv_ARG_EXPAND); +void glshim_glUniform1iv(glUniform1iv_ARG_EXPAND); typedef void (*glUniform1iv_PTR)(glUniform1iv_ARG_EXPAND); -void glUniform2f(glUniform2f_ARG_EXPAND); +void glshim_glUniform2f(glUniform2f_ARG_EXPAND); typedef void (*glUniform2f_PTR)(glUniform2f_ARG_EXPAND); -void glUniform2fv(glUniform2fv_ARG_EXPAND); +void glshim_glUniform2fv(glUniform2fv_ARG_EXPAND); typedef void (*glUniform2fv_PTR)(glUniform2fv_ARG_EXPAND); -void glUniform2i(glUniform2i_ARG_EXPAND); +void glshim_glUniform2i(glUniform2i_ARG_EXPAND); typedef void (*glUniform2i_PTR)(glUniform2i_ARG_EXPAND); -void glUniform2iv(glUniform2iv_ARG_EXPAND); +void glshim_glUniform2iv(glUniform2iv_ARG_EXPAND); typedef void (*glUniform2iv_PTR)(glUniform2iv_ARG_EXPAND); -void glUniform3f(glUniform3f_ARG_EXPAND); +void glshim_glUniform3f(glUniform3f_ARG_EXPAND); typedef void (*glUniform3f_PTR)(glUniform3f_ARG_EXPAND); -void glUniform3fv(glUniform3fv_ARG_EXPAND); +void glshim_glUniform3fv(glUniform3fv_ARG_EXPAND); typedef void (*glUniform3fv_PTR)(glUniform3fv_ARG_EXPAND); -void glUniform3i(glUniform3i_ARG_EXPAND); +void glshim_glUniform3i(glUniform3i_ARG_EXPAND); typedef void (*glUniform3i_PTR)(glUniform3i_ARG_EXPAND); -void glUniform3iv(glUniform3iv_ARG_EXPAND); +void glshim_glUniform3iv(glUniform3iv_ARG_EXPAND); typedef void (*glUniform3iv_PTR)(glUniform3iv_ARG_EXPAND); -void glUniform4f(glUniform4f_ARG_EXPAND); +void glshim_glUniform4f(glUniform4f_ARG_EXPAND); typedef void (*glUniform4f_PTR)(glUniform4f_ARG_EXPAND); -void glUniform4fv(glUniform4fv_ARG_EXPAND); +void glshim_glUniform4fv(glUniform4fv_ARG_EXPAND); typedef void (*glUniform4fv_PTR)(glUniform4fv_ARG_EXPAND); -void glUniform4i(glUniform4i_ARG_EXPAND); +void glshim_glUniform4i(glUniform4i_ARG_EXPAND); typedef void (*glUniform4i_PTR)(glUniform4i_ARG_EXPAND); -void glUniform4iv(glUniform4iv_ARG_EXPAND); +void glshim_glUniform4iv(glUniform4iv_ARG_EXPAND); typedef void (*glUniform4iv_PTR)(glUniform4iv_ARG_EXPAND); -void glUniformMatrix2fv(glUniformMatrix2fv_ARG_EXPAND); +void glshim_glUniformMatrix2fv(glUniformMatrix2fv_ARG_EXPAND); typedef void (*glUniformMatrix2fv_PTR)(glUniformMatrix2fv_ARG_EXPAND); -void glUniformMatrix3fv(glUniformMatrix3fv_ARG_EXPAND); +void glshim_glUniformMatrix3fv(glUniformMatrix3fv_ARG_EXPAND); typedef void (*glUniformMatrix3fv_PTR)(glUniformMatrix3fv_ARG_EXPAND); -void glUniformMatrix4fv(glUniformMatrix4fv_ARG_EXPAND); +void glshim_glUniformMatrix4fv(glUniformMatrix4fv_ARG_EXPAND); typedef void (*glUniformMatrix4fv_PTR)(glUniformMatrix4fv_ARG_EXPAND); -void glUseProgram(glUseProgram_ARG_EXPAND); +void glshim_glUseProgram(glUseProgram_ARG_EXPAND); typedef void (*glUseProgram_PTR)(glUseProgram_ARG_EXPAND); -void glValidateProgram(glValidateProgram_ARG_EXPAND); +void glshim_glValidateProgram(glValidateProgram_ARG_EXPAND); typedef void (*glValidateProgram_PTR)(glValidateProgram_ARG_EXPAND); -void glVertexAttrib1f(glVertexAttrib1f_ARG_EXPAND); +void glshim_glVertexAttrib1f(glVertexAttrib1f_ARG_EXPAND); typedef void (*glVertexAttrib1f_PTR)(glVertexAttrib1f_ARG_EXPAND); -void glVertexAttrib1fv(glVertexAttrib1fv_ARG_EXPAND); +void glshim_glVertexAttrib1fv(glVertexAttrib1fv_ARG_EXPAND); typedef void (*glVertexAttrib1fv_PTR)(glVertexAttrib1fv_ARG_EXPAND); -void glVertexAttrib2f(glVertexAttrib2f_ARG_EXPAND); +void glshim_glVertexAttrib2f(glVertexAttrib2f_ARG_EXPAND); typedef void (*glVertexAttrib2f_PTR)(glVertexAttrib2f_ARG_EXPAND); -void glVertexAttrib2fv(glVertexAttrib2fv_ARG_EXPAND); +void glshim_glVertexAttrib2fv(glVertexAttrib2fv_ARG_EXPAND); typedef void (*glVertexAttrib2fv_PTR)(glVertexAttrib2fv_ARG_EXPAND); -void glVertexAttrib3f(glVertexAttrib3f_ARG_EXPAND); +void glshim_glVertexAttrib3f(glVertexAttrib3f_ARG_EXPAND); typedef void (*glVertexAttrib3f_PTR)(glVertexAttrib3f_ARG_EXPAND); -void glVertexAttrib3fv(glVertexAttrib3fv_ARG_EXPAND); +void glshim_glVertexAttrib3fv(glVertexAttrib3fv_ARG_EXPAND); typedef void (*glVertexAttrib3fv_PTR)(glVertexAttrib3fv_ARG_EXPAND); -void glVertexAttrib4f(glVertexAttrib4f_ARG_EXPAND); +void glshim_glVertexAttrib4f(glVertexAttrib4f_ARG_EXPAND); typedef void (*glVertexAttrib4f_PTR)(glVertexAttrib4f_ARG_EXPAND); -void glVertexAttrib4fv(glVertexAttrib4fv_ARG_EXPAND); +void glshim_glVertexAttrib4fv(glVertexAttrib4fv_ARG_EXPAND); typedef void (*glVertexAttrib4fv_PTR)(glVertexAttrib4fv_ARG_EXPAND); -void glVertexAttribPointer(glVertexAttribPointer_ARG_EXPAND); +void glshim_glVertexAttribPointer(glVertexAttribPointer_ARG_EXPAND); typedef void (*glVertexAttribPointer_PTR)(glVertexAttribPointer_ARG_EXPAND); -void glViewport(glViewport_ARG_EXPAND); +void glshim_glViewport(glViewport_ARG_EXPAND); typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); @@ -2680,7 +2680,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glActiveTexture(texture) { \ glActiveTexture_PACKED *packed_data = malloc(sizeof(glActiveTexture_PACKED)); \ packed_data->format = glActiveTexture_FORMAT; \ - packed_data->func = glActiveTexture; \ + packed_data->func = glshim_glActiveTexture; \ packed_data->args.a1 = (GLenum)texture; \ glPushCall((void *)packed_data); \ } @@ -2689,7 +2689,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glAttachShader(program, shader) { \ glAttachShader_PACKED *packed_data = malloc(sizeof(glAttachShader_PACKED)); \ packed_data->format = glAttachShader_FORMAT; \ - packed_data->func = glAttachShader; \ + packed_data->func = glshim_glAttachShader; \ packed_data->args.a1 = (GLuint)program; \ packed_data->args.a2 = (GLuint)shader; \ glPushCall((void *)packed_data); \ @@ -2699,7 +2699,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBindAttribLocation(program, index, name) { \ glBindAttribLocation_PACKED *packed_data = malloc(sizeof(glBindAttribLocation_PACKED)); \ packed_data->format = glBindAttribLocation_FORMAT; \ - packed_data->func = glBindAttribLocation; \ + packed_data->func = glshim_glBindAttribLocation; \ packed_data->args.a1 = (GLuint)program; \ packed_data->args.a2 = (GLuint)index; \ packed_data->args.a3 = (GLchar *)name; \ @@ -2710,7 +2710,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBindBuffer(target, buffer) { \ glBindBuffer_PACKED *packed_data = malloc(sizeof(glBindBuffer_PACKED)); \ packed_data->format = glBindBuffer_FORMAT; \ - packed_data->func = glBindBuffer; \ + packed_data->func = glshim_glBindBuffer; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLuint)buffer; \ glPushCall((void *)packed_data); \ @@ -2720,7 +2720,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBindFramebuffer(target, framebuffer) { \ glBindFramebuffer_PACKED *packed_data = malloc(sizeof(glBindFramebuffer_PACKED)); \ packed_data->format = glBindFramebuffer_FORMAT; \ - packed_data->func = glBindFramebuffer; \ + packed_data->func = glshim_glBindFramebuffer; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLuint)framebuffer; \ glPushCall((void *)packed_data); \ @@ -2730,7 +2730,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBindRenderbuffer(target, renderbuffer) { \ glBindRenderbuffer_PACKED *packed_data = malloc(sizeof(glBindRenderbuffer_PACKED)); \ packed_data->format = glBindRenderbuffer_FORMAT; \ - packed_data->func = glBindRenderbuffer; \ + packed_data->func = glshim_glBindRenderbuffer; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLuint)renderbuffer; \ glPushCall((void *)packed_data); \ @@ -2740,7 +2740,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBindTexture(target, texture) { \ glBindTexture_PACKED *packed_data = malloc(sizeof(glBindTexture_PACKED)); \ packed_data->format = glBindTexture_FORMAT; \ - packed_data->func = glBindTexture; \ + packed_data->func = glshim_glBindTexture; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLuint)texture; \ glPushCall((void *)packed_data); \ @@ -2750,7 +2750,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBlendColor(red, green, blue, alpha) { \ glBlendColor_PACKED *packed_data = malloc(sizeof(glBlendColor_PACKED)); \ packed_data->format = glBlendColor_FORMAT; \ - packed_data->func = glBlendColor; \ + packed_data->func = glshim_glBlendColor; \ packed_data->args.a1 = (GLclampf)red; \ packed_data->args.a2 = (GLclampf)green; \ packed_data->args.a3 = (GLclampf)blue; \ @@ -2762,7 +2762,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBlendEquation(mode) { \ glBlendEquation_PACKED *packed_data = malloc(sizeof(glBlendEquation_PACKED)); \ packed_data->format = glBlendEquation_FORMAT; \ - packed_data->func = glBlendEquation; \ + packed_data->func = glshim_glBlendEquation; \ packed_data->args.a1 = (GLenum)mode; \ glPushCall((void *)packed_data); \ } @@ -2771,7 +2771,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBlendEquationSeparate(modeRGB, modeA) { \ glBlendEquationSeparate_PACKED *packed_data = malloc(sizeof(glBlendEquationSeparate_PACKED)); \ packed_data->format = glBlendEquationSeparate_FORMAT; \ - packed_data->func = glBlendEquationSeparate; \ + packed_data->func = glshim_glBlendEquationSeparate; \ packed_data->args.a1 = (GLenum)modeRGB; \ packed_data->args.a2 = (GLenum)modeA; \ glPushCall((void *)packed_data); \ @@ -2781,7 +2781,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBlendFunc(sfactor, dfactor) { \ glBlendFunc_PACKED *packed_data = malloc(sizeof(glBlendFunc_PACKED)); \ packed_data->format = glBlendFunc_FORMAT; \ - packed_data->func = glBlendFunc; \ + packed_data->func = glshim_glBlendFunc; \ packed_data->args.a1 = (GLenum)sfactor; \ packed_data->args.a2 = (GLenum)dfactor; \ glPushCall((void *)packed_data); \ @@ -2791,7 +2791,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha) { \ glBlendFuncSeparate_PACKED *packed_data = malloc(sizeof(glBlendFuncSeparate_PACKED)); \ packed_data->format = glBlendFuncSeparate_FORMAT; \ - packed_data->func = glBlendFuncSeparate; \ + packed_data->func = glshim_glBlendFuncSeparate; \ packed_data->args.a1 = (GLenum)sfactorRGB; \ packed_data->args.a2 = (GLenum)dfactorRGB; \ packed_data->args.a3 = (GLenum)sfactorAlpha; \ @@ -2803,7 +2803,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBufferData(target, size, data, usage) { \ glBufferData_PACKED *packed_data = malloc(sizeof(glBufferData_PACKED)); \ packed_data->format = glBufferData_FORMAT; \ - packed_data->func = glBufferData; \ + packed_data->func = glshim_glBufferData; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLsizeiptr)size; \ packed_data->args.a3 = (GLvoid *)data; \ @@ -2815,7 +2815,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glBufferSubData(target, offset, size, data) { \ glBufferSubData_PACKED *packed_data = malloc(sizeof(glBufferSubData_PACKED)); \ packed_data->format = glBufferSubData_FORMAT; \ - packed_data->func = glBufferSubData; \ + packed_data->func = glshim_glBufferSubData; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLintptr)offset; \ packed_data->args.a3 = (GLsizeiptr)size; \ @@ -2827,7 +2827,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glCheckFramebufferStatus(target) { \ glCheckFramebufferStatus_PACKED *packed_data = malloc(sizeof(glCheckFramebufferStatus_PACKED)); \ packed_data->format = glCheckFramebufferStatus_FORMAT; \ - packed_data->func = glCheckFramebufferStatus; \ + packed_data->func = glshim_glCheckFramebufferStatus; \ packed_data->args.a1 = (GLenum)target; \ glPushCall((void *)packed_data); \ } @@ -2836,7 +2836,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glClear(mask) { \ glClear_PACKED *packed_data = malloc(sizeof(glClear_PACKED)); \ packed_data->format = glClear_FORMAT; \ - packed_data->func = glClear; \ + packed_data->func = glshim_glClear; \ packed_data->args.a1 = (GLbitfield)mask; \ glPushCall((void *)packed_data); \ } @@ -2845,7 +2845,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glClearColor(red, green, blue, alpha) { \ glClearColor_PACKED *packed_data = malloc(sizeof(glClearColor_PACKED)); \ packed_data->format = glClearColor_FORMAT; \ - packed_data->func = glClearColor; \ + packed_data->func = glshim_glClearColor; \ packed_data->args.a1 = (GLclampf)red; \ packed_data->args.a2 = (GLclampf)green; \ packed_data->args.a3 = (GLclampf)blue; \ @@ -2857,7 +2857,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glClearDepthf(depth) { \ glClearDepthf_PACKED *packed_data = malloc(sizeof(glClearDepthf_PACKED)); \ packed_data->format = glClearDepthf_FORMAT; \ - packed_data->func = glClearDepthf; \ + packed_data->func = glshim_glClearDepthf; \ packed_data->args.a1 = (GLclampf)depth; \ glPushCall((void *)packed_data); \ } @@ -2866,7 +2866,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glClearStencil(s) { \ glClearStencil_PACKED *packed_data = malloc(sizeof(glClearStencil_PACKED)); \ packed_data->format = glClearStencil_FORMAT; \ - packed_data->func = glClearStencil; \ + packed_data->func = glshim_glClearStencil; \ packed_data->args.a1 = (GLint)s; \ glPushCall((void *)packed_data); \ } @@ -2875,7 +2875,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glColorMask(red, green, blue, alpha) { \ glColorMask_PACKED *packed_data = malloc(sizeof(glColorMask_PACKED)); \ packed_data->format = glColorMask_FORMAT; \ - packed_data->func = glColorMask; \ + packed_data->func = glshim_glColorMask; \ packed_data->args.a1 = (GLboolean)red; \ packed_data->args.a2 = (GLboolean)green; \ packed_data->args.a3 = (GLboolean)blue; \ @@ -2887,7 +2887,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glCompileShader(shader) { \ glCompileShader_PACKED *packed_data = malloc(sizeof(glCompileShader_PACKED)); \ packed_data->format = glCompileShader_FORMAT; \ - packed_data->func = glCompileShader; \ + packed_data->func = glshim_glCompileShader; \ packed_data->args.a1 = (GLuint)shader; \ glPushCall((void *)packed_data); \ } @@ -2896,7 +2896,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data) { \ glCompressedTexImage2D_PACKED *packed_data = malloc(sizeof(glCompressedTexImage2D_PACKED)); \ packed_data->format = glCompressedTexImage2D_FORMAT; \ - packed_data->func = glCompressedTexImage2D; \ + packed_data->func = glshim_glCompressedTexImage2D; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLint)level; \ packed_data->args.a3 = (GLenum)internalformat; \ @@ -2912,7 +2912,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data) { \ glCompressedTexSubImage2D_PACKED *packed_data = malloc(sizeof(glCompressedTexSubImage2D_PACKED)); \ packed_data->format = glCompressedTexSubImage2D_FORMAT; \ - packed_data->func = glCompressedTexSubImage2D; \ + packed_data->func = glshim_glCompressedTexSubImage2D; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLint)level; \ packed_data->args.a3 = (GLint)xoffset; \ @@ -2929,7 +2929,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glCopyTexImage2D(target, level, internalformat, x, y, width, height, border) { \ glCopyTexImage2D_PACKED *packed_data = malloc(sizeof(glCopyTexImage2D_PACKED)); \ packed_data->format = glCopyTexImage2D_FORMAT; \ - packed_data->func = glCopyTexImage2D; \ + packed_data->func = glshim_glCopyTexImage2D; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLint)level; \ packed_data->args.a3 = (GLenum)internalformat; \ @@ -2945,7 +2945,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height) { \ glCopyTexSubImage2D_PACKED *packed_data = malloc(sizeof(glCopyTexSubImage2D_PACKED)); \ packed_data->format = glCopyTexSubImage2D_FORMAT; \ - packed_data->func = glCopyTexSubImage2D; \ + packed_data->func = glshim_glCopyTexSubImage2D; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLint)level; \ packed_data->args.a3 = (GLint)xoffset; \ @@ -2961,7 +2961,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glCreateProgram() { \ glCreateProgram_PACKED *packed_data = malloc(sizeof(glCreateProgram_PACKED)); \ packed_data->format = glCreateProgram_FORMAT; \ - packed_data->func = glCreateProgram; \ + packed_data->func = glshim_glCreateProgram; \ glPushCall((void *)packed_data); \ } #endif @@ -2969,7 +2969,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glCreateShader(type) { \ glCreateShader_PACKED *packed_data = malloc(sizeof(glCreateShader_PACKED)); \ packed_data->format = glCreateShader_FORMAT; \ - packed_data->func = glCreateShader; \ + packed_data->func = glshim_glCreateShader; \ packed_data->args.a1 = (GLenum)type; \ glPushCall((void *)packed_data); \ } @@ -2978,7 +2978,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glCullFace(mode) { \ glCullFace_PACKED *packed_data = malloc(sizeof(glCullFace_PACKED)); \ packed_data->format = glCullFace_FORMAT; \ - packed_data->func = glCullFace; \ + packed_data->func = glshim_glCullFace; \ packed_data->args.a1 = (GLenum)mode; \ glPushCall((void *)packed_data); \ } @@ -2987,7 +2987,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDeleteBuffers(n, buffer) { \ glDeleteBuffers_PACKED *packed_data = malloc(sizeof(glDeleteBuffers_PACKED)); \ packed_data->format = glDeleteBuffers_FORMAT; \ - packed_data->func = glDeleteBuffers; \ + packed_data->func = glshim_glDeleteBuffers; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)buffer; \ glPushCall((void *)packed_data); \ @@ -2997,7 +2997,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDeleteFramebuffers(n, framebuffers) { \ glDeleteFramebuffers_PACKED *packed_data = malloc(sizeof(glDeleteFramebuffers_PACKED)); \ packed_data->format = glDeleteFramebuffers_FORMAT; \ - packed_data->func = glDeleteFramebuffers; \ + packed_data->func = glshim_glDeleteFramebuffers; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)framebuffers; \ glPushCall((void *)packed_data); \ @@ -3007,7 +3007,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDeleteProgram(program) { \ glDeleteProgram_PACKED *packed_data = malloc(sizeof(glDeleteProgram_PACKED)); \ packed_data->format = glDeleteProgram_FORMAT; \ - packed_data->func = glDeleteProgram; \ + packed_data->func = glshim_glDeleteProgram; \ packed_data->args.a1 = (GLuint)program; \ glPushCall((void *)packed_data); \ } @@ -3016,7 +3016,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDeleteRenderbuffers(n, renderbuffers) { \ glDeleteRenderbuffers_PACKED *packed_data = malloc(sizeof(glDeleteRenderbuffers_PACKED)); \ packed_data->format = glDeleteRenderbuffers_FORMAT; \ - packed_data->func = glDeleteRenderbuffers; \ + packed_data->func = glshim_glDeleteRenderbuffers; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)renderbuffers; \ glPushCall((void *)packed_data); \ @@ -3026,7 +3026,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDeleteShader(program) { \ glDeleteShader_PACKED *packed_data = malloc(sizeof(glDeleteShader_PACKED)); \ packed_data->format = glDeleteShader_FORMAT; \ - packed_data->func = glDeleteShader; \ + packed_data->func = glshim_glDeleteShader; \ packed_data->args.a1 = (GLuint)program; \ glPushCall((void *)packed_data); \ } @@ -3035,7 +3035,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDeleteTextures(n, textures) { \ glDeleteTextures_PACKED *packed_data = malloc(sizeof(glDeleteTextures_PACKED)); \ packed_data->format = glDeleteTextures_FORMAT; \ - packed_data->func = glDeleteTextures; \ + packed_data->func = glshim_glDeleteTextures; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)textures; \ glPushCall((void *)packed_data); \ @@ -3045,7 +3045,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDepthFunc(func) { \ glDepthFunc_PACKED *packed_data = malloc(sizeof(glDepthFunc_PACKED)); \ packed_data->format = glDepthFunc_FORMAT; \ - packed_data->func = glDepthFunc; \ + packed_data->func = glshim_glDepthFunc; \ packed_data->args.a1 = (GLenum)func; \ glPushCall((void *)packed_data); \ } @@ -3054,7 +3054,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDepthMask(flag) { \ glDepthMask_PACKED *packed_data = malloc(sizeof(glDepthMask_PACKED)); \ packed_data->format = glDepthMask_FORMAT; \ - packed_data->func = glDepthMask; \ + packed_data->func = glshim_glDepthMask; \ packed_data->args.a1 = (GLboolean)flag; \ glPushCall((void *)packed_data); \ } @@ -3063,7 +3063,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDepthRangef(zNear, zFar) { \ glDepthRangef_PACKED *packed_data = malloc(sizeof(glDepthRangef_PACKED)); \ packed_data->format = glDepthRangef_FORMAT; \ - packed_data->func = glDepthRangef; \ + packed_data->func = glshim_glDepthRangef; \ packed_data->args.a1 = (GLclampf)zNear; \ packed_data->args.a2 = (GLclampf)zFar; \ glPushCall((void *)packed_data); \ @@ -3073,7 +3073,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDetachShader(program, shader) { \ glDetachShader_PACKED *packed_data = malloc(sizeof(glDetachShader_PACKED)); \ packed_data->format = glDetachShader_FORMAT; \ - packed_data->func = glDetachShader; \ + packed_data->func = glshim_glDetachShader; \ packed_data->args.a1 = (GLuint)program; \ packed_data->args.a2 = (GLuint)shader; \ glPushCall((void *)packed_data); \ @@ -3083,7 +3083,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDisable(cap) { \ glDisable_PACKED *packed_data = malloc(sizeof(glDisable_PACKED)); \ packed_data->format = glDisable_FORMAT; \ - packed_data->func = glDisable; \ + packed_data->func = glshim_glDisable; \ packed_data->args.a1 = (GLenum)cap; \ glPushCall((void *)packed_data); \ } @@ -3092,7 +3092,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDisableVertexAttribArray(index) { \ glDisableVertexAttribArray_PACKED *packed_data = malloc(sizeof(glDisableVertexAttribArray_PACKED)); \ packed_data->format = glDisableVertexAttribArray_FORMAT; \ - packed_data->func = glDisableVertexAttribArray; \ + packed_data->func = glshim_glDisableVertexAttribArray; \ packed_data->args.a1 = (GLuint)index; \ glPushCall((void *)packed_data); \ } @@ -3101,7 +3101,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDrawArrays(mode, first, count) { \ glDrawArrays_PACKED *packed_data = malloc(sizeof(glDrawArrays_PACKED)); \ packed_data->format = glDrawArrays_FORMAT; \ - packed_data->func = glDrawArrays; \ + packed_data->func = glshim_glDrawArrays; \ packed_data->args.a1 = (GLenum)mode; \ packed_data->args.a2 = (GLint)first; \ packed_data->args.a3 = (GLsizei)count; \ @@ -3112,7 +3112,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glDrawElements(mode, count, type, indices) { \ glDrawElements_PACKED *packed_data = malloc(sizeof(glDrawElements_PACKED)); \ packed_data->format = glDrawElements_FORMAT; \ - packed_data->func = glDrawElements; \ + packed_data->func = glshim_glDrawElements; \ packed_data->args.a1 = (GLenum)mode; \ packed_data->args.a2 = (GLsizei)count; \ packed_data->args.a3 = (GLenum)type; \ @@ -3124,7 +3124,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glEnable(cap) { \ glEnable_PACKED *packed_data = malloc(sizeof(glEnable_PACKED)); \ packed_data->format = glEnable_FORMAT; \ - packed_data->func = glEnable; \ + packed_data->func = glshim_glEnable; \ packed_data->args.a1 = (GLenum)cap; \ glPushCall((void *)packed_data); \ } @@ -3133,7 +3133,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glEnableVertexAttribArray(index) { \ glEnableVertexAttribArray_PACKED *packed_data = malloc(sizeof(glEnableVertexAttribArray_PACKED)); \ packed_data->format = glEnableVertexAttribArray_FORMAT; \ - packed_data->func = glEnableVertexAttribArray; \ + packed_data->func = glshim_glEnableVertexAttribArray; \ packed_data->args.a1 = (GLuint)index; \ glPushCall((void *)packed_data); \ } @@ -3142,7 +3142,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFinish() { \ glFinish_PACKED *packed_data = malloc(sizeof(glFinish_PACKED)); \ packed_data->format = glFinish_FORMAT; \ - packed_data->func = glFinish; \ + packed_data->func = glshim_glFinish; \ glPushCall((void *)packed_data); \ } #endif @@ -3150,7 +3150,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFlush() { \ glFlush_PACKED *packed_data = malloc(sizeof(glFlush_PACKED)); \ packed_data->format = glFlush_FORMAT; \ - packed_data->func = glFlush; \ + packed_data->func = glshim_glFlush; \ glPushCall((void *)packed_data); \ } #endif @@ -3158,7 +3158,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer) { \ glFramebufferRenderbuffer_PACKED *packed_data = malloc(sizeof(glFramebufferRenderbuffer_PACKED)); \ packed_data->format = glFramebufferRenderbuffer_FORMAT; \ - packed_data->func = glFramebufferRenderbuffer; \ + packed_data->func = glshim_glFramebufferRenderbuffer; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)attachment; \ packed_data->args.a3 = (GLenum)renderbuffertarget; \ @@ -3170,7 +3170,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFramebufferTexture2D(target, attachment, textarget, texture, level) { \ glFramebufferTexture2D_PACKED *packed_data = malloc(sizeof(glFramebufferTexture2D_PACKED)); \ packed_data->format = glFramebufferTexture2D_FORMAT; \ - packed_data->func = glFramebufferTexture2D; \ + packed_data->func = glshim_glFramebufferTexture2D; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)attachment; \ packed_data->args.a3 = (GLenum)textarget; \ @@ -3183,7 +3183,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glFrontFace(mode) { \ glFrontFace_PACKED *packed_data = malloc(sizeof(glFrontFace_PACKED)); \ packed_data->format = glFrontFace_FORMAT; \ - packed_data->func = glFrontFace; \ + packed_data->func = glshim_glFrontFace; \ packed_data->args.a1 = (GLenum)mode; \ glPushCall((void *)packed_data); \ } @@ -3192,7 +3192,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGenBuffers(n, buffer) { \ glGenBuffers_PACKED *packed_data = malloc(sizeof(glGenBuffers_PACKED)); \ packed_data->format = glGenBuffers_FORMAT; \ - packed_data->func = glGenBuffers; \ + packed_data->func = glshim_glGenBuffers; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)buffer; \ glPushCall((void *)packed_data); \ @@ -3202,7 +3202,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGenFramebuffers(n, framebuffers) { \ glGenFramebuffers_PACKED *packed_data = malloc(sizeof(glGenFramebuffers_PACKED)); \ packed_data->format = glGenFramebuffers_FORMAT; \ - packed_data->func = glGenFramebuffers; \ + packed_data->func = glshim_glGenFramebuffers; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)framebuffers; \ glPushCall((void *)packed_data); \ @@ -3212,7 +3212,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGenRenderbuffers(n, renderbuffers) { \ glGenRenderbuffers_PACKED *packed_data = malloc(sizeof(glGenRenderbuffers_PACKED)); \ packed_data->format = glGenRenderbuffers_FORMAT; \ - packed_data->func = glGenRenderbuffers; \ + packed_data->func = glshim_glGenRenderbuffers; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)renderbuffers; \ glPushCall((void *)packed_data); \ @@ -3222,7 +3222,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGenTextures(n, textures) { \ glGenTextures_PACKED *packed_data = malloc(sizeof(glGenTextures_PACKED)); \ packed_data->format = glGenTextures_FORMAT; \ - packed_data->func = glGenTextures; \ + packed_data->func = glshim_glGenTextures; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)textures; \ glPushCall((void *)packed_data); \ @@ -3232,7 +3232,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGenerateMipmap(target) { \ glGenerateMipmap_PACKED *packed_data = malloc(sizeof(glGenerateMipmap_PACKED)); \ packed_data->format = glGenerateMipmap_FORMAT; \ - packed_data->func = glGenerateMipmap; \ + packed_data->func = glshim_glGenerateMipmap; \ packed_data->args.a1 = (GLenum)target; \ glPushCall((void *)packed_data); \ } @@ -3241,7 +3241,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetActiveAttrib(program, index, bufSize, length, size, type, name) { \ glGetActiveAttrib_PACKED *packed_data = malloc(sizeof(glGetActiveAttrib_PACKED)); \ packed_data->format = glGetActiveAttrib_FORMAT; \ - packed_data->func = glGetActiveAttrib; \ + packed_data->func = glshim_glGetActiveAttrib; \ packed_data->args.a1 = (GLuint)program; \ packed_data->args.a2 = (GLuint)index; \ packed_data->args.a3 = (GLsizei)bufSize; \ @@ -3256,7 +3256,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetActiveUniform(program, index, bufSize, length, size, type, name) { \ glGetActiveUniform_PACKED *packed_data = malloc(sizeof(glGetActiveUniform_PACKED)); \ packed_data->format = glGetActiveUniform_FORMAT; \ - packed_data->func = glGetActiveUniform; \ + packed_data->func = glshim_glGetActiveUniform; \ packed_data->args.a1 = (GLuint)program; \ packed_data->args.a2 = (GLuint)index; \ packed_data->args.a3 = (GLsizei)bufSize; \ @@ -3271,7 +3271,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetAttachedShaders(program, maxCount, count, obj) { \ glGetAttachedShaders_PACKED *packed_data = malloc(sizeof(glGetAttachedShaders_PACKED)); \ packed_data->format = glGetAttachedShaders_FORMAT; \ - packed_data->func = glGetAttachedShaders; \ + packed_data->func = glshim_glGetAttachedShaders; \ packed_data->args.a1 = (GLuint)program; \ packed_data->args.a2 = (GLsizei)maxCount; \ packed_data->args.a3 = (GLsizei *)count; \ @@ -3283,7 +3283,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetAttribLocation(program, name) { \ glGetAttribLocation_PACKED *packed_data = malloc(sizeof(glGetAttribLocation_PACKED)); \ packed_data->format = glGetAttribLocation_FORMAT; \ - packed_data->func = glGetAttribLocation; \ + packed_data->func = glshim_glGetAttribLocation; \ packed_data->args.a1 = (GLuint)program; \ packed_data->args.a2 = (GLchar *)name; \ glPushCall((void *)packed_data); \ @@ -3293,7 +3293,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetBooleanv(pname, params) { \ glGetBooleanv_PACKED *packed_data = malloc(sizeof(glGetBooleanv_PACKED)); \ packed_data->format = glGetBooleanv_FORMAT; \ - packed_data->func = glGetBooleanv; \ + packed_data->func = glshim_glGetBooleanv; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLboolean *)params; \ glPushCall((void *)packed_data); \ @@ -3303,7 +3303,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetBufferParameteriv(target, pname, params) { \ glGetBufferParameteriv_PACKED *packed_data = malloc(sizeof(glGetBufferParameteriv_PACKED)); \ packed_data->format = glGetBufferParameteriv_FORMAT; \ - packed_data->func = glGetBufferParameteriv; \ + packed_data->func = glshim_glGetBufferParameteriv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint *)params; \ @@ -3314,7 +3314,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetError() { \ glGetError_PACKED *packed_data = malloc(sizeof(glGetError_PACKED)); \ packed_data->format = glGetError_FORMAT; \ - packed_data->func = glGetError; \ + packed_data->func = glshim_glGetError; \ glPushCall((void *)packed_data); \ } #endif @@ -3322,7 +3322,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetFloatv(pname, params) { \ glGetFloatv_PACKED *packed_data = malloc(sizeof(glGetFloatv_PACKED)); \ packed_data->format = glGetFloatv_FORMAT; \ - packed_data->func = glGetFloatv; \ + packed_data->func = glshim_glGetFloatv; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLfloat *)params; \ glPushCall((void *)packed_data); \ @@ -3332,7 +3332,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetFramebufferAttachmentParameteriv(target, attachment, pname, params) { \ glGetFramebufferAttachmentParameteriv_PACKED *packed_data = malloc(sizeof(glGetFramebufferAttachmentParameteriv_PACKED)); \ packed_data->format = glGetFramebufferAttachmentParameteriv_FORMAT; \ - packed_data->func = glGetFramebufferAttachmentParameteriv; \ + packed_data->func = glshim_glGetFramebufferAttachmentParameteriv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)attachment; \ packed_data->args.a3 = (GLenum)pname; \ @@ -3344,7 +3344,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetIntegerv(pname, params) { \ glGetIntegerv_PACKED *packed_data = malloc(sizeof(glGetIntegerv_PACKED)); \ packed_data->format = glGetIntegerv_FORMAT; \ - packed_data->func = glGetIntegerv; \ + packed_data->func = glshim_glGetIntegerv; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLint *)params; \ glPushCall((void *)packed_data); \ @@ -3354,7 +3354,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetProgramInfoLog(program, bufSize, length, infoLog) { \ glGetProgramInfoLog_PACKED *packed_data = malloc(sizeof(glGetProgramInfoLog_PACKED)); \ packed_data->format = glGetProgramInfoLog_FORMAT; \ - packed_data->func = glGetProgramInfoLog; \ + packed_data->func = glshim_glGetProgramInfoLog; \ packed_data->args.a1 = (GLuint)program; \ packed_data->args.a2 = (GLsizei)bufSize; \ packed_data->args.a3 = (GLsizei *)length; \ @@ -3366,7 +3366,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetProgramiv(program, pname, params) { \ glGetProgramiv_PACKED *packed_data = malloc(sizeof(glGetProgramiv_PACKED)); \ packed_data->format = glGetProgramiv_FORMAT; \ - packed_data->func = glGetProgramiv; \ + packed_data->func = glshim_glGetProgramiv; \ packed_data->args.a1 = (GLuint)program; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint *)params; \ @@ -3377,7 +3377,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetRenderbufferParameteriv(target, pname, params) { \ glGetRenderbufferParameteriv_PACKED *packed_data = malloc(sizeof(glGetRenderbufferParameteriv_PACKED)); \ packed_data->format = glGetRenderbufferParameteriv_FORMAT; \ - packed_data->func = glGetRenderbufferParameteriv; \ + packed_data->func = glshim_glGetRenderbufferParameteriv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint *)params; \ @@ -3388,7 +3388,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetShaderInfoLog(shader, bufSize, length, infoLog) { \ glGetShaderInfoLog_PACKED *packed_data = malloc(sizeof(glGetShaderInfoLog_PACKED)); \ packed_data->format = glGetShaderInfoLog_FORMAT; \ - packed_data->func = glGetShaderInfoLog; \ + packed_data->func = glshim_glGetShaderInfoLog; \ packed_data->args.a1 = (GLuint)shader; \ packed_data->args.a2 = (GLsizei)bufSize; \ packed_data->args.a3 = (GLsizei *)length; \ @@ -3400,7 +3400,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision) { \ glGetShaderPrecisionFormat_PACKED *packed_data = malloc(sizeof(glGetShaderPrecisionFormat_PACKED)); \ packed_data->format = glGetShaderPrecisionFormat_FORMAT; \ - packed_data->func = glGetShaderPrecisionFormat; \ + packed_data->func = glshim_glGetShaderPrecisionFormat; \ packed_data->args.a1 = (GLenum)shadertype; \ packed_data->args.a2 = (GLenum)precisiontype; \ packed_data->args.a3 = (GLint *)range; \ @@ -3412,7 +3412,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetShaderSource(shader, bufSize, length, source) { \ glGetShaderSource_PACKED *packed_data = malloc(sizeof(glGetShaderSource_PACKED)); \ packed_data->format = glGetShaderSource_FORMAT; \ - packed_data->func = glGetShaderSource; \ + packed_data->func = glshim_glGetShaderSource; \ packed_data->args.a1 = (GLuint)shader; \ packed_data->args.a2 = (GLsizei)bufSize; \ packed_data->args.a3 = (GLsizei *)length; \ @@ -3424,7 +3424,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetShaderiv(shader, pname, params) { \ glGetShaderiv_PACKED *packed_data = malloc(sizeof(glGetShaderiv_PACKED)); \ packed_data->format = glGetShaderiv_FORMAT; \ - packed_data->func = glGetShaderiv; \ + packed_data->func = glshim_glGetShaderiv; \ packed_data->args.a1 = (GLuint)shader; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint *)params; \ @@ -3435,7 +3435,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetString(name) { \ glGetString_PACKED *packed_data = malloc(sizeof(glGetString_PACKED)); \ packed_data->format = glGetString_FORMAT; \ - packed_data->func = glGetString; \ + packed_data->func = glshim_glGetString; \ packed_data->args.a1 = (GLenum)name; \ glPushCall((void *)packed_data); \ } @@ -3444,7 +3444,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetTexParameterfv(target, pname, params) { \ glGetTexParameterfv_PACKED *packed_data = malloc(sizeof(glGetTexParameterfv_PACKED)); \ packed_data->format = glGetTexParameterfv_FORMAT; \ - packed_data->func = glGetTexParameterfv; \ + packed_data->func = glshim_glGetTexParameterfv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat *)params; \ @@ -3455,7 +3455,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetTexParameteriv(target, pname, params) { \ glGetTexParameteriv_PACKED *packed_data = malloc(sizeof(glGetTexParameteriv_PACKED)); \ packed_data->format = glGetTexParameteriv_FORMAT; \ - packed_data->func = glGetTexParameteriv; \ + packed_data->func = glshim_glGetTexParameteriv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint *)params; \ @@ -3466,7 +3466,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetUniformLocation(program, name) { \ glGetUniformLocation_PACKED *packed_data = malloc(sizeof(glGetUniformLocation_PACKED)); \ packed_data->format = glGetUniformLocation_FORMAT; \ - packed_data->func = glGetUniformLocation; \ + packed_data->func = glshim_glGetUniformLocation; \ packed_data->args.a1 = (GLuint)program; \ packed_data->args.a2 = (GLchar *)name; \ glPushCall((void *)packed_data); \ @@ -3476,7 +3476,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetUniformfv(program, location, params) { \ glGetUniformfv_PACKED *packed_data = malloc(sizeof(glGetUniformfv_PACKED)); \ packed_data->format = glGetUniformfv_FORMAT; \ - packed_data->func = glGetUniformfv; \ + packed_data->func = glshim_glGetUniformfv; \ packed_data->args.a1 = (GLuint)program; \ packed_data->args.a2 = (GLint)location; \ packed_data->args.a3 = (GLfloat *)params; \ @@ -3487,7 +3487,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetUniformiv(program, location, params) { \ glGetUniformiv_PACKED *packed_data = malloc(sizeof(glGetUniformiv_PACKED)); \ packed_data->format = glGetUniformiv_FORMAT; \ - packed_data->func = glGetUniformiv; \ + packed_data->func = glshim_glGetUniformiv; \ packed_data->args.a1 = (GLuint)program; \ packed_data->args.a2 = (GLint)location; \ packed_data->args.a3 = (GLint *)params; \ @@ -3498,7 +3498,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetVertexAttribPointerv(index, pname, pointer) { \ glGetVertexAttribPointerv_PACKED *packed_data = malloc(sizeof(glGetVertexAttribPointerv_PACKED)); \ packed_data->format = glGetVertexAttribPointerv_FORMAT; \ - packed_data->func = glGetVertexAttribPointerv; \ + packed_data->func = glshim_glGetVertexAttribPointerv; \ packed_data->args.a1 = (GLuint)index; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLvoid **)pointer; \ @@ -3509,7 +3509,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetVertexAttribfv(index, pname, params) { \ glGetVertexAttribfv_PACKED *packed_data = malloc(sizeof(glGetVertexAttribfv_PACKED)); \ packed_data->format = glGetVertexAttribfv_FORMAT; \ - packed_data->func = glGetVertexAttribfv; \ + packed_data->func = glshim_glGetVertexAttribfv; \ packed_data->args.a1 = (GLuint)index; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat *)params; \ @@ -3520,7 +3520,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glGetVertexAttribiv(index, pname, params) { \ glGetVertexAttribiv_PACKED *packed_data = malloc(sizeof(glGetVertexAttribiv_PACKED)); \ packed_data->format = glGetVertexAttribiv_FORMAT; \ - packed_data->func = glGetVertexAttribiv; \ + packed_data->func = glshim_glGetVertexAttribiv; \ packed_data->args.a1 = (GLuint)index; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint *)params; \ @@ -3531,7 +3531,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glHint(target, mode) { \ glHint_PACKED *packed_data = malloc(sizeof(glHint_PACKED)); \ packed_data->format = glHint_FORMAT; \ - packed_data->func = glHint; \ + packed_data->func = glshim_glHint; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)mode; \ glPushCall((void *)packed_data); \ @@ -3541,7 +3541,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glIsBuffer(buffer) { \ glIsBuffer_PACKED *packed_data = malloc(sizeof(glIsBuffer_PACKED)); \ packed_data->format = glIsBuffer_FORMAT; \ - packed_data->func = glIsBuffer; \ + packed_data->func = glshim_glIsBuffer; \ packed_data->args.a1 = (GLuint)buffer; \ glPushCall((void *)packed_data); \ } @@ -3550,7 +3550,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glIsEnabled(cap) { \ glIsEnabled_PACKED *packed_data = malloc(sizeof(glIsEnabled_PACKED)); \ packed_data->format = glIsEnabled_FORMAT; \ - packed_data->func = glIsEnabled; \ + packed_data->func = glshim_glIsEnabled; \ packed_data->args.a1 = (GLenum)cap; \ glPushCall((void *)packed_data); \ } @@ -3559,7 +3559,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glIsFramebuffer(framebuffer) { \ glIsFramebuffer_PACKED *packed_data = malloc(sizeof(glIsFramebuffer_PACKED)); \ packed_data->format = glIsFramebuffer_FORMAT; \ - packed_data->func = glIsFramebuffer; \ + packed_data->func = glshim_glIsFramebuffer; \ packed_data->args.a1 = (GLuint)framebuffer; \ glPushCall((void *)packed_data); \ } @@ -3568,7 +3568,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glIsProgram(program) { \ glIsProgram_PACKED *packed_data = malloc(sizeof(glIsProgram_PACKED)); \ packed_data->format = glIsProgram_FORMAT; \ - packed_data->func = glIsProgram; \ + packed_data->func = glshim_glIsProgram; \ packed_data->args.a1 = (GLuint)program; \ glPushCall((void *)packed_data); \ } @@ -3577,7 +3577,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glIsRenderbuffer(renderbuffer) { \ glIsRenderbuffer_PACKED *packed_data = malloc(sizeof(glIsRenderbuffer_PACKED)); \ packed_data->format = glIsRenderbuffer_FORMAT; \ - packed_data->func = glIsRenderbuffer; \ + packed_data->func = glshim_glIsRenderbuffer; \ packed_data->args.a1 = (GLuint)renderbuffer; \ glPushCall((void *)packed_data); \ } @@ -3586,7 +3586,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glIsShader(shader) { \ glIsShader_PACKED *packed_data = malloc(sizeof(glIsShader_PACKED)); \ packed_data->format = glIsShader_FORMAT; \ - packed_data->func = glIsShader; \ + packed_data->func = glshim_glIsShader; \ packed_data->args.a1 = (GLuint)shader; \ glPushCall((void *)packed_data); \ } @@ -3595,7 +3595,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glIsTexture(texture) { \ glIsTexture_PACKED *packed_data = malloc(sizeof(glIsTexture_PACKED)); \ packed_data->format = glIsTexture_FORMAT; \ - packed_data->func = glIsTexture; \ + packed_data->func = glshim_glIsTexture; \ packed_data->args.a1 = (GLuint)texture; \ glPushCall((void *)packed_data); \ } @@ -3604,7 +3604,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLineWidth(width) { \ glLineWidth_PACKED *packed_data = malloc(sizeof(glLineWidth_PACKED)); \ packed_data->format = glLineWidth_FORMAT; \ - packed_data->func = glLineWidth; \ + packed_data->func = glshim_glLineWidth; \ packed_data->args.a1 = (GLfloat)width; \ glPushCall((void *)packed_data); \ } @@ -3613,7 +3613,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glLinkProgram(program) { \ glLinkProgram_PACKED *packed_data = malloc(sizeof(glLinkProgram_PACKED)); \ packed_data->format = glLinkProgram_FORMAT; \ - packed_data->func = glLinkProgram; \ + packed_data->func = glshim_glLinkProgram; \ packed_data->args.a1 = (GLuint)program; \ glPushCall((void *)packed_data); \ } @@ -3622,7 +3622,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glPixelStorei(pname, param) { \ glPixelStorei_PACKED *packed_data = malloc(sizeof(glPixelStorei_PACKED)); \ packed_data->format = glPixelStorei_FORMAT; \ - packed_data->func = glPixelStorei; \ + packed_data->func = glshim_glPixelStorei; \ packed_data->args.a1 = (GLenum)pname; \ packed_data->args.a2 = (GLint)param; \ glPushCall((void *)packed_data); \ @@ -3632,7 +3632,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glPolygonOffset(factor, units) { \ glPolygonOffset_PACKED *packed_data = malloc(sizeof(glPolygonOffset_PACKED)); \ packed_data->format = glPolygonOffset_FORMAT; \ - packed_data->func = glPolygonOffset; \ + packed_data->func = glshim_glPolygonOffset; \ packed_data->args.a1 = (GLfloat)factor; \ packed_data->args.a2 = (GLfloat)units; \ glPushCall((void *)packed_data); \ @@ -3642,7 +3642,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glReadPixels(x, y, width, height, format, type, pixels) { \ glReadPixels_PACKED *packed_data = malloc(sizeof(glReadPixels_PACKED)); \ packed_data->format = glReadPixels_FORMAT; \ - packed_data->func = glReadPixels; \ + packed_data->func = glshim_glReadPixels; \ packed_data->args.a1 = (GLint)x; \ packed_data->args.a2 = (GLint)y; \ packed_data->args.a3 = (GLsizei)width; \ @@ -3657,7 +3657,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glReleaseShaderCompiler() { \ glReleaseShaderCompiler_PACKED *packed_data = malloc(sizeof(glReleaseShaderCompiler_PACKED)); \ packed_data->format = glReleaseShaderCompiler_FORMAT; \ - packed_data->func = glReleaseShaderCompiler; \ + packed_data->func = glshim_glReleaseShaderCompiler; \ glPushCall((void *)packed_data); \ } #endif @@ -3665,7 +3665,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glRenderbufferStorage(target, internalformat, width, height) { \ glRenderbufferStorage_PACKED *packed_data = malloc(sizeof(glRenderbufferStorage_PACKED)); \ packed_data->format = glRenderbufferStorage_FORMAT; \ - packed_data->func = glRenderbufferStorage; \ + packed_data->func = glshim_glRenderbufferStorage; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)internalformat; \ packed_data->args.a3 = (GLsizei)width; \ @@ -3677,7 +3677,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glSampleCoverage(value, invert) { \ glSampleCoverage_PACKED *packed_data = malloc(sizeof(glSampleCoverage_PACKED)); \ packed_data->format = glSampleCoverage_FORMAT; \ - packed_data->func = glSampleCoverage; \ + packed_data->func = glshim_glSampleCoverage; \ packed_data->args.a1 = (GLclampf)value; \ packed_data->args.a2 = (GLboolean)invert; \ glPushCall((void *)packed_data); \ @@ -3687,7 +3687,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glScissor(x, y, width, height) { \ glScissor_PACKED *packed_data = malloc(sizeof(glScissor_PACKED)); \ packed_data->format = glScissor_FORMAT; \ - packed_data->func = glScissor; \ + packed_data->func = glshim_glScissor; \ packed_data->args.a1 = (GLint)x; \ packed_data->args.a2 = (GLint)y; \ packed_data->args.a3 = (GLsizei)width; \ @@ -3699,7 +3699,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glShaderBinary(n, shaders, binaryformat, binary, length) { \ glShaderBinary_PACKED *packed_data = malloc(sizeof(glShaderBinary_PACKED)); \ packed_data->format = glShaderBinary_FORMAT; \ - packed_data->func = glShaderBinary; \ + packed_data->func = glshim_glShaderBinary; \ packed_data->args.a1 = (GLsizei)n; \ packed_data->args.a2 = (GLuint *)shaders; \ packed_data->args.a3 = (GLenum)binaryformat; \ @@ -3712,7 +3712,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glShaderSource(shader, count, string, length) { \ glShaderSource_PACKED *packed_data = malloc(sizeof(glShaderSource_PACKED)); \ packed_data->format = glShaderSource_FORMAT; \ - packed_data->func = glShaderSource; \ + packed_data->func = glshim_glShaderSource; \ packed_data->args.a1 = (GLuint)shader; \ packed_data->args.a2 = (GLsizei)count; \ packed_data->args.a3 = (GLchar * *)string; \ @@ -3724,7 +3724,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glStencilFunc(func, ref, mask) { \ glStencilFunc_PACKED *packed_data = malloc(sizeof(glStencilFunc_PACKED)); \ packed_data->format = glStencilFunc_FORMAT; \ - packed_data->func = glStencilFunc; \ + packed_data->func = glshim_glStencilFunc; \ packed_data->args.a1 = (GLenum)func; \ packed_data->args.a2 = (GLint)ref; \ packed_data->args.a3 = (GLuint)mask; \ @@ -3735,7 +3735,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glStencilFuncSeparate(face, func, ref, mask) { \ glStencilFuncSeparate_PACKED *packed_data = malloc(sizeof(glStencilFuncSeparate_PACKED)); \ packed_data->format = glStencilFuncSeparate_FORMAT; \ - packed_data->func = glStencilFuncSeparate; \ + packed_data->func = glshim_glStencilFuncSeparate; \ packed_data->args.a1 = (GLenum)face; \ packed_data->args.a2 = (GLenum)func; \ packed_data->args.a3 = (GLint)ref; \ @@ -3747,7 +3747,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glStencilMask(mask) { \ glStencilMask_PACKED *packed_data = malloc(sizeof(glStencilMask_PACKED)); \ packed_data->format = glStencilMask_FORMAT; \ - packed_data->func = glStencilMask; \ + packed_data->func = glshim_glStencilMask; \ packed_data->args.a1 = (GLuint)mask; \ glPushCall((void *)packed_data); \ } @@ -3756,7 +3756,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glStencilMaskSeparate(face, mask) { \ glStencilMaskSeparate_PACKED *packed_data = malloc(sizeof(glStencilMaskSeparate_PACKED)); \ packed_data->format = glStencilMaskSeparate_FORMAT; \ - packed_data->func = glStencilMaskSeparate; \ + packed_data->func = glshim_glStencilMaskSeparate; \ packed_data->args.a1 = (GLenum)face; \ packed_data->args.a2 = (GLuint)mask; \ glPushCall((void *)packed_data); \ @@ -3766,7 +3766,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glStencilOp(fail, zfail, zpass) { \ glStencilOp_PACKED *packed_data = malloc(sizeof(glStencilOp_PACKED)); \ packed_data->format = glStencilOp_FORMAT; \ - packed_data->func = glStencilOp; \ + packed_data->func = glshim_glStencilOp; \ packed_data->args.a1 = (GLenum)fail; \ packed_data->args.a2 = (GLenum)zfail; \ packed_data->args.a3 = (GLenum)zpass; \ @@ -3777,7 +3777,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glStencilOpSeparate(face, sfail, zfail, zpass) { \ glStencilOpSeparate_PACKED *packed_data = malloc(sizeof(glStencilOpSeparate_PACKED)); \ packed_data->format = glStencilOpSeparate_FORMAT; \ - packed_data->func = glStencilOpSeparate; \ + packed_data->func = glshim_glStencilOpSeparate; \ packed_data->args.a1 = (GLenum)face; \ packed_data->args.a2 = (GLenum)sfail; \ packed_data->args.a3 = (GLenum)zfail; \ @@ -3789,7 +3789,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels) { \ glTexImage2D_PACKED *packed_data = malloc(sizeof(glTexImage2D_PACKED)); \ packed_data->format = glTexImage2D_FORMAT; \ - packed_data->func = glTexImage2D; \ + packed_data->func = glshim_glTexImage2D; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLint)level; \ packed_data->args.a3 = (GLint)internalformat; \ @@ -3806,7 +3806,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexParameterf(target, pname, param) { \ glTexParameterf_PACKED *packed_data = malloc(sizeof(glTexParameterf_PACKED)); \ packed_data->format = glTexParameterf_FORMAT; \ - packed_data->func = glTexParameterf; \ + packed_data->func = glshim_glTexParameterf; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat)param; \ @@ -3817,7 +3817,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexParameterfv(target, pname, params) { \ glTexParameterfv_PACKED *packed_data = malloc(sizeof(glTexParameterfv_PACKED)); \ packed_data->format = glTexParameterfv_FORMAT; \ - packed_data->func = glTexParameterfv; \ + packed_data->func = glshim_glTexParameterfv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLfloat *)params; \ @@ -3828,7 +3828,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexParameteri(target, pname, param) { \ glTexParameteri_PACKED *packed_data = malloc(sizeof(glTexParameteri_PACKED)); \ packed_data->format = glTexParameteri_FORMAT; \ - packed_data->func = glTexParameteri; \ + packed_data->func = glshim_glTexParameteri; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint)param; \ @@ -3839,7 +3839,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexParameteriv(target, pname, params) { \ glTexParameteriv_PACKED *packed_data = malloc(sizeof(glTexParameteriv_PACKED)); \ packed_data->format = glTexParameteriv_FORMAT; \ - packed_data->func = glTexParameteriv; \ + packed_data->func = glshim_glTexParameteriv; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLenum)pname; \ packed_data->args.a3 = (GLint *)params; \ @@ -3850,7 +3850,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels) { \ glTexSubImage2D_PACKED *packed_data = malloc(sizeof(glTexSubImage2D_PACKED)); \ packed_data->format = glTexSubImage2D_FORMAT; \ - packed_data->func = glTexSubImage2D; \ + packed_data->func = glshim_glTexSubImage2D; \ packed_data->args.a1 = (GLenum)target; \ packed_data->args.a2 = (GLint)level; \ packed_data->args.a3 = (GLint)xoffset; \ @@ -3867,7 +3867,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform1f(location, v0) { \ glUniform1f_PACKED *packed_data = malloc(sizeof(glUniform1f_PACKED)); \ packed_data->format = glUniform1f_FORMAT; \ - packed_data->func = glUniform1f; \ + packed_data->func = glshim_glUniform1f; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLfloat)v0; \ glPushCall((void *)packed_data); \ @@ -3877,7 +3877,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform1fv(location, count, value) { \ glUniform1fv_PACKED *packed_data = malloc(sizeof(glUniform1fv_PACKED)); \ packed_data->format = glUniform1fv_FORMAT; \ - packed_data->func = glUniform1fv; \ + packed_data->func = glshim_glUniform1fv; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLsizei)count; \ packed_data->args.a3 = (GLfloat *)value; \ @@ -3888,7 +3888,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform1i(location, v0) { \ glUniform1i_PACKED *packed_data = malloc(sizeof(glUniform1i_PACKED)); \ packed_data->format = glUniform1i_FORMAT; \ - packed_data->func = glUniform1i; \ + packed_data->func = glshim_glUniform1i; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLint)v0; \ glPushCall((void *)packed_data); \ @@ -3898,7 +3898,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform1iv(location, count, value) { \ glUniform1iv_PACKED *packed_data = malloc(sizeof(glUniform1iv_PACKED)); \ packed_data->format = glUniform1iv_FORMAT; \ - packed_data->func = glUniform1iv; \ + packed_data->func = glshim_glUniform1iv; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLsizei)count; \ packed_data->args.a3 = (GLint *)value; \ @@ -3909,7 +3909,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform2f(location, v0, v1) { \ glUniform2f_PACKED *packed_data = malloc(sizeof(glUniform2f_PACKED)); \ packed_data->format = glUniform2f_FORMAT; \ - packed_data->func = glUniform2f; \ + packed_data->func = glshim_glUniform2f; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLfloat)v0; \ packed_data->args.a3 = (GLfloat)v1; \ @@ -3920,7 +3920,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform2fv(location, count, value) { \ glUniform2fv_PACKED *packed_data = malloc(sizeof(glUniform2fv_PACKED)); \ packed_data->format = glUniform2fv_FORMAT; \ - packed_data->func = glUniform2fv; \ + packed_data->func = glshim_glUniform2fv; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLsizei)count; \ packed_data->args.a3 = (GLfloat *)value; \ @@ -3931,7 +3931,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform2i(location, v0, v1) { \ glUniform2i_PACKED *packed_data = malloc(sizeof(glUniform2i_PACKED)); \ packed_data->format = glUniform2i_FORMAT; \ - packed_data->func = glUniform2i; \ + packed_data->func = glshim_glUniform2i; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLint)v0; \ packed_data->args.a3 = (GLint)v1; \ @@ -3942,7 +3942,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform2iv(location, count, value) { \ glUniform2iv_PACKED *packed_data = malloc(sizeof(glUniform2iv_PACKED)); \ packed_data->format = glUniform2iv_FORMAT; \ - packed_data->func = glUniform2iv; \ + packed_data->func = glshim_glUniform2iv; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLsizei)count; \ packed_data->args.a3 = (GLint *)value; \ @@ -3953,7 +3953,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform3f(location, v0, v1, v2) { \ glUniform3f_PACKED *packed_data = malloc(sizeof(glUniform3f_PACKED)); \ packed_data->format = glUniform3f_FORMAT; \ - packed_data->func = glUniform3f; \ + packed_data->func = glshim_glUniform3f; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLfloat)v0; \ packed_data->args.a3 = (GLfloat)v1; \ @@ -3965,7 +3965,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform3fv(location, count, value) { \ glUniform3fv_PACKED *packed_data = malloc(sizeof(glUniform3fv_PACKED)); \ packed_data->format = glUniform3fv_FORMAT; \ - packed_data->func = glUniform3fv; \ + packed_data->func = glshim_glUniform3fv; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLsizei)count; \ packed_data->args.a3 = (GLfloat *)value; \ @@ -3976,7 +3976,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform3i(location, v0, v1, v2) { \ glUniform3i_PACKED *packed_data = malloc(sizeof(glUniform3i_PACKED)); \ packed_data->format = glUniform3i_FORMAT; \ - packed_data->func = glUniform3i; \ + packed_data->func = glshim_glUniform3i; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLint)v0; \ packed_data->args.a3 = (GLint)v1; \ @@ -3988,7 +3988,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform3iv(location, count, value) { \ glUniform3iv_PACKED *packed_data = malloc(sizeof(glUniform3iv_PACKED)); \ packed_data->format = glUniform3iv_FORMAT; \ - packed_data->func = glUniform3iv; \ + packed_data->func = glshim_glUniform3iv; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLsizei)count; \ packed_data->args.a3 = (GLint *)value; \ @@ -3999,7 +3999,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform4f(location, v0, v1, v2, v3) { \ glUniform4f_PACKED *packed_data = malloc(sizeof(glUniform4f_PACKED)); \ packed_data->format = glUniform4f_FORMAT; \ - packed_data->func = glUniform4f; \ + packed_data->func = glshim_glUniform4f; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLfloat)v0; \ packed_data->args.a3 = (GLfloat)v1; \ @@ -4012,7 +4012,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform4fv(location, count, value) { \ glUniform4fv_PACKED *packed_data = malloc(sizeof(glUniform4fv_PACKED)); \ packed_data->format = glUniform4fv_FORMAT; \ - packed_data->func = glUniform4fv; \ + packed_data->func = glshim_glUniform4fv; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLsizei)count; \ packed_data->args.a3 = (GLfloat *)value; \ @@ -4023,7 +4023,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform4i(location, v0, v1, v2, v3) { \ glUniform4i_PACKED *packed_data = malloc(sizeof(glUniform4i_PACKED)); \ packed_data->format = glUniform4i_FORMAT; \ - packed_data->func = glUniform4i; \ + packed_data->func = glshim_glUniform4i; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLint)v0; \ packed_data->args.a3 = (GLint)v1; \ @@ -4036,7 +4036,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniform4iv(location, count, value) { \ glUniform4iv_PACKED *packed_data = malloc(sizeof(glUniform4iv_PACKED)); \ packed_data->format = glUniform4iv_FORMAT; \ - packed_data->func = glUniform4iv; \ + packed_data->func = glshim_glUniform4iv; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLsizei)count; \ packed_data->args.a3 = (GLint *)value; \ @@ -4047,7 +4047,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniformMatrix2fv(location, count, transpose, value) { \ glUniformMatrix2fv_PACKED *packed_data = malloc(sizeof(glUniformMatrix2fv_PACKED)); \ packed_data->format = glUniformMatrix2fv_FORMAT; \ - packed_data->func = glUniformMatrix2fv; \ + packed_data->func = glshim_glUniformMatrix2fv; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLsizei)count; \ packed_data->args.a3 = (GLboolean)transpose; \ @@ -4059,7 +4059,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniformMatrix3fv(location, count, transpose, value) { \ glUniformMatrix3fv_PACKED *packed_data = malloc(sizeof(glUniformMatrix3fv_PACKED)); \ packed_data->format = glUniformMatrix3fv_FORMAT; \ - packed_data->func = glUniformMatrix3fv; \ + packed_data->func = glshim_glUniformMatrix3fv; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLsizei)count; \ packed_data->args.a3 = (GLboolean)transpose; \ @@ -4071,7 +4071,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUniformMatrix4fv(location, count, transpose, value) { \ glUniformMatrix4fv_PACKED *packed_data = malloc(sizeof(glUniformMatrix4fv_PACKED)); \ packed_data->format = glUniformMatrix4fv_FORMAT; \ - packed_data->func = glUniformMatrix4fv; \ + packed_data->func = glshim_glUniformMatrix4fv; \ packed_data->args.a1 = (GLint)location; \ packed_data->args.a2 = (GLsizei)count; \ packed_data->args.a3 = (GLboolean)transpose; \ @@ -4083,7 +4083,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glUseProgram(program) { \ glUseProgram_PACKED *packed_data = malloc(sizeof(glUseProgram_PACKED)); \ packed_data->format = glUseProgram_FORMAT; \ - packed_data->func = glUseProgram; \ + packed_data->func = glshim_glUseProgram; \ packed_data->args.a1 = (GLuint)program; \ glPushCall((void *)packed_data); \ } @@ -4092,7 +4092,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glValidateProgram(program) { \ glValidateProgram_PACKED *packed_data = malloc(sizeof(glValidateProgram_PACKED)); \ packed_data->format = glValidateProgram_FORMAT; \ - packed_data->func = glValidateProgram; \ + packed_data->func = glshim_glValidateProgram; \ packed_data->args.a1 = (GLuint)program; \ glPushCall((void *)packed_data); \ } @@ -4101,7 +4101,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glVertexAttrib1f(index, x) { \ glVertexAttrib1f_PACKED *packed_data = malloc(sizeof(glVertexAttrib1f_PACKED)); \ packed_data->format = glVertexAttrib1f_FORMAT; \ - packed_data->func = glVertexAttrib1f; \ + packed_data->func = glshim_glVertexAttrib1f; \ packed_data->args.a1 = (GLuint)index; \ packed_data->args.a2 = (GLfloat)x; \ glPushCall((void *)packed_data); \ @@ -4111,7 +4111,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glVertexAttrib1fv(index, v) { \ glVertexAttrib1fv_PACKED *packed_data = malloc(sizeof(glVertexAttrib1fv_PACKED)); \ packed_data->format = glVertexAttrib1fv_FORMAT; \ - packed_data->func = glVertexAttrib1fv; \ + packed_data->func = glshim_glVertexAttrib1fv; \ packed_data->args.a1 = (GLuint)index; \ packed_data->args.a2 = (GLfloat *)v; \ glPushCall((void *)packed_data); \ @@ -4121,7 +4121,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glVertexAttrib2f(index, x, y) { \ glVertexAttrib2f_PACKED *packed_data = malloc(sizeof(glVertexAttrib2f_PACKED)); \ packed_data->format = glVertexAttrib2f_FORMAT; \ - packed_data->func = glVertexAttrib2f; \ + packed_data->func = glshim_glVertexAttrib2f; \ packed_data->args.a1 = (GLuint)index; \ packed_data->args.a2 = (GLfloat)x; \ packed_data->args.a3 = (GLfloat)y; \ @@ -4132,7 +4132,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glVertexAttrib2fv(index, v) { \ glVertexAttrib2fv_PACKED *packed_data = malloc(sizeof(glVertexAttrib2fv_PACKED)); \ packed_data->format = glVertexAttrib2fv_FORMAT; \ - packed_data->func = glVertexAttrib2fv; \ + packed_data->func = glshim_glVertexAttrib2fv; \ packed_data->args.a1 = (GLuint)index; \ packed_data->args.a2 = (GLfloat *)v; \ glPushCall((void *)packed_data); \ @@ -4142,7 +4142,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glVertexAttrib3f(index, x, y, z) { \ glVertexAttrib3f_PACKED *packed_data = malloc(sizeof(glVertexAttrib3f_PACKED)); \ packed_data->format = glVertexAttrib3f_FORMAT; \ - packed_data->func = glVertexAttrib3f; \ + packed_data->func = glshim_glVertexAttrib3f; \ packed_data->args.a1 = (GLuint)index; \ packed_data->args.a2 = (GLfloat)x; \ packed_data->args.a3 = (GLfloat)y; \ @@ -4154,7 +4154,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glVertexAttrib3fv(index, v) { \ glVertexAttrib3fv_PACKED *packed_data = malloc(sizeof(glVertexAttrib3fv_PACKED)); \ packed_data->format = glVertexAttrib3fv_FORMAT; \ - packed_data->func = glVertexAttrib3fv; \ + packed_data->func = glshim_glVertexAttrib3fv; \ packed_data->args.a1 = (GLuint)index; \ packed_data->args.a2 = (GLfloat *)v; \ glPushCall((void *)packed_data); \ @@ -4164,7 +4164,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glVertexAttrib4f(index, x, y, z, w) { \ glVertexAttrib4f_PACKED *packed_data = malloc(sizeof(glVertexAttrib4f_PACKED)); \ packed_data->format = glVertexAttrib4f_FORMAT; \ - packed_data->func = glVertexAttrib4f; \ + packed_data->func = glshim_glVertexAttrib4f; \ packed_data->args.a1 = (GLuint)index; \ packed_data->args.a2 = (GLfloat)x; \ packed_data->args.a3 = (GLfloat)y; \ @@ -4177,7 +4177,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glVertexAttrib4fv(index, v) { \ glVertexAttrib4fv_PACKED *packed_data = malloc(sizeof(glVertexAttrib4fv_PACKED)); \ packed_data->format = glVertexAttrib4fv_FORMAT; \ - packed_data->func = glVertexAttrib4fv; \ + packed_data->func = glshim_glVertexAttrib4fv; \ packed_data->args.a1 = (GLuint)index; \ packed_data->args.a2 = (GLfloat *)v; \ glPushCall((void *)packed_data); \ @@ -4187,7 +4187,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glVertexAttribPointer(index, size, type, normalized, stride, pointer) { \ glVertexAttribPointer_PACKED *packed_data = malloc(sizeof(glVertexAttribPointer_PACKED)); \ packed_data->format = glVertexAttribPointer_FORMAT; \ - packed_data->func = glVertexAttribPointer; \ + packed_data->func = glshim_glVertexAttribPointer; \ packed_data->args.a1 = (GLuint)index; \ packed_data->args.a2 = (GLint)size; \ packed_data->args.a3 = (GLenum)type; \ @@ -4201,7 +4201,7 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #define push_glViewport(x, y, width, height) { \ glViewport_PACKED *packed_data = malloc(sizeof(glViewport_PACKED)); \ packed_data->format = glViewport_FORMAT; \ - packed_data->func = glViewport; \ + packed_data->func = glshim_glViewport; \ packed_data->args.a1 = (GLint)x; \ packed_data->args.a2 = (GLint)y; \ packed_data->args.a3 = (GLsizei)width; \ @@ -4211,4209 +4211,4 @@ typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); #endif #endif -typedef struct { - int format; - void *func; - void *args; -} packed_call_t; - -typedef struct { - int func; - void *args; -} indexed_call_t; - -enum FORMAT { - FORMAT_void_GLenum, - FORMAT_void_GLuint_GLuint, - FORMAT_void_GLuint_GLuint_const_GLchar___GENPT__, - FORMAT_void_GLenum_GLuint, - FORMAT_void_GLclampf_GLclampf_GLclampf_GLclampf, - FORMAT_void_GLenum_GLenum, - FORMAT_void_GLenum_GLenum_GLenum_GLenum, - FORMAT_void_GLenum_GLsizeiptr_const_GLvoid___GENPT___GLenum, - FORMAT_void_GLenum_GLintptr_GLsizeiptr_const_GLvoid___GENPT__, - FORMAT_GLenum_GLenum, - FORMAT_void_GLbitfield, - FORMAT_void_GLclampf, - FORMAT_void_GLint, - FORMAT_void_GLboolean_GLboolean_GLboolean_GLboolean, - FORMAT_void_GLuint, - FORMAT_void_GLenum_GLint_GLenum_GLsizei_GLsizei_GLint_GLsizei_const_GLvoid___GENPT__, - FORMAT_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLsizei_const_GLvoid___GENPT__, - FORMAT_void_GLenum_GLint_GLenum_GLint_GLint_GLsizei_GLsizei_GLint, - FORMAT_void_GLenum_GLint_GLint_GLint_GLint_GLint_GLsizei_GLsizei, - FORMAT_GLuint, - FORMAT_GLuint_GLenum, - FORMAT_void_GLsizei_const_GLuint___GENPT__, - FORMAT_void_GLboolean, - FORMAT_void_GLclampf_GLclampf, - FORMAT_void_GLenum_GLint_GLsizei, - FORMAT_void_GLenum_GLsizei_GLenum_const_GLvoid___GENPT__, - FORMAT_void, - FORMAT_void_GLenum_GLenum_GLenum_GLuint, - FORMAT_void_GLenum_GLenum_GLenum_GLuint_GLint, - FORMAT_void_GLsizei_GLuint___GENPT__, - FORMAT_void_GLuint_GLuint_GLsizei_GLsizei___GENPT___GLint___GENPT___GLenum___GENPT___GLchar___GENPT__, - FORMAT_void_GLuint_GLsizei_GLsizei___GENPT___GLuint___GENPT__, - FORMAT_GLint_GLuint_const_GLchar___GENPT__, - FORMAT_void_GLenum_GLboolean___GENPT__, - FORMAT_void_GLenum_GLenum_GLint___GENPT__, - FORMAT_GLenum, - FORMAT_void_GLenum_GLfloat___GENPT__, - FORMAT_void_GLenum_GLenum_GLenum_GLint___GENPT__, - FORMAT_void_GLenum_GLint___GENPT__, - FORMAT_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__, - FORMAT_void_GLuint_GLenum_GLint___GENPT__, - FORMAT_void_GLenum_GLenum_GLint___GENPT___GLint___GENPT__, - FORMAT_const_GLubyte___GENPT___GLenum, - FORMAT_void_GLenum_GLenum_GLfloat___GENPT__, - FORMAT_void_GLuint_GLint_GLfloat___GENPT__, - FORMAT_void_GLuint_GLint_GLint___GENPT__, - FORMAT_void_GLuint_GLenum_GLvoid___GENPT____GENPT__, - FORMAT_void_GLuint_GLenum_GLfloat___GENPT__, - FORMAT_GLboolean_GLuint, - FORMAT_GLboolean_GLenum, - FORMAT_void_GLfloat, - FORMAT_void_GLenum_GLint, - FORMAT_void_GLfloat_GLfloat, - FORMAT_void_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_GLvoid___GENPT__, - FORMAT_void_GLenum_GLenum_GLsizei_GLsizei, - FORMAT_void_GLclampf_GLboolean, - FORMAT_void_GLint_GLint_GLsizei_GLsizei, - FORMAT_void_GLsizei_const_GLuint___GENPT___GLenum_const_GLvoid___GENPT___GLsizei, - FORMAT_void_GLuint_GLsizei_const_GLchar___GENPT___const___GENPT___const_GLint___GENPT__, - FORMAT_void_GLenum_GLint_GLuint, - FORMAT_void_GLenum_GLenum_GLint_GLuint, - FORMAT_void_GLenum_GLenum_GLenum, - FORMAT_void_GLenum_GLint_GLint_GLsizei_GLsizei_GLint_GLenum_GLenum_const_GLvoid___GENPT__, - FORMAT_void_GLenum_GLenum_GLfloat, - FORMAT_void_GLenum_GLenum_const_GLfloat___GENPT__, - FORMAT_void_GLenum_GLenum_GLint, - FORMAT_void_GLenum_GLenum_const_GLint___GENPT__, - FORMAT_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_const_GLvoid___GENPT__, - FORMAT_void_GLint_GLfloat, - FORMAT_void_GLint_GLsizei_const_GLfloat___GENPT__, - FORMAT_void_GLint_GLint, - FORMAT_void_GLint_GLsizei_const_GLint___GENPT__, - FORMAT_void_GLint_GLfloat_GLfloat, - FORMAT_void_GLint_GLint_GLint, - FORMAT_void_GLint_GLfloat_GLfloat_GLfloat, - FORMAT_void_GLint_GLint_GLint_GLint, - FORMAT_void_GLint_GLfloat_GLfloat_GLfloat_GLfloat, - FORMAT_void_GLint_GLint_GLint_GLint_GLint, - FORMAT_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__, - FORMAT_void_GLuint_GLfloat, - FORMAT_void_GLuint_const_GLfloat___GENPT__, - FORMAT_void_GLuint_GLfloat_GLfloat, - FORMAT_void_GLuint_GLfloat_GLfloat_GLfloat, - FORMAT_void_GLuint_GLfloat_GLfloat_GLfloat_GLfloat, - FORMAT_void_GLuint_GLint_GLenum_GLboolean_GLsizei_const_GLvoid___GENPT__, -}; - -typedef void (*FUNC_void_GLenum)(GLenum texture); -typedef struct { - GLenum a1; -} ARGS_void_GLenum; -typedef struct { - int format; - FUNC_void_GLenum func; - ARGS_void_GLenum args; -} PACKED_void_GLenum; -typedef struct { - int func; - ARGS_void_GLenum args; -} INDEXED_void_GLenum; -typedef void (*FUNC_void_GLuint_GLuint)(GLuint program, GLuint shader); -typedef struct { - GLuint a1; - GLuint a2; -} ARGS_void_GLuint_GLuint; -typedef struct { - int format; - FUNC_void_GLuint_GLuint func; - ARGS_void_GLuint_GLuint args; -} PACKED_void_GLuint_GLuint; -typedef struct { - int func; - ARGS_void_GLuint_GLuint args; -} INDEXED_void_GLuint_GLuint; -typedef void (*FUNC_void_GLuint_GLuint_const_GLchar___GENPT__)(GLuint program, GLuint index, const GLchar * name); -typedef struct { - GLuint a1; - GLuint a2; - GLchar * a3; -} ARGS_void_GLuint_GLuint_const_GLchar___GENPT__; -typedef struct { - int format; - FUNC_void_GLuint_GLuint_const_GLchar___GENPT__ func; - ARGS_void_GLuint_GLuint_const_GLchar___GENPT__ args; -} PACKED_void_GLuint_GLuint_const_GLchar___GENPT__; -typedef struct { - int func; - ARGS_void_GLuint_GLuint_const_GLchar___GENPT__ args; -} INDEXED_void_GLuint_GLuint_const_GLchar___GENPT__; -typedef void (*FUNC_void_GLenum_GLuint)(GLenum target, GLuint buffer); -typedef struct { - GLenum a1; - GLuint a2; -} ARGS_void_GLenum_GLuint; -typedef struct { - int format; - FUNC_void_GLenum_GLuint func; - ARGS_void_GLenum_GLuint args; -} PACKED_void_GLenum_GLuint; -typedef struct { - int func; - ARGS_void_GLenum_GLuint args; -} INDEXED_void_GLenum_GLuint; -typedef void (*FUNC_void_GLclampf_GLclampf_GLclampf_GLclampf)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -typedef struct { - GLclampf a1; - GLclampf a2; - GLclampf a3; - GLclampf a4; -} ARGS_void_GLclampf_GLclampf_GLclampf_GLclampf; -typedef struct { - int format; - FUNC_void_GLclampf_GLclampf_GLclampf_GLclampf func; - ARGS_void_GLclampf_GLclampf_GLclampf_GLclampf args; -} PACKED_void_GLclampf_GLclampf_GLclampf_GLclampf; -typedef struct { - int func; - ARGS_void_GLclampf_GLclampf_GLclampf_GLclampf args; -} INDEXED_void_GLclampf_GLclampf_GLclampf_GLclampf; -typedef void (*FUNC_void_GLenum_GLenum)(GLenum modeRGB, GLenum modeA); -typedef struct { - GLenum a1; - GLenum a2; -} ARGS_void_GLenum_GLenum; -typedef struct { - int format; - FUNC_void_GLenum_GLenum func; - ARGS_void_GLenum_GLenum args; -} PACKED_void_GLenum_GLenum; -typedef struct { - int func; - ARGS_void_GLenum_GLenum args; -} INDEXED_void_GLenum_GLenum; -typedef void (*FUNC_void_GLenum_GLenum_GLenum_GLenum)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -typedef struct { - GLenum a1; - GLenum a2; - GLenum a3; - GLenum a4; -} ARGS_void_GLenum_GLenum_GLenum_GLenum; -typedef struct { - int format; - FUNC_void_GLenum_GLenum_GLenum_GLenum func; - ARGS_void_GLenum_GLenum_GLenum_GLenum args; -} PACKED_void_GLenum_GLenum_GLenum_GLenum; -typedef struct { - int func; - ARGS_void_GLenum_GLenum_GLenum_GLenum args; -} INDEXED_void_GLenum_GLenum_GLenum_GLenum; -typedef void (*FUNC_void_GLenum_GLsizeiptr_const_GLvoid___GENPT___GLenum)(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage); -typedef struct { - GLenum a1; - GLsizeiptr a2; - GLvoid * a3; - GLenum a4; -} ARGS_void_GLenum_GLsizeiptr_const_GLvoid___GENPT___GLenum; -typedef struct { - int format; - FUNC_void_GLenum_GLsizeiptr_const_GLvoid___GENPT___GLenum func; - ARGS_void_GLenum_GLsizeiptr_const_GLvoid___GENPT___GLenum args; -} PACKED_void_GLenum_GLsizeiptr_const_GLvoid___GENPT___GLenum; -typedef struct { - int func; - ARGS_void_GLenum_GLsizeiptr_const_GLvoid___GENPT___GLenum args; -} INDEXED_void_GLenum_GLsizeiptr_const_GLvoid___GENPT___GLenum; -typedef void (*FUNC_void_GLenum_GLintptr_GLsizeiptr_const_GLvoid___GENPT__)(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data); -typedef struct { - GLenum a1; - GLintptr a2; - GLsizeiptr a3; - GLvoid * a4; -} ARGS_void_GLenum_GLintptr_GLsizeiptr_const_GLvoid___GENPT__; -typedef struct { - int format; - FUNC_void_GLenum_GLintptr_GLsizeiptr_const_GLvoid___GENPT__ func; - ARGS_void_GLenum_GLintptr_GLsizeiptr_const_GLvoid___GENPT__ args; -} PACKED_void_GLenum_GLintptr_GLsizeiptr_const_GLvoid___GENPT__; -typedef struct { - int func; - ARGS_void_GLenum_GLintptr_GLsizeiptr_const_GLvoid___GENPT__ args; -} INDEXED_void_GLenum_GLintptr_GLsizeiptr_const_GLvoid___GENPT__; -typedef GLenum (*FUNC_GLenum_GLenum)(GLenum target); -typedef struct { - GLenum a1; -} ARGS_GLenum_GLenum; -typedef struct { - int format; - FUNC_GLenum_GLenum func; - ARGS_GLenum_GLenum args; -} PACKED_GLenum_GLenum; -typedef struct { - int func; - ARGS_GLenum_GLenum args; -} INDEXED_GLenum_GLenum; -typedef void (*FUNC_void_GLbitfield)(GLbitfield mask); -typedef struct { - GLbitfield a1; -} ARGS_void_GLbitfield; -typedef struct { - int format; - FUNC_void_GLbitfield func; - ARGS_void_GLbitfield args; -} PACKED_void_GLbitfield; -typedef struct { - int func; - ARGS_void_GLbitfield args; -} INDEXED_void_GLbitfield; -typedef void (*FUNC_void_GLclampf)(GLclampf depth); -typedef struct { - GLclampf a1; -} ARGS_void_GLclampf; -typedef struct { - int format; - FUNC_void_GLclampf func; - ARGS_void_GLclampf args; -} PACKED_void_GLclampf; -typedef struct { - int func; - ARGS_void_GLclampf args; -} INDEXED_void_GLclampf; -typedef void (*FUNC_void_GLint)(GLint s); -typedef struct { - GLint a1; -} ARGS_void_GLint; -typedef struct { - int format; - FUNC_void_GLint func; - ARGS_void_GLint args; -} PACKED_void_GLint; -typedef struct { - int func; - ARGS_void_GLint args; -} INDEXED_void_GLint; -typedef void (*FUNC_void_GLboolean_GLboolean_GLboolean_GLboolean)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -typedef struct { - GLboolean a1; - GLboolean a2; - GLboolean a3; - GLboolean a4; -} ARGS_void_GLboolean_GLboolean_GLboolean_GLboolean; -typedef struct { - int format; - FUNC_void_GLboolean_GLboolean_GLboolean_GLboolean func; - ARGS_void_GLboolean_GLboolean_GLboolean_GLboolean args; -} PACKED_void_GLboolean_GLboolean_GLboolean_GLboolean; -typedef struct { - int func; - ARGS_void_GLboolean_GLboolean_GLboolean_GLboolean args; -} INDEXED_void_GLboolean_GLboolean_GLboolean_GLboolean; -typedef void (*FUNC_void_GLuint)(GLuint shader); -typedef struct { - GLuint a1; -} ARGS_void_GLuint; -typedef struct { - int format; - FUNC_void_GLuint func; - ARGS_void_GLuint args; -} PACKED_void_GLuint; -typedef struct { - int func; - ARGS_void_GLuint args; -} INDEXED_void_GLuint; -typedef void (*FUNC_void_GLenum_GLint_GLenum_GLsizei_GLsizei_GLint_GLsizei_const_GLvoid___GENPT__)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data); -typedef struct { - GLenum a1; - GLint a2; - GLenum a3; - GLsizei a4; - GLsizei a5; - GLint a6; - GLsizei a7; - GLvoid * a8; -} ARGS_void_GLenum_GLint_GLenum_GLsizei_GLsizei_GLint_GLsizei_const_GLvoid___GENPT__; -typedef struct { - int format; - FUNC_void_GLenum_GLint_GLenum_GLsizei_GLsizei_GLint_GLsizei_const_GLvoid___GENPT__ func; - ARGS_void_GLenum_GLint_GLenum_GLsizei_GLsizei_GLint_GLsizei_const_GLvoid___GENPT__ args; -} PACKED_void_GLenum_GLint_GLenum_GLsizei_GLsizei_GLint_GLsizei_const_GLvoid___GENPT__; -typedef struct { - int func; - ARGS_void_GLenum_GLint_GLenum_GLsizei_GLsizei_GLint_GLsizei_const_GLvoid___GENPT__ args; -} INDEXED_void_GLenum_GLint_GLenum_GLsizei_GLsizei_GLint_GLsizei_const_GLvoid___GENPT__; -typedef void (*FUNC_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLsizei_const_GLvoid___GENPT__)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data); -typedef struct { - GLenum a1; - GLint a2; - GLint a3; - GLint a4; - GLsizei a5; - GLsizei a6; - GLenum a7; - GLsizei a8; - GLvoid * a9; -} ARGS_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLsizei_const_GLvoid___GENPT__; -typedef struct { - int format; - FUNC_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLsizei_const_GLvoid___GENPT__ func; - ARGS_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLsizei_const_GLvoid___GENPT__ args; -} PACKED_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLsizei_const_GLvoid___GENPT__; -typedef struct { - int func; - ARGS_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLsizei_const_GLvoid___GENPT__ args; -} INDEXED_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLsizei_const_GLvoid___GENPT__; -typedef void (*FUNC_void_GLenum_GLint_GLenum_GLint_GLint_GLsizei_GLsizei_GLint)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -typedef struct { - GLenum a1; - GLint a2; - GLenum a3; - GLint a4; - GLint a5; - GLsizei a6; - GLsizei a7; - GLint a8; -} ARGS_void_GLenum_GLint_GLenum_GLint_GLint_GLsizei_GLsizei_GLint; -typedef struct { - int format; - FUNC_void_GLenum_GLint_GLenum_GLint_GLint_GLsizei_GLsizei_GLint func; - ARGS_void_GLenum_GLint_GLenum_GLint_GLint_GLsizei_GLsizei_GLint args; -} PACKED_void_GLenum_GLint_GLenum_GLint_GLint_GLsizei_GLsizei_GLint; -typedef struct { - int func; - ARGS_void_GLenum_GLint_GLenum_GLint_GLint_GLsizei_GLsizei_GLint args; -} INDEXED_void_GLenum_GLint_GLenum_GLint_GLint_GLsizei_GLsizei_GLint; -typedef void (*FUNC_void_GLenum_GLint_GLint_GLint_GLint_GLint_GLsizei_GLsizei)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -typedef struct { - GLenum a1; - GLint a2; - GLint a3; - GLint a4; - GLint a5; - GLint a6; - GLsizei a7; - GLsizei a8; -} ARGS_void_GLenum_GLint_GLint_GLint_GLint_GLint_GLsizei_GLsizei; -typedef struct { - int format; - FUNC_void_GLenum_GLint_GLint_GLint_GLint_GLint_GLsizei_GLsizei func; - ARGS_void_GLenum_GLint_GLint_GLint_GLint_GLint_GLsizei_GLsizei args; -} PACKED_void_GLenum_GLint_GLint_GLint_GLint_GLint_GLsizei_GLsizei; -typedef struct { - int func; - ARGS_void_GLenum_GLint_GLint_GLint_GLint_GLint_GLsizei_GLsizei args; -} INDEXED_void_GLenum_GLint_GLint_GLint_GLint_GLint_GLsizei_GLsizei; -typedef GLuint (*FUNC_GLuint)(); -typedef struct { - int format; - FUNC_GLuint func; -} PACKED_GLuint; -typedef struct { - int func; -} INDEXED_GLuint; -typedef GLuint (*FUNC_GLuint_GLenum)(GLenum type); -typedef struct { - GLenum a1; -} ARGS_GLuint_GLenum; -typedef struct { - int format; - FUNC_GLuint_GLenum func; - ARGS_GLuint_GLenum args; -} PACKED_GLuint_GLenum; -typedef struct { - int func; - ARGS_GLuint_GLenum args; -} INDEXED_GLuint_GLenum; -typedef void (*FUNC_void_GLsizei_const_GLuint___GENPT__)(GLsizei n, const GLuint * buffer); -typedef struct { - GLsizei a1; - GLuint * a2; -} ARGS_void_GLsizei_const_GLuint___GENPT__; -typedef struct { - int format; - FUNC_void_GLsizei_const_GLuint___GENPT__ func; - ARGS_void_GLsizei_const_GLuint___GENPT__ args; -} PACKED_void_GLsizei_const_GLuint___GENPT__; -typedef struct { - int func; - ARGS_void_GLsizei_const_GLuint___GENPT__ args; -} INDEXED_void_GLsizei_const_GLuint___GENPT__; -typedef void (*FUNC_void_GLboolean)(GLboolean flag); -typedef struct { - GLboolean a1; -} ARGS_void_GLboolean; -typedef struct { - int format; - FUNC_void_GLboolean func; - ARGS_void_GLboolean args; -} PACKED_void_GLboolean; -typedef struct { - int func; - ARGS_void_GLboolean args; -} INDEXED_void_GLboolean; -typedef void (*FUNC_void_GLclampf_GLclampf)(GLclampf zNear, GLclampf zFar); -typedef struct { - GLclampf a1; - GLclampf a2; -} ARGS_void_GLclampf_GLclampf; -typedef struct { - int format; - FUNC_void_GLclampf_GLclampf func; - ARGS_void_GLclampf_GLclampf args; -} PACKED_void_GLclampf_GLclampf; -typedef struct { - int func; - ARGS_void_GLclampf_GLclampf args; -} INDEXED_void_GLclampf_GLclampf; -typedef void (*FUNC_void_GLenum_GLint_GLsizei)(GLenum mode, GLint first, GLsizei count); -typedef struct { - GLenum a1; - GLint a2; - GLsizei a3; -} ARGS_void_GLenum_GLint_GLsizei; -typedef struct { - int format; - FUNC_void_GLenum_GLint_GLsizei func; - ARGS_void_GLenum_GLint_GLsizei args; -} PACKED_void_GLenum_GLint_GLsizei; -typedef struct { - int func; - ARGS_void_GLenum_GLint_GLsizei args; -} INDEXED_void_GLenum_GLint_GLsizei; -typedef void (*FUNC_void_GLenum_GLsizei_GLenum_const_GLvoid___GENPT__)(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices); -typedef struct { - GLenum a1; - GLsizei a2; - GLenum a3; - GLvoid * a4; -} ARGS_void_GLenum_GLsizei_GLenum_const_GLvoid___GENPT__; -typedef struct { - int format; - FUNC_void_GLenum_GLsizei_GLenum_const_GLvoid___GENPT__ func; - ARGS_void_GLenum_GLsizei_GLenum_const_GLvoid___GENPT__ args; -} PACKED_void_GLenum_GLsizei_GLenum_const_GLvoid___GENPT__; -typedef struct { - int func; - ARGS_void_GLenum_GLsizei_GLenum_const_GLvoid___GENPT__ args; -} INDEXED_void_GLenum_GLsizei_GLenum_const_GLvoid___GENPT__; -typedef void (*FUNC_void)(); -typedef struct { - int format; - FUNC_void func; -} PACKED_void; -typedef struct { - int func; -} INDEXED_void; -typedef void (*FUNC_void_GLenum_GLenum_GLenum_GLuint)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -typedef struct { - GLenum a1; - GLenum a2; - GLenum a3; - GLuint a4; -} ARGS_void_GLenum_GLenum_GLenum_GLuint; -typedef struct { - int format; - FUNC_void_GLenum_GLenum_GLenum_GLuint func; - ARGS_void_GLenum_GLenum_GLenum_GLuint args; -} PACKED_void_GLenum_GLenum_GLenum_GLuint; -typedef struct { - int func; - ARGS_void_GLenum_GLenum_GLenum_GLuint args; -} INDEXED_void_GLenum_GLenum_GLenum_GLuint; -typedef void (*FUNC_void_GLenum_GLenum_GLenum_GLuint_GLint)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -typedef struct { - GLenum a1; - GLenum a2; - GLenum a3; - GLuint a4; - GLint a5; -} ARGS_void_GLenum_GLenum_GLenum_GLuint_GLint; -typedef struct { - int format; - FUNC_void_GLenum_GLenum_GLenum_GLuint_GLint func; - ARGS_void_GLenum_GLenum_GLenum_GLuint_GLint args; -} PACKED_void_GLenum_GLenum_GLenum_GLuint_GLint; -typedef struct { - int func; - ARGS_void_GLenum_GLenum_GLenum_GLuint_GLint args; -} INDEXED_void_GLenum_GLenum_GLenum_GLuint_GLint; -typedef void (*FUNC_void_GLsizei_GLuint___GENPT__)(GLsizei n, GLuint * buffer); -typedef struct { - GLsizei a1; - GLuint * a2; -} ARGS_void_GLsizei_GLuint___GENPT__; -typedef struct { - int format; - FUNC_void_GLsizei_GLuint___GENPT__ func; - ARGS_void_GLsizei_GLuint___GENPT__ args; -} PACKED_void_GLsizei_GLuint___GENPT__; -typedef struct { - int func; - ARGS_void_GLsizei_GLuint___GENPT__ args; -} INDEXED_void_GLsizei_GLuint___GENPT__; -typedef void (*FUNC_void_GLuint_GLuint_GLsizei_GLsizei___GENPT___GLint___GENPT___GLenum___GENPT___GLchar___GENPT__)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name); -typedef struct { - GLuint a1; - GLuint a2; - GLsizei a3; - GLsizei * a4; - GLint * a5; - GLenum * a6; - GLchar * a7; -} ARGS_void_GLuint_GLuint_GLsizei_GLsizei___GENPT___GLint___GENPT___GLenum___GENPT___GLchar___GENPT__; -typedef struct { - int format; - FUNC_void_GLuint_GLuint_GLsizei_GLsizei___GENPT___GLint___GENPT___GLenum___GENPT___GLchar___GENPT__ func; - ARGS_void_GLuint_GLuint_GLsizei_GLsizei___GENPT___GLint___GENPT___GLenum___GENPT___GLchar___GENPT__ args; -} PACKED_void_GLuint_GLuint_GLsizei_GLsizei___GENPT___GLint___GENPT___GLenum___GENPT___GLchar___GENPT__; -typedef struct { - int func; - ARGS_void_GLuint_GLuint_GLsizei_GLsizei___GENPT___GLint___GENPT___GLenum___GENPT___GLchar___GENPT__ args; -} INDEXED_void_GLuint_GLuint_GLsizei_GLsizei___GENPT___GLint___GENPT___GLenum___GENPT___GLchar___GENPT__; -typedef void (*FUNC_void_GLuint_GLsizei_GLsizei___GENPT___GLuint___GENPT__)(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * obj); -typedef struct { - GLuint a1; - GLsizei a2; - GLsizei * a3; - GLuint * a4; -} ARGS_void_GLuint_GLsizei_GLsizei___GENPT___GLuint___GENPT__; -typedef struct { - int format; - FUNC_void_GLuint_GLsizei_GLsizei___GENPT___GLuint___GENPT__ func; - ARGS_void_GLuint_GLsizei_GLsizei___GENPT___GLuint___GENPT__ args; -} PACKED_void_GLuint_GLsizei_GLsizei___GENPT___GLuint___GENPT__; -typedef struct { - int func; - ARGS_void_GLuint_GLsizei_GLsizei___GENPT___GLuint___GENPT__ args; -} INDEXED_void_GLuint_GLsizei_GLsizei___GENPT___GLuint___GENPT__; -typedef GLint (*FUNC_GLint_GLuint_const_GLchar___GENPT__)(GLuint program, const GLchar * name); -typedef struct { - GLuint a1; - GLchar * a2; -} ARGS_GLint_GLuint_const_GLchar___GENPT__; -typedef struct { - int format; - FUNC_GLint_GLuint_const_GLchar___GENPT__ func; - ARGS_GLint_GLuint_const_GLchar___GENPT__ args; -} PACKED_GLint_GLuint_const_GLchar___GENPT__; -typedef struct { - int func; - ARGS_GLint_GLuint_const_GLchar___GENPT__ args; -} INDEXED_GLint_GLuint_const_GLchar___GENPT__; -typedef void (*FUNC_void_GLenum_GLboolean___GENPT__)(GLenum pname, GLboolean * params); -typedef struct { - GLenum a1; - GLboolean * a2; -} ARGS_void_GLenum_GLboolean___GENPT__; -typedef struct { - int format; - FUNC_void_GLenum_GLboolean___GENPT__ func; - ARGS_void_GLenum_GLboolean___GENPT__ args; -} PACKED_void_GLenum_GLboolean___GENPT__; -typedef struct { - int func; - ARGS_void_GLenum_GLboolean___GENPT__ args; -} INDEXED_void_GLenum_GLboolean___GENPT__; -typedef void (*FUNC_void_GLenum_GLenum_GLint___GENPT__)(GLenum target, GLenum pname, GLint * params); -typedef struct { - GLenum a1; - GLenum a2; - GLint * a3; -} ARGS_void_GLenum_GLenum_GLint___GENPT__; -typedef struct { - int format; - FUNC_void_GLenum_GLenum_GLint___GENPT__ func; - ARGS_void_GLenum_GLenum_GLint___GENPT__ args; -} PACKED_void_GLenum_GLenum_GLint___GENPT__; -typedef struct { - int func; - ARGS_void_GLenum_GLenum_GLint___GENPT__ args; -} INDEXED_void_GLenum_GLenum_GLint___GENPT__; -typedef GLenum (*FUNC_GLenum)(); -typedef struct { - int format; - FUNC_GLenum func; -} PACKED_GLenum; -typedef struct { - int func; -} INDEXED_GLenum; -typedef void (*FUNC_void_GLenum_GLfloat___GENPT__)(GLenum pname, GLfloat * params); -typedef struct { - GLenum a1; - GLfloat * a2; -} ARGS_void_GLenum_GLfloat___GENPT__; -typedef struct { - int format; - FUNC_void_GLenum_GLfloat___GENPT__ func; - ARGS_void_GLenum_GLfloat___GENPT__ args; -} PACKED_void_GLenum_GLfloat___GENPT__; -typedef struct { - int func; - ARGS_void_GLenum_GLfloat___GENPT__ args; -} INDEXED_void_GLenum_GLfloat___GENPT__; -typedef void (*FUNC_void_GLenum_GLenum_GLenum_GLint___GENPT__)(GLenum target, GLenum attachment, GLenum pname, GLint * params); -typedef struct { - GLenum a1; - GLenum a2; - GLenum a3; - GLint * a4; -} ARGS_void_GLenum_GLenum_GLenum_GLint___GENPT__; -typedef struct { - int format; - FUNC_void_GLenum_GLenum_GLenum_GLint___GENPT__ func; - ARGS_void_GLenum_GLenum_GLenum_GLint___GENPT__ args; -} PACKED_void_GLenum_GLenum_GLenum_GLint___GENPT__; -typedef struct { - int func; - ARGS_void_GLenum_GLenum_GLenum_GLint___GENPT__ args; -} INDEXED_void_GLenum_GLenum_GLenum_GLint___GENPT__; -typedef void (*FUNC_void_GLenum_GLint___GENPT__)(GLenum pname, GLint * params); -typedef struct { - GLenum a1; - GLint * a2; -} ARGS_void_GLenum_GLint___GENPT__; -typedef struct { - int format; - FUNC_void_GLenum_GLint___GENPT__ func; - ARGS_void_GLenum_GLint___GENPT__ args; -} PACKED_void_GLenum_GLint___GENPT__; -typedef struct { - int func; - ARGS_void_GLenum_GLint___GENPT__ args; -} INDEXED_void_GLenum_GLint___GENPT__; -typedef void (*FUNC_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__)(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog); -typedef struct { - GLuint a1; - GLsizei a2; - GLsizei * a3; - GLchar * a4; -} ARGS_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__; -typedef struct { - int format; - FUNC_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__ func; - ARGS_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__ args; -} PACKED_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__; -typedef struct { - int func; - ARGS_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__ args; -} INDEXED_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__; -typedef void (*FUNC_void_GLuint_GLenum_GLint___GENPT__)(GLuint program, GLenum pname, GLint * params); -typedef struct { - GLuint a1; - GLenum a2; - GLint * a3; -} ARGS_void_GLuint_GLenum_GLint___GENPT__; -typedef struct { - int format; - FUNC_void_GLuint_GLenum_GLint___GENPT__ func; - ARGS_void_GLuint_GLenum_GLint___GENPT__ args; -} PACKED_void_GLuint_GLenum_GLint___GENPT__; -typedef struct { - int func; - ARGS_void_GLuint_GLenum_GLint___GENPT__ args; -} INDEXED_void_GLuint_GLenum_GLint___GENPT__; -typedef void (*FUNC_void_GLenum_GLenum_GLint___GENPT___GLint___GENPT__)(GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision); -typedef struct { - GLenum a1; - GLenum a2; - GLint * a3; - GLint * a4; -} ARGS_void_GLenum_GLenum_GLint___GENPT___GLint___GENPT__; -typedef struct { - int format; - FUNC_void_GLenum_GLenum_GLint___GENPT___GLint___GENPT__ func; - ARGS_void_GLenum_GLenum_GLint___GENPT___GLint___GENPT__ args; -} PACKED_void_GLenum_GLenum_GLint___GENPT___GLint___GENPT__; -typedef struct { - int func; - ARGS_void_GLenum_GLenum_GLint___GENPT___GLint___GENPT__ args; -} INDEXED_void_GLenum_GLenum_GLint___GENPT___GLint___GENPT__; -typedef const GLubyte * (*FUNC_const_GLubyte___GENPT___GLenum)(GLenum name); -typedef struct { - GLenum a1; -} ARGS_const_GLubyte___GENPT___GLenum; -typedef struct { - int format; - FUNC_const_GLubyte___GENPT___GLenum func; - ARGS_const_GLubyte___GENPT___GLenum args; -} PACKED_const_GLubyte___GENPT___GLenum; -typedef struct { - int func; - ARGS_const_GLubyte___GENPT___GLenum args; -} INDEXED_const_GLubyte___GENPT___GLenum; -typedef void (*FUNC_void_GLenum_GLenum_GLfloat___GENPT__)(GLenum target, GLenum pname, GLfloat * params); -typedef struct { - GLenum a1; - GLenum a2; - GLfloat * a3; -} ARGS_void_GLenum_GLenum_GLfloat___GENPT__; -typedef struct { - int format; - FUNC_void_GLenum_GLenum_GLfloat___GENPT__ func; - ARGS_void_GLenum_GLenum_GLfloat___GENPT__ args; -} PACKED_void_GLenum_GLenum_GLfloat___GENPT__; -typedef struct { - int func; - ARGS_void_GLenum_GLenum_GLfloat___GENPT__ args; -} INDEXED_void_GLenum_GLenum_GLfloat___GENPT__; -typedef void (*FUNC_void_GLuint_GLint_GLfloat___GENPT__)(GLuint program, GLint location, GLfloat * params); -typedef struct { - GLuint a1; - GLint a2; - GLfloat * a3; -} ARGS_void_GLuint_GLint_GLfloat___GENPT__; -typedef struct { - int format; - FUNC_void_GLuint_GLint_GLfloat___GENPT__ func; - ARGS_void_GLuint_GLint_GLfloat___GENPT__ args; -} PACKED_void_GLuint_GLint_GLfloat___GENPT__; -typedef struct { - int func; - ARGS_void_GLuint_GLint_GLfloat___GENPT__ args; -} INDEXED_void_GLuint_GLint_GLfloat___GENPT__; -typedef void (*FUNC_void_GLuint_GLint_GLint___GENPT__)(GLuint program, GLint location, GLint * params); -typedef struct { - GLuint a1; - GLint a2; - GLint * a3; -} ARGS_void_GLuint_GLint_GLint___GENPT__; -typedef struct { - int format; - FUNC_void_GLuint_GLint_GLint___GENPT__ func; - ARGS_void_GLuint_GLint_GLint___GENPT__ args; -} PACKED_void_GLuint_GLint_GLint___GENPT__; -typedef struct { - int func; - ARGS_void_GLuint_GLint_GLint___GENPT__ args; -} INDEXED_void_GLuint_GLint_GLint___GENPT__; -typedef void (*FUNC_void_GLuint_GLenum_GLvoid___GENPT____GENPT__)(GLuint index, GLenum pname, GLvoid ** pointer); -typedef struct { - GLuint a1; - GLenum a2; - GLvoid ** a3; -} ARGS_void_GLuint_GLenum_GLvoid___GENPT____GENPT__; -typedef struct { - int format; - FUNC_void_GLuint_GLenum_GLvoid___GENPT____GENPT__ func; - ARGS_void_GLuint_GLenum_GLvoid___GENPT____GENPT__ args; -} PACKED_void_GLuint_GLenum_GLvoid___GENPT____GENPT__; -typedef struct { - int func; - ARGS_void_GLuint_GLenum_GLvoid___GENPT____GENPT__ args; -} INDEXED_void_GLuint_GLenum_GLvoid___GENPT____GENPT__; -typedef void (*FUNC_void_GLuint_GLenum_GLfloat___GENPT__)(GLuint index, GLenum pname, GLfloat * params); -typedef struct { - GLuint a1; - GLenum a2; - GLfloat * a3; -} ARGS_void_GLuint_GLenum_GLfloat___GENPT__; -typedef struct { - int format; - FUNC_void_GLuint_GLenum_GLfloat___GENPT__ func; - ARGS_void_GLuint_GLenum_GLfloat___GENPT__ args; -} PACKED_void_GLuint_GLenum_GLfloat___GENPT__; -typedef struct { - int func; - ARGS_void_GLuint_GLenum_GLfloat___GENPT__ args; -} INDEXED_void_GLuint_GLenum_GLfloat___GENPT__; -typedef GLboolean (*FUNC_GLboolean_GLuint)(GLuint buffer); -typedef struct { - GLuint a1; -} ARGS_GLboolean_GLuint; -typedef struct { - int format; - FUNC_GLboolean_GLuint func; - ARGS_GLboolean_GLuint args; -} PACKED_GLboolean_GLuint; -typedef struct { - int func; - ARGS_GLboolean_GLuint args; -} INDEXED_GLboolean_GLuint; -typedef GLboolean (*FUNC_GLboolean_GLenum)(GLenum cap); -typedef struct { - GLenum a1; -} ARGS_GLboolean_GLenum; -typedef struct { - int format; - FUNC_GLboolean_GLenum func; - ARGS_GLboolean_GLenum args; -} PACKED_GLboolean_GLenum; -typedef struct { - int func; - ARGS_GLboolean_GLenum args; -} INDEXED_GLboolean_GLenum; -typedef void (*FUNC_void_GLfloat)(GLfloat width); -typedef struct { - GLfloat a1; -} ARGS_void_GLfloat; -typedef struct { - int format; - FUNC_void_GLfloat func; - ARGS_void_GLfloat args; -} PACKED_void_GLfloat; -typedef struct { - int func; - ARGS_void_GLfloat args; -} INDEXED_void_GLfloat; -typedef void (*FUNC_void_GLenum_GLint)(GLenum pname, GLint param); -typedef struct { - GLenum a1; - GLint a2; -} ARGS_void_GLenum_GLint; -typedef struct { - int format; - FUNC_void_GLenum_GLint func; - ARGS_void_GLenum_GLint args; -} PACKED_void_GLenum_GLint; -typedef struct { - int func; - ARGS_void_GLenum_GLint args; -} INDEXED_void_GLenum_GLint; -typedef void (*FUNC_void_GLfloat_GLfloat)(GLfloat factor, GLfloat units); -typedef struct { - GLfloat a1; - GLfloat a2; -} ARGS_void_GLfloat_GLfloat; -typedef struct { - int format; - FUNC_void_GLfloat_GLfloat func; - ARGS_void_GLfloat_GLfloat args; -} PACKED_void_GLfloat_GLfloat; -typedef struct { - int func; - ARGS_void_GLfloat_GLfloat args; -} INDEXED_void_GLfloat_GLfloat; -typedef void (*FUNC_void_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_GLvoid___GENPT__)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels); -typedef struct { - GLint a1; - GLint a2; - GLsizei a3; - GLsizei a4; - GLenum a5; - GLenum a6; - GLvoid * a7; -} ARGS_void_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_GLvoid___GENPT__; -typedef struct { - int format; - FUNC_void_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_GLvoid___GENPT__ func; - ARGS_void_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_GLvoid___GENPT__ args; -} PACKED_void_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_GLvoid___GENPT__; -typedef struct { - int func; - ARGS_void_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_GLvoid___GENPT__ args; -} INDEXED_void_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_GLvoid___GENPT__; -typedef void (*FUNC_void_GLenum_GLenum_GLsizei_GLsizei)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -typedef struct { - GLenum a1; - GLenum a2; - GLsizei a3; - GLsizei a4; -} ARGS_void_GLenum_GLenum_GLsizei_GLsizei; -typedef struct { - int format; - FUNC_void_GLenum_GLenum_GLsizei_GLsizei func; - ARGS_void_GLenum_GLenum_GLsizei_GLsizei args; -} PACKED_void_GLenum_GLenum_GLsizei_GLsizei; -typedef struct { - int func; - ARGS_void_GLenum_GLenum_GLsizei_GLsizei args; -} INDEXED_void_GLenum_GLenum_GLsizei_GLsizei; -typedef void (*FUNC_void_GLclampf_GLboolean)(GLclampf value, GLboolean invert); -typedef struct { - GLclampf a1; - GLboolean a2; -} ARGS_void_GLclampf_GLboolean; -typedef struct { - int format; - FUNC_void_GLclampf_GLboolean func; - ARGS_void_GLclampf_GLboolean args; -} PACKED_void_GLclampf_GLboolean; -typedef struct { - int func; - ARGS_void_GLclampf_GLboolean args; -} INDEXED_void_GLclampf_GLboolean; -typedef void (*FUNC_void_GLint_GLint_GLsizei_GLsizei)(GLint x, GLint y, GLsizei width, GLsizei height); -typedef struct { - GLint a1; - GLint a2; - GLsizei a3; - GLsizei a4; -} ARGS_void_GLint_GLint_GLsizei_GLsizei; -typedef struct { - int format; - FUNC_void_GLint_GLint_GLsizei_GLsizei func; - ARGS_void_GLint_GLint_GLsizei_GLsizei args; -} PACKED_void_GLint_GLint_GLsizei_GLsizei; -typedef struct { - int func; - ARGS_void_GLint_GLint_GLsizei_GLsizei args; -} INDEXED_void_GLint_GLint_GLsizei_GLsizei; -typedef void (*FUNC_void_GLsizei_const_GLuint___GENPT___GLenum_const_GLvoid___GENPT___GLsizei)(GLsizei n, const GLuint * shaders, GLenum binaryformat, const GLvoid * binary, GLsizei length); -typedef struct { - GLsizei a1; - GLuint * a2; - GLenum a3; - GLvoid * a4; - GLsizei a5; -} ARGS_void_GLsizei_const_GLuint___GENPT___GLenum_const_GLvoid___GENPT___GLsizei; -typedef struct { - int format; - FUNC_void_GLsizei_const_GLuint___GENPT___GLenum_const_GLvoid___GENPT___GLsizei func; - ARGS_void_GLsizei_const_GLuint___GENPT___GLenum_const_GLvoid___GENPT___GLsizei args; -} PACKED_void_GLsizei_const_GLuint___GENPT___GLenum_const_GLvoid___GENPT___GLsizei; -typedef struct { - int func; - ARGS_void_GLsizei_const_GLuint___GENPT___GLenum_const_GLvoid___GENPT___GLsizei args; -} INDEXED_void_GLsizei_const_GLuint___GENPT___GLenum_const_GLvoid___GENPT___GLsizei; -typedef void (*FUNC_void_GLuint_GLsizei_const_GLchar___GENPT___const___GENPT___const_GLint___GENPT__)(GLuint shader, GLsizei count, const GLchar * const * string, const GLint * length); -typedef struct { - GLuint a1; - GLsizei a2; - GLchar * * a3; - GLint * a4; -} ARGS_void_GLuint_GLsizei_const_GLchar___GENPT___const___GENPT___const_GLint___GENPT__; -typedef struct { - int format; - FUNC_void_GLuint_GLsizei_const_GLchar___GENPT___const___GENPT___const_GLint___GENPT__ func; - ARGS_void_GLuint_GLsizei_const_GLchar___GENPT___const___GENPT___const_GLint___GENPT__ args; -} PACKED_void_GLuint_GLsizei_const_GLchar___GENPT___const___GENPT___const_GLint___GENPT__; -typedef struct { - int func; - ARGS_void_GLuint_GLsizei_const_GLchar___GENPT___const___GENPT___const_GLint___GENPT__ args; -} INDEXED_void_GLuint_GLsizei_const_GLchar___GENPT___const___GENPT___const_GLint___GENPT__; -typedef void (*FUNC_void_GLenum_GLint_GLuint)(GLenum func, GLint ref, GLuint mask); -typedef struct { - GLenum a1; - GLint a2; - GLuint a3; -} ARGS_void_GLenum_GLint_GLuint; -typedef struct { - int format; - FUNC_void_GLenum_GLint_GLuint func; - ARGS_void_GLenum_GLint_GLuint args; -} PACKED_void_GLenum_GLint_GLuint; -typedef struct { - int func; - ARGS_void_GLenum_GLint_GLuint args; -} INDEXED_void_GLenum_GLint_GLuint; -typedef void (*FUNC_void_GLenum_GLenum_GLint_GLuint)(GLenum face, GLenum func, GLint ref, GLuint mask); -typedef struct { - GLenum a1; - GLenum a2; - GLint a3; - GLuint a4; -} ARGS_void_GLenum_GLenum_GLint_GLuint; -typedef struct { - int format; - FUNC_void_GLenum_GLenum_GLint_GLuint func; - ARGS_void_GLenum_GLenum_GLint_GLuint args; -} PACKED_void_GLenum_GLenum_GLint_GLuint; -typedef struct { - int func; - ARGS_void_GLenum_GLenum_GLint_GLuint args; -} INDEXED_void_GLenum_GLenum_GLint_GLuint; -typedef void (*FUNC_void_GLenum_GLenum_GLenum)(GLenum fail, GLenum zfail, GLenum zpass); -typedef struct { - GLenum a1; - GLenum a2; - GLenum a3; -} ARGS_void_GLenum_GLenum_GLenum; -typedef struct { - int format; - FUNC_void_GLenum_GLenum_GLenum func; - ARGS_void_GLenum_GLenum_GLenum args; -} PACKED_void_GLenum_GLenum_GLenum; -typedef struct { - int func; - ARGS_void_GLenum_GLenum_GLenum args; -} INDEXED_void_GLenum_GLenum_GLenum; -typedef void (*FUNC_void_GLenum_GLint_GLint_GLsizei_GLsizei_GLint_GLenum_GLenum_const_GLvoid___GENPT__)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels); -typedef struct { - GLenum a1; - GLint a2; - GLint a3; - GLsizei a4; - GLsizei a5; - GLint a6; - GLenum a7; - GLenum a8; - GLvoid * a9; -} ARGS_void_GLenum_GLint_GLint_GLsizei_GLsizei_GLint_GLenum_GLenum_const_GLvoid___GENPT__; -typedef struct { - int format; - FUNC_void_GLenum_GLint_GLint_GLsizei_GLsizei_GLint_GLenum_GLenum_const_GLvoid___GENPT__ func; - ARGS_void_GLenum_GLint_GLint_GLsizei_GLsizei_GLint_GLenum_GLenum_const_GLvoid___GENPT__ args; -} PACKED_void_GLenum_GLint_GLint_GLsizei_GLsizei_GLint_GLenum_GLenum_const_GLvoid___GENPT__; -typedef struct { - int func; - ARGS_void_GLenum_GLint_GLint_GLsizei_GLsizei_GLint_GLenum_GLenum_const_GLvoid___GENPT__ args; -} INDEXED_void_GLenum_GLint_GLint_GLsizei_GLsizei_GLint_GLenum_GLenum_const_GLvoid___GENPT__; -typedef void (*FUNC_void_GLenum_GLenum_GLfloat)(GLenum target, GLenum pname, GLfloat param); -typedef struct { - GLenum a1; - GLenum a2; - GLfloat a3; -} ARGS_void_GLenum_GLenum_GLfloat; -typedef struct { - int format; - FUNC_void_GLenum_GLenum_GLfloat func; - ARGS_void_GLenum_GLenum_GLfloat args; -} PACKED_void_GLenum_GLenum_GLfloat; -typedef struct { - int func; - ARGS_void_GLenum_GLenum_GLfloat args; -} INDEXED_void_GLenum_GLenum_GLfloat; -typedef void (*FUNC_void_GLenum_GLenum_const_GLfloat___GENPT__)(GLenum target, GLenum pname, const GLfloat * params); -typedef struct { - GLenum a1; - GLenum a2; - GLfloat * a3; -} ARGS_void_GLenum_GLenum_const_GLfloat___GENPT__; -typedef struct { - int format; - FUNC_void_GLenum_GLenum_const_GLfloat___GENPT__ func; - ARGS_void_GLenum_GLenum_const_GLfloat___GENPT__ args; -} PACKED_void_GLenum_GLenum_const_GLfloat___GENPT__; -typedef struct { - int func; - ARGS_void_GLenum_GLenum_const_GLfloat___GENPT__ args; -} INDEXED_void_GLenum_GLenum_const_GLfloat___GENPT__; -typedef void (*FUNC_void_GLenum_GLenum_GLint)(GLenum target, GLenum pname, GLint param); -typedef struct { - GLenum a1; - GLenum a2; - GLint a3; -} ARGS_void_GLenum_GLenum_GLint; -typedef struct { - int format; - FUNC_void_GLenum_GLenum_GLint func; - ARGS_void_GLenum_GLenum_GLint args; -} PACKED_void_GLenum_GLenum_GLint; -typedef struct { - int func; - ARGS_void_GLenum_GLenum_GLint args; -} INDEXED_void_GLenum_GLenum_GLint; -typedef void (*FUNC_void_GLenum_GLenum_const_GLint___GENPT__)(GLenum target, GLenum pname, const GLint * params); -typedef struct { - GLenum a1; - GLenum a2; - GLint * a3; -} ARGS_void_GLenum_GLenum_const_GLint___GENPT__; -typedef struct { - int format; - FUNC_void_GLenum_GLenum_const_GLint___GENPT__ func; - ARGS_void_GLenum_GLenum_const_GLint___GENPT__ args; -} PACKED_void_GLenum_GLenum_const_GLint___GENPT__; -typedef struct { - int func; - ARGS_void_GLenum_GLenum_const_GLint___GENPT__ args; -} INDEXED_void_GLenum_GLenum_const_GLint___GENPT__; -typedef void (*FUNC_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_const_GLvoid___GENPT__)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels); -typedef struct { - GLenum a1; - GLint a2; - GLint a3; - GLint a4; - GLsizei a5; - GLsizei a6; - GLenum a7; - GLenum a8; - GLvoid * a9; -} ARGS_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_const_GLvoid___GENPT__; -typedef struct { - int format; - FUNC_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_const_GLvoid___GENPT__ func; - ARGS_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_const_GLvoid___GENPT__ args; -} PACKED_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_const_GLvoid___GENPT__; -typedef struct { - int func; - ARGS_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_const_GLvoid___GENPT__ args; -} INDEXED_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_const_GLvoid___GENPT__; -typedef void (*FUNC_void_GLint_GLfloat)(GLint location, GLfloat v0); -typedef struct { - GLint a1; - GLfloat a2; -} ARGS_void_GLint_GLfloat; -typedef struct { - int format; - FUNC_void_GLint_GLfloat func; - ARGS_void_GLint_GLfloat args; -} PACKED_void_GLint_GLfloat; -typedef struct { - int func; - ARGS_void_GLint_GLfloat args; -} INDEXED_void_GLint_GLfloat; -typedef void (*FUNC_void_GLint_GLsizei_const_GLfloat___GENPT__)(GLint location, GLsizei count, const GLfloat * value); -typedef struct { - GLint a1; - GLsizei a2; - GLfloat * a3; -} ARGS_void_GLint_GLsizei_const_GLfloat___GENPT__; -typedef struct { - int format; - FUNC_void_GLint_GLsizei_const_GLfloat___GENPT__ func; - ARGS_void_GLint_GLsizei_const_GLfloat___GENPT__ args; -} PACKED_void_GLint_GLsizei_const_GLfloat___GENPT__; -typedef struct { - int func; - ARGS_void_GLint_GLsizei_const_GLfloat___GENPT__ args; -} INDEXED_void_GLint_GLsizei_const_GLfloat___GENPT__; -typedef void (*FUNC_void_GLint_GLint)(GLint location, GLint v0); -typedef struct { - GLint a1; - GLint a2; -} ARGS_void_GLint_GLint; -typedef struct { - int format; - FUNC_void_GLint_GLint func; - ARGS_void_GLint_GLint args; -} PACKED_void_GLint_GLint; -typedef struct { - int func; - ARGS_void_GLint_GLint args; -} INDEXED_void_GLint_GLint; -typedef void (*FUNC_void_GLint_GLsizei_const_GLint___GENPT__)(GLint location, GLsizei count, const GLint * value); -typedef struct { - GLint a1; - GLsizei a2; - GLint * a3; -} ARGS_void_GLint_GLsizei_const_GLint___GENPT__; -typedef struct { - int format; - FUNC_void_GLint_GLsizei_const_GLint___GENPT__ func; - ARGS_void_GLint_GLsizei_const_GLint___GENPT__ args; -} PACKED_void_GLint_GLsizei_const_GLint___GENPT__; -typedef struct { - int func; - ARGS_void_GLint_GLsizei_const_GLint___GENPT__ args; -} INDEXED_void_GLint_GLsizei_const_GLint___GENPT__; -typedef void (*FUNC_void_GLint_GLfloat_GLfloat)(GLint location, GLfloat v0, GLfloat v1); -typedef struct { - GLint a1; - GLfloat a2; - GLfloat a3; -} ARGS_void_GLint_GLfloat_GLfloat; -typedef struct { - int format; - FUNC_void_GLint_GLfloat_GLfloat func; - ARGS_void_GLint_GLfloat_GLfloat args; -} PACKED_void_GLint_GLfloat_GLfloat; -typedef struct { - int func; - ARGS_void_GLint_GLfloat_GLfloat args; -} INDEXED_void_GLint_GLfloat_GLfloat; -typedef void (*FUNC_void_GLint_GLint_GLint)(GLint location, GLint v0, GLint v1); -typedef struct { - GLint a1; - GLint a2; - GLint a3; -} ARGS_void_GLint_GLint_GLint; -typedef struct { - int format; - FUNC_void_GLint_GLint_GLint func; - ARGS_void_GLint_GLint_GLint args; -} PACKED_void_GLint_GLint_GLint; -typedef struct { - int func; - ARGS_void_GLint_GLint_GLint args; -} INDEXED_void_GLint_GLint_GLint; -typedef void (*FUNC_void_GLint_GLfloat_GLfloat_GLfloat)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -typedef struct { - GLint a1; - GLfloat a2; - GLfloat a3; - GLfloat a4; -} ARGS_void_GLint_GLfloat_GLfloat_GLfloat; -typedef struct { - int format; - FUNC_void_GLint_GLfloat_GLfloat_GLfloat func; - ARGS_void_GLint_GLfloat_GLfloat_GLfloat args; -} PACKED_void_GLint_GLfloat_GLfloat_GLfloat; -typedef struct { - int func; - ARGS_void_GLint_GLfloat_GLfloat_GLfloat args; -} INDEXED_void_GLint_GLfloat_GLfloat_GLfloat; -typedef void (*FUNC_void_GLint_GLint_GLint_GLint)(GLint location, GLint v0, GLint v1, GLint v2); -typedef struct { - GLint a1; - GLint a2; - GLint a3; - GLint a4; -} ARGS_void_GLint_GLint_GLint_GLint; -typedef struct { - int format; - FUNC_void_GLint_GLint_GLint_GLint func; - ARGS_void_GLint_GLint_GLint_GLint args; -} PACKED_void_GLint_GLint_GLint_GLint; -typedef struct { - int func; - ARGS_void_GLint_GLint_GLint_GLint args; -} INDEXED_void_GLint_GLint_GLint_GLint; -typedef void (*FUNC_void_GLint_GLfloat_GLfloat_GLfloat_GLfloat)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -typedef struct { - GLint a1; - GLfloat a2; - GLfloat a3; - GLfloat a4; - GLfloat a5; -} ARGS_void_GLint_GLfloat_GLfloat_GLfloat_GLfloat; -typedef struct { - int format; - FUNC_void_GLint_GLfloat_GLfloat_GLfloat_GLfloat func; - ARGS_void_GLint_GLfloat_GLfloat_GLfloat_GLfloat args; -} PACKED_void_GLint_GLfloat_GLfloat_GLfloat_GLfloat; -typedef struct { - int func; - ARGS_void_GLint_GLfloat_GLfloat_GLfloat_GLfloat args; -} INDEXED_void_GLint_GLfloat_GLfloat_GLfloat_GLfloat; -typedef void (*FUNC_void_GLint_GLint_GLint_GLint_GLint)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -typedef struct { - GLint a1; - GLint a2; - GLint a3; - GLint a4; - GLint a5; -} ARGS_void_GLint_GLint_GLint_GLint_GLint; -typedef struct { - int format; - FUNC_void_GLint_GLint_GLint_GLint_GLint func; - ARGS_void_GLint_GLint_GLint_GLint_GLint args; -} PACKED_void_GLint_GLint_GLint_GLint_GLint; -typedef struct { - int func; - ARGS_void_GLint_GLint_GLint_GLint_GLint args; -} INDEXED_void_GLint_GLint_GLint_GLint_GLint; -typedef void (*FUNC_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__)(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value); -typedef struct { - GLint a1; - GLsizei a2; - GLboolean a3; - GLfloat * a4; -} ARGS_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__; -typedef struct { - int format; - FUNC_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__ func; - ARGS_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__ args; -} PACKED_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__; -typedef struct { - int func; - ARGS_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__ args; -} INDEXED_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__; -typedef void (*FUNC_void_GLuint_GLfloat)(GLuint index, GLfloat x); -typedef struct { - GLuint a1; - GLfloat a2; -} ARGS_void_GLuint_GLfloat; -typedef struct { - int format; - FUNC_void_GLuint_GLfloat func; - ARGS_void_GLuint_GLfloat args; -} PACKED_void_GLuint_GLfloat; -typedef struct { - int func; - ARGS_void_GLuint_GLfloat args; -} INDEXED_void_GLuint_GLfloat; -typedef void (*FUNC_void_GLuint_const_GLfloat___GENPT__)(GLuint index, const GLfloat * v); -typedef struct { - GLuint a1; - GLfloat * a2; -} ARGS_void_GLuint_const_GLfloat___GENPT__; -typedef struct { - int format; - FUNC_void_GLuint_const_GLfloat___GENPT__ func; - ARGS_void_GLuint_const_GLfloat___GENPT__ args; -} PACKED_void_GLuint_const_GLfloat___GENPT__; -typedef struct { - int func; - ARGS_void_GLuint_const_GLfloat___GENPT__ args; -} INDEXED_void_GLuint_const_GLfloat___GENPT__; -typedef void (*FUNC_void_GLuint_GLfloat_GLfloat)(GLuint index, GLfloat x, GLfloat y); -typedef struct { - GLuint a1; - GLfloat a2; - GLfloat a3; -} ARGS_void_GLuint_GLfloat_GLfloat; -typedef struct { - int format; - FUNC_void_GLuint_GLfloat_GLfloat func; - ARGS_void_GLuint_GLfloat_GLfloat args; -} PACKED_void_GLuint_GLfloat_GLfloat; -typedef struct { - int func; - ARGS_void_GLuint_GLfloat_GLfloat args; -} INDEXED_void_GLuint_GLfloat_GLfloat; -typedef void (*FUNC_void_GLuint_GLfloat_GLfloat_GLfloat)(GLuint index, GLfloat x, GLfloat y, GLfloat z); -typedef struct { - GLuint a1; - GLfloat a2; - GLfloat a3; - GLfloat a4; -} ARGS_void_GLuint_GLfloat_GLfloat_GLfloat; -typedef struct { - int format; - FUNC_void_GLuint_GLfloat_GLfloat_GLfloat func; - ARGS_void_GLuint_GLfloat_GLfloat_GLfloat args; -} PACKED_void_GLuint_GLfloat_GLfloat_GLfloat; -typedef struct { - int func; - ARGS_void_GLuint_GLfloat_GLfloat_GLfloat args; -} INDEXED_void_GLuint_GLfloat_GLfloat_GLfloat; -typedef void (*FUNC_void_GLuint_GLfloat_GLfloat_GLfloat_GLfloat)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -typedef struct { - GLuint a1; - GLfloat a2; - GLfloat a3; - GLfloat a4; - GLfloat a5; -} ARGS_void_GLuint_GLfloat_GLfloat_GLfloat_GLfloat; -typedef struct { - int format; - FUNC_void_GLuint_GLfloat_GLfloat_GLfloat_GLfloat func; - ARGS_void_GLuint_GLfloat_GLfloat_GLfloat_GLfloat args; -} PACKED_void_GLuint_GLfloat_GLfloat_GLfloat_GLfloat; -typedef struct { - int func; - ARGS_void_GLuint_GLfloat_GLfloat_GLfloat_GLfloat args; -} INDEXED_void_GLuint_GLfloat_GLfloat_GLfloat_GLfloat; -typedef void (*FUNC_void_GLuint_GLint_GLenum_GLboolean_GLsizei_const_GLvoid___GENPT__)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pointer); -typedef struct { - GLuint a1; - GLint a2; - GLenum a3; - GLboolean a4; - GLsizei a5; - GLvoid * a6; -} ARGS_void_GLuint_GLint_GLenum_GLboolean_GLsizei_const_GLvoid___GENPT__; -typedef struct { - int format; - FUNC_void_GLuint_GLint_GLenum_GLboolean_GLsizei_const_GLvoid___GENPT__ func; - ARGS_void_GLuint_GLint_GLenum_GLboolean_GLsizei_const_GLvoid___GENPT__ args; -} PACKED_void_GLuint_GLint_GLenum_GLboolean_GLsizei_const_GLvoid___GENPT__; -typedef struct { - int func; - ARGS_void_GLuint_GLint_GLenum_GLboolean_GLsizei_const_GLvoid___GENPT__ args; -} INDEXED_void_GLuint_GLint_GLenum_GLboolean_GLsizei_const_GLvoid___GENPT__; - -extern void glPushCall(void *data); -void glPackedCall(const packed_call_t *packed); -void glIndexedCall(const indexed_call_t *packed, void *ret_v); - -#define glActiveTexture_INDEX 1 -#define glActiveTexture_RETURN void -#define glActiveTexture_ARG_NAMES texture -#define glActiveTexture_ARG_EXPAND GLenum texture -#define glActiveTexture_PACKED PACKED_void_GLenum -#define glActiveTexture_INDEXED INDEXED_void_GLenum -#define glActiveTexture_FORMAT FORMAT_void_GLenum -#define glAttachShader_INDEX 2 -#define glAttachShader_RETURN void -#define glAttachShader_ARG_NAMES program, shader -#define glAttachShader_ARG_EXPAND GLuint program, GLuint shader -#define glAttachShader_PACKED PACKED_void_GLuint_GLuint -#define glAttachShader_INDEXED INDEXED_void_GLuint_GLuint -#define glAttachShader_FORMAT FORMAT_void_GLuint_GLuint -#define glBindAttribLocation_INDEX 3 -#define glBindAttribLocation_RETURN void -#define glBindAttribLocation_ARG_NAMES program, index, name -#define glBindAttribLocation_ARG_EXPAND GLuint program, GLuint index, const GLchar * name -#define glBindAttribLocation_PACKED PACKED_void_GLuint_GLuint_const_GLchar___GENPT__ -#define glBindAttribLocation_INDEXED INDEXED_void_GLuint_GLuint_const_GLchar___GENPT__ -#define glBindAttribLocation_FORMAT FORMAT_void_GLuint_GLuint_const_GLchar___GENPT__ -#define glBindBuffer_INDEX 4 -#define glBindBuffer_RETURN void -#define glBindBuffer_ARG_NAMES target, buffer -#define glBindBuffer_ARG_EXPAND GLenum target, GLuint buffer -#define glBindBuffer_PACKED PACKED_void_GLenum_GLuint -#define glBindBuffer_INDEXED INDEXED_void_GLenum_GLuint -#define glBindBuffer_FORMAT FORMAT_void_GLenum_GLuint -#define glBindFramebuffer_INDEX 5 -#define glBindFramebuffer_RETURN void -#define glBindFramebuffer_ARG_NAMES target, framebuffer -#define glBindFramebuffer_ARG_EXPAND GLenum target, GLuint framebuffer -#define glBindFramebuffer_PACKED PACKED_void_GLenum_GLuint -#define glBindFramebuffer_INDEXED INDEXED_void_GLenum_GLuint -#define glBindFramebuffer_FORMAT FORMAT_void_GLenum_GLuint -#define glBindRenderbuffer_INDEX 6 -#define glBindRenderbuffer_RETURN void -#define glBindRenderbuffer_ARG_NAMES target, renderbuffer -#define glBindRenderbuffer_ARG_EXPAND GLenum target, GLuint renderbuffer -#define glBindRenderbuffer_PACKED PACKED_void_GLenum_GLuint -#define glBindRenderbuffer_INDEXED INDEXED_void_GLenum_GLuint -#define glBindRenderbuffer_FORMAT FORMAT_void_GLenum_GLuint -#define glBindTexture_INDEX 7 -#define glBindTexture_RETURN void -#define glBindTexture_ARG_NAMES target, texture -#define glBindTexture_ARG_EXPAND GLenum target, GLuint texture -#define glBindTexture_PACKED PACKED_void_GLenum_GLuint -#define glBindTexture_INDEXED INDEXED_void_GLenum_GLuint -#define glBindTexture_FORMAT FORMAT_void_GLenum_GLuint -#define glBlendColor_INDEX 8 -#define glBlendColor_RETURN void -#define glBlendColor_ARG_NAMES red, green, blue, alpha -#define glBlendColor_ARG_EXPAND GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha -#define glBlendColor_PACKED PACKED_void_GLclampf_GLclampf_GLclampf_GLclampf -#define glBlendColor_INDEXED INDEXED_void_GLclampf_GLclampf_GLclampf_GLclampf -#define glBlendColor_FORMAT FORMAT_void_GLclampf_GLclampf_GLclampf_GLclampf -#define glBlendEquation_INDEX 9 -#define glBlendEquation_RETURN void -#define glBlendEquation_ARG_NAMES mode -#define glBlendEquation_ARG_EXPAND GLenum mode -#define glBlendEquation_PACKED PACKED_void_GLenum -#define glBlendEquation_INDEXED INDEXED_void_GLenum -#define glBlendEquation_FORMAT FORMAT_void_GLenum -#define glBlendEquationSeparate_INDEX 10 -#define glBlendEquationSeparate_RETURN void -#define glBlendEquationSeparate_ARG_NAMES modeRGB, modeA -#define glBlendEquationSeparate_ARG_EXPAND GLenum modeRGB, GLenum modeA -#define glBlendEquationSeparate_PACKED PACKED_void_GLenum_GLenum -#define glBlendEquationSeparate_INDEXED INDEXED_void_GLenum_GLenum -#define glBlendEquationSeparate_FORMAT FORMAT_void_GLenum_GLenum -#define glBlendFunc_INDEX 11 -#define glBlendFunc_RETURN void -#define glBlendFunc_ARG_NAMES sfactor, dfactor -#define glBlendFunc_ARG_EXPAND GLenum sfactor, GLenum dfactor -#define glBlendFunc_PACKED PACKED_void_GLenum_GLenum -#define glBlendFunc_INDEXED INDEXED_void_GLenum_GLenum -#define glBlendFunc_FORMAT FORMAT_void_GLenum_GLenum -#define glBlendFuncSeparate_INDEX 12 -#define glBlendFuncSeparate_RETURN void -#define glBlendFuncSeparate_ARG_NAMES sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha -#define glBlendFuncSeparate_ARG_EXPAND GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha -#define glBlendFuncSeparate_PACKED PACKED_void_GLenum_GLenum_GLenum_GLenum -#define glBlendFuncSeparate_INDEXED INDEXED_void_GLenum_GLenum_GLenum_GLenum -#define glBlendFuncSeparate_FORMAT FORMAT_void_GLenum_GLenum_GLenum_GLenum -#define glBufferData_INDEX 13 -#define glBufferData_RETURN void -#define glBufferData_ARG_NAMES target, size, data, usage -#define glBufferData_ARG_EXPAND GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage -#define glBufferData_PACKED PACKED_void_GLenum_GLsizeiptr_const_GLvoid___GENPT___GLenum -#define glBufferData_INDEXED INDEXED_void_GLenum_GLsizeiptr_const_GLvoid___GENPT___GLenum -#define glBufferData_FORMAT FORMAT_void_GLenum_GLsizeiptr_const_GLvoid___GENPT___GLenum -#define glBufferSubData_INDEX 14 -#define glBufferSubData_RETURN void -#define glBufferSubData_ARG_NAMES target, offset, size, data -#define glBufferSubData_ARG_EXPAND GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data -#define glBufferSubData_PACKED PACKED_void_GLenum_GLintptr_GLsizeiptr_const_GLvoid___GENPT__ -#define glBufferSubData_INDEXED INDEXED_void_GLenum_GLintptr_GLsizeiptr_const_GLvoid___GENPT__ -#define glBufferSubData_FORMAT FORMAT_void_GLenum_GLintptr_GLsizeiptr_const_GLvoid___GENPT__ -#define glCheckFramebufferStatus_INDEX 15 -#define glCheckFramebufferStatus_RETURN GLenum -#define glCheckFramebufferStatus_ARG_NAMES target -#define glCheckFramebufferStatus_ARG_EXPAND GLenum target -#define glCheckFramebufferStatus_PACKED PACKED_GLenum_GLenum -#define glCheckFramebufferStatus_INDEXED INDEXED_GLenum_GLenum -#define glCheckFramebufferStatus_FORMAT FORMAT_GLenum_GLenum -#define glClear_INDEX 16 -#define glClear_RETURN void -#define glClear_ARG_NAMES mask -#define glClear_ARG_EXPAND GLbitfield mask -#define glClear_PACKED PACKED_void_GLbitfield -#define glClear_INDEXED INDEXED_void_GLbitfield -#define glClear_FORMAT FORMAT_void_GLbitfield -#define glClearColor_INDEX 17 -#define glClearColor_RETURN void -#define glClearColor_ARG_NAMES red, green, blue, alpha -#define glClearColor_ARG_EXPAND GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha -#define glClearColor_PACKED PACKED_void_GLclampf_GLclampf_GLclampf_GLclampf -#define glClearColor_INDEXED INDEXED_void_GLclampf_GLclampf_GLclampf_GLclampf -#define glClearColor_FORMAT FORMAT_void_GLclampf_GLclampf_GLclampf_GLclampf -#define glClearDepthf_INDEX 18 -#define glClearDepthf_RETURN void -#define glClearDepthf_ARG_NAMES depth -#define glClearDepthf_ARG_EXPAND GLclampf depth -#define glClearDepthf_PACKED PACKED_void_GLclampf -#define glClearDepthf_INDEXED INDEXED_void_GLclampf -#define glClearDepthf_FORMAT FORMAT_void_GLclampf -#define glClearStencil_INDEX 19 -#define glClearStencil_RETURN void -#define glClearStencil_ARG_NAMES s -#define glClearStencil_ARG_EXPAND GLint s -#define glClearStencil_PACKED PACKED_void_GLint -#define glClearStencil_INDEXED INDEXED_void_GLint -#define glClearStencil_FORMAT FORMAT_void_GLint -#define glColorMask_INDEX 20 -#define glColorMask_RETURN void -#define glColorMask_ARG_NAMES red, green, blue, alpha -#define glColorMask_ARG_EXPAND GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha -#define glColorMask_PACKED PACKED_void_GLboolean_GLboolean_GLboolean_GLboolean -#define glColorMask_INDEXED INDEXED_void_GLboolean_GLboolean_GLboolean_GLboolean -#define glColorMask_FORMAT FORMAT_void_GLboolean_GLboolean_GLboolean_GLboolean -#define glCompileShader_INDEX 21 -#define glCompileShader_RETURN void -#define glCompileShader_ARG_NAMES shader -#define glCompileShader_ARG_EXPAND GLuint shader -#define glCompileShader_PACKED PACKED_void_GLuint -#define glCompileShader_INDEXED INDEXED_void_GLuint -#define glCompileShader_FORMAT FORMAT_void_GLuint -#define glCompressedTexImage2D_INDEX 22 -#define glCompressedTexImage2D_RETURN void -#define glCompressedTexImage2D_ARG_NAMES target, level, internalformat, width, height, border, imageSize, data -#define glCompressedTexImage2D_ARG_EXPAND GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data -#define glCompressedTexImage2D_PACKED PACKED_void_GLenum_GLint_GLenum_GLsizei_GLsizei_GLint_GLsizei_const_GLvoid___GENPT__ -#define glCompressedTexImage2D_INDEXED INDEXED_void_GLenum_GLint_GLenum_GLsizei_GLsizei_GLint_GLsizei_const_GLvoid___GENPT__ -#define glCompressedTexImage2D_FORMAT FORMAT_void_GLenum_GLint_GLenum_GLsizei_GLsizei_GLint_GLsizei_const_GLvoid___GENPT__ -#define glCompressedTexSubImage2D_INDEX 23 -#define glCompressedTexSubImage2D_RETURN void -#define glCompressedTexSubImage2D_ARG_NAMES target, level, xoffset, yoffset, width, height, format, imageSize, data -#define glCompressedTexSubImage2D_ARG_EXPAND GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data -#define glCompressedTexSubImage2D_PACKED PACKED_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLsizei_const_GLvoid___GENPT__ -#define glCompressedTexSubImage2D_INDEXED INDEXED_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLsizei_const_GLvoid___GENPT__ -#define glCompressedTexSubImage2D_FORMAT FORMAT_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLsizei_const_GLvoid___GENPT__ -#define glCopyTexImage2D_INDEX 24 -#define glCopyTexImage2D_RETURN void -#define glCopyTexImage2D_ARG_NAMES target, level, internalformat, x, y, width, height, border -#define glCopyTexImage2D_ARG_EXPAND GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border -#define glCopyTexImage2D_PACKED PACKED_void_GLenum_GLint_GLenum_GLint_GLint_GLsizei_GLsizei_GLint -#define glCopyTexImage2D_INDEXED INDEXED_void_GLenum_GLint_GLenum_GLint_GLint_GLsizei_GLsizei_GLint -#define glCopyTexImage2D_FORMAT FORMAT_void_GLenum_GLint_GLenum_GLint_GLint_GLsizei_GLsizei_GLint -#define glCopyTexSubImage2D_INDEX 25 -#define glCopyTexSubImage2D_RETURN void -#define glCopyTexSubImage2D_ARG_NAMES target, level, xoffset, yoffset, x, y, width, height -#define glCopyTexSubImage2D_ARG_EXPAND GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height -#define glCopyTexSubImage2D_PACKED PACKED_void_GLenum_GLint_GLint_GLint_GLint_GLint_GLsizei_GLsizei -#define glCopyTexSubImage2D_INDEXED INDEXED_void_GLenum_GLint_GLint_GLint_GLint_GLint_GLsizei_GLsizei -#define glCopyTexSubImage2D_FORMAT FORMAT_void_GLenum_GLint_GLint_GLint_GLint_GLint_GLsizei_GLsizei -#define glCreateProgram_INDEX 26 -#define glCreateProgram_RETURN GLuint -#define glCreateProgram_ARG_NAMES -#define glCreateProgram_ARG_EXPAND -#define glCreateProgram_PACKED PACKED_GLuint -#define glCreateProgram_INDEXED INDEXED_GLuint -#define glCreateProgram_FORMAT FORMAT_GLuint -#define glCreateShader_INDEX 27 -#define glCreateShader_RETURN GLuint -#define glCreateShader_ARG_NAMES type -#define glCreateShader_ARG_EXPAND GLenum type -#define glCreateShader_PACKED PACKED_GLuint_GLenum -#define glCreateShader_INDEXED INDEXED_GLuint_GLenum -#define glCreateShader_FORMAT FORMAT_GLuint_GLenum -#define glCullFace_INDEX 28 -#define glCullFace_RETURN void -#define glCullFace_ARG_NAMES mode -#define glCullFace_ARG_EXPAND GLenum mode -#define glCullFace_PACKED PACKED_void_GLenum -#define glCullFace_INDEXED INDEXED_void_GLenum -#define glCullFace_FORMAT FORMAT_void_GLenum -#define glDeleteBuffers_INDEX 29 -#define glDeleteBuffers_RETURN void -#define glDeleteBuffers_ARG_NAMES n, buffer -#define glDeleteBuffers_ARG_EXPAND GLsizei n, const GLuint * buffer -#define glDeleteBuffers_PACKED PACKED_void_GLsizei_const_GLuint___GENPT__ -#define glDeleteBuffers_INDEXED INDEXED_void_GLsizei_const_GLuint___GENPT__ -#define glDeleteBuffers_FORMAT FORMAT_void_GLsizei_const_GLuint___GENPT__ -#define glDeleteFramebuffers_INDEX 30 -#define glDeleteFramebuffers_RETURN void -#define glDeleteFramebuffers_ARG_NAMES n, framebuffers -#define glDeleteFramebuffers_ARG_EXPAND GLsizei n, const GLuint * framebuffers -#define glDeleteFramebuffers_PACKED PACKED_void_GLsizei_const_GLuint___GENPT__ -#define glDeleteFramebuffers_INDEXED INDEXED_void_GLsizei_const_GLuint___GENPT__ -#define glDeleteFramebuffers_FORMAT FORMAT_void_GLsizei_const_GLuint___GENPT__ -#define glDeleteProgram_INDEX 31 -#define glDeleteProgram_RETURN void -#define glDeleteProgram_ARG_NAMES program -#define glDeleteProgram_ARG_EXPAND GLuint program -#define glDeleteProgram_PACKED PACKED_void_GLuint -#define glDeleteProgram_INDEXED INDEXED_void_GLuint -#define glDeleteProgram_FORMAT FORMAT_void_GLuint -#define glDeleteRenderbuffers_INDEX 32 -#define glDeleteRenderbuffers_RETURN void -#define glDeleteRenderbuffers_ARG_NAMES n, renderbuffers -#define glDeleteRenderbuffers_ARG_EXPAND GLsizei n, const GLuint * renderbuffers -#define glDeleteRenderbuffers_PACKED PACKED_void_GLsizei_const_GLuint___GENPT__ -#define glDeleteRenderbuffers_INDEXED INDEXED_void_GLsizei_const_GLuint___GENPT__ -#define glDeleteRenderbuffers_FORMAT FORMAT_void_GLsizei_const_GLuint___GENPT__ -#define glDeleteShader_INDEX 33 -#define glDeleteShader_RETURN void -#define glDeleteShader_ARG_NAMES program -#define glDeleteShader_ARG_EXPAND GLuint program -#define glDeleteShader_PACKED PACKED_void_GLuint -#define glDeleteShader_INDEXED INDEXED_void_GLuint -#define glDeleteShader_FORMAT FORMAT_void_GLuint -#define glDeleteTextures_INDEX 34 -#define glDeleteTextures_RETURN void -#define glDeleteTextures_ARG_NAMES n, textures -#define glDeleteTextures_ARG_EXPAND GLsizei n, const GLuint * textures -#define glDeleteTextures_PACKED PACKED_void_GLsizei_const_GLuint___GENPT__ -#define glDeleteTextures_INDEXED INDEXED_void_GLsizei_const_GLuint___GENPT__ -#define glDeleteTextures_FORMAT FORMAT_void_GLsizei_const_GLuint___GENPT__ -#define glDepthFunc_INDEX 35 -#define glDepthFunc_RETURN void -#define glDepthFunc_ARG_NAMES func -#define glDepthFunc_ARG_EXPAND GLenum func -#define glDepthFunc_PACKED PACKED_void_GLenum -#define glDepthFunc_INDEXED INDEXED_void_GLenum -#define glDepthFunc_FORMAT FORMAT_void_GLenum -#define glDepthMask_INDEX 36 -#define glDepthMask_RETURN void -#define glDepthMask_ARG_NAMES flag -#define glDepthMask_ARG_EXPAND GLboolean flag -#define glDepthMask_PACKED PACKED_void_GLboolean -#define glDepthMask_INDEXED INDEXED_void_GLboolean -#define glDepthMask_FORMAT FORMAT_void_GLboolean -#define glDepthRangef_INDEX 37 -#define glDepthRangef_RETURN void -#define glDepthRangef_ARG_NAMES zNear, zFar -#define glDepthRangef_ARG_EXPAND GLclampf zNear, GLclampf zFar -#define glDepthRangef_PACKED PACKED_void_GLclampf_GLclampf -#define glDepthRangef_INDEXED INDEXED_void_GLclampf_GLclampf -#define glDepthRangef_FORMAT FORMAT_void_GLclampf_GLclampf -#define glDetachShader_INDEX 38 -#define glDetachShader_RETURN void -#define glDetachShader_ARG_NAMES program, shader -#define glDetachShader_ARG_EXPAND GLuint program, GLuint shader -#define glDetachShader_PACKED PACKED_void_GLuint_GLuint -#define glDetachShader_INDEXED INDEXED_void_GLuint_GLuint -#define glDetachShader_FORMAT FORMAT_void_GLuint_GLuint -#define glDisable_INDEX 39 -#define glDisable_RETURN void -#define glDisable_ARG_NAMES cap -#define glDisable_ARG_EXPAND GLenum cap -#define glDisable_PACKED PACKED_void_GLenum -#define glDisable_INDEXED INDEXED_void_GLenum -#define glDisable_FORMAT FORMAT_void_GLenum -#define glDisableVertexAttribArray_INDEX 40 -#define glDisableVertexAttribArray_RETURN void -#define glDisableVertexAttribArray_ARG_NAMES index -#define glDisableVertexAttribArray_ARG_EXPAND GLuint index -#define glDisableVertexAttribArray_PACKED PACKED_void_GLuint -#define glDisableVertexAttribArray_INDEXED INDEXED_void_GLuint -#define glDisableVertexAttribArray_FORMAT FORMAT_void_GLuint -#define glDrawArrays_INDEX 41 -#define glDrawArrays_RETURN void -#define glDrawArrays_ARG_NAMES mode, first, count -#define glDrawArrays_ARG_EXPAND GLenum mode, GLint first, GLsizei count -#define glDrawArrays_PACKED PACKED_void_GLenum_GLint_GLsizei -#define glDrawArrays_INDEXED INDEXED_void_GLenum_GLint_GLsizei -#define glDrawArrays_FORMAT FORMAT_void_GLenum_GLint_GLsizei -#define glDrawElements_INDEX 42 -#define glDrawElements_RETURN void -#define glDrawElements_ARG_NAMES mode, count, type, indices -#define glDrawElements_ARG_EXPAND GLenum mode, GLsizei count, GLenum type, const GLvoid * indices -#define glDrawElements_PACKED PACKED_void_GLenum_GLsizei_GLenum_const_GLvoid___GENPT__ -#define glDrawElements_INDEXED INDEXED_void_GLenum_GLsizei_GLenum_const_GLvoid___GENPT__ -#define glDrawElements_FORMAT FORMAT_void_GLenum_GLsizei_GLenum_const_GLvoid___GENPT__ -#define glEnable_INDEX 43 -#define glEnable_RETURN void -#define glEnable_ARG_NAMES cap -#define glEnable_ARG_EXPAND GLenum cap -#define glEnable_PACKED PACKED_void_GLenum -#define glEnable_INDEXED INDEXED_void_GLenum -#define glEnable_FORMAT FORMAT_void_GLenum -#define glEnableVertexAttribArray_INDEX 44 -#define glEnableVertexAttribArray_RETURN void -#define glEnableVertexAttribArray_ARG_NAMES index -#define glEnableVertexAttribArray_ARG_EXPAND GLuint index -#define glEnableVertexAttribArray_PACKED PACKED_void_GLuint -#define glEnableVertexAttribArray_INDEXED INDEXED_void_GLuint -#define glEnableVertexAttribArray_FORMAT FORMAT_void_GLuint -#define glFinish_INDEX 45 -#define glFinish_RETURN void -#define glFinish_ARG_NAMES -#define glFinish_ARG_EXPAND -#define glFinish_PACKED PACKED_void -#define glFinish_INDEXED INDEXED_void -#define glFinish_FORMAT FORMAT_void -#define glFlush_INDEX 46 -#define glFlush_RETURN void -#define glFlush_ARG_NAMES -#define glFlush_ARG_EXPAND -#define glFlush_PACKED PACKED_void -#define glFlush_INDEXED INDEXED_void -#define glFlush_FORMAT FORMAT_void -#define glFramebufferRenderbuffer_INDEX 47 -#define glFramebufferRenderbuffer_RETURN void -#define glFramebufferRenderbuffer_ARG_NAMES target, attachment, renderbuffertarget, renderbuffer -#define glFramebufferRenderbuffer_ARG_EXPAND GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer -#define glFramebufferRenderbuffer_PACKED PACKED_void_GLenum_GLenum_GLenum_GLuint -#define glFramebufferRenderbuffer_INDEXED INDEXED_void_GLenum_GLenum_GLenum_GLuint -#define glFramebufferRenderbuffer_FORMAT FORMAT_void_GLenum_GLenum_GLenum_GLuint -#define glFramebufferTexture2D_INDEX 48 -#define glFramebufferTexture2D_RETURN void -#define glFramebufferTexture2D_ARG_NAMES target, attachment, textarget, texture, level -#define glFramebufferTexture2D_ARG_EXPAND GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level -#define glFramebufferTexture2D_PACKED PACKED_void_GLenum_GLenum_GLenum_GLuint_GLint -#define glFramebufferTexture2D_INDEXED INDEXED_void_GLenum_GLenum_GLenum_GLuint_GLint -#define glFramebufferTexture2D_FORMAT FORMAT_void_GLenum_GLenum_GLenum_GLuint_GLint -#define glFrontFace_INDEX 49 -#define glFrontFace_RETURN void -#define glFrontFace_ARG_NAMES mode -#define glFrontFace_ARG_EXPAND GLenum mode -#define glFrontFace_PACKED PACKED_void_GLenum -#define glFrontFace_INDEXED INDEXED_void_GLenum -#define glFrontFace_FORMAT FORMAT_void_GLenum -#define glGenBuffers_INDEX 50 -#define glGenBuffers_RETURN void -#define glGenBuffers_ARG_NAMES n, buffer -#define glGenBuffers_ARG_EXPAND GLsizei n, GLuint * buffer -#define glGenBuffers_PACKED PACKED_void_GLsizei_GLuint___GENPT__ -#define glGenBuffers_INDEXED INDEXED_void_GLsizei_GLuint___GENPT__ -#define glGenBuffers_FORMAT FORMAT_void_GLsizei_GLuint___GENPT__ -#define glGenFramebuffers_INDEX 51 -#define glGenFramebuffers_RETURN void -#define glGenFramebuffers_ARG_NAMES n, framebuffers -#define glGenFramebuffers_ARG_EXPAND GLsizei n, GLuint * framebuffers -#define glGenFramebuffers_PACKED PACKED_void_GLsizei_GLuint___GENPT__ -#define glGenFramebuffers_INDEXED INDEXED_void_GLsizei_GLuint___GENPT__ -#define glGenFramebuffers_FORMAT FORMAT_void_GLsizei_GLuint___GENPT__ -#define glGenRenderbuffers_INDEX 52 -#define glGenRenderbuffers_RETURN void -#define glGenRenderbuffers_ARG_NAMES n, renderbuffers -#define glGenRenderbuffers_ARG_EXPAND GLsizei n, GLuint * renderbuffers -#define glGenRenderbuffers_PACKED PACKED_void_GLsizei_GLuint___GENPT__ -#define glGenRenderbuffers_INDEXED INDEXED_void_GLsizei_GLuint___GENPT__ -#define glGenRenderbuffers_FORMAT FORMAT_void_GLsizei_GLuint___GENPT__ -#define glGenTextures_INDEX 53 -#define glGenTextures_RETURN void -#define glGenTextures_ARG_NAMES n, textures -#define glGenTextures_ARG_EXPAND GLsizei n, GLuint * textures -#define glGenTextures_PACKED PACKED_void_GLsizei_GLuint___GENPT__ -#define glGenTextures_INDEXED INDEXED_void_GLsizei_GLuint___GENPT__ -#define glGenTextures_FORMAT FORMAT_void_GLsizei_GLuint___GENPT__ -#define glGenerateMipmap_INDEX 54 -#define glGenerateMipmap_RETURN void -#define glGenerateMipmap_ARG_NAMES target -#define glGenerateMipmap_ARG_EXPAND GLenum target -#define glGenerateMipmap_PACKED PACKED_void_GLenum -#define glGenerateMipmap_INDEXED INDEXED_void_GLenum -#define glGenerateMipmap_FORMAT FORMAT_void_GLenum -#define glGetActiveAttrib_INDEX 55 -#define glGetActiveAttrib_RETURN void -#define glGetActiveAttrib_ARG_NAMES program, index, bufSize, length, size, type, name -#define glGetActiveAttrib_ARG_EXPAND GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name -#define glGetActiveAttrib_PACKED PACKED_void_GLuint_GLuint_GLsizei_GLsizei___GENPT___GLint___GENPT___GLenum___GENPT___GLchar___GENPT__ -#define glGetActiveAttrib_INDEXED INDEXED_void_GLuint_GLuint_GLsizei_GLsizei___GENPT___GLint___GENPT___GLenum___GENPT___GLchar___GENPT__ -#define glGetActiveAttrib_FORMAT FORMAT_void_GLuint_GLuint_GLsizei_GLsizei___GENPT___GLint___GENPT___GLenum___GENPT___GLchar___GENPT__ -#define glGetActiveUniform_INDEX 56 -#define glGetActiveUniform_RETURN void -#define glGetActiveUniform_ARG_NAMES program, index, bufSize, length, size, type, name -#define glGetActiveUniform_ARG_EXPAND GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * name -#define glGetActiveUniform_PACKED PACKED_void_GLuint_GLuint_GLsizei_GLsizei___GENPT___GLint___GENPT___GLenum___GENPT___GLchar___GENPT__ -#define glGetActiveUniform_INDEXED INDEXED_void_GLuint_GLuint_GLsizei_GLsizei___GENPT___GLint___GENPT___GLenum___GENPT___GLchar___GENPT__ -#define glGetActiveUniform_FORMAT FORMAT_void_GLuint_GLuint_GLsizei_GLsizei___GENPT___GLint___GENPT___GLenum___GENPT___GLchar___GENPT__ -#define glGetAttachedShaders_INDEX 57 -#define glGetAttachedShaders_RETURN void -#define glGetAttachedShaders_ARG_NAMES program, maxCount, count, obj -#define glGetAttachedShaders_ARG_EXPAND GLuint program, GLsizei maxCount, GLsizei * count, GLuint * obj -#define glGetAttachedShaders_PACKED PACKED_void_GLuint_GLsizei_GLsizei___GENPT___GLuint___GENPT__ -#define glGetAttachedShaders_INDEXED INDEXED_void_GLuint_GLsizei_GLsizei___GENPT___GLuint___GENPT__ -#define glGetAttachedShaders_FORMAT FORMAT_void_GLuint_GLsizei_GLsizei___GENPT___GLuint___GENPT__ -#define glGetAttribLocation_INDEX 58 -#define glGetAttribLocation_RETURN GLint -#define glGetAttribLocation_ARG_NAMES program, name -#define glGetAttribLocation_ARG_EXPAND GLuint program, const GLchar * name -#define glGetAttribLocation_PACKED PACKED_GLint_GLuint_const_GLchar___GENPT__ -#define glGetAttribLocation_INDEXED INDEXED_GLint_GLuint_const_GLchar___GENPT__ -#define glGetAttribLocation_FORMAT FORMAT_GLint_GLuint_const_GLchar___GENPT__ -#define glGetBooleanv_INDEX 59 -#define glGetBooleanv_RETURN void -#define glGetBooleanv_ARG_NAMES pname, params -#define glGetBooleanv_ARG_EXPAND GLenum pname, GLboolean * params -#define glGetBooleanv_PACKED PACKED_void_GLenum_GLboolean___GENPT__ -#define glGetBooleanv_INDEXED INDEXED_void_GLenum_GLboolean___GENPT__ -#define glGetBooleanv_FORMAT FORMAT_void_GLenum_GLboolean___GENPT__ -#define glGetBufferParameteriv_INDEX 60 -#define glGetBufferParameteriv_RETURN void -#define glGetBufferParameteriv_ARG_NAMES target, pname, params -#define glGetBufferParameteriv_ARG_EXPAND GLenum target, GLenum pname, GLint * params -#define glGetBufferParameteriv_PACKED PACKED_void_GLenum_GLenum_GLint___GENPT__ -#define glGetBufferParameteriv_INDEXED INDEXED_void_GLenum_GLenum_GLint___GENPT__ -#define glGetBufferParameteriv_FORMAT FORMAT_void_GLenum_GLenum_GLint___GENPT__ -#define glGetError_INDEX 61 -#define glGetError_RETURN GLenum -#define glGetError_ARG_NAMES -#define glGetError_ARG_EXPAND -#define glGetError_PACKED PACKED_GLenum -#define glGetError_INDEXED INDEXED_GLenum -#define glGetError_FORMAT FORMAT_GLenum -#define glGetFloatv_INDEX 62 -#define glGetFloatv_RETURN void -#define glGetFloatv_ARG_NAMES pname, params -#define glGetFloatv_ARG_EXPAND GLenum pname, GLfloat * params -#define glGetFloatv_PACKED PACKED_void_GLenum_GLfloat___GENPT__ -#define glGetFloatv_INDEXED INDEXED_void_GLenum_GLfloat___GENPT__ -#define glGetFloatv_FORMAT FORMAT_void_GLenum_GLfloat___GENPT__ -#define glGetFramebufferAttachmentParameteriv_INDEX 63 -#define glGetFramebufferAttachmentParameteriv_RETURN void -#define glGetFramebufferAttachmentParameteriv_ARG_NAMES target, attachment, pname, params -#define glGetFramebufferAttachmentParameteriv_ARG_EXPAND GLenum target, GLenum attachment, GLenum pname, GLint * params -#define glGetFramebufferAttachmentParameteriv_PACKED PACKED_void_GLenum_GLenum_GLenum_GLint___GENPT__ -#define glGetFramebufferAttachmentParameteriv_INDEXED INDEXED_void_GLenum_GLenum_GLenum_GLint___GENPT__ -#define glGetFramebufferAttachmentParameteriv_FORMAT FORMAT_void_GLenum_GLenum_GLenum_GLint___GENPT__ -#define glGetIntegerv_INDEX 64 -#define glGetIntegerv_RETURN void -#define glGetIntegerv_ARG_NAMES pname, params -#define glGetIntegerv_ARG_EXPAND GLenum pname, GLint * params -#define glGetIntegerv_PACKED PACKED_void_GLenum_GLint___GENPT__ -#define glGetIntegerv_INDEXED INDEXED_void_GLenum_GLint___GENPT__ -#define glGetIntegerv_FORMAT FORMAT_void_GLenum_GLint___GENPT__ -#define glGetProgramInfoLog_INDEX 65 -#define glGetProgramInfoLog_RETURN void -#define glGetProgramInfoLog_ARG_NAMES program, bufSize, length, infoLog -#define glGetProgramInfoLog_ARG_EXPAND GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLog -#define glGetProgramInfoLog_PACKED PACKED_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__ -#define glGetProgramInfoLog_INDEXED INDEXED_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__ -#define glGetProgramInfoLog_FORMAT FORMAT_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__ -#define glGetProgramiv_INDEX 66 -#define glGetProgramiv_RETURN void -#define glGetProgramiv_ARG_NAMES program, pname, params -#define glGetProgramiv_ARG_EXPAND GLuint program, GLenum pname, GLint * params -#define glGetProgramiv_PACKED PACKED_void_GLuint_GLenum_GLint___GENPT__ -#define glGetProgramiv_INDEXED INDEXED_void_GLuint_GLenum_GLint___GENPT__ -#define glGetProgramiv_FORMAT FORMAT_void_GLuint_GLenum_GLint___GENPT__ -#define glGetRenderbufferParameteriv_INDEX 67 -#define glGetRenderbufferParameteriv_RETURN void -#define glGetRenderbufferParameteriv_ARG_NAMES target, pname, params -#define glGetRenderbufferParameteriv_ARG_EXPAND GLenum target, GLenum pname, GLint * params -#define glGetRenderbufferParameteriv_PACKED PACKED_void_GLenum_GLenum_GLint___GENPT__ -#define glGetRenderbufferParameteriv_INDEXED INDEXED_void_GLenum_GLenum_GLint___GENPT__ -#define glGetRenderbufferParameteriv_FORMAT FORMAT_void_GLenum_GLenum_GLint___GENPT__ -#define glGetShaderInfoLog_INDEX 68 -#define glGetShaderInfoLog_RETURN void -#define glGetShaderInfoLog_ARG_NAMES shader, bufSize, length, infoLog -#define glGetShaderInfoLog_ARG_EXPAND GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * infoLog -#define glGetShaderInfoLog_PACKED PACKED_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__ -#define glGetShaderInfoLog_INDEXED INDEXED_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__ -#define glGetShaderInfoLog_FORMAT FORMAT_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__ -#define glGetShaderPrecisionFormat_INDEX 69 -#define glGetShaderPrecisionFormat_RETURN void -#define glGetShaderPrecisionFormat_ARG_NAMES shadertype, precisiontype, range, precision -#define glGetShaderPrecisionFormat_ARG_EXPAND GLenum shadertype, GLenum precisiontype, GLint * range, GLint * precision -#define glGetShaderPrecisionFormat_PACKED PACKED_void_GLenum_GLenum_GLint___GENPT___GLint___GENPT__ -#define glGetShaderPrecisionFormat_INDEXED INDEXED_void_GLenum_GLenum_GLint___GENPT___GLint___GENPT__ -#define glGetShaderPrecisionFormat_FORMAT FORMAT_void_GLenum_GLenum_GLint___GENPT___GLint___GENPT__ -#define glGetShaderSource_INDEX 70 -#define glGetShaderSource_RETURN void -#define glGetShaderSource_ARG_NAMES shader, bufSize, length, source -#define glGetShaderSource_ARG_EXPAND GLuint shader, GLsizei bufSize, GLsizei * length, GLchar * source -#define glGetShaderSource_PACKED PACKED_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__ -#define glGetShaderSource_INDEXED INDEXED_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__ -#define glGetShaderSource_FORMAT FORMAT_void_GLuint_GLsizei_GLsizei___GENPT___GLchar___GENPT__ -#define glGetShaderiv_INDEX 71 -#define glGetShaderiv_RETURN void -#define glGetShaderiv_ARG_NAMES shader, pname, params -#define glGetShaderiv_ARG_EXPAND GLuint shader, GLenum pname, GLint * params -#define glGetShaderiv_PACKED PACKED_void_GLuint_GLenum_GLint___GENPT__ -#define glGetShaderiv_INDEXED INDEXED_void_GLuint_GLenum_GLint___GENPT__ -#define glGetShaderiv_FORMAT FORMAT_void_GLuint_GLenum_GLint___GENPT__ -#define glGetString_INDEX 72 -#define glGetString_RETURN const GLubyte * -#define glGetString_ARG_NAMES name -#define glGetString_ARG_EXPAND GLenum name -#define glGetString_PACKED PACKED_const_GLubyte___GENPT___GLenum -#define glGetString_INDEXED INDEXED_const_GLubyte___GENPT___GLenum -#define glGetString_FORMAT FORMAT_const_GLubyte___GENPT___GLenum -#define glGetTexParameterfv_INDEX 73 -#define glGetTexParameterfv_RETURN void -#define glGetTexParameterfv_ARG_NAMES target, pname, params -#define glGetTexParameterfv_ARG_EXPAND GLenum target, GLenum pname, GLfloat * params -#define glGetTexParameterfv_PACKED PACKED_void_GLenum_GLenum_GLfloat___GENPT__ -#define glGetTexParameterfv_INDEXED INDEXED_void_GLenum_GLenum_GLfloat___GENPT__ -#define glGetTexParameterfv_FORMAT FORMAT_void_GLenum_GLenum_GLfloat___GENPT__ -#define glGetTexParameteriv_INDEX 74 -#define glGetTexParameteriv_RETURN void -#define glGetTexParameteriv_ARG_NAMES target, pname, params -#define glGetTexParameteriv_ARG_EXPAND GLenum target, GLenum pname, GLint * params -#define glGetTexParameteriv_PACKED PACKED_void_GLenum_GLenum_GLint___GENPT__ -#define glGetTexParameteriv_INDEXED INDEXED_void_GLenum_GLenum_GLint___GENPT__ -#define glGetTexParameteriv_FORMAT FORMAT_void_GLenum_GLenum_GLint___GENPT__ -#define glGetUniformLocation_INDEX 75 -#define glGetUniformLocation_RETURN GLint -#define glGetUniformLocation_ARG_NAMES program, name -#define glGetUniformLocation_ARG_EXPAND GLuint program, const GLchar * name -#define glGetUniformLocation_PACKED PACKED_GLint_GLuint_const_GLchar___GENPT__ -#define glGetUniformLocation_INDEXED INDEXED_GLint_GLuint_const_GLchar___GENPT__ -#define glGetUniformLocation_FORMAT FORMAT_GLint_GLuint_const_GLchar___GENPT__ -#define glGetUniformfv_INDEX 76 -#define glGetUniformfv_RETURN void -#define glGetUniformfv_ARG_NAMES program, location, params -#define glGetUniformfv_ARG_EXPAND GLuint program, GLint location, GLfloat * params -#define glGetUniformfv_PACKED PACKED_void_GLuint_GLint_GLfloat___GENPT__ -#define glGetUniformfv_INDEXED INDEXED_void_GLuint_GLint_GLfloat___GENPT__ -#define glGetUniformfv_FORMAT FORMAT_void_GLuint_GLint_GLfloat___GENPT__ -#define glGetUniformiv_INDEX 77 -#define glGetUniformiv_RETURN void -#define glGetUniformiv_ARG_NAMES program, location, params -#define glGetUniformiv_ARG_EXPAND GLuint program, GLint location, GLint * params -#define glGetUniformiv_PACKED PACKED_void_GLuint_GLint_GLint___GENPT__ -#define glGetUniformiv_INDEXED INDEXED_void_GLuint_GLint_GLint___GENPT__ -#define glGetUniformiv_FORMAT FORMAT_void_GLuint_GLint_GLint___GENPT__ -#define glGetVertexAttribPointerv_INDEX 78 -#define glGetVertexAttribPointerv_RETURN void -#define glGetVertexAttribPointerv_ARG_NAMES index, pname, pointer -#define glGetVertexAttribPointerv_ARG_EXPAND GLuint index, GLenum pname, GLvoid ** pointer -#define glGetVertexAttribPointerv_PACKED PACKED_void_GLuint_GLenum_GLvoid___GENPT____GENPT__ -#define glGetVertexAttribPointerv_INDEXED INDEXED_void_GLuint_GLenum_GLvoid___GENPT____GENPT__ -#define glGetVertexAttribPointerv_FORMAT FORMAT_void_GLuint_GLenum_GLvoid___GENPT____GENPT__ -#define glGetVertexAttribfv_INDEX 79 -#define glGetVertexAttribfv_RETURN void -#define glGetVertexAttribfv_ARG_NAMES index, pname, params -#define glGetVertexAttribfv_ARG_EXPAND GLuint index, GLenum pname, GLfloat * params -#define glGetVertexAttribfv_PACKED PACKED_void_GLuint_GLenum_GLfloat___GENPT__ -#define glGetVertexAttribfv_INDEXED INDEXED_void_GLuint_GLenum_GLfloat___GENPT__ -#define glGetVertexAttribfv_FORMAT FORMAT_void_GLuint_GLenum_GLfloat___GENPT__ -#define glGetVertexAttribiv_INDEX 80 -#define glGetVertexAttribiv_RETURN void -#define glGetVertexAttribiv_ARG_NAMES index, pname, params -#define glGetVertexAttribiv_ARG_EXPAND GLuint index, GLenum pname, GLint * params -#define glGetVertexAttribiv_PACKED PACKED_void_GLuint_GLenum_GLint___GENPT__ -#define glGetVertexAttribiv_INDEXED INDEXED_void_GLuint_GLenum_GLint___GENPT__ -#define glGetVertexAttribiv_FORMAT FORMAT_void_GLuint_GLenum_GLint___GENPT__ -#define glHint_INDEX 81 -#define glHint_RETURN void -#define glHint_ARG_NAMES target, mode -#define glHint_ARG_EXPAND GLenum target, GLenum mode -#define glHint_PACKED PACKED_void_GLenum_GLenum -#define glHint_INDEXED INDEXED_void_GLenum_GLenum -#define glHint_FORMAT FORMAT_void_GLenum_GLenum -#define glIsBuffer_INDEX 82 -#define glIsBuffer_RETURN GLboolean -#define glIsBuffer_ARG_NAMES buffer -#define glIsBuffer_ARG_EXPAND GLuint buffer -#define glIsBuffer_PACKED PACKED_GLboolean_GLuint -#define glIsBuffer_INDEXED INDEXED_GLboolean_GLuint -#define glIsBuffer_FORMAT FORMAT_GLboolean_GLuint -#define glIsEnabled_INDEX 83 -#define glIsEnabled_RETURN GLboolean -#define glIsEnabled_ARG_NAMES cap -#define glIsEnabled_ARG_EXPAND GLenum cap -#define glIsEnabled_PACKED PACKED_GLboolean_GLenum -#define glIsEnabled_INDEXED INDEXED_GLboolean_GLenum -#define glIsEnabled_FORMAT FORMAT_GLboolean_GLenum -#define glIsFramebuffer_INDEX 84 -#define glIsFramebuffer_RETURN GLboolean -#define glIsFramebuffer_ARG_NAMES framebuffer -#define glIsFramebuffer_ARG_EXPAND GLuint framebuffer -#define glIsFramebuffer_PACKED PACKED_GLboolean_GLuint -#define glIsFramebuffer_INDEXED INDEXED_GLboolean_GLuint -#define glIsFramebuffer_FORMAT FORMAT_GLboolean_GLuint -#define glIsProgram_INDEX 85 -#define glIsProgram_RETURN GLboolean -#define glIsProgram_ARG_NAMES program -#define glIsProgram_ARG_EXPAND GLuint program -#define glIsProgram_PACKED PACKED_GLboolean_GLuint -#define glIsProgram_INDEXED INDEXED_GLboolean_GLuint -#define glIsProgram_FORMAT FORMAT_GLboolean_GLuint -#define glIsRenderbuffer_INDEX 86 -#define glIsRenderbuffer_RETURN GLboolean -#define glIsRenderbuffer_ARG_NAMES renderbuffer -#define glIsRenderbuffer_ARG_EXPAND GLuint renderbuffer -#define glIsRenderbuffer_PACKED PACKED_GLboolean_GLuint -#define glIsRenderbuffer_INDEXED INDEXED_GLboolean_GLuint -#define glIsRenderbuffer_FORMAT FORMAT_GLboolean_GLuint -#define glIsShader_INDEX 87 -#define glIsShader_RETURN GLboolean -#define glIsShader_ARG_NAMES shader -#define glIsShader_ARG_EXPAND GLuint shader -#define glIsShader_PACKED PACKED_GLboolean_GLuint -#define glIsShader_INDEXED INDEXED_GLboolean_GLuint -#define glIsShader_FORMAT FORMAT_GLboolean_GLuint -#define glIsTexture_INDEX 88 -#define glIsTexture_RETURN GLboolean -#define glIsTexture_ARG_NAMES texture -#define glIsTexture_ARG_EXPAND GLuint texture -#define glIsTexture_PACKED PACKED_GLboolean_GLuint -#define glIsTexture_INDEXED INDEXED_GLboolean_GLuint -#define glIsTexture_FORMAT FORMAT_GLboolean_GLuint -#define glLineWidth_INDEX 89 -#define glLineWidth_RETURN void -#define glLineWidth_ARG_NAMES width -#define glLineWidth_ARG_EXPAND GLfloat width -#define glLineWidth_PACKED PACKED_void_GLfloat -#define glLineWidth_INDEXED INDEXED_void_GLfloat -#define glLineWidth_FORMAT FORMAT_void_GLfloat -#define glLinkProgram_INDEX 90 -#define glLinkProgram_RETURN void -#define glLinkProgram_ARG_NAMES program -#define glLinkProgram_ARG_EXPAND GLuint program -#define glLinkProgram_PACKED PACKED_void_GLuint -#define glLinkProgram_INDEXED INDEXED_void_GLuint -#define glLinkProgram_FORMAT FORMAT_void_GLuint -#define glPixelStorei_INDEX 91 -#define glPixelStorei_RETURN void -#define glPixelStorei_ARG_NAMES pname, param -#define glPixelStorei_ARG_EXPAND GLenum pname, GLint param -#define glPixelStorei_PACKED PACKED_void_GLenum_GLint -#define glPixelStorei_INDEXED INDEXED_void_GLenum_GLint -#define glPixelStorei_FORMAT FORMAT_void_GLenum_GLint -#define glPolygonOffset_INDEX 92 -#define glPolygonOffset_RETURN void -#define glPolygonOffset_ARG_NAMES factor, units -#define glPolygonOffset_ARG_EXPAND GLfloat factor, GLfloat units -#define glPolygonOffset_PACKED PACKED_void_GLfloat_GLfloat -#define glPolygonOffset_INDEXED INDEXED_void_GLfloat_GLfloat -#define glPolygonOffset_FORMAT FORMAT_void_GLfloat_GLfloat -#define glReadPixels_INDEX 93 -#define glReadPixels_RETURN void -#define glReadPixels_ARG_NAMES x, y, width, height, format, type, pixels -#define glReadPixels_ARG_EXPAND GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels -#define glReadPixels_PACKED PACKED_void_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_GLvoid___GENPT__ -#define glReadPixels_INDEXED INDEXED_void_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_GLvoid___GENPT__ -#define glReadPixels_FORMAT FORMAT_void_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_GLvoid___GENPT__ -#define glReleaseShaderCompiler_INDEX 94 -#define glReleaseShaderCompiler_RETURN void -#define glReleaseShaderCompiler_ARG_NAMES -#define glReleaseShaderCompiler_ARG_EXPAND -#define glReleaseShaderCompiler_PACKED PACKED_void -#define glReleaseShaderCompiler_INDEXED INDEXED_void -#define glReleaseShaderCompiler_FORMAT FORMAT_void -#define glRenderbufferStorage_INDEX 95 -#define glRenderbufferStorage_RETURN void -#define glRenderbufferStorage_ARG_NAMES target, internalformat, width, height -#define glRenderbufferStorage_ARG_EXPAND GLenum target, GLenum internalformat, GLsizei width, GLsizei height -#define glRenderbufferStorage_PACKED PACKED_void_GLenum_GLenum_GLsizei_GLsizei -#define glRenderbufferStorage_INDEXED INDEXED_void_GLenum_GLenum_GLsizei_GLsizei -#define glRenderbufferStorage_FORMAT FORMAT_void_GLenum_GLenum_GLsizei_GLsizei -#define glSampleCoverage_INDEX 96 -#define glSampleCoverage_RETURN void -#define glSampleCoverage_ARG_NAMES value, invert -#define glSampleCoverage_ARG_EXPAND GLclampf value, GLboolean invert -#define glSampleCoverage_PACKED PACKED_void_GLclampf_GLboolean -#define glSampleCoverage_INDEXED INDEXED_void_GLclampf_GLboolean -#define glSampleCoverage_FORMAT FORMAT_void_GLclampf_GLboolean -#define glScissor_INDEX 97 -#define glScissor_RETURN void -#define glScissor_ARG_NAMES x, y, width, height -#define glScissor_ARG_EXPAND GLint x, GLint y, GLsizei width, GLsizei height -#define glScissor_PACKED PACKED_void_GLint_GLint_GLsizei_GLsizei -#define glScissor_INDEXED INDEXED_void_GLint_GLint_GLsizei_GLsizei -#define glScissor_FORMAT FORMAT_void_GLint_GLint_GLsizei_GLsizei -#define glShaderBinary_INDEX 98 -#define glShaderBinary_RETURN void -#define glShaderBinary_ARG_NAMES n, shaders, binaryformat, binary, length -#define glShaderBinary_ARG_EXPAND GLsizei n, const GLuint * shaders, GLenum binaryformat, const GLvoid * binary, GLsizei length -#define glShaderBinary_PACKED PACKED_void_GLsizei_const_GLuint___GENPT___GLenum_const_GLvoid___GENPT___GLsizei -#define glShaderBinary_INDEXED INDEXED_void_GLsizei_const_GLuint___GENPT___GLenum_const_GLvoid___GENPT___GLsizei -#define glShaderBinary_FORMAT FORMAT_void_GLsizei_const_GLuint___GENPT___GLenum_const_GLvoid___GENPT___GLsizei -#define glShaderSource_INDEX 99 -#define glShaderSource_RETURN void -#define glShaderSource_ARG_NAMES shader, count, string, length -#define glShaderSource_ARG_EXPAND GLuint shader, GLsizei count, const GLchar * const * string, const GLint * length -#define glShaderSource_PACKED PACKED_void_GLuint_GLsizei_const_GLchar___GENPT___const___GENPT___const_GLint___GENPT__ -#define glShaderSource_INDEXED INDEXED_void_GLuint_GLsizei_const_GLchar___GENPT___const___GENPT___const_GLint___GENPT__ -#define glShaderSource_FORMAT FORMAT_void_GLuint_GLsizei_const_GLchar___GENPT___const___GENPT___const_GLint___GENPT__ -#define glStencilFunc_INDEX 100 -#define glStencilFunc_RETURN void -#define glStencilFunc_ARG_NAMES func, ref, mask -#define glStencilFunc_ARG_EXPAND GLenum func, GLint ref, GLuint mask -#define glStencilFunc_PACKED PACKED_void_GLenum_GLint_GLuint -#define glStencilFunc_INDEXED INDEXED_void_GLenum_GLint_GLuint -#define glStencilFunc_FORMAT FORMAT_void_GLenum_GLint_GLuint -#define glStencilFuncSeparate_INDEX 101 -#define glStencilFuncSeparate_RETURN void -#define glStencilFuncSeparate_ARG_NAMES face, func, ref, mask -#define glStencilFuncSeparate_ARG_EXPAND GLenum face, GLenum func, GLint ref, GLuint mask -#define glStencilFuncSeparate_PACKED PACKED_void_GLenum_GLenum_GLint_GLuint -#define glStencilFuncSeparate_INDEXED INDEXED_void_GLenum_GLenum_GLint_GLuint -#define glStencilFuncSeparate_FORMAT FORMAT_void_GLenum_GLenum_GLint_GLuint -#define glStencilMask_INDEX 102 -#define glStencilMask_RETURN void -#define glStencilMask_ARG_NAMES mask -#define glStencilMask_ARG_EXPAND GLuint mask -#define glStencilMask_PACKED PACKED_void_GLuint -#define glStencilMask_INDEXED INDEXED_void_GLuint -#define glStencilMask_FORMAT FORMAT_void_GLuint -#define glStencilMaskSeparate_INDEX 103 -#define glStencilMaskSeparate_RETURN void -#define glStencilMaskSeparate_ARG_NAMES face, mask -#define glStencilMaskSeparate_ARG_EXPAND GLenum face, GLuint mask -#define glStencilMaskSeparate_PACKED PACKED_void_GLenum_GLuint -#define glStencilMaskSeparate_INDEXED INDEXED_void_GLenum_GLuint -#define glStencilMaskSeparate_FORMAT FORMAT_void_GLenum_GLuint -#define glStencilOp_INDEX 104 -#define glStencilOp_RETURN void -#define glStencilOp_ARG_NAMES fail, zfail, zpass -#define glStencilOp_ARG_EXPAND GLenum fail, GLenum zfail, GLenum zpass -#define glStencilOp_PACKED PACKED_void_GLenum_GLenum_GLenum -#define glStencilOp_INDEXED INDEXED_void_GLenum_GLenum_GLenum -#define glStencilOp_FORMAT FORMAT_void_GLenum_GLenum_GLenum -#define glStencilOpSeparate_INDEX 105 -#define glStencilOpSeparate_RETURN void -#define glStencilOpSeparate_ARG_NAMES face, sfail, zfail, zpass -#define glStencilOpSeparate_ARG_EXPAND GLenum face, GLenum sfail, GLenum zfail, GLenum zpass -#define glStencilOpSeparate_PACKED PACKED_void_GLenum_GLenum_GLenum_GLenum -#define glStencilOpSeparate_INDEXED INDEXED_void_GLenum_GLenum_GLenum_GLenum -#define glStencilOpSeparate_FORMAT FORMAT_void_GLenum_GLenum_GLenum_GLenum -#define glTexImage2D_INDEX 106 -#define glTexImage2D_RETURN void -#define glTexImage2D_ARG_NAMES target, level, internalformat, width, height, border, format, type, pixels -#define glTexImage2D_ARG_EXPAND GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels -#define glTexImage2D_PACKED PACKED_void_GLenum_GLint_GLint_GLsizei_GLsizei_GLint_GLenum_GLenum_const_GLvoid___GENPT__ -#define glTexImage2D_INDEXED INDEXED_void_GLenum_GLint_GLint_GLsizei_GLsizei_GLint_GLenum_GLenum_const_GLvoid___GENPT__ -#define glTexImage2D_FORMAT FORMAT_void_GLenum_GLint_GLint_GLsizei_GLsizei_GLint_GLenum_GLenum_const_GLvoid___GENPT__ -#define glTexParameterf_INDEX 107 -#define glTexParameterf_RETURN void -#define glTexParameterf_ARG_NAMES target, pname, param -#define glTexParameterf_ARG_EXPAND GLenum target, GLenum pname, GLfloat param -#define glTexParameterf_PACKED PACKED_void_GLenum_GLenum_GLfloat -#define glTexParameterf_INDEXED INDEXED_void_GLenum_GLenum_GLfloat -#define glTexParameterf_FORMAT FORMAT_void_GLenum_GLenum_GLfloat -#define glTexParameterfv_INDEX 108 -#define glTexParameterfv_RETURN void -#define glTexParameterfv_ARG_NAMES target, pname, params -#define glTexParameterfv_ARG_EXPAND GLenum target, GLenum pname, const GLfloat * params -#define glTexParameterfv_PACKED PACKED_void_GLenum_GLenum_const_GLfloat___GENPT__ -#define glTexParameterfv_INDEXED INDEXED_void_GLenum_GLenum_const_GLfloat___GENPT__ -#define glTexParameterfv_FORMAT FORMAT_void_GLenum_GLenum_const_GLfloat___GENPT__ -#define glTexParameteri_INDEX 109 -#define glTexParameteri_RETURN void -#define glTexParameteri_ARG_NAMES target, pname, param -#define glTexParameteri_ARG_EXPAND GLenum target, GLenum pname, GLint param -#define glTexParameteri_PACKED PACKED_void_GLenum_GLenum_GLint -#define glTexParameteri_INDEXED INDEXED_void_GLenum_GLenum_GLint -#define glTexParameteri_FORMAT FORMAT_void_GLenum_GLenum_GLint -#define glTexParameteriv_INDEX 110 -#define glTexParameteriv_RETURN void -#define glTexParameteriv_ARG_NAMES target, pname, params -#define glTexParameteriv_ARG_EXPAND GLenum target, GLenum pname, const GLint * params -#define glTexParameteriv_PACKED PACKED_void_GLenum_GLenum_const_GLint___GENPT__ -#define glTexParameteriv_INDEXED INDEXED_void_GLenum_GLenum_const_GLint___GENPT__ -#define glTexParameteriv_FORMAT FORMAT_void_GLenum_GLenum_const_GLint___GENPT__ -#define glTexSubImage2D_INDEX 111 -#define glTexSubImage2D_RETURN void -#define glTexSubImage2D_ARG_NAMES target, level, xoffset, yoffset, width, height, format, type, pixels -#define glTexSubImage2D_ARG_EXPAND GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels -#define glTexSubImage2D_PACKED PACKED_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_const_GLvoid___GENPT__ -#define glTexSubImage2D_INDEXED INDEXED_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_const_GLvoid___GENPT__ -#define glTexSubImage2D_FORMAT FORMAT_void_GLenum_GLint_GLint_GLint_GLsizei_GLsizei_GLenum_GLenum_const_GLvoid___GENPT__ -#define glUniform1f_INDEX 112 -#define glUniform1f_RETURN void -#define glUniform1f_ARG_NAMES location, v0 -#define glUniform1f_ARG_EXPAND GLint location, GLfloat v0 -#define glUniform1f_PACKED PACKED_void_GLint_GLfloat -#define glUniform1f_INDEXED INDEXED_void_GLint_GLfloat -#define glUniform1f_FORMAT FORMAT_void_GLint_GLfloat -#define glUniform1fv_INDEX 113 -#define glUniform1fv_RETURN void -#define glUniform1fv_ARG_NAMES location, count, value -#define glUniform1fv_ARG_EXPAND GLint location, GLsizei count, const GLfloat * value -#define glUniform1fv_PACKED PACKED_void_GLint_GLsizei_const_GLfloat___GENPT__ -#define glUniform1fv_INDEXED INDEXED_void_GLint_GLsizei_const_GLfloat___GENPT__ -#define glUniform1fv_FORMAT FORMAT_void_GLint_GLsizei_const_GLfloat___GENPT__ -#define glUniform1i_INDEX 114 -#define glUniform1i_RETURN void -#define glUniform1i_ARG_NAMES location, v0 -#define glUniform1i_ARG_EXPAND GLint location, GLint v0 -#define glUniform1i_PACKED PACKED_void_GLint_GLint -#define glUniform1i_INDEXED INDEXED_void_GLint_GLint -#define glUniform1i_FORMAT FORMAT_void_GLint_GLint -#define glUniform1iv_INDEX 115 -#define glUniform1iv_RETURN void -#define glUniform1iv_ARG_NAMES location, count, value -#define glUniform1iv_ARG_EXPAND GLint location, GLsizei count, const GLint * value -#define glUniform1iv_PACKED PACKED_void_GLint_GLsizei_const_GLint___GENPT__ -#define glUniform1iv_INDEXED INDEXED_void_GLint_GLsizei_const_GLint___GENPT__ -#define glUniform1iv_FORMAT FORMAT_void_GLint_GLsizei_const_GLint___GENPT__ -#define glUniform2f_INDEX 116 -#define glUniform2f_RETURN void -#define glUniform2f_ARG_NAMES location, v0, v1 -#define glUniform2f_ARG_EXPAND GLint location, GLfloat v0, GLfloat v1 -#define glUniform2f_PACKED PACKED_void_GLint_GLfloat_GLfloat -#define glUniform2f_INDEXED INDEXED_void_GLint_GLfloat_GLfloat -#define glUniform2f_FORMAT FORMAT_void_GLint_GLfloat_GLfloat -#define glUniform2fv_INDEX 117 -#define glUniform2fv_RETURN void -#define glUniform2fv_ARG_NAMES location, count, value -#define glUniform2fv_ARG_EXPAND GLint location, GLsizei count, const GLfloat * value -#define glUniform2fv_PACKED PACKED_void_GLint_GLsizei_const_GLfloat___GENPT__ -#define glUniform2fv_INDEXED INDEXED_void_GLint_GLsizei_const_GLfloat___GENPT__ -#define glUniform2fv_FORMAT FORMAT_void_GLint_GLsizei_const_GLfloat___GENPT__ -#define glUniform2i_INDEX 118 -#define glUniform2i_RETURN void -#define glUniform2i_ARG_NAMES location, v0, v1 -#define glUniform2i_ARG_EXPAND GLint location, GLint v0, GLint v1 -#define glUniform2i_PACKED PACKED_void_GLint_GLint_GLint -#define glUniform2i_INDEXED INDEXED_void_GLint_GLint_GLint -#define glUniform2i_FORMAT FORMAT_void_GLint_GLint_GLint -#define glUniform2iv_INDEX 119 -#define glUniform2iv_RETURN void -#define glUniform2iv_ARG_NAMES location, count, value -#define glUniform2iv_ARG_EXPAND GLint location, GLsizei count, const GLint * value -#define glUniform2iv_PACKED PACKED_void_GLint_GLsizei_const_GLint___GENPT__ -#define glUniform2iv_INDEXED INDEXED_void_GLint_GLsizei_const_GLint___GENPT__ -#define glUniform2iv_FORMAT FORMAT_void_GLint_GLsizei_const_GLint___GENPT__ -#define glUniform3f_INDEX 120 -#define glUniform3f_RETURN void -#define glUniform3f_ARG_NAMES location, v0, v1, v2 -#define glUniform3f_ARG_EXPAND GLint location, GLfloat v0, GLfloat v1, GLfloat v2 -#define glUniform3f_PACKED PACKED_void_GLint_GLfloat_GLfloat_GLfloat -#define glUniform3f_INDEXED INDEXED_void_GLint_GLfloat_GLfloat_GLfloat -#define glUniform3f_FORMAT FORMAT_void_GLint_GLfloat_GLfloat_GLfloat -#define glUniform3fv_INDEX 121 -#define glUniform3fv_RETURN void -#define glUniform3fv_ARG_NAMES location, count, value -#define glUniform3fv_ARG_EXPAND GLint location, GLsizei count, const GLfloat * value -#define glUniform3fv_PACKED PACKED_void_GLint_GLsizei_const_GLfloat___GENPT__ -#define glUniform3fv_INDEXED INDEXED_void_GLint_GLsizei_const_GLfloat___GENPT__ -#define glUniform3fv_FORMAT FORMAT_void_GLint_GLsizei_const_GLfloat___GENPT__ -#define glUniform3i_INDEX 122 -#define glUniform3i_RETURN void -#define glUniform3i_ARG_NAMES location, v0, v1, v2 -#define glUniform3i_ARG_EXPAND GLint location, GLint v0, GLint v1, GLint v2 -#define glUniform3i_PACKED PACKED_void_GLint_GLint_GLint_GLint -#define glUniform3i_INDEXED INDEXED_void_GLint_GLint_GLint_GLint -#define glUniform3i_FORMAT FORMAT_void_GLint_GLint_GLint_GLint -#define glUniform3iv_INDEX 123 -#define glUniform3iv_RETURN void -#define glUniform3iv_ARG_NAMES location, count, value -#define glUniform3iv_ARG_EXPAND GLint location, GLsizei count, const GLint * value -#define glUniform3iv_PACKED PACKED_void_GLint_GLsizei_const_GLint___GENPT__ -#define glUniform3iv_INDEXED INDEXED_void_GLint_GLsizei_const_GLint___GENPT__ -#define glUniform3iv_FORMAT FORMAT_void_GLint_GLsizei_const_GLint___GENPT__ -#define glUniform4f_INDEX 124 -#define glUniform4f_RETURN void -#define glUniform4f_ARG_NAMES location, v0, v1, v2, v3 -#define glUniform4f_ARG_EXPAND GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3 -#define glUniform4f_PACKED PACKED_void_GLint_GLfloat_GLfloat_GLfloat_GLfloat -#define glUniform4f_INDEXED INDEXED_void_GLint_GLfloat_GLfloat_GLfloat_GLfloat -#define glUniform4f_FORMAT FORMAT_void_GLint_GLfloat_GLfloat_GLfloat_GLfloat -#define glUniform4fv_INDEX 125 -#define glUniform4fv_RETURN void -#define glUniform4fv_ARG_NAMES location, count, value -#define glUniform4fv_ARG_EXPAND GLint location, GLsizei count, const GLfloat * value -#define glUniform4fv_PACKED PACKED_void_GLint_GLsizei_const_GLfloat___GENPT__ -#define glUniform4fv_INDEXED INDEXED_void_GLint_GLsizei_const_GLfloat___GENPT__ -#define glUniform4fv_FORMAT FORMAT_void_GLint_GLsizei_const_GLfloat___GENPT__ -#define glUniform4i_INDEX 126 -#define glUniform4i_RETURN void -#define glUniform4i_ARG_NAMES location, v0, v1, v2, v3 -#define glUniform4i_ARG_EXPAND GLint location, GLint v0, GLint v1, GLint v2, GLint v3 -#define glUniform4i_PACKED PACKED_void_GLint_GLint_GLint_GLint_GLint -#define glUniform4i_INDEXED INDEXED_void_GLint_GLint_GLint_GLint_GLint -#define glUniform4i_FORMAT FORMAT_void_GLint_GLint_GLint_GLint_GLint -#define glUniform4iv_INDEX 127 -#define glUniform4iv_RETURN void -#define glUniform4iv_ARG_NAMES location, count, value -#define glUniform4iv_ARG_EXPAND GLint location, GLsizei count, const GLint * value -#define glUniform4iv_PACKED PACKED_void_GLint_GLsizei_const_GLint___GENPT__ -#define glUniform4iv_INDEXED INDEXED_void_GLint_GLsizei_const_GLint___GENPT__ -#define glUniform4iv_FORMAT FORMAT_void_GLint_GLsizei_const_GLint___GENPT__ -#define glUniformMatrix2fv_INDEX 128 -#define glUniformMatrix2fv_RETURN void -#define glUniformMatrix2fv_ARG_NAMES location, count, transpose, value -#define glUniformMatrix2fv_ARG_EXPAND GLint location, GLsizei count, GLboolean transpose, const GLfloat * value -#define glUniformMatrix2fv_PACKED PACKED_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__ -#define glUniformMatrix2fv_INDEXED INDEXED_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__ -#define glUniformMatrix2fv_FORMAT FORMAT_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__ -#define glUniformMatrix3fv_INDEX 129 -#define glUniformMatrix3fv_RETURN void -#define glUniformMatrix3fv_ARG_NAMES location, count, transpose, value -#define glUniformMatrix3fv_ARG_EXPAND GLint location, GLsizei count, GLboolean transpose, const GLfloat * value -#define glUniformMatrix3fv_PACKED PACKED_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__ -#define glUniformMatrix3fv_INDEXED INDEXED_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__ -#define glUniformMatrix3fv_FORMAT FORMAT_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__ -#define glUniformMatrix4fv_INDEX 130 -#define glUniformMatrix4fv_RETURN void -#define glUniformMatrix4fv_ARG_NAMES location, count, transpose, value -#define glUniformMatrix4fv_ARG_EXPAND GLint location, GLsizei count, GLboolean transpose, const GLfloat * value -#define glUniformMatrix4fv_PACKED PACKED_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__ -#define glUniformMatrix4fv_INDEXED INDEXED_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__ -#define glUniformMatrix4fv_FORMAT FORMAT_void_GLint_GLsizei_GLboolean_const_GLfloat___GENPT__ -#define glUseProgram_INDEX 131 -#define glUseProgram_RETURN void -#define glUseProgram_ARG_NAMES program -#define glUseProgram_ARG_EXPAND GLuint program -#define glUseProgram_PACKED PACKED_void_GLuint -#define glUseProgram_INDEXED INDEXED_void_GLuint -#define glUseProgram_FORMAT FORMAT_void_GLuint -#define glValidateProgram_INDEX 132 -#define glValidateProgram_RETURN void -#define glValidateProgram_ARG_NAMES program -#define glValidateProgram_ARG_EXPAND GLuint program -#define glValidateProgram_PACKED PACKED_void_GLuint -#define glValidateProgram_INDEXED INDEXED_void_GLuint -#define glValidateProgram_FORMAT FORMAT_void_GLuint -#define glVertexAttrib1f_INDEX 133 -#define glVertexAttrib1f_RETURN void -#define glVertexAttrib1f_ARG_NAMES index, x -#define glVertexAttrib1f_ARG_EXPAND GLuint index, GLfloat x -#define glVertexAttrib1f_PACKED PACKED_void_GLuint_GLfloat -#define glVertexAttrib1f_INDEXED INDEXED_void_GLuint_GLfloat -#define glVertexAttrib1f_FORMAT FORMAT_void_GLuint_GLfloat -#define glVertexAttrib1fv_INDEX 134 -#define glVertexAttrib1fv_RETURN void -#define glVertexAttrib1fv_ARG_NAMES index, v -#define glVertexAttrib1fv_ARG_EXPAND GLuint index, const GLfloat * v -#define glVertexAttrib1fv_PACKED PACKED_void_GLuint_const_GLfloat___GENPT__ -#define glVertexAttrib1fv_INDEXED INDEXED_void_GLuint_const_GLfloat___GENPT__ -#define glVertexAttrib1fv_FORMAT FORMAT_void_GLuint_const_GLfloat___GENPT__ -#define glVertexAttrib2f_INDEX 135 -#define glVertexAttrib2f_RETURN void -#define glVertexAttrib2f_ARG_NAMES index, x, y -#define glVertexAttrib2f_ARG_EXPAND GLuint index, GLfloat x, GLfloat y -#define glVertexAttrib2f_PACKED PACKED_void_GLuint_GLfloat_GLfloat -#define glVertexAttrib2f_INDEXED INDEXED_void_GLuint_GLfloat_GLfloat -#define glVertexAttrib2f_FORMAT FORMAT_void_GLuint_GLfloat_GLfloat -#define glVertexAttrib2fv_INDEX 136 -#define glVertexAttrib2fv_RETURN void -#define glVertexAttrib2fv_ARG_NAMES index, v -#define glVertexAttrib2fv_ARG_EXPAND GLuint index, const GLfloat * v -#define glVertexAttrib2fv_PACKED PACKED_void_GLuint_const_GLfloat___GENPT__ -#define glVertexAttrib2fv_INDEXED INDEXED_void_GLuint_const_GLfloat___GENPT__ -#define glVertexAttrib2fv_FORMAT FORMAT_void_GLuint_const_GLfloat___GENPT__ -#define glVertexAttrib3f_INDEX 137 -#define glVertexAttrib3f_RETURN void -#define glVertexAttrib3f_ARG_NAMES index, x, y, z -#define glVertexAttrib3f_ARG_EXPAND GLuint index, GLfloat x, GLfloat y, GLfloat z -#define glVertexAttrib3f_PACKED PACKED_void_GLuint_GLfloat_GLfloat_GLfloat -#define glVertexAttrib3f_INDEXED INDEXED_void_GLuint_GLfloat_GLfloat_GLfloat -#define glVertexAttrib3f_FORMAT FORMAT_void_GLuint_GLfloat_GLfloat_GLfloat -#define glVertexAttrib3fv_INDEX 138 -#define glVertexAttrib3fv_RETURN void -#define glVertexAttrib3fv_ARG_NAMES index, v -#define glVertexAttrib3fv_ARG_EXPAND GLuint index, const GLfloat * v -#define glVertexAttrib3fv_PACKED PACKED_void_GLuint_const_GLfloat___GENPT__ -#define glVertexAttrib3fv_INDEXED INDEXED_void_GLuint_const_GLfloat___GENPT__ -#define glVertexAttrib3fv_FORMAT FORMAT_void_GLuint_const_GLfloat___GENPT__ -#define glVertexAttrib4f_INDEX 139 -#define glVertexAttrib4f_RETURN void -#define glVertexAttrib4f_ARG_NAMES index, x, y, z, w -#define glVertexAttrib4f_ARG_EXPAND GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w -#define glVertexAttrib4f_PACKED PACKED_void_GLuint_GLfloat_GLfloat_GLfloat_GLfloat -#define glVertexAttrib4f_INDEXED INDEXED_void_GLuint_GLfloat_GLfloat_GLfloat_GLfloat -#define glVertexAttrib4f_FORMAT FORMAT_void_GLuint_GLfloat_GLfloat_GLfloat_GLfloat -#define glVertexAttrib4fv_INDEX 140 -#define glVertexAttrib4fv_RETURN void -#define glVertexAttrib4fv_ARG_NAMES index, v -#define glVertexAttrib4fv_ARG_EXPAND GLuint index, const GLfloat * v -#define glVertexAttrib4fv_PACKED PACKED_void_GLuint_const_GLfloat___GENPT__ -#define glVertexAttrib4fv_INDEXED INDEXED_void_GLuint_const_GLfloat___GENPT__ -#define glVertexAttrib4fv_FORMAT FORMAT_void_GLuint_const_GLfloat___GENPT__ -#define glVertexAttribPointer_INDEX 141 -#define glVertexAttribPointer_RETURN void -#define glVertexAttribPointer_ARG_NAMES index, size, type, normalized, stride, pointer -#define glVertexAttribPointer_ARG_EXPAND GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid * pointer -#define glVertexAttribPointer_PACKED PACKED_void_GLuint_GLint_GLenum_GLboolean_GLsizei_const_GLvoid___GENPT__ -#define glVertexAttribPointer_INDEXED INDEXED_void_GLuint_GLint_GLenum_GLboolean_GLsizei_const_GLvoid___GENPT__ -#define glVertexAttribPointer_FORMAT FORMAT_void_GLuint_GLint_GLenum_GLboolean_GLsizei_const_GLvoid___GENPT__ -#define glViewport_INDEX 142 -#define glViewport_RETURN void -#define glViewport_ARG_NAMES x, y, width, height -#define glViewport_ARG_EXPAND GLint x, GLint y, GLsizei width, GLsizei height -#define glViewport_PACKED PACKED_void_GLint_GLint_GLsizei_GLsizei -#define glViewport_INDEXED INDEXED_void_GLint_GLint_GLsizei_GLsizei -#define glViewport_FORMAT FORMAT_void_GLint_GLint_GLsizei_GLsizei - -void glActiveTexture(glActiveTexture_ARG_EXPAND); -typedef void (*glActiveTexture_PTR)(glActiveTexture_ARG_EXPAND); -void glAttachShader(glAttachShader_ARG_EXPAND); -typedef void (*glAttachShader_PTR)(glAttachShader_ARG_EXPAND); -void glBindAttribLocation(glBindAttribLocation_ARG_EXPAND); -typedef void (*glBindAttribLocation_PTR)(glBindAttribLocation_ARG_EXPAND); -void glBindBuffer(glBindBuffer_ARG_EXPAND); -typedef void (*glBindBuffer_PTR)(glBindBuffer_ARG_EXPAND); -void glBindFramebuffer(glBindFramebuffer_ARG_EXPAND); -typedef void (*glBindFramebuffer_PTR)(glBindFramebuffer_ARG_EXPAND); -void glBindRenderbuffer(glBindRenderbuffer_ARG_EXPAND); -typedef void (*glBindRenderbuffer_PTR)(glBindRenderbuffer_ARG_EXPAND); -void glBindTexture(glBindTexture_ARG_EXPAND); -typedef void (*glBindTexture_PTR)(glBindTexture_ARG_EXPAND); -void glBlendColor(glBlendColor_ARG_EXPAND); -typedef void (*glBlendColor_PTR)(glBlendColor_ARG_EXPAND); -void glBlendEquation(glBlendEquation_ARG_EXPAND); -typedef void (*glBlendEquation_PTR)(glBlendEquation_ARG_EXPAND); -void glBlendEquationSeparate(glBlendEquationSeparate_ARG_EXPAND); -typedef void (*glBlendEquationSeparate_PTR)(glBlendEquationSeparate_ARG_EXPAND); -void glBlendFunc(glBlendFunc_ARG_EXPAND); -typedef void (*glBlendFunc_PTR)(glBlendFunc_ARG_EXPAND); -void glBlendFuncSeparate(glBlendFuncSeparate_ARG_EXPAND); -typedef void (*glBlendFuncSeparate_PTR)(glBlendFuncSeparate_ARG_EXPAND); -void glBufferData(glBufferData_ARG_EXPAND); -typedef void (*glBufferData_PTR)(glBufferData_ARG_EXPAND); -void glBufferSubData(glBufferSubData_ARG_EXPAND); -typedef void (*glBufferSubData_PTR)(glBufferSubData_ARG_EXPAND); -GLenum glCheckFramebufferStatus(glCheckFramebufferStatus_ARG_EXPAND); -typedef GLenum (*glCheckFramebufferStatus_PTR)(glCheckFramebufferStatus_ARG_EXPAND); -void glClear(glClear_ARG_EXPAND); -typedef void (*glClear_PTR)(glClear_ARG_EXPAND); -void glClearColor(glClearColor_ARG_EXPAND); -typedef void (*glClearColor_PTR)(glClearColor_ARG_EXPAND); -void glClearDepthf(glClearDepthf_ARG_EXPAND); -typedef void (*glClearDepthf_PTR)(glClearDepthf_ARG_EXPAND); -void glClearStencil(glClearStencil_ARG_EXPAND); -typedef void (*glClearStencil_PTR)(glClearStencil_ARG_EXPAND); -void glColorMask(glColorMask_ARG_EXPAND); -typedef void (*glColorMask_PTR)(glColorMask_ARG_EXPAND); -void glCompileShader(glCompileShader_ARG_EXPAND); -typedef void (*glCompileShader_PTR)(glCompileShader_ARG_EXPAND); -void glCompressedTexImage2D(glCompressedTexImage2D_ARG_EXPAND); -typedef void (*glCompressedTexImage2D_PTR)(glCompressedTexImage2D_ARG_EXPAND); -void glCompressedTexSubImage2D(glCompressedTexSubImage2D_ARG_EXPAND); -typedef void (*glCompressedTexSubImage2D_PTR)(glCompressedTexSubImage2D_ARG_EXPAND); -void glCopyTexImage2D(glCopyTexImage2D_ARG_EXPAND); -typedef void (*glCopyTexImage2D_PTR)(glCopyTexImage2D_ARG_EXPAND); -void glCopyTexSubImage2D(glCopyTexSubImage2D_ARG_EXPAND); -typedef void (*glCopyTexSubImage2D_PTR)(glCopyTexSubImage2D_ARG_EXPAND); -GLuint glCreateProgram(glCreateProgram_ARG_EXPAND); -typedef GLuint (*glCreateProgram_PTR)(glCreateProgram_ARG_EXPAND); -GLuint glCreateShader(glCreateShader_ARG_EXPAND); -typedef GLuint (*glCreateShader_PTR)(glCreateShader_ARG_EXPAND); -void glCullFace(glCullFace_ARG_EXPAND); -typedef void (*glCullFace_PTR)(glCullFace_ARG_EXPAND); -void glDeleteBuffers(glDeleteBuffers_ARG_EXPAND); -typedef void (*glDeleteBuffers_PTR)(glDeleteBuffers_ARG_EXPAND); -void glDeleteFramebuffers(glDeleteFramebuffers_ARG_EXPAND); -typedef void (*glDeleteFramebuffers_PTR)(glDeleteFramebuffers_ARG_EXPAND); -void glDeleteProgram(glDeleteProgram_ARG_EXPAND); -typedef void (*glDeleteProgram_PTR)(glDeleteProgram_ARG_EXPAND); -void glDeleteRenderbuffers(glDeleteRenderbuffers_ARG_EXPAND); -typedef void (*glDeleteRenderbuffers_PTR)(glDeleteRenderbuffers_ARG_EXPAND); -void glDeleteShader(glDeleteShader_ARG_EXPAND); -typedef void (*glDeleteShader_PTR)(glDeleteShader_ARG_EXPAND); -void glDeleteTextures(glDeleteTextures_ARG_EXPAND); -typedef void (*glDeleteTextures_PTR)(glDeleteTextures_ARG_EXPAND); -void glDepthFunc(glDepthFunc_ARG_EXPAND); -typedef void (*glDepthFunc_PTR)(glDepthFunc_ARG_EXPAND); -void glDepthMask(glDepthMask_ARG_EXPAND); -typedef void (*glDepthMask_PTR)(glDepthMask_ARG_EXPAND); -void glDepthRangef(glDepthRangef_ARG_EXPAND); -typedef void (*glDepthRangef_PTR)(glDepthRangef_ARG_EXPAND); -void glDetachShader(glDetachShader_ARG_EXPAND); -typedef void (*glDetachShader_PTR)(glDetachShader_ARG_EXPAND); -void glDisable(glDisable_ARG_EXPAND); -typedef void (*glDisable_PTR)(glDisable_ARG_EXPAND); -void glDisableVertexAttribArray(glDisableVertexAttribArray_ARG_EXPAND); -typedef void (*glDisableVertexAttribArray_PTR)(glDisableVertexAttribArray_ARG_EXPAND); -void glDrawArrays(glDrawArrays_ARG_EXPAND); -typedef void (*glDrawArrays_PTR)(glDrawArrays_ARG_EXPAND); -void glDrawElements(glDrawElements_ARG_EXPAND); -typedef void (*glDrawElements_PTR)(glDrawElements_ARG_EXPAND); -void glEnable(glEnable_ARG_EXPAND); -typedef void (*glEnable_PTR)(glEnable_ARG_EXPAND); -void glEnableVertexAttribArray(glEnableVertexAttribArray_ARG_EXPAND); -typedef void (*glEnableVertexAttribArray_PTR)(glEnableVertexAttribArray_ARG_EXPAND); -void glFinish(glFinish_ARG_EXPAND); -typedef void (*glFinish_PTR)(glFinish_ARG_EXPAND); -void glFlush(glFlush_ARG_EXPAND); -typedef void (*glFlush_PTR)(glFlush_ARG_EXPAND); -void glFramebufferRenderbuffer(glFramebufferRenderbuffer_ARG_EXPAND); -typedef void (*glFramebufferRenderbuffer_PTR)(glFramebufferRenderbuffer_ARG_EXPAND); -void glFramebufferTexture2D(glFramebufferTexture2D_ARG_EXPAND); -typedef void (*glFramebufferTexture2D_PTR)(glFramebufferTexture2D_ARG_EXPAND); -void glFrontFace(glFrontFace_ARG_EXPAND); -typedef void (*glFrontFace_PTR)(glFrontFace_ARG_EXPAND); -void glGenBuffers(glGenBuffers_ARG_EXPAND); -typedef void (*glGenBuffers_PTR)(glGenBuffers_ARG_EXPAND); -void glGenFramebuffers(glGenFramebuffers_ARG_EXPAND); -typedef void (*glGenFramebuffers_PTR)(glGenFramebuffers_ARG_EXPAND); -void glGenRenderbuffers(glGenRenderbuffers_ARG_EXPAND); -typedef void (*glGenRenderbuffers_PTR)(glGenRenderbuffers_ARG_EXPAND); -void glGenTextures(glGenTextures_ARG_EXPAND); -typedef void (*glGenTextures_PTR)(glGenTextures_ARG_EXPAND); -void glGenerateMipmap(glGenerateMipmap_ARG_EXPAND); -typedef void (*glGenerateMipmap_PTR)(glGenerateMipmap_ARG_EXPAND); -void glGetActiveAttrib(glGetActiveAttrib_ARG_EXPAND); -typedef void (*glGetActiveAttrib_PTR)(glGetActiveAttrib_ARG_EXPAND); -void glGetActiveUniform(glGetActiveUniform_ARG_EXPAND); -typedef void (*glGetActiveUniform_PTR)(glGetActiveUniform_ARG_EXPAND); -void glGetAttachedShaders(glGetAttachedShaders_ARG_EXPAND); -typedef void (*glGetAttachedShaders_PTR)(glGetAttachedShaders_ARG_EXPAND); -GLint glGetAttribLocation(glGetAttribLocation_ARG_EXPAND); -typedef GLint (*glGetAttribLocation_PTR)(glGetAttribLocation_ARG_EXPAND); -void glGetBooleanv(glGetBooleanv_ARG_EXPAND); -typedef void (*glGetBooleanv_PTR)(glGetBooleanv_ARG_EXPAND); -void glGetBufferParameteriv(glGetBufferParameteriv_ARG_EXPAND); -typedef void (*glGetBufferParameteriv_PTR)(glGetBufferParameteriv_ARG_EXPAND); -GLenum glGetError(glGetError_ARG_EXPAND); -typedef GLenum (*glGetError_PTR)(glGetError_ARG_EXPAND); -void glGetFloatv(glGetFloatv_ARG_EXPAND); -typedef void (*glGetFloatv_PTR)(glGetFloatv_ARG_EXPAND); -void glGetFramebufferAttachmentParameteriv(glGetFramebufferAttachmentParameteriv_ARG_EXPAND); -typedef void (*glGetFramebufferAttachmentParameteriv_PTR)(glGetFramebufferAttachmentParameteriv_ARG_EXPAND); -void glGetIntegerv(glGetIntegerv_ARG_EXPAND); -typedef void (*glGetIntegerv_PTR)(glGetIntegerv_ARG_EXPAND); -void glGetProgramInfoLog(glGetProgramInfoLog_ARG_EXPAND); -typedef void (*glGetProgramInfoLog_PTR)(glGetProgramInfoLog_ARG_EXPAND); -void glGetProgramiv(glGetProgramiv_ARG_EXPAND); -typedef void (*glGetProgramiv_PTR)(glGetProgramiv_ARG_EXPAND); -void glGetRenderbufferParameteriv(glGetRenderbufferParameteriv_ARG_EXPAND); -typedef void (*glGetRenderbufferParameteriv_PTR)(glGetRenderbufferParameteriv_ARG_EXPAND); -void glGetShaderInfoLog(glGetShaderInfoLog_ARG_EXPAND); -typedef void (*glGetShaderInfoLog_PTR)(glGetShaderInfoLog_ARG_EXPAND); -void glGetShaderPrecisionFormat(glGetShaderPrecisionFormat_ARG_EXPAND); -typedef void (*glGetShaderPrecisionFormat_PTR)(glGetShaderPrecisionFormat_ARG_EXPAND); -void glGetShaderSource(glGetShaderSource_ARG_EXPAND); -typedef void (*glGetShaderSource_PTR)(glGetShaderSource_ARG_EXPAND); -void glGetShaderiv(glGetShaderiv_ARG_EXPAND); -typedef void (*glGetShaderiv_PTR)(glGetShaderiv_ARG_EXPAND); -const GLubyte * glGetString(glGetString_ARG_EXPAND); -typedef const GLubyte * (*glGetString_PTR)(glGetString_ARG_EXPAND); -void glGetTexParameterfv(glGetTexParameterfv_ARG_EXPAND); -typedef void (*glGetTexParameterfv_PTR)(glGetTexParameterfv_ARG_EXPAND); -void glGetTexParameteriv(glGetTexParameteriv_ARG_EXPAND); -typedef void (*glGetTexParameteriv_PTR)(glGetTexParameteriv_ARG_EXPAND); -GLint glGetUniformLocation(glGetUniformLocation_ARG_EXPAND); -typedef GLint (*glGetUniformLocation_PTR)(glGetUniformLocation_ARG_EXPAND); -void glGetUniformfv(glGetUniformfv_ARG_EXPAND); -typedef void (*glGetUniformfv_PTR)(glGetUniformfv_ARG_EXPAND); -void glGetUniformiv(glGetUniformiv_ARG_EXPAND); -typedef void (*glGetUniformiv_PTR)(glGetUniformiv_ARG_EXPAND); -void glGetVertexAttribPointerv(glGetVertexAttribPointerv_ARG_EXPAND); -typedef void (*glGetVertexAttribPointerv_PTR)(glGetVertexAttribPointerv_ARG_EXPAND); -void glGetVertexAttribfv(glGetVertexAttribfv_ARG_EXPAND); -typedef void (*glGetVertexAttribfv_PTR)(glGetVertexAttribfv_ARG_EXPAND); -void glGetVertexAttribiv(glGetVertexAttribiv_ARG_EXPAND); -typedef void (*glGetVertexAttribiv_PTR)(glGetVertexAttribiv_ARG_EXPAND); -void glHint(glHint_ARG_EXPAND); -typedef void (*glHint_PTR)(glHint_ARG_EXPAND); -GLboolean glIsBuffer(glIsBuffer_ARG_EXPAND); -typedef GLboolean (*glIsBuffer_PTR)(glIsBuffer_ARG_EXPAND); -GLboolean glIsEnabled(glIsEnabled_ARG_EXPAND); -typedef GLboolean (*glIsEnabled_PTR)(glIsEnabled_ARG_EXPAND); -GLboolean glIsFramebuffer(glIsFramebuffer_ARG_EXPAND); -typedef GLboolean (*glIsFramebuffer_PTR)(glIsFramebuffer_ARG_EXPAND); -GLboolean glIsProgram(glIsProgram_ARG_EXPAND); -typedef GLboolean (*glIsProgram_PTR)(glIsProgram_ARG_EXPAND); -GLboolean glIsRenderbuffer(glIsRenderbuffer_ARG_EXPAND); -typedef GLboolean (*glIsRenderbuffer_PTR)(glIsRenderbuffer_ARG_EXPAND); -GLboolean glIsShader(glIsShader_ARG_EXPAND); -typedef GLboolean (*glIsShader_PTR)(glIsShader_ARG_EXPAND); -GLboolean glIsTexture(glIsTexture_ARG_EXPAND); -typedef GLboolean (*glIsTexture_PTR)(glIsTexture_ARG_EXPAND); -void glLineWidth(glLineWidth_ARG_EXPAND); -typedef void (*glLineWidth_PTR)(glLineWidth_ARG_EXPAND); -void glLinkProgram(glLinkProgram_ARG_EXPAND); -typedef void (*glLinkProgram_PTR)(glLinkProgram_ARG_EXPAND); -void glPixelStorei(glPixelStorei_ARG_EXPAND); -typedef void (*glPixelStorei_PTR)(glPixelStorei_ARG_EXPAND); -void glPolygonOffset(glPolygonOffset_ARG_EXPAND); -typedef void (*glPolygonOffset_PTR)(glPolygonOffset_ARG_EXPAND); -void glReadPixels(glReadPixels_ARG_EXPAND); -typedef void (*glReadPixels_PTR)(glReadPixels_ARG_EXPAND); -void glReleaseShaderCompiler(glReleaseShaderCompiler_ARG_EXPAND); -typedef void (*glReleaseShaderCompiler_PTR)(glReleaseShaderCompiler_ARG_EXPAND); -void glRenderbufferStorage(glRenderbufferStorage_ARG_EXPAND); -typedef void (*glRenderbufferStorage_PTR)(glRenderbufferStorage_ARG_EXPAND); -void glSampleCoverage(glSampleCoverage_ARG_EXPAND); -typedef void (*glSampleCoverage_PTR)(glSampleCoverage_ARG_EXPAND); -void glScissor(glScissor_ARG_EXPAND); -typedef void (*glScissor_PTR)(glScissor_ARG_EXPAND); -void glShaderBinary(glShaderBinary_ARG_EXPAND); -typedef void (*glShaderBinary_PTR)(glShaderBinary_ARG_EXPAND); -void glShaderSource(glShaderSource_ARG_EXPAND); -typedef void (*glShaderSource_PTR)(glShaderSource_ARG_EXPAND); -void glStencilFunc(glStencilFunc_ARG_EXPAND); -typedef void (*glStencilFunc_PTR)(glStencilFunc_ARG_EXPAND); -void glStencilFuncSeparate(glStencilFuncSeparate_ARG_EXPAND); -typedef void (*glStencilFuncSeparate_PTR)(glStencilFuncSeparate_ARG_EXPAND); -void glStencilMask(glStencilMask_ARG_EXPAND); -typedef void (*glStencilMask_PTR)(glStencilMask_ARG_EXPAND); -void glStencilMaskSeparate(glStencilMaskSeparate_ARG_EXPAND); -typedef void (*glStencilMaskSeparate_PTR)(glStencilMaskSeparate_ARG_EXPAND); -void glStencilOp(glStencilOp_ARG_EXPAND); -typedef void (*glStencilOp_PTR)(glStencilOp_ARG_EXPAND); -void glStencilOpSeparate(glStencilOpSeparate_ARG_EXPAND); -typedef void (*glStencilOpSeparate_PTR)(glStencilOpSeparate_ARG_EXPAND); -void glTexImage2D(glTexImage2D_ARG_EXPAND); -typedef void (*glTexImage2D_PTR)(glTexImage2D_ARG_EXPAND); -void glTexParameterf(glTexParameterf_ARG_EXPAND); -typedef void (*glTexParameterf_PTR)(glTexParameterf_ARG_EXPAND); -void glTexParameterfv(glTexParameterfv_ARG_EXPAND); -typedef void (*glTexParameterfv_PTR)(glTexParameterfv_ARG_EXPAND); -void glTexParameteri(glTexParameteri_ARG_EXPAND); -typedef void (*glTexParameteri_PTR)(glTexParameteri_ARG_EXPAND); -void glTexParameteriv(glTexParameteriv_ARG_EXPAND); -typedef void (*glTexParameteriv_PTR)(glTexParameteriv_ARG_EXPAND); -void glTexSubImage2D(glTexSubImage2D_ARG_EXPAND); -typedef void (*glTexSubImage2D_PTR)(glTexSubImage2D_ARG_EXPAND); -void glUniform1f(glUniform1f_ARG_EXPAND); -typedef void (*glUniform1f_PTR)(glUniform1f_ARG_EXPAND); -void glUniform1fv(glUniform1fv_ARG_EXPAND); -typedef void (*glUniform1fv_PTR)(glUniform1fv_ARG_EXPAND); -void glUniform1i(glUniform1i_ARG_EXPAND); -typedef void (*glUniform1i_PTR)(glUniform1i_ARG_EXPAND); -void glUniform1iv(glUniform1iv_ARG_EXPAND); -typedef void (*glUniform1iv_PTR)(glUniform1iv_ARG_EXPAND); -void glUniform2f(glUniform2f_ARG_EXPAND); -typedef void (*glUniform2f_PTR)(glUniform2f_ARG_EXPAND); -void glUniform2fv(glUniform2fv_ARG_EXPAND); -typedef void (*glUniform2fv_PTR)(glUniform2fv_ARG_EXPAND); -void glUniform2i(glUniform2i_ARG_EXPAND); -typedef void (*glUniform2i_PTR)(glUniform2i_ARG_EXPAND); -void glUniform2iv(glUniform2iv_ARG_EXPAND); -typedef void (*glUniform2iv_PTR)(glUniform2iv_ARG_EXPAND); -void glUniform3f(glUniform3f_ARG_EXPAND); -typedef void (*glUniform3f_PTR)(glUniform3f_ARG_EXPAND); -void glUniform3fv(glUniform3fv_ARG_EXPAND); -typedef void (*glUniform3fv_PTR)(glUniform3fv_ARG_EXPAND); -void glUniform3i(glUniform3i_ARG_EXPAND); -typedef void (*glUniform3i_PTR)(glUniform3i_ARG_EXPAND); -void glUniform3iv(glUniform3iv_ARG_EXPAND); -typedef void (*glUniform3iv_PTR)(glUniform3iv_ARG_EXPAND); -void glUniform4f(glUniform4f_ARG_EXPAND); -typedef void (*glUniform4f_PTR)(glUniform4f_ARG_EXPAND); -void glUniform4fv(glUniform4fv_ARG_EXPAND); -typedef void (*glUniform4fv_PTR)(glUniform4fv_ARG_EXPAND); -void glUniform4i(glUniform4i_ARG_EXPAND); -typedef void (*glUniform4i_PTR)(glUniform4i_ARG_EXPAND); -void glUniform4iv(glUniform4iv_ARG_EXPAND); -typedef void (*glUniform4iv_PTR)(glUniform4iv_ARG_EXPAND); -void glUniformMatrix2fv(glUniformMatrix2fv_ARG_EXPAND); -typedef void (*glUniformMatrix2fv_PTR)(glUniformMatrix2fv_ARG_EXPAND); -void glUniformMatrix3fv(glUniformMatrix3fv_ARG_EXPAND); -typedef void (*glUniformMatrix3fv_PTR)(glUniformMatrix3fv_ARG_EXPAND); -void glUniformMatrix4fv(glUniformMatrix4fv_ARG_EXPAND); -typedef void (*glUniformMatrix4fv_PTR)(glUniformMatrix4fv_ARG_EXPAND); -void glUseProgram(glUseProgram_ARG_EXPAND); -typedef void (*glUseProgram_PTR)(glUseProgram_ARG_EXPAND); -void glValidateProgram(glValidateProgram_ARG_EXPAND); -typedef void (*glValidateProgram_PTR)(glValidateProgram_ARG_EXPAND); -void glVertexAttrib1f(glVertexAttrib1f_ARG_EXPAND); -typedef void (*glVertexAttrib1f_PTR)(glVertexAttrib1f_ARG_EXPAND); -void glVertexAttrib1fv(glVertexAttrib1fv_ARG_EXPAND); -typedef void (*glVertexAttrib1fv_PTR)(glVertexAttrib1fv_ARG_EXPAND); -void glVertexAttrib2f(glVertexAttrib2f_ARG_EXPAND); -typedef void (*glVertexAttrib2f_PTR)(glVertexAttrib2f_ARG_EXPAND); -void glVertexAttrib2fv(glVertexAttrib2fv_ARG_EXPAND); -typedef void (*glVertexAttrib2fv_PTR)(glVertexAttrib2fv_ARG_EXPAND); -void glVertexAttrib3f(glVertexAttrib3f_ARG_EXPAND); -typedef void (*glVertexAttrib3f_PTR)(glVertexAttrib3f_ARG_EXPAND); -void glVertexAttrib3fv(glVertexAttrib3fv_ARG_EXPAND); -typedef void (*glVertexAttrib3fv_PTR)(glVertexAttrib3fv_ARG_EXPAND); -void glVertexAttrib4f(glVertexAttrib4f_ARG_EXPAND); -typedef void (*glVertexAttrib4f_PTR)(glVertexAttrib4f_ARG_EXPAND); -void glVertexAttrib4fv(glVertexAttrib4fv_ARG_EXPAND); -typedef void (*glVertexAttrib4fv_PTR)(glVertexAttrib4fv_ARG_EXPAND); -void glVertexAttribPointer(glVertexAttribPointer_ARG_EXPAND); -typedef void (*glVertexAttribPointer_PTR)(glVertexAttribPointer_ARG_EXPAND); -void glViewport(glViewport_ARG_EXPAND); -typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); - - - -#ifndef direct_glActiveTexture -#define push_glActiveTexture(texture) { \ - glActiveTexture_PACKED *packed_data = malloc(sizeof(glActiveTexture_PACKED)); \ - packed_data->format = glActiveTexture_FORMAT; \ - packed_data->func = glActiveTexture; \ - packed_data->args.a1 = (GLenum)texture; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glAttachShader -#define push_glAttachShader(program, shader) { \ - glAttachShader_PACKED *packed_data = malloc(sizeof(glAttachShader_PACKED)); \ - packed_data->format = glAttachShader_FORMAT; \ - packed_data->func = glAttachShader; \ - packed_data->args.a1 = (GLuint)program; \ - packed_data->args.a2 = (GLuint)shader; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glBindAttribLocation -#define push_glBindAttribLocation(program, index, name) { \ - glBindAttribLocation_PACKED *packed_data = malloc(sizeof(glBindAttribLocation_PACKED)); \ - packed_data->format = glBindAttribLocation_FORMAT; \ - packed_data->func = glBindAttribLocation; \ - packed_data->args.a1 = (GLuint)program; \ - packed_data->args.a2 = (GLuint)index; \ - packed_data->args.a3 = (GLchar *)name; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glBindBuffer -#define push_glBindBuffer(target, buffer) { \ - glBindBuffer_PACKED *packed_data = malloc(sizeof(glBindBuffer_PACKED)); \ - packed_data->format = glBindBuffer_FORMAT; \ - packed_data->func = glBindBuffer; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLuint)buffer; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glBindFramebuffer -#define push_glBindFramebuffer(target, framebuffer) { \ - glBindFramebuffer_PACKED *packed_data = malloc(sizeof(glBindFramebuffer_PACKED)); \ - packed_data->format = glBindFramebuffer_FORMAT; \ - packed_data->func = glBindFramebuffer; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLuint)framebuffer; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glBindRenderbuffer -#define push_glBindRenderbuffer(target, renderbuffer) { \ - glBindRenderbuffer_PACKED *packed_data = malloc(sizeof(glBindRenderbuffer_PACKED)); \ - packed_data->format = glBindRenderbuffer_FORMAT; \ - packed_data->func = glBindRenderbuffer; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLuint)renderbuffer; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glBindTexture -#define push_glBindTexture(target, texture) { \ - glBindTexture_PACKED *packed_data = malloc(sizeof(glBindTexture_PACKED)); \ - packed_data->format = glBindTexture_FORMAT; \ - packed_data->func = glBindTexture; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLuint)texture; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glBlendColor -#define push_glBlendColor(red, green, blue, alpha) { \ - glBlendColor_PACKED *packed_data = malloc(sizeof(glBlendColor_PACKED)); \ - packed_data->format = glBlendColor_FORMAT; \ - packed_data->func = glBlendColor; \ - packed_data->args.a1 = (GLclampf)red; \ - packed_data->args.a2 = (GLclampf)green; \ - packed_data->args.a3 = (GLclampf)blue; \ - packed_data->args.a4 = (GLclampf)alpha; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glBlendEquation -#define push_glBlendEquation(mode) { \ - glBlendEquation_PACKED *packed_data = malloc(sizeof(glBlendEquation_PACKED)); \ - packed_data->format = glBlendEquation_FORMAT; \ - packed_data->func = glBlendEquation; \ - packed_data->args.a1 = (GLenum)mode; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glBlendEquationSeparate -#define push_glBlendEquationSeparate(modeRGB, modeA) { \ - glBlendEquationSeparate_PACKED *packed_data = malloc(sizeof(glBlendEquationSeparate_PACKED)); \ - packed_data->format = glBlendEquationSeparate_FORMAT; \ - packed_data->func = glBlendEquationSeparate; \ - packed_data->args.a1 = (GLenum)modeRGB; \ - packed_data->args.a2 = (GLenum)modeA; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glBlendFunc -#define push_glBlendFunc(sfactor, dfactor) { \ - glBlendFunc_PACKED *packed_data = malloc(sizeof(glBlendFunc_PACKED)); \ - packed_data->format = glBlendFunc_FORMAT; \ - packed_data->func = glBlendFunc; \ - packed_data->args.a1 = (GLenum)sfactor; \ - packed_data->args.a2 = (GLenum)dfactor; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glBlendFuncSeparate -#define push_glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha) { \ - glBlendFuncSeparate_PACKED *packed_data = malloc(sizeof(glBlendFuncSeparate_PACKED)); \ - packed_data->format = glBlendFuncSeparate_FORMAT; \ - packed_data->func = glBlendFuncSeparate; \ - packed_data->args.a1 = (GLenum)sfactorRGB; \ - packed_data->args.a2 = (GLenum)dfactorRGB; \ - packed_data->args.a3 = (GLenum)sfactorAlpha; \ - packed_data->args.a4 = (GLenum)dfactorAlpha; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glBufferData -#define push_glBufferData(target, size, data, usage) { \ - glBufferData_PACKED *packed_data = malloc(sizeof(glBufferData_PACKED)); \ - packed_data->format = glBufferData_FORMAT; \ - packed_data->func = glBufferData; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLsizeiptr)size; \ - packed_data->args.a3 = (GLvoid *)data; \ - packed_data->args.a4 = (GLenum)usage; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glBufferSubData -#define push_glBufferSubData(target, offset, size, data) { \ - glBufferSubData_PACKED *packed_data = malloc(sizeof(glBufferSubData_PACKED)); \ - packed_data->format = glBufferSubData_FORMAT; \ - packed_data->func = glBufferSubData; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLintptr)offset; \ - packed_data->args.a3 = (GLsizeiptr)size; \ - packed_data->args.a4 = (GLvoid *)data; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glCheckFramebufferStatus -#define push_glCheckFramebufferStatus(target) { \ - glCheckFramebufferStatus_PACKED *packed_data = malloc(sizeof(glCheckFramebufferStatus_PACKED)); \ - packed_data->format = glCheckFramebufferStatus_FORMAT; \ - packed_data->func = glCheckFramebufferStatus; \ - packed_data->args.a1 = (GLenum)target; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glClear -#define push_glClear(mask) { \ - glClear_PACKED *packed_data = malloc(sizeof(glClear_PACKED)); \ - packed_data->format = glClear_FORMAT; \ - packed_data->func = glClear; \ - packed_data->args.a1 = (GLbitfield)mask; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glClearColor -#define push_glClearColor(red, green, blue, alpha) { \ - glClearColor_PACKED *packed_data = malloc(sizeof(glClearColor_PACKED)); \ - packed_data->format = glClearColor_FORMAT; \ - packed_data->func = glClearColor; \ - packed_data->args.a1 = (GLclampf)red; \ - packed_data->args.a2 = (GLclampf)green; \ - packed_data->args.a3 = (GLclampf)blue; \ - packed_data->args.a4 = (GLclampf)alpha; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glClearDepthf -#define push_glClearDepthf(depth) { \ - glClearDepthf_PACKED *packed_data = malloc(sizeof(glClearDepthf_PACKED)); \ - packed_data->format = glClearDepthf_FORMAT; \ - packed_data->func = glClearDepthf; \ - packed_data->args.a1 = (GLclampf)depth; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glClearStencil -#define push_glClearStencil(s) { \ - glClearStencil_PACKED *packed_data = malloc(sizeof(glClearStencil_PACKED)); \ - packed_data->format = glClearStencil_FORMAT; \ - packed_data->func = glClearStencil; \ - packed_data->args.a1 = (GLint)s; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glColorMask -#define push_glColorMask(red, green, blue, alpha) { \ - glColorMask_PACKED *packed_data = malloc(sizeof(glColorMask_PACKED)); \ - packed_data->format = glColorMask_FORMAT; \ - packed_data->func = glColorMask; \ - packed_data->args.a1 = (GLboolean)red; \ - packed_data->args.a2 = (GLboolean)green; \ - packed_data->args.a3 = (GLboolean)blue; \ - packed_data->args.a4 = (GLboolean)alpha; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glCompileShader -#define push_glCompileShader(shader) { \ - glCompileShader_PACKED *packed_data = malloc(sizeof(glCompileShader_PACKED)); \ - packed_data->format = glCompileShader_FORMAT; \ - packed_data->func = glCompileShader; \ - packed_data->args.a1 = (GLuint)shader; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glCompressedTexImage2D -#define push_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data) { \ - glCompressedTexImage2D_PACKED *packed_data = malloc(sizeof(glCompressedTexImage2D_PACKED)); \ - packed_data->format = glCompressedTexImage2D_FORMAT; \ - packed_data->func = glCompressedTexImage2D; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLint)level; \ - packed_data->args.a3 = (GLenum)internalformat; \ - packed_data->args.a4 = (GLsizei)width; \ - packed_data->args.a5 = (GLsizei)height; \ - packed_data->args.a6 = (GLint)border; \ - packed_data->args.a7 = (GLsizei)imageSize; \ - packed_data->args.a8 = (GLvoid *)data; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glCompressedTexSubImage2D -#define push_glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data) { \ - glCompressedTexSubImage2D_PACKED *packed_data = malloc(sizeof(glCompressedTexSubImage2D_PACKED)); \ - packed_data->format = glCompressedTexSubImage2D_FORMAT; \ - packed_data->func = glCompressedTexSubImage2D; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLint)level; \ - packed_data->args.a3 = (GLint)xoffset; \ - packed_data->args.a4 = (GLint)yoffset; \ - packed_data->args.a5 = (GLsizei)width; \ - packed_data->args.a6 = (GLsizei)height; \ - packed_data->args.a7 = (GLenum)format; \ - packed_data->args.a8 = (GLsizei)imageSize; \ - packed_data->args.a9 = (GLvoid *)data; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glCopyTexImage2D -#define push_glCopyTexImage2D(target, level, internalformat, x, y, width, height, border) { \ - glCopyTexImage2D_PACKED *packed_data = malloc(sizeof(glCopyTexImage2D_PACKED)); \ - packed_data->format = glCopyTexImage2D_FORMAT; \ - packed_data->func = glCopyTexImage2D; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLint)level; \ - packed_data->args.a3 = (GLenum)internalformat; \ - packed_data->args.a4 = (GLint)x; \ - packed_data->args.a5 = (GLint)y; \ - packed_data->args.a6 = (GLsizei)width; \ - packed_data->args.a7 = (GLsizei)height; \ - packed_data->args.a8 = (GLint)border; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glCopyTexSubImage2D -#define push_glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height) { \ - glCopyTexSubImage2D_PACKED *packed_data = malloc(sizeof(glCopyTexSubImage2D_PACKED)); \ - packed_data->format = glCopyTexSubImage2D_FORMAT; \ - packed_data->func = glCopyTexSubImage2D; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLint)level; \ - packed_data->args.a3 = (GLint)xoffset; \ - packed_data->args.a4 = (GLint)yoffset; \ - packed_data->args.a5 = (GLint)x; \ - packed_data->args.a6 = (GLint)y; \ - packed_data->args.a7 = (GLsizei)width; \ - packed_data->args.a8 = (GLsizei)height; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glCreateProgram -#define push_glCreateProgram() { \ - glCreateProgram_PACKED *packed_data = malloc(sizeof(glCreateProgram_PACKED)); \ - packed_data->format = glCreateProgram_FORMAT; \ - packed_data->func = glCreateProgram; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glCreateShader -#define push_glCreateShader(type) { \ - glCreateShader_PACKED *packed_data = malloc(sizeof(glCreateShader_PACKED)); \ - packed_data->format = glCreateShader_FORMAT; \ - packed_data->func = glCreateShader; \ - packed_data->args.a1 = (GLenum)type; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glCullFace -#define push_glCullFace(mode) { \ - glCullFace_PACKED *packed_data = malloc(sizeof(glCullFace_PACKED)); \ - packed_data->format = glCullFace_FORMAT; \ - packed_data->func = glCullFace; \ - packed_data->args.a1 = (GLenum)mode; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glDeleteBuffers -#define push_glDeleteBuffers(n, buffer) { \ - glDeleteBuffers_PACKED *packed_data = malloc(sizeof(glDeleteBuffers_PACKED)); \ - packed_data->format = glDeleteBuffers_FORMAT; \ - packed_data->func = glDeleteBuffers; \ - packed_data->args.a1 = (GLsizei)n; \ - packed_data->args.a2 = (GLuint *)buffer; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glDeleteFramebuffers -#define push_glDeleteFramebuffers(n, framebuffers) { \ - glDeleteFramebuffers_PACKED *packed_data = malloc(sizeof(glDeleteFramebuffers_PACKED)); \ - packed_data->format = glDeleteFramebuffers_FORMAT; \ - packed_data->func = glDeleteFramebuffers; \ - packed_data->args.a1 = (GLsizei)n; \ - packed_data->args.a2 = (GLuint *)framebuffers; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glDeleteProgram -#define push_glDeleteProgram(program) { \ - glDeleteProgram_PACKED *packed_data = malloc(sizeof(glDeleteProgram_PACKED)); \ - packed_data->format = glDeleteProgram_FORMAT; \ - packed_data->func = glDeleteProgram; \ - packed_data->args.a1 = (GLuint)program; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glDeleteRenderbuffers -#define push_glDeleteRenderbuffers(n, renderbuffers) { \ - glDeleteRenderbuffers_PACKED *packed_data = malloc(sizeof(glDeleteRenderbuffers_PACKED)); \ - packed_data->format = glDeleteRenderbuffers_FORMAT; \ - packed_data->func = glDeleteRenderbuffers; \ - packed_data->args.a1 = (GLsizei)n; \ - packed_data->args.a2 = (GLuint *)renderbuffers; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glDeleteShader -#define push_glDeleteShader(program) { \ - glDeleteShader_PACKED *packed_data = malloc(sizeof(glDeleteShader_PACKED)); \ - packed_data->format = glDeleteShader_FORMAT; \ - packed_data->func = glDeleteShader; \ - packed_data->args.a1 = (GLuint)program; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glDeleteTextures -#define push_glDeleteTextures(n, textures) { \ - glDeleteTextures_PACKED *packed_data = malloc(sizeof(glDeleteTextures_PACKED)); \ - packed_data->format = glDeleteTextures_FORMAT; \ - packed_data->func = glDeleteTextures; \ - packed_data->args.a1 = (GLsizei)n; \ - packed_data->args.a2 = (GLuint *)textures; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glDepthFunc -#define push_glDepthFunc(func) { \ - glDepthFunc_PACKED *packed_data = malloc(sizeof(glDepthFunc_PACKED)); \ - packed_data->format = glDepthFunc_FORMAT; \ - packed_data->func = glDepthFunc; \ - packed_data->args.a1 = (GLenum)func; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glDepthMask -#define push_glDepthMask(flag) { \ - glDepthMask_PACKED *packed_data = malloc(sizeof(glDepthMask_PACKED)); \ - packed_data->format = glDepthMask_FORMAT; \ - packed_data->func = glDepthMask; \ - packed_data->args.a1 = (GLboolean)flag; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glDepthRangef -#define push_glDepthRangef(zNear, zFar) { \ - glDepthRangef_PACKED *packed_data = malloc(sizeof(glDepthRangef_PACKED)); \ - packed_data->format = glDepthRangef_FORMAT; \ - packed_data->func = glDepthRangef; \ - packed_data->args.a1 = (GLclampf)zNear; \ - packed_data->args.a2 = (GLclampf)zFar; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glDetachShader -#define push_glDetachShader(program, shader) { \ - glDetachShader_PACKED *packed_data = malloc(sizeof(glDetachShader_PACKED)); \ - packed_data->format = glDetachShader_FORMAT; \ - packed_data->func = glDetachShader; \ - packed_data->args.a1 = (GLuint)program; \ - packed_data->args.a2 = (GLuint)shader; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glDisable -#define push_glDisable(cap) { \ - glDisable_PACKED *packed_data = malloc(sizeof(glDisable_PACKED)); \ - packed_data->format = glDisable_FORMAT; \ - packed_data->func = glDisable; \ - packed_data->args.a1 = (GLenum)cap; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glDisableVertexAttribArray -#define push_glDisableVertexAttribArray(index) { \ - glDisableVertexAttribArray_PACKED *packed_data = malloc(sizeof(glDisableVertexAttribArray_PACKED)); \ - packed_data->format = glDisableVertexAttribArray_FORMAT; \ - packed_data->func = glDisableVertexAttribArray; \ - packed_data->args.a1 = (GLuint)index; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glDrawArrays -#define push_glDrawArrays(mode, first, count) { \ - glDrawArrays_PACKED *packed_data = malloc(sizeof(glDrawArrays_PACKED)); \ - packed_data->format = glDrawArrays_FORMAT; \ - packed_data->func = glDrawArrays; \ - packed_data->args.a1 = (GLenum)mode; \ - packed_data->args.a2 = (GLint)first; \ - packed_data->args.a3 = (GLsizei)count; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glDrawElements -#define push_glDrawElements(mode, count, type, indices) { \ - glDrawElements_PACKED *packed_data = malloc(sizeof(glDrawElements_PACKED)); \ - packed_data->format = glDrawElements_FORMAT; \ - packed_data->func = glDrawElements; \ - packed_data->args.a1 = (GLenum)mode; \ - packed_data->args.a2 = (GLsizei)count; \ - packed_data->args.a3 = (GLenum)type; \ - packed_data->args.a4 = (GLvoid *)indices; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glEnable -#define push_glEnable(cap) { \ - glEnable_PACKED *packed_data = malloc(sizeof(glEnable_PACKED)); \ - packed_data->format = glEnable_FORMAT; \ - packed_data->func = glEnable; \ - packed_data->args.a1 = (GLenum)cap; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glEnableVertexAttribArray -#define push_glEnableVertexAttribArray(index) { \ - glEnableVertexAttribArray_PACKED *packed_data = malloc(sizeof(glEnableVertexAttribArray_PACKED)); \ - packed_data->format = glEnableVertexAttribArray_FORMAT; \ - packed_data->func = glEnableVertexAttribArray; \ - packed_data->args.a1 = (GLuint)index; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glFinish -#define push_glFinish() { \ - glFinish_PACKED *packed_data = malloc(sizeof(glFinish_PACKED)); \ - packed_data->format = glFinish_FORMAT; \ - packed_data->func = glFinish; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glFlush -#define push_glFlush() { \ - glFlush_PACKED *packed_data = malloc(sizeof(glFlush_PACKED)); \ - packed_data->format = glFlush_FORMAT; \ - packed_data->func = glFlush; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glFramebufferRenderbuffer -#define push_glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer) { \ - glFramebufferRenderbuffer_PACKED *packed_data = malloc(sizeof(glFramebufferRenderbuffer_PACKED)); \ - packed_data->format = glFramebufferRenderbuffer_FORMAT; \ - packed_data->func = glFramebufferRenderbuffer; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLenum)attachment; \ - packed_data->args.a3 = (GLenum)renderbuffertarget; \ - packed_data->args.a4 = (GLuint)renderbuffer; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glFramebufferTexture2D -#define push_glFramebufferTexture2D(target, attachment, textarget, texture, level) { \ - glFramebufferTexture2D_PACKED *packed_data = malloc(sizeof(glFramebufferTexture2D_PACKED)); \ - packed_data->format = glFramebufferTexture2D_FORMAT; \ - packed_data->func = glFramebufferTexture2D; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLenum)attachment; \ - packed_data->args.a3 = (GLenum)textarget; \ - packed_data->args.a4 = (GLuint)texture; \ - packed_data->args.a5 = (GLint)level; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glFrontFace -#define push_glFrontFace(mode) { \ - glFrontFace_PACKED *packed_data = malloc(sizeof(glFrontFace_PACKED)); \ - packed_data->format = glFrontFace_FORMAT; \ - packed_data->func = glFrontFace; \ - packed_data->args.a1 = (GLenum)mode; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGenBuffers -#define push_glGenBuffers(n, buffer) { \ - glGenBuffers_PACKED *packed_data = malloc(sizeof(glGenBuffers_PACKED)); \ - packed_data->format = glGenBuffers_FORMAT; \ - packed_data->func = glGenBuffers; \ - packed_data->args.a1 = (GLsizei)n; \ - packed_data->args.a2 = (GLuint *)buffer; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGenFramebuffers -#define push_glGenFramebuffers(n, framebuffers) { \ - glGenFramebuffers_PACKED *packed_data = malloc(sizeof(glGenFramebuffers_PACKED)); \ - packed_data->format = glGenFramebuffers_FORMAT; \ - packed_data->func = glGenFramebuffers; \ - packed_data->args.a1 = (GLsizei)n; \ - packed_data->args.a2 = (GLuint *)framebuffers; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGenRenderbuffers -#define push_glGenRenderbuffers(n, renderbuffers) { \ - glGenRenderbuffers_PACKED *packed_data = malloc(sizeof(glGenRenderbuffers_PACKED)); \ - packed_data->format = glGenRenderbuffers_FORMAT; \ - packed_data->func = glGenRenderbuffers; \ - packed_data->args.a1 = (GLsizei)n; \ - packed_data->args.a2 = (GLuint *)renderbuffers; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGenTextures -#define push_glGenTextures(n, textures) { \ - glGenTextures_PACKED *packed_data = malloc(sizeof(glGenTextures_PACKED)); \ - packed_data->format = glGenTextures_FORMAT; \ - packed_data->func = glGenTextures; \ - packed_data->args.a1 = (GLsizei)n; \ - packed_data->args.a2 = (GLuint *)textures; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGenerateMipmap -#define push_glGenerateMipmap(target) { \ - glGenerateMipmap_PACKED *packed_data = malloc(sizeof(glGenerateMipmap_PACKED)); \ - packed_data->format = glGenerateMipmap_FORMAT; \ - packed_data->func = glGenerateMipmap; \ - packed_data->args.a1 = (GLenum)target; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetActiveAttrib -#define push_glGetActiveAttrib(program, index, bufSize, length, size, type, name) { \ - glGetActiveAttrib_PACKED *packed_data = malloc(sizeof(glGetActiveAttrib_PACKED)); \ - packed_data->format = glGetActiveAttrib_FORMAT; \ - packed_data->func = glGetActiveAttrib; \ - packed_data->args.a1 = (GLuint)program; \ - packed_data->args.a2 = (GLuint)index; \ - packed_data->args.a3 = (GLsizei)bufSize; \ - packed_data->args.a4 = (GLsizei *)length; \ - packed_data->args.a5 = (GLint *)size; \ - packed_data->args.a6 = (GLenum *)type; \ - packed_data->args.a7 = (GLchar *)name; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetActiveUniform -#define push_glGetActiveUniform(program, index, bufSize, length, size, type, name) { \ - glGetActiveUniform_PACKED *packed_data = malloc(sizeof(glGetActiveUniform_PACKED)); \ - packed_data->format = glGetActiveUniform_FORMAT; \ - packed_data->func = glGetActiveUniform; \ - packed_data->args.a1 = (GLuint)program; \ - packed_data->args.a2 = (GLuint)index; \ - packed_data->args.a3 = (GLsizei)bufSize; \ - packed_data->args.a4 = (GLsizei *)length; \ - packed_data->args.a5 = (GLint *)size; \ - packed_data->args.a6 = (GLenum *)type; \ - packed_data->args.a7 = (GLchar *)name; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetAttachedShaders -#define push_glGetAttachedShaders(program, maxCount, count, obj) { \ - glGetAttachedShaders_PACKED *packed_data = malloc(sizeof(glGetAttachedShaders_PACKED)); \ - packed_data->format = glGetAttachedShaders_FORMAT; \ - packed_data->func = glGetAttachedShaders; \ - packed_data->args.a1 = (GLuint)program; \ - packed_data->args.a2 = (GLsizei)maxCount; \ - packed_data->args.a3 = (GLsizei *)count; \ - packed_data->args.a4 = (GLuint *)obj; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetAttribLocation -#define push_glGetAttribLocation(program, name) { \ - glGetAttribLocation_PACKED *packed_data = malloc(sizeof(glGetAttribLocation_PACKED)); \ - packed_data->format = glGetAttribLocation_FORMAT; \ - packed_data->func = glGetAttribLocation; \ - packed_data->args.a1 = (GLuint)program; \ - packed_data->args.a2 = (GLchar *)name; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetBooleanv -#define push_glGetBooleanv(pname, params) { \ - glGetBooleanv_PACKED *packed_data = malloc(sizeof(glGetBooleanv_PACKED)); \ - packed_data->format = glGetBooleanv_FORMAT; \ - packed_data->func = glGetBooleanv; \ - packed_data->args.a1 = (GLenum)pname; \ - packed_data->args.a2 = (GLboolean *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetBufferParameteriv -#define push_glGetBufferParameteriv(target, pname, params) { \ - glGetBufferParameteriv_PACKED *packed_data = malloc(sizeof(glGetBufferParameteriv_PACKED)); \ - packed_data->format = glGetBufferParameteriv_FORMAT; \ - packed_data->func = glGetBufferParameteriv; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLenum)pname; \ - packed_data->args.a3 = (GLint *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetError -#define push_glGetError() { \ - glGetError_PACKED *packed_data = malloc(sizeof(glGetError_PACKED)); \ - packed_data->format = glGetError_FORMAT; \ - packed_data->func = glGetError; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetFloatv -#define push_glGetFloatv(pname, params) { \ - glGetFloatv_PACKED *packed_data = malloc(sizeof(glGetFloatv_PACKED)); \ - packed_data->format = glGetFloatv_FORMAT; \ - packed_data->func = glGetFloatv; \ - packed_data->args.a1 = (GLenum)pname; \ - packed_data->args.a2 = (GLfloat *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetFramebufferAttachmentParameteriv -#define push_glGetFramebufferAttachmentParameteriv(target, attachment, pname, params) { \ - glGetFramebufferAttachmentParameteriv_PACKED *packed_data = malloc(sizeof(glGetFramebufferAttachmentParameteriv_PACKED)); \ - packed_data->format = glGetFramebufferAttachmentParameteriv_FORMAT; \ - packed_data->func = glGetFramebufferAttachmentParameteriv; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLenum)attachment; \ - packed_data->args.a3 = (GLenum)pname; \ - packed_data->args.a4 = (GLint *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetIntegerv -#define push_glGetIntegerv(pname, params) { \ - glGetIntegerv_PACKED *packed_data = malloc(sizeof(glGetIntegerv_PACKED)); \ - packed_data->format = glGetIntegerv_FORMAT; \ - packed_data->func = glGetIntegerv; \ - packed_data->args.a1 = (GLenum)pname; \ - packed_data->args.a2 = (GLint *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetProgramInfoLog -#define push_glGetProgramInfoLog(program, bufSize, length, infoLog) { \ - glGetProgramInfoLog_PACKED *packed_data = malloc(sizeof(glGetProgramInfoLog_PACKED)); \ - packed_data->format = glGetProgramInfoLog_FORMAT; \ - packed_data->func = glGetProgramInfoLog; \ - packed_data->args.a1 = (GLuint)program; \ - packed_data->args.a2 = (GLsizei)bufSize; \ - packed_data->args.a3 = (GLsizei *)length; \ - packed_data->args.a4 = (GLchar *)infoLog; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetProgramiv -#define push_glGetProgramiv(program, pname, params) { \ - glGetProgramiv_PACKED *packed_data = malloc(sizeof(glGetProgramiv_PACKED)); \ - packed_data->format = glGetProgramiv_FORMAT; \ - packed_data->func = glGetProgramiv; \ - packed_data->args.a1 = (GLuint)program; \ - packed_data->args.a2 = (GLenum)pname; \ - packed_data->args.a3 = (GLint *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetRenderbufferParameteriv -#define push_glGetRenderbufferParameteriv(target, pname, params) { \ - glGetRenderbufferParameteriv_PACKED *packed_data = malloc(sizeof(glGetRenderbufferParameteriv_PACKED)); \ - packed_data->format = glGetRenderbufferParameteriv_FORMAT; \ - packed_data->func = glGetRenderbufferParameteriv; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLenum)pname; \ - packed_data->args.a3 = (GLint *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetShaderInfoLog -#define push_glGetShaderInfoLog(shader, bufSize, length, infoLog) { \ - glGetShaderInfoLog_PACKED *packed_data = malloc(sizeof(glGetShaderInfoLog_PACKED)); \ - packed_data->format = glGetShaderInfoLog_FORMAT; \ - packed_data->func = glGetShaderInfoLog; \ - packed_data->args.a1 = (GLuint)shader; \ - packed_data->args.a2 = (GLsizei)bufSize; \ - packed_data->args.a3 = (GLsizei *)length; \ - packed_data->args.a4 = (GLchar *)infoLog; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetShaderPrecisionFormat -#define push_glGetShaderPrecisionFormat(shadertype, precisiontype, range, precision) { \ - glGetShaderPrecisionFormat_PACKED *packed_data = malloc(sizeof(glGetShaderPrecisionFormat_PACKED)); \ - packed_data->format = glGetShaderPrecisionFormat_FORMAT; \ - packed_data->func = glGetShaderPrecisionFormat; \ - packed_data->args.a1 = (GLenum)shadertype; \ - packed_data->args.a2 = (GLenum)precisiontype; \ - packed_data->args.a3 = (GLint *)range; \ - packed_data->args.a4 = (GLint *)precision; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetShaderSource -#define push_glGetShaderSource(shader, bufSize, length, source) { \ - glGetShaderSource_PACKED *packed_data = malloc(sizeof(glGetShaderSource_PACKED)); \ - packed_data->format = glGetShaderSource_FORMAT; \ - packed_data->func = glGetShaderSource; \ - packed_data->args.a1 = (GLuint)shader; \ - packed_data->args.a2 = (GLsizei)bufSize; \ - packed_data->args.a3 = (GLsizei *)length; \ - packed_data->args.a4 = (GLchar *)source; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetShaderiv -#define push_glGetShaderiv(shader, pname, params) { \ - glGetShaderiv_PACKED *packed_data = malloc(sizeof(glGetShaderiv_PACKED)); \ - packed_data->format = glGetShaderiv_FORMAT; \ - packed_data->func = glGetShaderiv; \ - packed_data->args.a1 = (GLuint)shader; \ - packed_data->args.a2 = (GLenum)pname; \ - packed_data->args.a3 = (GLint *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetString -#define push_glGetString(name) { \ - glGetString_PACKED *packed_data = malloc(sizeof(glGetString_PACKED)); \ - packed_data->format = glGetString_FORMAT; \ - packed_data->func = glGetString; \ - packed_data->args.a1 = (GLenum)name; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetTexParameterfv -#define push_glGetTexParameterfv(target, pname, params) { \ - glGetTexParameterfv_PACKED *packed_data = malloc(sizeof(glGetTexParameterfv_PACKED)); \ - packed_data->format = glGetTexParameterfv_FORMAT; \ - packed_data->func = glGetTexParameterfv; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLenum)pname; \ - packed_data->args.a3 = (GLfloat *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetTexParameteriv -#define push_glGetTexParameteriv(target, pname, params) { \ - glGetTexParameteriv_PACKED *packed_data = malloc(sizeof(glGetTexParameteriv_PACKED)); \ - packed_data->format = glGetTexParameteriv_FORMAT; \ - packed_data->func = glGetTexParameteriv; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLenum)pname; \ - packed_data->args.a3 = (GLint *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetUniformLocation -#define push_glGetUniformLocation(program, name) { \ - glGetUniformLocation_PACKED *packed_data = malloc(sizeof(glGetUniformLocation_PACKED)); \ - packed_data->format = glGetUniformLocation_FORMAT; \ - packed_data->func = glGetUniformLocation; \ - packed_data->args.a1 = (GLuint)program; \ - packed_data->args.a2 = (GLchar *)name; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetUniformfv -#define push_glGetUniformfv(program, location, params) { \ - glGetUniformfv_PACKED *packed_data = malloc(sizeof(glGetUniformfv_PACKED)); \ - packed_data->format = glGetUniformfv_FORMAT; \ - packed_data->func = glGetUniformfv; \ - packed_data->args.a1 = (GLuint)program; \ - packed_data->args.a2 = (GLint)location; \ - packed_data->args.a3 = (GLfloat *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetUniformiv -#define push_glGetUniformiv(program, location, params) { \ - glGetUniformiv_PACKED *packed_data = malloc(sizeof(glGetUniformiv_PACKED)); \ - packed_data->format = glGetUniformiv_FORMAT; \ - packed_data->func = glGetUniformiv; \ - packed_data->args.a1 = (GLuint)program; \ - packed_data->args.a2 = (GLint)location; \ - packed_data->args.a3 = (GLint *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetVertexAttribPointerv -#define push_glGetVertexAttribPointerv(index, pname, pointer) { \ - glGetVertexAttribPointerv_PACKED *packed_data = malloc(sizeof(glGetVertexAttribPointerv_PACKED)); \ - packed_data->format = glGetVertexAttribPointerv_FORMAT; \ - packed_data->func = glGetVertexAttribPointerv; \ - packed_data->args.a1 = (GLuint)index; \ - packed_data->args.a2 = (GLenum)pname; \ - packed_data->args.a3 = (GLvoid **)pointer; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetVertexAttribfv -#define push_glGetVertexAttribfv(index, pname, params) { \ - glGetVertexAttribfv_PACKED *packed_data = malloc(sizeof(glGetVertexAttribfv_PACKED)); \ - packed_data->format = glGetVertexAttribfv_FORMAT; \ - packed_data->func = glGetVertexAttribfv; \ - packed_data->args.a1 = (GLuint)index; \ - packed_data->args.a2 = (GLenum)pname; \ - packed_data->args.a3 = (GLfloat *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glGetVertexAttribiv -#define push_glGetVertexAttribiv(index, pname, params) { \ - glGetVertexAttribiv_PACKED *packed_data = malloc(sizeof(glGetVertexAttribiv_PACKED)); \ - packed_data->format = glGetVertexAttribiv_FORMAT; \ - packed_data->func = glGetVertexAttribiv; \ - packed_data->args.a1 = (GLuint)index; \ - packed_data->args.a2 = (GLenum)pname; \ - packed_data->args.a3 = (GLint *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glHint -#define push_glHint(target, mode) { \ - glHint_PACKED *packed_data = malloc(sizeof(glHint_PACKED)); \ - packed_data->format = glHint_FORMAT; \ - packed_data->func = glHint; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLenum)mode; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glIsBuffer -#define push_glIsBuffer(buffer) { \ - glIsBuffer_PACKED *packed_data = malloc(sizeof(glIsBuffer_PACKED)); \ - packed_data->format = glIsBuffer_FORMAT; \ - packed_data->func = glIsBuffer; \ - packed_data->args.a1 = (GLuint)buffer; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glIsEnabled -#define push_glIsEnabled(cap) { \ - glIsEnabled_PACKED *packed_data = malloc(sizeof(glIsEnabled_PACKED)); \ - packed_data->format = glIsEnabled_FORMAT; \ - packed_data->func = glIsEnabled; \ - packed_data->args.a1 = (GLenum)cap; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glIsFramebuffer -#define push_glIsFramebuffer(framebuffer) { \ - glIsFramebuffer_PACKED *packed_data = malloc(sizeof(glIsFramebuffer_PACKED)); \ - packed_data->format = glIsFramebuffer_FORMAT; \ - packed_data->func = glIsFramebuffer; \ - packed_data->args.a1 = (GLuint)framebuffer; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glIsProgram -#define push_glIsProgram(program) { \ - glIsProgram_PACKED *packed_data = malloc(sizeof(glIsProgram_PACKED)); \ - packed_data->format = glIsProgram_FORMAT; \ - packed_data->func = glIsProgram; \ - packed_data->args.a1 = (GLuint)program; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glIsRenderbuffer -#define push_glIsRenderbuffer(renderbuffer) { \ - glIsRenderbuffer_PACKED *packed_data = malloc(sizeof(glIsRenderbuffer_PACKED)); \ - packed_data->format = glIsRenderbuffer_FORMAT; \ - packed_data->func = glIsRenderbuffer; \ - packed_data->args.a1 = (GLuint)renderbuffer; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glIsShader -#define push_glIsShader(shader) { \ - glIsShader_PACKED *packed_data = malloc(sizeof(glIsShader_PACKED)); \ - packed_data->format = glIsShader_FORMAT; \ - packed_data->func = glIsShader; \ - packed_data->args.a1 = (GLuint)shader; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glIsTexture -#define push_glIsTexture(texture) { \ - glIsTexture_PACKED *packed_data = malloc(sizeof(glIsTexture_PACKED)); \ - packed_data->format = glIsTexture_FORMAT; \ - packed_data->func = glIsTexture; \ - packed_data->args.a1 = (GLuint)texture; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glLineWidth -#define push_glLineWidth(width) { \ - glLineWidth_PACKED *packed_data = malloc(sizeof(glLineWidth_PACKED)); \ - packed_data->format = glLineWidth_FORMAT; \ - packed_data->func = glLineWidth; \ - packed_data->args.a1 = (GLfloat)width; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glLinkProgram -#define push_glLinkProgram(program) { \ - glLinkProgram_PACKED *packed_data = malloc(sizeof(glLinkProgram_PACKED)); \ - packed_data->format = glLinkProgram_FORMAT; \ - packed_data->func = glLinkProgram; \ - packed_data->args.a1 = (GLuint)program; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glPixelStorei -#define push_glPixelStorei(pname, param) { \ - glPixelStorei_PACKED *packed_data = malloc(sizeof(glPixelStorei_PACKED)); \ - packed_data->format = glPixelStorei_FORMAT; \ - packed_data->func = glPixelStorei; \ - packed_data->args.a1 = (GLenum)pname; \ - packed_data->args.a2 = (GLint)param; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glPolygonOffset -#define push_glPolygonOffset(factor, units) { \ - glPolygonOffset_PACKED *packed_data = malloc(sizeof(glPolygonOffset_PACKED)); \ - packed_data->format = glPolygonOffset_FORMAT; \ - packed_data->func = glPolygonOffset; \ - packed_data->args.a1 = (GLfloat)factor; \ - packed_data->args.a2 = (GLfloat)units; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glReadPixels -#define push_glReadPixels(x, y, width, height, format, type, pixels) { \ - glReadPixels_PACKED *packed_data = malloc(sizeof(glReadPixels_PACKED)); \ - packed_data->format = glReadPixels_FORMAT; \ - packed_data->func = glReadPixels; \ - packed_data->args.a1 = (GLint)x; \ - packed_data->args.a2 = (GLint)y; \ - packed_data->args.a3 = (GLsizei)width; \ - packed_data->args.a4 = (GLsizei)height; \ - packed_data->args.a5 = (GLenum)format; \ - packed_data->args.a6 = (GLenum)type; \ - packed_data->args.a7 = (GLvoid *)pixels; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glReleaseShaderCompiler -#define push_glReleaseShaderCompiler() { \ - glReleaseShaderCompiler_PACKED *packed_data = malloc(sizeof(glReleaseShaderCompiler_PACKED)); \ - packed_data->format = glReleaseShaderCompiler_FORMAT; \ - packed_data->func = glReleaseShaderCompiler; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glRenderbufferStorage -#define push_glRenderbufferStorage(target, internalformat, width, height) { \ - glRenderbufferStorage_PACKED *packed_data = malloc(sizeof(glRenderbufferStorage_PACKED)); \ - packed_data->format = glRenderbufferStorage_FORMAT; \ - packed_data->func = glRenderbufferStorage; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLenum)internalformat; \ - packed_data->args.a3 = (GLsizei)width; \ - packed_data->args.a4 = (GLsizei)height; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glSampleCoverage -#define push_glSampleCoverage(value, invert) { \ - glSampleCoverage_PACKED *packed_data = malloc(sizeof(glSampleCoverage_PACKED)); \ - packed_data->format = glSampleCoverage_FORMAT; \ - packed_data->func = glSampleCoverage; \ - packed_data->args.a1 = (GLclampf)value; \ - packed_data->args.a2 = (GLboolean)invert; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glScissor -#define push_glScissor(x, y, width, height) { \ - glScissor_PACKED *packed_data = malloc(sizeof(glScissor_PACKED)); \ - packed_data->format = glScissor_FORMAT; \ - packed_data->func = glScissor; \ - packed_data->args.a1 = (GLint)x; \ - packed_data->args.a2 = (GLint)y; \ - packed_data->args.a3 = (GLsizei)width; \ - packed_data->args.a4 = (GLsizei)height; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glShaderBinary -#define push_glShaderBinary(n, shaders, binaryformat, binary, length) { \ - glShaderBinary_PACKED *packed_data = malloc(sizeof(glShaderBinary_PACKED)); \ - packed_data->format = glShaderBinary_FORMAT; \ - packed_data->func = glShaderBinary; \ - packed_data->args.a1 = (GLsizei)n; \ - packed_data->args.a2 = (GLuint *)shaders; \ - packed_data->args.a3 = (GLenum)binaryformat; \ - packed_data->args.a4 = (GLvoid *)binary; \ - packed_data->args.a5 = (GLsizei)length; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glShaderSource -#define push_glShaderSource(shader, count, string, length) { \ - glShaderSource_PACKED *packed_data = malloc(sizeof(glShaderSource_PACKED)); \ - packed_data->format = glShaderSource_FORMAT; \ - packed_data->func = glShaderSource; \ - packed_data->args.a1 = (GLuint)shader; \ - packed_data->args.a2 = (GLsizei)count; \ - packed_data->args.a3 = (GLchar * *)string; \ - packed_data->args.a4 = (GLint *)length; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glStencilFunc -#define push_glStencilFunc(func, ref, mask) { \ - glStencilFunc_PACKED *packed_data = malloc(sizeof(glStencilFunc_PACKED)); \ - packed_data->format = glStencilFunc_FORMAT; \ - packed_data->func = glStencilFunc; \ - packed_data->args.a1 = (GLenum)func; \ - packed_data->args.a2 = (GLint)ref; \ - packed_data->args.a3 = (GLuint)mask; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glStencilFuncSeparate -#define push_glStencilFuncSeparate(face, func, ref, mask) { \ - glStencilFuncSeparate_PACKED *packed_data = malloc(sizeof(glStencilFuncSeparate_PACKED)); \ - packed_data->format = glStencilFuncSeparate_FORMAT; \ - packed_data->func = glStencilFuncSeparate; \ - packed_data->args.a1 = (GLenum)face; \ - packed_data->args.a2 = (GLenum)func; \ - packed_data->args.a3 = (GLint)ref; \ - packed_data->args.a4 = (GLuint)mask; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glStencilMask -#define push_glStencilMask(mask) { \ - glStencilMask_PACKED *packed_data = malloc(sizeof(glStencilMask_PACKED)); \ - packed_data->format = glStencilMask_FORMAT; \ - packed_data->func = glStencilMask; \ - packed_data->args.a1 = (GLuint)mask; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glStencilMaskSeparate -#define push_glStencilMaskSeparate(face, mask) { \ - glStencilMaskSeparate_PACKED *packed_data = malloc(sizeof(glStencilMaskSeparate_PACKED)); \ - packed_data->format = glStencilMaskSeparate_FORMAT; \ - packed_data->func = glStencilMaskSeparate; \ - packed_data->args.a1 = (GLenum)face; \ - packed_data->args.a2 = (GLuint)mask; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glStencilOp -#define push_glStencilOp(fail, zfail, zpass) { \ - glStencilOp_PACKED *packed_data = malloc(sizeof(glStencilOp_PACKED)); \ - packed_data->format = glStencilOp_FORMAT; \ - packed_data->func = glStencilOp; \ - packed_data->args.a1 = (GLenum)fail; \ - packed_data->args.a2 = (GLenum)zfail; \ - packed_data->args.a3 = (GLenum)zpass; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glStencilOpSeparate -#define push_glStencilOpSeparate(face, sfail, zfail, zpass) { \ - glStencilOpSeparate_PACKED *packed_data = malloc(sizeof(glStencilOpSeparate_PACKED)); \ - packed_data->format = glStencilOpSeparate_FORMAT; \ - packed_data->func = glStencilOpSeparate; \ - packed_data->args.a1 = (GLenum)face; \ - packed_data->args.a2 = (GLenum)sfail; \ - packed_data->args.a3 = (GLenum)zfail; \ - packed_data->args.a4 = (GLenum)zpass; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glTexImage2D -#define push_glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels) { \ - glTexImage2D_PACKED *packed_data = malloc(sizeof(glTexImage2D_PACKED)); \ - packed_data->format = glTexImage2D_FORMAT; \ - packed_data->func = glTexImage2D; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLint)level; \ - packed_data->args.a3 = (GLint)internalformat; \ - packed_data->args.a4 = (GLsizei)width; \ - packed_data->args.a5 = (GLsizei)height; \ - packed_data->args.a6 = (GLint)border; \ - packed_data->args.a7 = (GLenum)format; \ - packed_data->args.a8 = (GLenum)type; \ - packed_data->args.a9 = (GLvoid *)pixels; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glTexParameterf -#define push_glTexParameterf(target, pname, param) { \ - glTexParameterf_PACKED *packed_data = malloc(sizeof(glTexParameterf_PACKED)); \ - packed_data->format = glTexParameterf_FORMAT; \ - packed_data->func = glTexParameterf; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLenum)pname; \ - packed_data->args.a3 = (GLfloat)param; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glTexParameterfv -#define push_glTexParameterfv(target, pname, params) { \ - glTexParameterfv_PACKED *packed_data = malloc(sizeof(glTexParameterfv_PACKED)); \ - packed_data->format = glTexParameterfv_FORMAT; \ - packed_data->func = glTexParameterfv; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLenum)pname; \ - packed_data->args.a3 = (GLfloat *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glTexParameteri -#define push_glTexParameteri(target, pname, param) { \ - glTexParameteri_PACKED *packed_data = malloc(sizeof(glTexParameteri_PACKED)); \ - packed_data->format = glTexParameteri_FORMAT; \ - packed_data->func = glTexParameteri; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLenum)pname; \ - packed_data->args.a3 = (GLint)param; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glTexParameteriv -#define push_glTexParameteriv(target, pname, params) { \ - glTexParameteriv_PACKED *packed_data = malloc(sizeof(glTexParameteriv_PACKED)); \ - packed_data->format = glTexParameteriv_FORMAT; \ - packed_data->func = glTexParameteriv; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLenum)pname; \ - packed_data->args.a3 = (GLint *)params; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glTexSubImage2D -#define push_glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels) { \ - glTexSubImage2D_PACKED *packed_data = malloc(sizeof(glTexSubImage2D_PACKED)); \ - packed_data->format = glTexSubImage2D_FORMAT; \ - packed_data->func = glTexSubImage2D; \ - packed_data->args.a1 = (GLenum)target; \ - packed_data->args.a2 = (GLint)level; \ - packed_data->args.a3 = (GLint)xoffset; \ - packed_data->args.a4 = (GLint)yoffset; \ - packed_data->args.a5 = (GLsizei)width; \ - packed_data->args.a6 = (GLsizei)height; \ - packed_data->args.a7 = (GLenum)format; \ - packed_data->args.a8 = (GLenum)type; \ - packed_data->args.a9 = (GLvoid *)pixels; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform1f -#define push_glUniform1f(location, v0) { \ - glUniform1f_PACKED *packed_data = malloc(sizeof(glUniform1f_PACKED)); \ - packed_data->format = glUniform1f_FORMAT; \ - packed_data->func = glUniform1f; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLfloat)v0; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform1fv -#define push_glUniform1fv(location, count, value) { \ - glUniform1fv_PACKED *packed_data = malloc(sizeof(glUniform1fv_PACKED)); \ - packed_data->format = glUniform1fv_FORMAT; \ - packed_data->func = glUniform1fv; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLsizei)count; \ - packed_data->args.a3 = (GLfloat *)value; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform1i -#define push_glUniform1i(location, v0) { \ - glUniform1i_PACKED *packed_data = malloc(sizeof(glUniform1i_PACKED)); \ - packed_data->format = glUniform1i_FORMAT; \ - packed_data->func = glUniform1i; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLint)v0; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform1iv -#define push_glUniform1iv(location, count, value) { \ - glUniform1iv_PACKED *packed_data = malloc(sizeof(glUniform1iv_PACKED)); \ - packed_data->format = glUniform1iv_FORMAT; \ - packed_data->func = glUniform1iv; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLsizei)count; \ - packed_data->args.a3 = (GLint *)value; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform2f -#define push_glUniform2f(location, v0, v1) { \ - glUniform2f_PACKED *packed_data = malloc(sizeof(glUniform2f_PACKED)); \ - packed_data->format = glUniform2f_FORMAT; \ - packed_data->func = glUniform2f; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLfloat)v0; \ - packed_data->args.a3 = (GLfloat)v1; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform2fv -#define push_glUniform2fv(location, count, value) { \ - glUniform2fv_PACKED *packed_data = malloc(sizeof(glUniform2fv_PACKED)); \ - packed_data->format = glUniform2fv_FORMAT; \ - packed_data->func = glUniform2fv; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLsizei)count; \ - packed_data->args.a3 = (GLfloat *)value; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform2i -#define push_glUniform2i(location, v0, v1) { \ - glUniform2i_PACKED *packed_data = malloc(sizeof(glUniform2i_PACKED)); \ - packed_data->format = glUniform2i_FORMAT; \ - packed_data->func = glUniform2i; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLint)v0; \ - packed_data->args.a3 = (GLint)v1; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform2iv -#define push_glUniform2iv(location, count, value) { \ - glUniform2iv_PACKED *packed_data = malloc(sizeof(glUniform2iv_PACKED)); \ - packed_data->format = glUniform2iv_FORMAT; \ - packed_data->func = glUniform2iv; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLsizei)count; \ - packed_data->args.a3 = (GLint *)value; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform3f -#define push_glUniform3f(location, v0, v1, v2) { \ - glUniform3f_PACKED *packed_data = malloc(sizeof(glUniform3f_PACKED)); \ - packed_data->format = glUniform3f_FORMAT; \ - packed_data->func = glUniform3f; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLfloat)v0; \ - packed_data->args.a3 = (GLfloat)v1; \ - packed_data->args.a4 = (GLfloat)v2; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform3fv -#define push_glUniform3fv(location, count, value) { \ - glUniform3fv_PACKED *packed_data = malloc(sizeof(glUniform3fv_PACKED)); \ - packed_data->format = glUniform3fv_FORMAT; \ - packed_data->func = glUniform3fv; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLsizei)count; \ - packed_data->args.a3 = (GLfloat *)value; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform3i -#define push_glUniform3i(location, v0, v1, v2) { \ - glUniform3i_PACKED *packed_data = malloc(sizeof(glUniform3i_PACKED)); \ - packed_data->format = glUniform3i_FORMAT; \ - packed_data->func = glUniform3i; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLint)v0; \ - packed_data->args.a3 = (GLint)v1; \ - packed_data->args.a4 = (GLint)v2; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform3iv -#define push_glUniform3iv(location, count, value) { \ - glUniform3iv_PACKED *packed_data = malloc(sizeof(glUniform3iv_PACKED)); \ - packed_data->format = glUniform3iv_FORMAT; \ - packed_data->func = glUniform3iv; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLsizei)count; \ - packed_data->args.a3 = (GLint *)value; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform4f -#define push_glUniform4f(location, v0, v1, v2, v3) { \ - glUniform4f_PACKED *packed_data = malloc(sizeof(glUniform4f_PACKED)); \ - packed_data->format = glUniform4f_FORMAT; \ - packed_data->func = glUniform4f; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLfloat)v0; \ - packed_data->args.a3 = (GLfloat)v1; \ - packed_data->args.a4 = (GLfloat)v2; \ - packed_data->args.a5 = (GLfloat)v3; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform4fv -#define push_glUniform4fv(location, count, value) { \ - glUniform4fv_PACKED *packed_data = malloc(sizeof(glUniform4fv_PACKED)); \ - packed_data->format = glUniform4fv_FORMAT; \ - packed_data->func = glUniform4fv; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLsizei)count; \ - packed_data->args.a3 = (GLfloat *)value; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform4i -#define push_glUniform4i(location, v0, v1, v2, v3) { \ - glUniform4i_PACKED *packed_data = malloc(sizeof(glUniform4i_PACKED)); \ - packed_data->format = glUniform4i_FORMAT; \ - packed_data->func = glUniform4i; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLint)v0; \ - packed_data->args.a3 = (GLint)v1; \ - packed_data->args.a4 = (GLint)v2; \ - packed_data->args.a5 = (GLint)v3; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniform4iv -#define push_glUniform4iv(location, count, value) { \ - glUniform4iv_PACKED *packed_data = malloc(sizeof(glUniform4iv_PACKED)); \ - packed_data->format = glUniform4iv_FORMAT; \ - packed_data->func = glUniform4iv; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLsizei)count; \ - packed_data->args.a3 = (GLint *)value; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniformMatrix2fv -#define push_glUniformMatrix2fv(location, count, transpose, value) { \ - glUniformMatrix2fv_PACKED *packed_data = malloc(sizeof(glUniformMatrix2fv_PACKED)); \ - packed_data->format = glUniformMatrix2fv_FORMAT; \ - packed_data->func = glUniformMatrix2fv; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLsizei)count; \ - packed_data->args.a3 = (GLboolean)transpose; \ - packed_data->args.a4 = (GLfloat *)value; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniformMatrix3fv -#define push_glUniformMatrix3fv(location, count, transpose, value) { \ - glUniformMatrix3fv_PACKED *packed_data = malloc(sizeof(glUniformMatrix3fv_PACKED)); \ - packed_data->format = glUniformMatrix3fv_FORMAT; \ - packed_data->func = glUniformMatrix3fv; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLsizei)count; \ - packed_data->args.a3 = (GLboolean)transpose; \ - packed_data->args.a4 = (GLfloat *)value; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUniformMatrix4fv -#define push_glUniformMatrix4fv(location, count, transpose, value) { \ - glUniformMatrix4fv_PACKED *packed_data = malloc(sizeof(glUniformMatrix4fv_PACKED)); \ - packed_data->format = glUniformMatrix4fv_FORMAT; \ - packed_data->func = glUniformMatrix4fv; \ - packed_data->args.a1 = (GLint)location; \ - packed_data->args.a2 = (GLsizei)count; \ - packed_data->args.a3 = (GLboolean)transpose; \ - packed_data->args.a4 = (GLfloat *)value; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glUseProgram -#define push_glUseProgram(program) { \ - glUseProgram_PACKED *packed_data = malloc(sizeof(glUseProgram_PACKED)); \ - packed_data->format = glUseProgram_FORMAT; \ - packed_data->func = glUseProgram; \ - packed_data->args.a1 = (GLuint)program; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glValidateProgram -#define push_glValidateProgram(program) { \ - glValidateProgram_PACKED *packed_data = malloc(sizeof(glValidateProgram_PACKED)); \ - packed_data->format = glValidateProgram_FORMAT; \ - packed_data->func = glValidateProgram; \ - packed_data->args.a1 = (GLuint)program; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glVertexAttrib1f -#define push_glVertexAttrib1f(index, x) { \ - glVertexAttrib1f_PACKED *packed_data = malloc(sizeof(glVertexAttrib1f_PACKED)); \ - packed_data->format = glVertexAttrib1f_FORMAT; \ - packed_data->func = glVertexAttrib1f; \ - packed_data->args.a1 = (GLuint)index; \ - packed_data->args.a2 = (GLfloat)x; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glVertexAttrib1fv -#define push_glVertexAttrib1fv(index, v) { \ - glVertexAttrib1fv_PACKED *packed_data = malloc(sizeof(glVertexAttrib1fv_PACKED)); \ - packed_data->format = glVertexAttrib1fv_FORMAT; \ - packed_data->func = glVertexAttrib1fv; \ - packed_data->args.a1 = (GLuint)index; \ - packed_data->args.a2 = (GLfloat *)v; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glVertexAttrib2f -#define push_glVertexAttrib2f(index, x, y) { \ - glVertexAttrib2f_PACKED *packed_data = malloc(sizeof(glVertexAttrib2f_PACKED)); \ - packed_data->format = glVertexAttrib2f_FORMAT; \ - packed_data->func = glVertexAttrib2f; \ - packed_data->args.a1 = (GLuint)index; \ - packed_data->args.a2 = (GLfloat)x; \ - packed_data->args.a3 = (GLfloat)y; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glVertexAttrib2fv -#define push_glVertexAttrib2fv(index, v) { \ - glVertexAttrib2fv_PACKED *packed_data = malloc(sizeof(glVertexAttrib2fv_PACKED)); \ - packed_data->format = glVertexAttrib2fv_FORMAT; \ - packed_data->func = glVertexAttrib2fv; \ - packed_data->args.a1 = (GLuint)index; \ - packed_data->args.a2 = (GLfloat *)v; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glVertexAttrib3f -#define push_glVertexAttrib3f(index, x, y, z) { \ - glVertexAttrib3f_PACKED *packed_data = malloc(sizeof(glVertexAttrib3f_PACKED)); \ - packed_data->format = glVertexAttrib3f_FORMAT; \ - packed_data->func = glVertexAttrib3f; \ - packed_data->args.a1 = (GLuint)index; \ - packed_data->args.a2 = (GLfloat)x; \ - packed_data->args.a3 = (GLfloat)y; \ - packed_data->args.a4 = (GLfloat)z; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glVertexAttrib3fv -#define push_glVertexAttrib3fv(index, v) { \ - glVertexAttrib3fv_PACKED *packed_data = malloc(sizeof(glVertexAttrib3fv_PACKED)); \ - packed_data->format = glVertexAttrib3fv_FORMAT; \ - packed_data->func = glVertexAttrib3fv; \ - packed_data->args.a1 = (GLuint)index; \ - packed_data->args.a2 = (GLfloat *)v; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glVertexAttrib4f -#define push_glVertexAttrib4f(index, x, y, z, w) { \ - glVertexAttrib4f_PACKED *packed_data = malloc(sizeof(glVertexAttrib4f_PACKED)); \ - packed_data->format = glVertexAttrib4f_FORMAT; \ - packed_data->func = glVertexAttrib4f; \ - packed_data->args.a1 = (GLuint)index; \ - packed_data->args.a2 = (GLfloat)x; \ - packed_data->args.a3 = (GLfloat)y; \ - packed_data->args.a4 = (GLfloat)z; \ - packed_data->args.a5 = (GLfloat)w; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glVertexAttrib4fv -#define push_glVertexAttrib4fv(index, v) { \ - glVertexAttrib4fv_PACKED *packed_data = malloc(sizeof(glVertexAttrib4fv_PACKED)); \ - packed_data->format = glVertexAttrib4fv_FORMAT; \ - packed_data->func = glVertexAttrib4fv; \ - packed_data->args.a1 = (GLuint)index; \ - packed_data->args.a2 = (GLfloat *)v; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glVertexAttribPointer -#define push_glVertexAttribPointer(index, size, type, normalized, stride, pointer) { \ - glVertexAttribPointer_PACKED *packed_data = malloc(sizeof(glVertexAttribPointer_PACKED)); \ - packed_data->format = glVertexAttribPointer_FORMAT; \ - packed_data->func = glVertexAttribPointer; \ - packed_data->args.a1 = (GLuint)index; \ - packed_data->args.a2 = (GLint)size; \ - packed_data->args.a3 = (GLenum)type; \ - packed_data->args.a4 = (GLboolean)normalized; \ - packed_data->args.a5 = (GLsizei)stride; \ - packed_data->args.a6 = (GLvoid *)pointer; \ - glPushCall((void *)packed_data); \ -} -#endif -#ifndef direct_glViewport -#define push_glViewport(x, y, width, height) { \ - glViewport_PACKED *packed_data = malloc(sizeof(glViewport_PACKED)); \ - packed_data->format = glViewport_FORMAT; \ - packed_data->func = glViewport; \ - packed_data->args.a1 = (GLint)x; \ - packed_data->args.a2 = (GLint)y; \ - packed_data->args.a3 = (GLsizei)width; \ - packed_data->args.a4 = (GLsizei)height; \ - glPushCall((void *)packed_data); \ -} -#endif #endif diff --git a/project/jni/glshim/src/gl/wrap/glesext.c b/project/jni/glshim/src/gl/wrap/glesext.c index c9e9966ba..794398631 100755 --- a/project/jni/glshim/src/gl/wrap/glesext.c +++ b/project/jni/glshim/src/gl/wrap/glesext.c @@ -1,210 +1,233 @@ #ifndef USE_ES2 #include "gles.h" #ifndef skip_glBindFramebuffer -void glBindFramebuffer(GLenum target, GLuint framebuffer) { +void glshim_glBindFramebuffer(GLenum target, GLuint framebuffer) { LOAD_GLES_OES(glBindFramebuffer); #ifndef direct_glBindFramebuffer PUSH_IF_COMPILING(glBindFramebuffer) #endif gles_glBindFramebuffer(target, framebuffer); } +void glBindFramebuffer(GLenum target, GLuint framebuffer) __attribute__((alias("glshim_glBindFramebuffer"))); #endif #ifndef skip_glBindRenderbuffer -void glBindRenderbuffer(GLenum target, GLuint renderbuffer) { +void glshim_glBindRenderbuffer(GLenum target, GLuint renderbuffer) { LOAD_GLES_OES(glBindRenderbuffer); #ifndef direct_glBindRenderbuffer PUSH_IF_COMPILING(glBindRenderbuffer) #endif gles_glBindRenderbuffer(target, renderbuffer); } +void glBindRenderbuffer(GLenum target, GLuint renderbuffer) __attribute__((alias("glshim_glBindRenderbuffer"))); #endif #ifndef skip_glBlendColor -void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { +void glshim_glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { LOAD_GLES_OES(glBlendColor); #ifndef direct_glBlendColor PUSH_IF_COMPILING(glBlendColor) #endif gles_glBlendColor(red, green, blue, alpha); } +void glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) __attribute__((alias("glshim_glBlendColor"))); #endif #ifndef skip_glBlendEquation -void glBlendEquation(GLenum mode) { +void glshim_glBlendEquation(GLenum mode) { LOAD_GLES_OES(glBlendEquation); #ifndef direct_glBlendEquation PUSH_IF_COMPILING(glBlendEquation) #endif gles_glBlendEquation(mode); } +void glBlendEquation(GLenum mode) __attribute__((alias("glshim_glBlendEquation"))); #endif #ifndef skip_glBlendEquationSeparate -void glBlendEquationSeparate(GLenum modeRGB, GLenum modeA) { +void glshim_glBlendEquationSeparate(GLenum modeRGB, GLenum modeA) { LOAD_GLES_OES(glBlendEquationSeparate); #ifndef direct_glBlendEquationSeparate PUSH_IF_COMPILING(glBlendEquationSeparate) #endif gles_glBlendEquationSeparate(modeRGB, modeA); } +void glBlendEquationSeparate(GLenum modeRGB, GLenum modeA) __attribute__((alias("glshim_glBlendEquationSeparate"))); #endif #ifndef skip_glBlendFuncSeparate -void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { +void glshim_glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { LOAD_GLES_OES(glBlendFuncSeparate); #ifndef direct_glBlendFuncSeparate PUSH_IF_COMPILING(glBlendFuncSeparate) #endif gles_glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); } +void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) __attribute__((alias("glshim_glBlendFuncSeparate"))); #endif #ifndef skip_glCheckFramebufferStatus -GLenum glCheckFramebufferStatus(GLenum target) { +GLenum glshim_glCheckFramebufferStatus(GLenum target) { LOAD_GLES_OES(glCheckFramebufferStatus); #ifndef direct_glCheckFramebufferStatus PUSH_IF_COMPILING(glCheckFramebufferStatus) #endif return gles_glCheckFramebufferStatus(target); } +GLenum glCheckFramebufferStatus(GLenum target) __attribute__((alias("glshim_glCheckFramebufferStatus"))); #endif #ifndef skip_glDeleteFramebuffers -void glDeleteFramebuffers(GLsizei n, GLuint * framebuffers) { +void glshim_glDeleteFramebuffers(GLsizei n, GLuint * framebuffers) { LOAD_GLES_OES(glDeleteFramebuffers); #ifndef direct_glDeleteFramebuffers PUSH_IF_COMPILING(glDeleteFramebuffers) #endif gles_glDeleteFramebuffers(n, framebuffers); } +void glDeleteFramebuffers(GLsizei n, GLuint * framebuffers) __attribute__((alias("glshim_glDeleteFramebuffers"))); #endif #ifndef skip_glDeleteRenderbuffers -void glDeleteRenderbuffers(GLsizei n, GLuint * renderbuffers) { +void glshim_glDeleteRenderbuffers(GLsizei n, GLuint * renderbuffers) { LOAD_GLES_OES(glDeleteRenderbuffers); #ifndef direct_glDeleteRenderbuffers PUSH_IF_COMPILING(glDeleteRenderbuffers) #endif gles_glDeleteRenderbuffers(n, renderbuffers); } +void glDeleteRenderbuffers(GLsizei n, GLuint * renderbuffers) __attribute__((alias("glshim_glDeleteRenderbuffers"))); #endif #ifndef skip_glDrawTexf -void glDrawTexf(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) { +void glshim_glDrawTexf(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) { LOAD_GLES_OES(glDrawTexf); #ifndef direct_glDrawTexf PUSH_IF_COMPILING(glDrawTexf) #endif gles_glDrawTexf(x, y, z, width, height); } +void glDrawTexf(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) __attribute__((alias("glshim_glDrawTexf"))); #endif #ifndef skip_glDrawTexi -void glDrawTexi(GLint x, GLint y, GLint z, GLint width, GLint height) { +void glshim_glDrawTexi(GLint x, GLint y, GLint z, GLint width, GLint height) { LOAD_GLES_OES(glDrawTexi); #ifndef direct_glDrawTexi PUSH_IF_COMPILING(glDrawTexi) #endif gles_glDrawTexi(x, y, z, width, height); } +void glDrawTexi(GLint x, GLint y, GLint z, GLint width, GLint height) __attribute__((alias("glshim_glDrawTexi"))); #endif #ifndef skip_glFramebufferRenderbuffer -void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) { +void glshim_glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) { LOAD_GLES_OES(glFramebufferRenderbuffer); #ifndef direct_glFramebufferRenderbuffer PUSH_IF_COMPILING(glFramebufferRenderbuffer) #endif gles_glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); } +void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) __attribute__((alias("glshim_glFramebufferRenderbuffer"))); #endif #ifndef skip_glFramebufferTexture2D -void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { +void glshim_glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { LOAD_GLES_OES(glFramebufferTexture2D); #ifndef direct_glFramebufferTexture2D PUSH_IF_COMPILING(glFramebufferTexture2D) #endif gles_glFramebufferTexture2D(target, attachment, textarget, texture, level); } +void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) __attribute__((alias("glshim_glFramebufferTexture2D"))); #endif #ifndef skip_glGenFramebuffers -void glGenFramebuffers(GLsizei n, GLuint * ids) { +void glshim_glGenFramebuffers(GLsizei n, GLuint * ids) { LOAD_GLES_OES(glGenFramebuffers); #ifndef direct_glGenFramebuffers PUSH_IF_COMPILING(glGenFramebuffers) #endif gles_glGenFramebuffers(n, ids); } +void glGenFramebuffers(GLsizei n, GLuint * ids) __attribute__((alias("glshim_glGenFramebuffers"))); #endif #ifndef skip_glGenRenderbuffers -void glGenRenderbuffers(GLsizei n, GLuint * renderbuffers) { +void glshim_glGenRenderbuffers(GLsizei n, GLuint * renderbuffers) { LOAD_GLES_OES(glGenRenderbuffers); #ifndef direct_glGenRenderbuffers PUSH_IF_COMPILING(glGenRenderbuffers) #endif gles_glGenRenderbuffers(n, renderbuffers); } +void glGenRenderbuffers(GLsizei n, GLuint * renderbuffers) __attribute__((alias("glshim_glGenRenderbuffers"))); #endif #ifndef skip_glGenerateMipmap -void glGenerateMipmap(GLenum target) { +void glshim_glGenerateMipmap(GLenum target) { LOAD_GLES_OES(glGenerateMipmap); #ifndef direct_glGenerateMipmap PUSH_IF_COMPILING(glGenerateMipmap) #endif gles_glGenerateMipmap(target); } +void glGenerateMipmap(GLenum target) __attribute__((alias("glshim_glGenerateMipmap"))); #endif #ifndef skip_glGetFramebufferAttachmentParameteriv -void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint * params) { +void glshim_glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint * params) { LOAD_GLES_OES(glGetFramebufferAttachmentParameteriv); #ifndef direct_glGetFramebufferAttachmentParameteriv PUSH_IF_COMPILING(glGetFramebufferAttachmentParameteriv) #endif gles_glGetFramebufferAttachmentParameteriv(target, attachment, pname, params); } +void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetFramebufferAttachmentParameteriv"))); #endif #ifndef skip_glGetRenderbufferParameteriv -void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint * params) { LOAD_GLES_OES(glGetRenderbufferParameteriv); #ifndef direct_glGetRenderbufferParameteriv PUSH_IF_COMPILING(glGetRenderbufferParameteriv) #endif gles_glGetRenderbufferParameteriv(target, pname, params); } +void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetRenderbufferParameteriv"))); #endif #ifndef skip_glIsFramebuffer -GLboolean glIsFramebuffer(GLuint framebuffer) { +GLboolean glshim_glIsFramebuffer(GLuint framebuffer) { LOAD_GLES_OES(glIsFramebuffer); #ifndef direct_glIsFramebuffer PUSH_IF_COMPILING(glIsFramebuffer) #endif return gles_glIsFramebuffer(framebuffer); } +GLboolean glIsFramebuffer(GLuint framebuffer) __attribute__((alias("glshim_glIsFramebuffer"))); #endif #ifndef skip_glIsRenderbuffer -GLboolean glIsRenderbuffer(GLuint renderbuffer) { +GLboolean glshim_glIsRenderbuffer(GLuint renderbuffer) { LOAD_GLES_OES(glIsRenderbuffer); #ifndef direct_glIsRenderbuffer PUSH_IF_COMPILING(glIsRenderbuffer) #endif return gles_glIsRenderbuffer(renderbuffer); } +GLboolean glIsRenderbuffer(GLuint renderbuffer) __attribute__((alias("glshim_glIsRenderbuffer"))); #endif #ifndef skip_glRenderbufferStorage -void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) { +void glshim_glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) { LOAD_GLES_OES(glRenderbufferStorage); #ifndef direct_glRenderbufferStorage PUSH_IF_COMPILING(glRenderbufferStorage) #endif gles_glRenderbufferStorage(target, internalformat, width, height); } +void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) __attribute__((alias("glshim_glRenderbufferStorage"))); #endif #ifndef skip_glTexGenfv -void glTexGenfv(GLenum coord, GLenum pname, const GLfloat * params) { +void glshim_glTexGenfv(GLenum coord, GLenum pname, const GLfloat * params) { LOAD_GLES_OES(glTexGenfv); #ifndef direct_glTexGenfv PUSH_IF_COMPILING(glTexGenfv) #endif gles_glTexGenfv(coord, pname, params); } +void glTexGenfv(GLenum coord, GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glTexGenfv"))); #endif #ifndef skip_glTexGeni -void glTexGeni(GLenum coord, GLenum pname, GLint param) { +void glshim_glTexGeni(GLenum coord, GLenum pname, GLint param) { LOAD_GLES_OES(glTexGeni); #ifndef direct_glTexGeni PUSH_IF_COMPILING(glTexGeni) #endif gles_glTexGeni(coord, pname, param); } +void glTexGeni(GLenum coord, GLenum pname, GLint param) __attribute__((alias("glshim_glTexGeni"))); #endif #endif diff --git a/project/jni/glshim/src/gl/wrap/glstub.c b/project/jni/glshim/src/gl/wrap/glstub.c index b9902b037..e7d1e46a2 100755 --- a/project/jni/glshim/src/gl/wrap/glstub.c +++ b/project/jni/glshim/src/gl/wrap/glstub.c @@ -1,74 +1,75 @@ #include "stub.h" -#define STUB(def)\ -def {\ +#define STUB(ret, def, args)\ +ret glshim_ ## def args {\ char *debug = getenv("LIBGL_DEBUG");\ if (debug && strcmp(debug, "1") == 0)\ printf("stub: %s;\n", #def);\ -} +} \ +ret def args __attribute((alias("glshim_"#def))); -STUB(void glFogCoordd(GLdouble coord)) -STUB(void glFogCoordf(GLfloat coord)) -STUB(void glFogCoorddv(const GLdouble *coord)) -STUB(void glFogCoordfv(const GLfloat *coord)) +STUB(void,glFogCoordd,(GLdouble coord)); +STUB(void,glFogCoordf,(GLfloat coord)); +STUB(void,glFogCoorddv,(const GLdouble *coord)); +STUB(void,glFogCoordfv,(const GLfloat *coord)); #ifdef BCMHOST -STUB(void glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum *attachments)) +STUB(void,glDiscardFramebufferEXT,(GLenum target, GLsizei numAttachments, const GLenum *attachments)); #endif #ifdef USE_ES2 -STUB(void glClipPlanef(GLenum plane, const GLfloat *equation)); -STUB(void glDisableClientState(GLenum state)); -STUB(void glEnableClientState(GLenum state)); -STUB(void glFogf(GLenum pname, GLfloat param)); -STUB(void glFogfv(GLenum pname, const GLfloat *params)); -STUB(void glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat near, GLfloat far)); -STUB(void glGetClipPlanef(GLenum plane, GLfloat *equation)); -STUB(void glLightf(GLenum light, GLenum pname, GLfloat param)); -STUB(void glLightfv(GLenum light, GLenum pname, const GLfloat *params)); -STUB(void glLoadIdentity()); -STUB(void glLoadMatrixf(const GLfloat *m)); -STUB(void glMaterialf(GLenum face, GLenum pname, GLfloat param)); -STUB(void glMatrixMode(GLenum mode)); -STUB(void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat r, GLfloat q, GLfloat t)); -STUB(void glMultMatrixf(const GLfloat *m)); -STUB(void glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat nearVal, GLfloat farVal)); -STUB(void glPopMatrix()); -STUB(void glPushMatrix()); -STUB(void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)); -STUB(void glScalef(GLfloat x, GLfloat y, GLfloat z)); -STUB(void glTexEnvf(GLenum target, GLenum pname, GLfloat param)); -STUB(void glTexEnvi(GLenum target, GLenum pname, GLint param)); -STUB(void glTranslatef(GLfloat x, GLfloat y, GLfloat z)); +STUB(void,glClipPlanef,(GLenum plane, const GLfloat *equation)); +STUB(void,glDisableClientState,(GLenum state)); +STUB(void,glEnableClientState,(GLenum state)); +STUB(void,glFogf,(GLenum pname, GLfloat param)); +STUB(void,glFogfv,(GLenum pname, const GLfloat *params)); +STUB(void,glFrustumf,(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat near, GLfloat far)); +STUB(void,glGetClipPlanef,(GLenum plane, GLfloat *equation)); +STUB(void,glLightf,(GLenum light, GLenum pname, GLfloat param)); +STUB(void,glLightfv,(GLenum light, GLenum pname, const GLfloat *params)); +STUB(void,glLoadIdentity,()); +STUB(void,glLoadMatrixf,(const GLfloat *m)); +STUB(void,glMaterialf,(GLenum face, GLenum pname, GLfloat param)); +STUB(void,glMatrixMode,(GLenum mode)); +STUB(void,glMultiTexCoord4f,(GLenum target, GLfloat s, GLfloat r, GLfloat q, GLfloat t)); +STUB(void,glMultMatrixf,(const GLfloat *m)); +STUB(void,glOrthof,(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat nearVal, GLfloat farVal)); +STUB(void,glPopMatrix,()); +STUB(void,glPushMatrix,()); +STUB(void,glRotatef,(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)); +STUB(void,glScalef,(GLfloat x, GLfloat y, GLfloat z)); +STUB(void,glTexEnvf,(GLenum target, GLenum pname, GLfloat param)); +STUB(void,glTexEnvi,(GLenum target, GLenum pname, GLint param)); +STUB(void,glTranslatef,(GLfloat x, GLfloat y, GLfloat z)); #endif /* STUB(void glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha)) STUB(void glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)) */ -STUB(void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)) -STUB(void glColorMaterial(GLenum face, GLenum mode)) -STUB(void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)) -STUB(void glDrawBuffer(GLenum mode)) -STUB(void glEdgeFlag(GLboolean flag)) -STUB(void glIndexf(GLfloat c)) -STUB(void glPolygonStipple(const GLubyte *mask)) -STUB(void glReadBuffer(GLenum mode)) -//STUB(void glSecondaryColor3f(GLfloat r, GLfloat g, GLfloat b)) -STUB(void glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table)) +STUB(void,glClearAccum,(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)); +STUB(void,glColorMaterial,(GLenum face, GLenum mode)); +STUB(void,glCopyPixels,(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)); +STUB(void,glDrawBuffer,(GLenum mode)); +STUB(void,glEdgeFlag,(GLboolean flag)); +STUB(void,glIndexf,(GLfloat c)); +STUB(void,glPolygonStipple,(const GLubyte *mask)); +STUB(void,glReadBuffer,(GLenum mode)); +//STUB(void glSecondaryColor3f(GLfloat r, GLfloat g, GLfloat b)); +STUB(void,glColorTable,(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table)); -STUB(void glAccum(GLenum op, GLfloat value)) -STUB(void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLclampf *priorities)) -STUB(void glPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat *values)) -STUB(void glPixelMapuiv(GLenum map,GLsizei mapsize, const GLuint *values)) -STUB(void glPixelMapusv(GLenum map,GLsizei mapsize, const GLushort *values)) -STUB(void glPassThrough(GLfloat token)) -STUB(void glIndexMask(GLuint mask)) -STUB(void glGetPixelMapfv(GLenum map, GLfloat *data)) -STUB(void glGetPixelMapuiv(GLenum map, GLuint *data)) -STUB(void glGetPixelMapusv(GLenum map, GLushort *data)) -STUB(void glClearIndex(GLfloat c)) -STUB(void glGetPolygonStipple(GLubyte *pattern)) -STUB(void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer)) -STUB(void glEdgeFlagv(GLboolean *flag)) -//STUB(void glIndexPointer(GLenum type, GLsizei stride, const GLvoid * pointer)) +STUB(void,glAccum,(GLenum op, GLfloat value)); +STUB(void,glPrioritizeTextures,(GLsizei n, const GLuint *textures, const GLclampf *priorities)); +STUB(void,glPixelMapfv,(GLenum map, GLsizei mapsize, const GLfloat *values)); +STUB(void,glPixelMapuiv,(GLenum map,GLsizei mapsize, const GLuint *values)); +STUB(void,glPixelMapusv,(GLenum map,GLsizei mapsize, const GLushort *values)); +STUB(void,glPassThrough,(GLfloat token)); +STUB(void,glIndexMask,(GLuint mask)); +STUB(void,glGetPixelMapfv,(GLenum map, GLfloat *data)); +STUB(void,glGetPixelMapuiv,(GLenum map, GLuint *data)); +STUB(void,glGetPixelMapusv,(GLenum map, GLushort *data)); +STUB(void,glClearIndex,(GLfloat c)); +STUB(void,glGetPolygonStipple,(GLubyte *pattern)); +STUB(void,glFeedbackBuffer,(GLsizei size, GLenum type, GLfloat *buffer)); +STUB(void,glEdgeFlagv,(GLboolean *flag)); +//STUB(void glIndexPointer(GLenum type, GLsizei stride, const GLvoid * pointer)); #undef STUB diff --git a/project/jni/glshim/src/gl/wrap/stub.h b/project/jni/glshim/src/gl/wrap/stub.h index 01be9ab2f..c759bcdcc 100755 --- a/project/jni/glshim/src/gl/wrap/stub.h +++ b/project/jni/glshim/src/gl/wrap/stub.h @@ -1,40 +1,40 @@ #include "../gl.h" -//GLint glRenderMode(GLenum mode); -//void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); -void glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha); -//void glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -void glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -void glColorMaterial(GLenum face, GLenum mode); -void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); -void glDrawBuffer(GLenum mode); -void glEdgeFlag(GLboolean flag); -void glFogCoordd(GLdouble coord); -void glFogCoorddv(const GLdouble *coord); -void glFogCoordf(GLfloat coord); -void glFogCoordfv(const GLfloat *coord); -//void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * img); -//void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params); -//void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params); -void glIndexf(GLfloat c); -void glLightModeli(GLenum pname, GLint param); -void glPolygonStipple(const GLubyte *mask); -void glReadBuffer(GLenum mode); -void glSecondaryColor3f(GLfloat r, GLfloat g, GLfloat b); -void glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); -//void glIndexPointer(GLenum type, GLsizei stride, const GLvoid * pointer); +//GLint glshim_glRenderMode(GLenum mode); +//void glshim_glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); +void glshim_glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha); +//void glshim_glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +void glshim_glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +void glshim_glColorMaterial(GLenum face, GLenum mode); +void glshim_glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); +void glshim_glDrawBuffer(GLenum mode); +void glshim_glEdgeFlag(GLboolean flag); +void glshim_glFogCoordd(GLdouble coord); +void glshim_glFogCoorddv(const GLdouble *coord); +void glshim_glFogCoordf(GLfloat coord); +void glshim_glFogCoordfv(const GLfloat *coord); +//void glshim_glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * img); +//void glshim_glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params); +//void glshim_glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params); +void glshim_glIndexf(GLfloat c); +void glshim_glLightModeli(GLenum pname, GLint param); +void glshim_glPolygonStipple(const GLubyte *mask); +void glshim_glReadBuffer(GLenum mode); +void glshim_glSecondaryColor3f(GLfloat r, GLfloat g, GLfloat b); +void glshim_glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); +//void glshim_glIndexPointer(GLenum type, GLsizei stride, const GLvoid * pointer); -void glAccum(GLenum op, GLfloat value); -void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLclampf *priorities); -void glPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat *values); -void glPixelMapuiv(GLenum map,GLsizei mapsize, const GLuint *values); -void glPixelMapusv(GLenum map,GLsizei mapsize, const GLushort *values); -void glPassThrough(GLfloat token); -void glIndexMask(GLuint mask); -void glGetPixelMapfv(GLenum map, GLfloat *data); -void glGetPixelMapuiv(GLenum map, GLuint *data); -void glGetPixelMapusv(GLenum map, GLushort *data); -void glClearIndex(GLfloat c); -void glGetPolygonStipple(GLubyte *pattern); -void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer); -void glEdgeFlagv(GLboolean *flag); +void glshim_glAccum(GLenum op, GLfloat value); +void glshim_glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLclampf *priorities); +void glshim_glPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat *values); +void glshim_glPixelMapuiv(GLenum map,GLsizei mapsize, const GLuint *values); +void glshim_glPixelMapusv(GLenum map,GLsizei mapsize, const GLushort *values); +void glshim_glPassThrough(GLfloat token); +void glshim_glIndexMask(GLuint mask); +void glshim_glGetPixelMapfv(GLenum map, GLfloat *data); +void glshim_glGetPixelMapuiv(GLenum map, GLuint *data); +void glshim_glGetPixelMapusv(GLenum map, GLushort *data); +void glshim_glClearIndex(GLfloat c); +void glshim_glGetPolygonStipple(GLubyte *pattern); +void glshim_glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer); +void glshim_glEdgeFlagv(GLboolean *flag); diff --git a/project/jni/glshim/src/glx/glesfuncs.inc b/project/jni/glshim/src/glx/glesfuncs.inc index 420595b74..230cf9f06 100755 --- a/project/jni/glshim/src/glx/glesfuncs.inc +++ b/project/jni/glshim/src/glx/glesfuncs.inc @@ -1,168 +1,168 @@ -EX(glActiveTexture); -EX(glAlphaFunc); -EX(glAlphaFuncx); -EX(glBindBuffer); -EX(glBindFramebuffer); -EX(glBindRenderbuffer); -EX(glBindTexture); -//EX(glBlendColor); -EX(glBlendEquation); -EX(glBlendEquationSeparate); -EX(glBlendFunc); -EX(glBlendFuncSeparate); -EX(glBufferData); -EX(glBufferSubData); -EX(glCheckFramebufferStatus); -EX(glClear); -EX(glClearColor); -EX(glClearColorx); -EX(glClearDepthf); -EX(glClearDepthx); -EX(glClearStencil); -EX(glClientActiveTexture); -EX(glClipPlanef); -EX(glClipPlanex); -EX(glColor4f); -EX(glColor4ub); -EX(glColor4x); -EX(glColorMask); -EX(glColorPointer); -EX(glCompressedTexImage2D); -EX(glCompressedTexSubImage2D); -EX(glCopyTexImage2D); -EX(glCopyTexSubImage2D); -EX(glCullFace); -EX(glDeleteBuffers); -EX(glDeleteFramebuffers); -EX(glDeleteRenderbuffers); -EX(glDeleteTextures); -EX(glDepthFunc); -EX(glDepthMask); -EX(glDepthRangef); -EX(glDepthRangex); -EX(glDisable); -EX(glDisableClientState); -EX(glDrawArrays); -EX(glDrawElements); -EX(glDrawTexf); -EX(glDrawTexi); -EX(glEnable); -EX(glEnableClientState); -EX(glFinish); -EX(glFlush); -EX(glFogf); -EX(glFogfv); -EX(glFogx); -EX(glFogxv); -EX(glFramebufferRenderbuffer); -EX(glFramebufferTexture2D); -EX(glFrontFace); -EX(glFrustumf); -EX(glFrustumx); -EX(glGenBuffers); -EX(glGenFramebuffers); -EX(glGenRenderbuffers); -EX(glGenTextures); -EX(glGenerateMipmap); -EX(glGetBooleanv); -EX(glGetBufferParameteriv); -EX(glGetClipPlanef); -EX(glGetClipPlanex); -EX(glGetError); -EX(glGetFixedv); -EX(glGetFloatv); -EX(glGetFramebufferAttachmentParameteriv); -EX(glGetIntegerv); -EX(glGetLightfv); -EX(glGetLightxv); -EX(glGetMaterialfv); -EX(glGetMaterialxv); -EX(glGetPointerv); -EX(glGetRenderbufferParameteriv); -EX(glGetString); -EX(glGetTexEnvfv); -EX(glGetTexEnviv); -EX(glGetTexEnvxv); -EX(glGetTexParameterfv); -EX(glGetTexParameteriv); -EX(glGetTexParameterxv); -EX(glHint); -EX(glIsBuffer); -EX(glIsEnabled); -EX(glIsFramebuffer); -EX(glIsRenderbuffer); -EX(glIsTexture); -EX(glLightModelf); -EX(glLightModelfv); -EX(glLightModelx); -EX(glLightModelxv); -EX(glLightf); -EX(glLightfv); -EX(glLightx); -EX(glLightxv); -EX(glLineWidth); -EX(glLineWidthx); -EX(glLoadIdentity); -EX(glLoadMatrixf); -EX(glLoadMatrixx); -EX(glLogicOp); -EX(glMaterialf); -EX(glMaterialfv); -EX(glMaterialx); -EX(glMaterialxv); -EX(glMatrixMode); -EX(glMultMatrixf); -EX(glMultMatrixx); -EX(glMultiTexCoord4f); -EX(glMultiTexCoord4x); -EX(glNormal3f); -EX(glNormal3x); -EX(glNormalPointer); -EX(glOrthof); -EX(glOrthox); -EX(glPixelStorei); -EX(glPointParameterf); -EX(glPointParameterfv); -EX(glPointParameterx); -EX(glPointParameterxv); -EX(glPointSize); -EX(glPointSizePointerOES); -EX(glPointSizex); -EX(glPolygonOffset); -EX(glPolygonOffsetx); -EX(glPopMatrix); -EX(glPushMatrix); -EX(glReadPixels); -EX(glRenderbufferStorage); -EX(glRotatef); -EX(glRotatex); -EX(glSampleCoverage); -EX(glSampleCoveragex); -EX(glScalef); -EX(glScalex); -EX(glScissor); -EX(glShadeModel); -EX(glStencilFunc); -EX(glStencilMask); -EX(glStencilOp); -EX(glTexCoordPointer); -EX(glTexEnvf); -EX(glTexEnvfv); -EX(glTexEnvi); -EX(glTexEnviv); -EX(glTexEnvx); -EX(glTexEnvxv); -EX(glTexGenfv); -EX(glTexGeni); -EX(glTexImage2D); -EX(glTexParameterf); -EX(glTexParameterfv); -EX(glTexParameteri); -EX(glTexParameteriv); -EX(glTexParameterx); -EX(glTexParameterxv); -EX(glTexSubImage2D); -EX(glTranslatef); -EX(glTranslatex); -EX(glVertexPointer); -EX(glViewport); +_EX(glActiveTexture); +_EX(glAlphaFunc); +_EX(glAlphaFuncx); +_EX(glBindBuffer); +_EX(glBindFramebuffer); +_EX(glBindRenderbuffer); +_EX(glBindTexture); +//_EX(glBlendColor); +_EX(glBlendEquation); +_EX(glBlendEquationSeparate); +_EX(glBlendFunc); +_EX(glBlendFuncSeparate); +_EX(glBufferData); +_EX(glBufferSubData); +_EX(glCheckFramebufferStatus); +_EX(glClear); +_EX(glClearColor); +_EX(glClearColorx); +_EX(glClearDepthf); +_EX(glClearDepthx); +_EX(glClearStencil); +_EX(glClientActiveTexture); +_EX(glClipPlanef); +_EX(glClipPlanex); +_EX(glColor4f); +_EX(glColor4ub); +_EX(glColor4x); +_EX(glColorMask); +_EX(glColorPointer); +_EX(glCompressedTexImage2D); +_EX(glCompressedTexSubImage2D); +_EX(glCopyTexImage2D); +_EX(glCopyTexSubImage2D); +_EX(glCullFace); +_EX(glDeleteBuffers); +_EX(glDeleteFramebuffers); +_EX(glDeleteRenderbuffers); +_EX(glDeleteTextures); +_EX(glDepthFunc); +_EX(glDepthMask); +_EX(glDepthRangef); +_EX(glDepthRangex); +_EX(glDisable); +_EX(glDisableClientState); +_EX(glDrawArrays); +_EX(glDrawElements); +_EX(glDrawTexf); +_EX(glDrawTexi); +_EX(glEnable); +_EX(glEnableClientState); +_EX(glFinish); +_EX(glFlush); +_EX(glFogf); +_EX(glFogfv); +_EX(glFogx); +_EX(glFogxv); +_EX(glFramebufferRenderbuffer); +_EX(glFramebufferTexture2D); +_EX(glFrontFace); +_EX(glFrustumf); +_EX(glFrustumx); +_EX(glGenBuffers); +_EX(glGenFramebuffers); +_EX(glGenRenderbuffers); +_EX(glGenTextures); +_EX(glGenerateMipmap); +_EX(glGetBooleanv); +_EX(glGetBufferParameteriv); +_EX(glGetClipPlanef); +_EX(glGetClipPlanex); +_EX(glGetError); +_EX(glGetFixedv); +_EX(glGetFloatv); +_EX(glGetFramebufferAttachmentParameteriv); +_EX(glGetIntegerv); +_EX(glGetLightfv); +_EX(glGetLightxv); +_EX(glGetMaterialfv); +_EX(glGetMaterialxv); +_EX(glGetPointerv); +_EX(glGetRenderbufferParameteriv); +_EX(glGetString); +_EX(glGetTexEnvfv); +_EX(glGetTexEnviv); +_EX(glGetTexEnvxv); +_EX(glGetTexParameterfv); +_EX(glGetTexParameteriv); +_EX(glGetTexParameterxv); +_EX(glHint); +_EX(glIsBuffer); +_EX(glIsEnabled); +_EX(glIsFramebuffer); +_EX(glIsRenderbuffer); +_EX(glIsTexture); +_EX(glLightModelf); +_EX(glLightModelfv); +_EX(glLightModelx); +_EX(glLightModelxv); +_EX(glLightf); +_EX(glLightfv); +_EX(glLightx); +_EX(glLightxv); +_EX(glLineWidth); +_EX(glLineWidthx); +_EX(glLoadIdentity); +_EX(glLoadMatrixf); +_EX(glLoadMatrixx); +_EX(glLogicOp); +_EX(glMaterialf); +_EX(glMaterialfv); +_EX(glMaterialx); +_EX(glMaterialxv); +_EX(glMatrixMode); +_EX(glMultMatrixf); +_EX(glMultMatrixx); +_EX(glMultiTexCoord4f); +_EX(glMultiTexCoord4x); +_EX(glNormal3f); +_EX(glNormal3x); +_EX(glNormalPointer); +_EX(glOrthof); +_EX(glOrthox); +_EX(glPixelStorei); +_EX(glPointParameterf); +_EX(glPointParameterfv); +_EX(glPointParameterx); +_EX(glPointParameterxv); +_EX(glPointSize); +_EX(glPointSizePointerOES); +_EX(glPointSizex); +_EX(glPolygonOffset); +_EX(glPolygonOffsetx); +_EX(glPopMatrix); +_EX(glPushMatrix); +_EX(glReadPixels); +_EX(glRenderbufferStorage); +_EX(glRotatef); +_EX(glRotatex); +_EX(glSampleCoverage); +_EX(glSampleCoveragex); +_EX(glScalef); +_EX(glScalex); +_EX(glScissor); +_EX(glShadeModel); +_EX(glStencilFunc); +_EX(glStencilMask); +_EX(glStencilOp); +_EX(glTexCoordPointer); +_EX(glTexEnvf); +_EX(glTexEnvfv); +_EX(glTexEnvi); +_EX(glTexEnviv); +_EX(glTexEnvx); +_EX(glTexEnvxv); +_EX(glTexGenfv); +_EX(glTexGeni); +_EX(glTexImage2D); +_EX(glTexParameterf); +_EX(glTexParameterfv); +_EX(glTexParameteri); +_EX(glTexParameteriv); +_EX(glTexParameterx); +_EX(glTexParameterxv); +_EX(glTexSubImage2D); +_EX(glTranslatef); +_EX(glTranslatex); +_EX(glVertexPointer); +_EX(glViewport); diff --git a/project/jni/glshim/src/glx/glx.c b/project/jni/glshim/src/glx/glx.c index 856e27b28..34e89b291 100755 --- a/project/jni/glshim/src/glx/glx.c +++ b/project/jni/glshim/src/glx/glx.c @@ -14,16 +14,17 @@ #include "glx.h" #include "utils.h" -#include +//#include +#include "../gl/gl.h" #include "../glx/streaming.h" -bool eglInitialized = false; -EGLDisplay eglDisplay; -EGLSurface eglSurface; -EGLConfig eglConfigs[1]; +static bool eglInitialized = false; +static EGLDisplay eglDisplay; +static EGLSurface eglSurface; +static EGLConfig eglConfigs[1]; #ifdef PANDORA -struct sockaddr_un sun; -int sock = -2; +static struct sockaddr_un sun; +static int sock = -2; #endif extern void* egl; @@ -259,13 +260,18 @@ static void init_liveinfo() { } #endif extern void initialize_glshim(); +extern int initialized; static void scan_env() { static bool first = true; if (! first) return; + if (! initialized) + { + initialize_glshim(); + } /* Check for some corruption inside state.... */ - if ((state.texture.active < 0) || (state.texture.active > MAX_TEX) || - (state.vao->pointers.vertex.buffer!= 0) || (state.vao->vertex != 0)) { + if ((glstate.texture.active < 0) || (glstate.texture.active > MAX_TEX) || + (glstate.vao->pointers.vertex.buffer!= 0) || (glstate.vao->vertex != 0) || (glstate.list.active!=0)) { printf("LIBGL: Warning, memory corruption detected at init, trying to compensate\n"); initialize_glshim(); } @@ -741,8 +747,8 @@ void glXSwapBuffers(Display *display, static int frames = 0; LOAD_EGL(eglSwapBuffers); - int old_batch = state.gl_batch; - if (state.gl_batch){ + int old_batch = glstate.gl_batch; + if (glstate.gl_batch || glstate.list.active){ flush(); } #ifdef PANDORA @@ -756,7 +762,7 @@ void glXSwapBuffers(Display *display, } #endif if (g_usefbo) { - state.gl_batch = 0; + glstate.gl_batch = 0; unbindMainFBO(); blitMainFBO(); // blit the main_fbo before swap @@ -801,7 +807,7 @@ void glXSwapBuffers(Display *display, } #endif if (g_usefbo) { - state.gl_batch = old_batch; + glstate.gl_batch = old_batch; bindMainFBO(); } } @@ -998,19 +1004,19 @@ void glXUseXFont(Font font, int first, int count, int listBase) { // Save GL texture parameters GLint swapbytes, lsbfirst, rowlength; GLint skiprows, skippixels, alignment; - glGetIntegerv(GL_UNPACK_SWAP_BYTES, &swapbytes); - glGetIntegerv(GL_UNPACK_LSB_FIRST, &lsbfirst); - glGetIntegerv(GL_UNPACK_ROW_LENGTH, &rowlength); - glGetIntegerv(GL_UNPACK_SKIP_ROWS, &skiprows); - glGetIntegerv(GL_UNPACK_SKIP_PIXELS, &skippixels); - glGetIntegerv(GL_UNPACK_ALIGNMENT, &alignment); + glshim_glGetIntegerv(GL_UNPACK_SWAP_BYTES, &swapbytes); + glshim_glGetIntegerv(GL_UNPACK_LSB_FIRST, &lsbfirst); + glshim_glGetIntegerv(GL_UNPACK_ROW_LENGTH, &rowlength); + glshim_glGetIntegerv(GL_UNPACK_SKIP_ROWS, &skiprows); + glshim_glGetIntegerv(GL_UNPACK_SKIP_PIXELS, &skippixels); + glshim_glGetIntegerv(GL_UNPACK_ALIGNMENT, &alignment); // Set Safe Texture params - glPixelStorei(GL_UNPACK_SWAP_BYTES, GL_FALSE); - glPixelStorei(GL_UNPACK_LSB_FIRST, GL_FALSE); - glPixelStorei(GL_UNPACK_ROW_LENGTH, 0); - glPixelStorei(GL_UNPACK_SKIP_ROWS, 0); - glPixelStorei(GL_UNPACK_SKIP_PIXELS, 0); - glPixelStorei(GL_UNPACK_ALIGNMENT, 1); + glshim_glPixelStorei(GL_UNPACK_SWAP_BYTES, GL_FALSE); + glshim_glPixelStorei(GL_UNPACK_LSB_FIRST, GL_FALSE); + glshim_glPixelStorei(GL_UNPACK_ROW_LENGTH, 0); + glshim_glPixelStorei(GL_UNPACK_SKIP_ROWS, 0); + glshim_glPixelStorei(GL_UNPACK_SKIP_PIXELS, 0); + glshim_glPixelStorei(GL_UNPACK_ALIGNMENT, 1); // Create GC and Pixmap pixmap = XCreatePixmap(dpy, win, 10, 10, 1); values.foreground = BlackPixel(dpy, DefaultScreen(dpy)); @@ -1054,18 +1060,18 @@ void glXUseXFont(Font font, int first, int count, int listBase) { inefficient, but it makes the OpenGL part real easy. */ bm_width = (width + 7) / 8; bm_height = height; - glNewList(list, GL_COMPILE); + glshim_glNewList(list, GL_COMPILE); if (valid && (bm_width > 0) && (bm_height > 0)) { memset(bm, '\0', bm_width * bm_height); fill_bitmap(dpy, win, gc, bm_width, bm_height, x, y, c, bm); - glBitmap(width, height, x0, y0, dx, dy, bm); + glshim_glBitmap(width, height, x0, y0, dx, dy, bm); } else { - glBitmap(0, 0, 0.0, 0.0, dx, dy, NULL); + glshim_glBitmap(0, 0, 0.0, 0.0, dx, dy, NULL); } - glEndList(); + glshim_glEndList(); } // Free GC & Pixmap @@ -1074,12 +1080,12 @@ void glXUseXFont(Font font, int first, int count, int listBase) { XFreeGC(dpy, gc); // Restore saved packing modes. - glPixelStorei(GL_UNPACK_SWAP_BYTES, swapbytes); - glPixelStorei(GL_UNPACK_LSB_FIRST, lsbfirst); - glPixelStorei(GL_UNPACK_ROW_LENGTH, rowlength); - glPixelStorei(GL_UNPACK_SKIP_ROWS, skiprows); - glPixelStorei(GL_UNPACK_SKIP_PIXELS, skippixels); - glPixelStorei(GL_UNPACK_ALIGNMENT, alignment); + glshim_glPixelStorei(GL_UNPACK_SWAP_BYTES, swapbytes); + glshim_glPixelStorei(GL_UNPACK_LSB_FIRST, lsbfirst); + glshim_glPixelStorei(GL_UNPACK_ROW_LENGTH, rowlength); + glshim_glPixelStorei(GL_UNPACK_SKIP_ROWS, skiprows); + glshim_glPixelStorei(GL_UNPACK_SKIP_PIXELS, skippixels); + glshim_glPixelStorei(GL_UNPACK_ALIGNMENT, alignment); // All done } #endif //ANDROID diff --git a/project/jni/glshim/src/glx/lookup.c b/project/jni/glshim/src/glx/lookup.c index e8c68f40b..4baad17f3 100755 --- a/project/jni/glshim/src/glx/lookup.c +++ b/project/jni/glshim/src/glx/lookup.c @@ -1,15 +1,18 @@ #ifdef ANDROID #include "../gl/gl.h" -#include "glx.h" -#else -#include "glx.h" #endif +#include "glx.h" #include "../gl/directstate.h" +//#define DEBUG_ADDRESS - +#ifdef DEBUG_ADDRESS +#define MAP(func_name, func) \ + if(cnt==1) {if ((uint32_t)((void*)func) <0x4000000) printf("glxGetProcAddress %s = %p\n", func_name, (void*)func);} if (strcmp(name, func_name) == 0) return (void *)func; +#else #define MAP(func_name, func) \ if (strcmp(name, func_name) == 0) return (void *)func; +#endif #define MAP_EGL(func_name, egl_func) \ MAP(#func_name, egl_eglGetProcAddress(#egl_func)) @@ -20,6 +23,12 @@ #define EXT(func_name) MAP(#func_name "EXT", func_name) +#define _EX(func_name) MAP(#func_name, glshim_ ## func_name) + +#define _ARB(func_name) MAP(#func_name "ARB", glshim_ ## func_name) + +#define _EXT(func_name) MAP(#func_name "EXT", glshim_ ## func_name) + #define STUB(func_name) \ if (strcmp(name, #func_name) == 0) { \ printf("glX stub: %s\n", #func_name); \ @@ -32,6 +41,10 @@ void glXStub(void *x, ...) { void *glXGetProcAddressARB(const char *name) { LOAD_EGL(eglGetProcAddress); +#ifdef DEBUG_ADDRESS + static int cnt = 0; + cnt++; +#endif // generated gles wrappers #ifdef USE_ES2 #include "gles2funcs.inc" @@ -90,78 +103,78 @@ void *glXGetProcAddressARB(const char *name) { #endif //ANDROID // GL_ARB_vertex_buffer_object - ARB(glBindBuffer); - ARB(glBufferData); - ARB(glBufferSubData); - ARB(glDeleteBuffers); - ARB(glGenBuffers); - ARB(glIsBuffer); - EX(glGetBufferPointerv); - ARB(glGetBufferPointerv); - EX(glMapBuffer); - EX(glUnmapBuffer); - ARB(glMapBuffer); - ARB(glUnmapBuffer); - ARB(glGetBufferParameteriv); - EX(glGetBufferSubData); - ARB(glGetBufferSubData); + _ARB(glBindBuffer); + _ARB(glBufferData); + _ARB(glBufferSubData); + _ARB(glDeleteBuffers); + _ARB(glGenBuffers); + _ARB(glIsBuffer); + _EX(glGetBufferPointerv); + _ARB(glGetBufferPointerv); + _EX(glMapBuffer); + _EX(glUnmapBuffer); + _ARB(glMapBuffer); + _ARB(glUnmapBuffer); + _ARB(glGetBufferParameteriv); + _EX(glGetBufferSubData); + _ARB(glGetBufferSubData); // GL_ARB_vertex_array_object - EX(glGenVertexArrays); - EX(glBindVertexArray); - EX(glDeleteVertexArrays); - EX(glIsVertexArray); - ARB(glGenVertexArrays); - ARB(glBindVertexArray); - ARB(glDeleteVertexArrays); - ARB(glIsVertexArray); + _EX(glGenVertexArrays); + _EX(glBindVertexArray); + _EX(glDeleteVertexArrays); + _EX(glIsVertexArray); + _ARB(glGenVertexArrays); + _ARB(glBindVertexArray); + _ARB(glDeleteVertexArrays); + _ARB(glIsVertexArray); // GL_ARB_frameBuffer_ext - EX(glFramebufferTexture1D); - EX(glFramebufferTexture3D); - EX(glFramebufferTextureLayer); - EX(glRenderbufferStorageMultisample); - EX(glBlitFramebuffer); - EXT(glGenFramebuffers); - EXT(glDeleteFramebuffers); - EXT(glIsFramebuffer); - EXT(glCheckFramebufferStatus); - EXT(glBindFramebuffer); - EXT(glFramebufferTexture2D); - EXT(glFramebufferTexture1D); - EXT(glFramebufferTexture3D); - EXT(glGenRenderbuffers); - EXT(glFramebufferRenderbuffer); - EXT(glDeleteRenderbuffers); - EXT(glRenderbufferStorage); - EXT(glRenderbufferStorageMultisample); - EXT(glBindRenderbuffer); - EXT(glIsRenderbuffer); - EXT(glGenerateMipmap); - EXT(glGetFramebufferAttachmentParameteriv); - EXT(glGetRenderbufferParameteriv); - EXT(glFramebufferTextureLayer); - EXT(glBlitFramebuffer); - ARB(glGenFramebuffers); - ARB(glDeleteFramebuffers); - ARB(glIsFramebuffer); - ARB(glCheckFramebufferStatus); - ARB(glBindFramebuffer); - ARB(glFramebufferTexture2D); - ARB(glFramebufferTexture1D); - ARB(glFramebufferTexture3D); - ARB(glGenRenderbuffers); - ARB(glFramebufferRenderbuffer); - ARB(glDeleteRenderbuffers); - ARB(glRenderbufferStorage); - ARB(glRenderbufferStorageMultisample); - ARB(glBindRenderbuffer); - ARB(glIsRenderbuffer); - ARB(glGenerateMipmap); - ARB(glGetFramebufferAttachmentParameteriv); - ARB(glGetRenderbufferParameteriv); - ARB(glFramebufferTextureLayer); - ARB(glBlitFramebuffer); + _EX(glFramebufferTexture1D); + _EX(glFramebufferTexture3D); + _EX(glFramebufferTextureLayer); + _EX(glRenderbufferStorageMultisample); + _EX(glBlitFramebuffer); + _EXT(glGenFramebuffers); + _EXT(glDeleteFramebuffers); + _EXT(glIsFramebuffer); + _EXT(glCheckFramebufferStatus); + _EXT(glBindFramebuffer); + _EXT(glFramebufferTexture2D); + _EXT(glFramebufferTexture1D); + _EXT(glFramebufferTexture3D); + _EXT(glGenRenderbuffers); + _EXT(glFramebufferRenderbuffer); + _EXT(glDeleteRenderbuffers); + _EXT(glRenderbufferStorage); + _EXT(glRenderbufferStorageMultisample); + _EXT(glBindRenderbuffer); + _EXT(glIsRenderbuffer); + _EXT(glGenerateMipmap); + _EXT(glGetFramebufferAttachmentParameteriv); + _EXT(glGetRenderbufferParameteriv); + _EXT(glFramebufferTextureLayer); + _EXT(glBlitFramebuffer); + _ARB(glGenFramebuffers); + _ARB(glDeleteFramebuffers); + _ARB(glIsFramebuffer); + _ARB(glCheckFramebufferStatus); + _ARB(glBindFramebuffer); + _ARB(glFramebufferTexture2D); + _ARB(glFramebufferTexture1D); + _ARB(glFramebufferTexture3D); + _ARB(glGenRenderbuffers); + _ARB(glFramebufferRenderbuffer); + _ARB(glDeleteRenderbuffers); + _ARB(glRenderbufferStorage); + _ARB(glRenderbufferStorageMultisample); + _ARB(glBindRenderbuffer); + _ARB(glIsRenderbuffer); + _ARB(glGenerateMipmap); + _ARB(glGetFramebufferAttachmentParameteriv); + _ARB(glGetRenderbufferParameteriv); + _ARB(glFramebufferTextureLayer); + _ARB(glBlitFramebuffer); STUB(glDrawBuffersARB); /* @@ -180,18 +193,18 @@ void *glXGetProcAddressARB(const char *name) { */ // GL_EXT_vertex_array - EXT(glArrayElement); - EXT(glDrawArrays); - EXT(glVertexPointer); - EXT(glNormalPointer); - EXT(glColorPointer); - EX(glIndexPointer); //TODO, stub for now - EXT(glIndexPointer); - EXT(glTexCoordPointer); - EX(glEdgeFlagPointer); //TODO, stub for now - EXT(glEdgeFlagPointer); - EX(glGetPointerv); - EXT(glGetPointerv); + _EXT(glArrayElement); + _EXT(glDrawArrays); + _EXT(glVertexPointer); + _EXT(glNormalPointer); + _EXT(glColorPointer); + _EX(glIndexPointer); //TODO, stub for now + _EXT(glIndexPointer); + _EXT(glTexCoordPointer); + _EX(glEdgeFlagPointer); //TODO, stub for now + _EXT(glEdgeFlagPointer); + _EX(glGetPointerv); + _EXT(glGetPointerv); // OES wrapper @@ -205,66 +218,66 @@ void *glXGetProcAddressARB(const char *name) { // passthrough // batch thunking! #define THUNK(suffix, type) \ - EX(glColor3##suffix##v); \ - EX(glColor3##suffix); \ - EX(glColor4##suffix##v); \ - EX(glColor4##suffix); \ - EX(glSecondaryColor3##suffix##v); \ - EX(glSecondaryColor3##suffix); \ - EXT(glSecondaryColor3##suffix##v); \ - EXT(glSecondaryColor3##suffix); \ - EX(glIndex##suffix##v); \ - EX(glIndex##suffix); \ - EX(glNormal3##suffix##v); \ - EX(glNormal3##suffix); \ - EX(glRasterPos2##suffix##v); \ - EX(glRasterPos2##suffix); \ - EX(glRasterPos3##suffix##v); \ - EX(glRasterPos3##suffix); \ - EX(glRasterPos4##suffix##v); \ - EX(glRasterPos4##suffix); \ - EX(glWindowPos2##suffix##v); \ - EX(glWindowPos2##suffix); \ - EX(glWindowPos3##suffix##v); \ - EX(glWindowPos3##suffix); \ - EX(glVertex2##suffix##v); \ - EX(glVertex2##suffix); \ - EX(glVertex3##suffix##v); \ - EX(glVertex3##suffix); \ - EX(glVertex4##suffix##v); \ - EX(glVertex4##suffix); \ - EX(glTexCoord1##suffix##v); \ - EX(glTexCoord1##suffix); \ - EX(glTexCoord2##suffix##v); \ - EX(glTexCoord2##suffix); \ - EX(glTexCoord3##suffix##v); \ - EX(glTexCoord3##suffix); \ - EX(glTexCoord4##suffix##v); \ - EX(glTexCoord4##suffix); \ - EX(glMultiTexCoord1##suffix##v); \ - EX(glMultiTexCoord1##suffix); \ - EX(glMultiTexCoord2##suffix##v); \ - EX(glMultiTexCoord2##suffix); \ - EX(glMultiTexCoord3##suffix##v); \ - EX(glMultiTexCoord3##suffix); \ - EX(glMultiTexCoord4##suffix##v); \ - EX(glMultiTexCoord4##suffix); \ - EXT(glMultiTexCoord1##suffix##v); \ - EXT(glMultiTexCoord1##suffix); \ - EXT(glMultiTexCoord2##suffix##v); \ - EXT(glMultiTexCoord2##suffix); \ - EXT(glMultiTexCoord3##suffix##v); \ - EXT(glMultiTexCoord3##suffix); \ - EXT(glMultiTexCoord4##suffix##v); \ - EXT(glMultiTexCoord4##suffix); \ - ARB(glMultiTexCoord1##suffix##v); \ - ARB(glMultiTexCoord1##suffix); \ - ARB(glMultiTexCoord2##suffix##v); \ - ARB(glMultiTexCoord2##suffix); \ - ARB(glMultiTexCoord3##suffix##v); \ - ARB(glMultiTexCoord3##suffix); \ - ARB(glMultiTexCoord4##suffix##v); \ - ARB(glMultiTexCoord4##suffix); + _EX(glColor3##suffix##v); \ + _EX(glColor3##suffix); \ + _EX(glColor4##suffix##v); \ + _EX(glColor4##suffix); \ + _EX(glSecondaryColor3##suffix##v); \ + _EX(glSecondaryColor3##suffix); \ + _EXT(glSecondaryColor3##suffix##v); \ + _EXT(glSecondaryColor3##suffix); \ + _EX(glIndex##suffix##v); \ + _EX(glIndex##suffix); \ + _EX(glNormal3##suffix##v); \ + _EX(glNormal3##suffix); \ + _EX(glRasterPos2##suffix##v); \ + _EX(glRasterPos2##suffix); \ + _EX(glRasterPos3##suffix##v); \ + _EX(glRasterPos3##suffix); \ + _EX(glRasterPos4##suffix##v); \ + _EX(glRasterPos4##suffix); \ + _EX(glWindowPos2##suffix##v); \ + _EX(glWindowPos2##suffix); \ + _EX(glWindowPos3##suffix##v); \ + _EX(glWindowPos3##suffix); \ + _EX(glVertex2##suffix##v); \ + _EX(glVertex2##suffix); \ + _EX(glVertex3##suffix##v); \ + _EX(glVertex3##suffix); \ + _EX(glVertex4##suffix##v); \ + _EX(glVertex4##suffix); \ + _EX(glTexCoord1##suffix##v); \ + _EX(glTexCoord1##suffix); \ + _EX(glTexCoord2##suffix##v); \ + _EX(glTexCoord2##suffix); \ + _EX(glTexCoord3##suffix##v); \ + _EX(glTexCoord3##suffix); \ + _EX(glTexCoord4##suffix##v); \ + _EX(glTexCoord4##suffix); \ + _EX(glMultiTexCoord1##suffix##v); \ + _EX(glMultiTexCoord1##suffix); \ + _EX(glMultiTexCoord2##suffix##v); \ + _EX(glMultiTexCoord2##suffix); \ + _EX(glMultiTexCoord3##suffix##v); \ + _EX(glMultiTexCoord3##suffix); \ + _EX(glMultiTexCoord4##suffix##v); \ + _EX(glMultiTexCoord4##suffix); \ + _EXT(glMultiTexCoord1##suffix##v); \ + _EXT(glMultiTexCoord1##suffix); \ + _EXT(glMultiTexCoord2##suffix##v); \ + _EXT(glMultiTexCoord2##suffix); \ + _EXT(glMultiTexCoord3##suffix##v); \ + _EXT(glMultiTexCoord3##suffix); \ + _EXT(glMultiTexCoord4##suffix##v); \ + _EXT(glMultiTexCoord4##suffix); \ + _ARB(glMultiTexCoord1##suffix##v); \ + _ARB(glMultiTexCoord1##suffix); \ + _ARB(glMultiTexCoord2##suffix##v); \ + _ARB(glMultiTexCoord2##suffix); \ + _ARB(glMultiTexCoord3##suffix##v); \ + _ARB(glMultiTexCoord3##suffix); \ + _ARB(glMultiTexCoord4##suffix##v); \ + _ARB(glMultiTexCoord4##suffix); THUNK(b, GLbyte); THUNK(d, GLdouble); @@ -276,176 +289,176 @@ void *glXGetProcAddressARB(const char *name) { THUNK(f, GLfloat); #undef THUNK - EX(glPointParameterf); - EX(glPointParameterfv); - ARB(glPointParameterf); - ARB(glPointParameterfv); - EXT(glPointParameterf); - EXT(glPointParameterfv); + _EX(glPointParameterf); + _EX(glPointParameterfv); + _ARB(glPointParameterf); + _ARB(glPointParameterfv); + _EXT(glPointParameterf); + _EXT(glPointParameterfv); #ifdef USE_ES2 - EX(glCompileShaderARB); - EX(glCreateShaderObjectARB); - EX(glGetObjectParameterivARB); - EX(glShaderSourceARB); + _EX(glCompileShaderARB); + _EX(glCreateShaderObjectARB); + _EX(glGetObjectParameterivARB); + _EX(glShaderSourceARB); #endif // functions we actually define - EXT(glActiveTexture); - ARB(glActiveTexture); - EX(glArrayElement); - EX(glBegin); - EX(glBitmap); + _EXT(glActiveTexture); + _ARB(glActiveTexture); + _EX(glArrayElement); + _EX(glBegin); + _EX(glBitmap); /*EXT(glBlendColor); ARB(glBlendColor);*/ - EXT(glBlendEquation); - ARB(glBlendEquation); - EXT(glBlendFunc); - ARB(glBlendFunc); + _EXT(glBlendEquation); + _ARB(glBlendEquation); + _EXT(glBlendFunc); + _ARB(glBlendFunc); #ifndef ODROID - EXT(glBlendEquationSeparate); - ARB(glBlendEquationSeparate); - EX(glBlendEquationSeparatei); - EXT(glBlendEquationSeparatei); - ARB(glBlendEquationSeparatei); - EXT(glBlendFuncSeparate); - ARB(glBlendFuncSeparate); - EX(glBlendFuncSeparatei); - EXT(glBlendFuncSeparatei); - ARB(glBlendFuncSeparatei); + _EXT(glBlendEquationSeparate); + _ARB(glBlendEquationSeparate); + _EX(glBlendEquationSeparatei); + _EXT(glBlendEquationSeparatei); + _ARB(glBlendEquationSeparatei); + _EXT(glBlendFuncSeparate); + _ARB(glBlendFuncSeparate); + _EX(glBlendFuncSeparatei); + _EXT(glBlendFuncSeparatei); + _ARB(glBlendFuncSeparatei); #endif - EX(glCallList); - EX(glCallLists); - EX(glClearDepth); - EXT(glClientActiveTexture); - ARB(glClientActiveTexture); - EX(glClipPlane); - EX(glCopyPixels); - EX(glDeleteLists); - EX(glDepthRange); - EX(glDrawBuffer); - EX(glDrawPixels); - EX(glDrawRangeElements); - EX(glDrawRangeElementsEXT); - EX(glEdgeFlag); - EX(glEnd); - EX(glEndList); - EX(glEvalCoord1d); - EX(glEvalCoord1f); - EX(glEvalCoord2d); - EX(glEvalCoord2f); - EX(glEvalMesh1); - EX(glEvalMesh2); - EX(glEvalPoint1); - EX(glEvalPoint2); - EX(glFogCoordd); - EX(glFogCoorddv); - EX(glFogCoordf); - EX(glFogCoordfv); - EX(glFogi); - EX(glFogiv); - EX(glFrustum); - EX(glGenLists); - EX(glGetDoublev); - EX(glGetIntegerv); - EX(glGetMapdv); - EX(glGetMapfv); - EX(glGetMapiv); - EX(glGetTexImage); - EX(glGetTexLevelParameterfv); - EX(glGetTexLevelParameteriv); - EX(glInitNames); - EX(glInterleavedArrays); - EX(glIsList); + _EX(glCallList); + _EX(glCallLists); + _EX(glClearDepth); + _EXT(glClientActiveTexture); + _ARB(glClientActiveTexture); + _EX(glClipPlane); + _EX(glCopyPixels); + _EX(glDeleteLists); + _EX(glDepthRange); + _EX(glDrawBuffer); + _EX(glDrawPixels); + _EX(glDrawRangeElements); + _EXT(glDrawRangeElements); + _EX(glEdgeFlag); + _EX(glEnd); + _EX(glEndList); + _EX(glEvalCoord1d); + _EX(glEvalCoord1f); + _EX(glEvalCoord2d); + _EX(glEvalCoord2f); + _EX(glEvalMesh1); + _EX(glEvalMesh2); + _EX(glEvalPoint1); + _EX(glEvalPoint2); + _EX(glFogCoordd); + _EX(glFogCoorddv); + _EX(glFogCoordf); + _EX(glFogCoordfv); + _EX(glFogi); + _EX(glFogiv); + _EX(glFrustum); + _EX(glGenLists); + _EX(glGetDoublev); + _EX(glGetIntegerv); + _EX(glGetMapdv); + _EX(glGetMapfv); + _EX(glGetMapiv); + _EX(glGetTexImage); + _EX(glGetTexLevelParameterfv); + _EX(glGetTexLevelParameteriv); + _EX(glInitNames); + _EX(glInterleavedArrays); + _EX(glIsList); #ifndef USE_ES2 - EX(glLighti); - EX(glLightiv); - EX(glLightModeli); - EX(glLightModeliv); + _EX(glLighti); + _EX(glLightiv); + _EX(glLightModeli); + _EX(glLightModeliv); #endif - EX(glLineStipple); - EX(glListBase); - EX(glLoadMatrixd); - EX(glLoadName); - EX(glLockArraysEXT); - EX(glMap1d); - EX(glMap1f); - EX(glMap2d); - EX(glMap2f); - EX(glMapGrid1d); - EX(glMapGrid1f); - EX(glMapGrid2d); - EX(glMapGrid2f); - EX(glMateriali); - EX(glMultMatrixd); - EX(glNewList); - EX(glOrtho); - EX(glPixelTransferf); - EX(glPixelTransferi); - EX(glPixelZoom); - EX(glPolygonMode); - EX(glPolygonStipple); - EX(glPopAttrib); - EX(glPopClientAttrib); - EX(glPopName); - EX(glPushAttrib); - EX(glPushClientAttrib); - EX(glPushName); - EX(glRasterPos2i); - EX(glReadBuffer); - EX(glRectd); - EX(glRectf); - EX(glRecti); - EX(glRects); - EX(glRectdv); - EX(glRectfv); - EX(glRectiv); - EX(glRectsv); - EX(glRenderMode); - EX(glRotated); - EX(glScaled); - EX(glSecondaryColorPointer); - EXT(glSecondaryColorPointer); - EX(glTexEnvf); - EX(glTexEnviv); - EX(glTexGend); - EX(glTexGendv); - EX(glTexGenf); - EX(glTexGenfv); - EX(glTexGeni); - EX(glTexGeniv); - EX(glTexImage1D); - EX(glTexImage3D); - EX(glTexSubImage1D); - EX(glTexSubImage3D); - EX(glCompressedTexImage1D); - EX(glCompressedTexSubImage1D); - EX(glCompressedTexImage3D); - EX(glCompressedTexSubImage3D); - EX(glGetCompressedTexImage); - EXT(glCompressedTexImage2D); - EXT(glCompressedTexSubImage2D); - EXT(glCompressedTexImage1D); - EXT(glCompressedTexSubImage1D); - EXT(glCompressedTexImage3D); - EXT(glCompressedTexSubImage3D); - EXT(glGetCompressedTexImage); - ARB(glCompressedTexImage2D); - ARB(glCompressedTexSubImage2D); - ARB(glCompressedTexImage1D); - ARB(glCompressedTexSubImage1D); - ARB(glCompressedTexImage3D); - ARB(glCompressedTexSubImage3D); - ARB(glGetCompressedTexImage); - EX(glCopyTexImage1D); - EX(glCopyTexSubImage1D); - EX(glTranslated); - EX(glUnlockArraysEXT); - EX(glGetTexGenfv); - EX(glLoadTransposeMatrixf); - EX(glLoadTransposeMatrixd); - EX(glMultTransposeMatrixd); - EX(glMultTransposeMatrixf); + _EX(glLineStipple); + _EX(glListBase); + _EX(glLoadMatrixd); + _EX(glLoadName); + _EXT(glLockArrays); + _EX(glMap1d); + _EX(glMap1f); + _EX(glMap2d); + _EX(glMap2f); + _EX(glMapGrid1d); + _EX(glMapGrid1f); + _EX(glMapGrid2d); + _EX(glMapGrid2f); + _EX(glMateriali); + _EX(glMultMatrixd); + _EX(glNewList); + _EX(glOrtho); + _EX(glPixelTransferf); + _EX(glPixelTransferi); + _EX(glPixelZoom); + _EX(glPolygonMode); + _EX(glPolygonStipple); + _EX(glPopAttrib); + _EX(glPopClientAttrib); + _EX(glPopName); + _EX(glPushAttrib); + _EX(glPushClientAttrib); + _EX(glPushName); + _EX(glRasterPos2i); + _EX(glReadBuffer); + _EX(glRectd); + _EX(glRectf); + _EX(glRecti); + _EX(glRects); + _EX(glRectdv); + _EX(glRectfv); + _EX(glRectiv); + _EX(glRectsv); + _EX(glRenderMode); + _EX(glRotated); + _EX(glScaled); + _EX(glSecondaryColorPointer); + _EXT(glSecondaryColorPointer); + _EX(glTexEnvf); + _EX(glTexEnviv); + _EX(glTexGend); + _EX(glTexGendv); + _EX(glTexGenf); + _EX(glTexGenfv); + _EX(glTexGeni); + _EX(glTexGeniv); + _EX(glTexImage1D); + _EX(glTexImage3D); + _EX(glTexSubImage1D); + _EX(glTexSubImage3D); + _EX(glCompressedTexImage1D); + _EX(glCompressedTexSubImage1D); + _EX(glCompressedTexImage3D); + _EX(glCompressedTexSubImage3D); + _EX(glGetCompressedTexImage); + _EXT(glCompressedTexImage2D); + _EXT(glCompressedTexSubImage2D); + _EXT(glCompressedTexImage1D); + _EXT(glCompressedTexSubImage1D); + _EXT(glCompressedTexImage3D); + _EXT(glCompressedTexSubImage3D); + _EXT(glGetCompressedTexImage); + _ARB(glCompressedTexImage2D); + _ARB(glCompressedTexSubImage2D); + _ARB(glCompressedTexImage1D); + _ARB(glCompressedTexSubImage1D); + _ARB(glCompressedTexImage3D); + _ARB(glCompressedTexSubImage3D); + _ARB(glGetCompressedTexImage); + _EX(glCopyTexImage1D); + _EX(glCopyTexSubImage1D); + _EX(glTranslated); + _EXT(glUnlockArrays); + _EX(glGetTexGenfv); + _EX(glLoadTransposeMatrixf); + _EX(glLoadTransposeMatrixd); + _EX(glMultTransposeMatrixd); + _EX(glMultTransposeMatrixf); // stubs for unimplemented functions STUB(glAccum); STUB(glAreTexturesResident); @@ -470,7 +483,7 @@ void *glXGetProcAddressARB(const char *name) { STUB(glPixelMapfv); STUB(glPixelMapuiv); STUB(glPixelMapusv); - EX(glPixelStoref); + _EX(glPixelStoref); STUB(glPrioritizeTextures); STUB(glSelectBuffer); //TODO @@ -479,80 +492,80 @@ void *glXGetProcAddressARB(const char *name) { STUB(glIndexPointerEXT);*/ //EXT_direct_state_access - EX(glClientAttribDefaultEXT); - EX(glPushClientAttribDefaultEXT); - EX(glMatrixLoadfEXT); - EX(glMatrixLoaddEXT); - EX(glMatrixMultfEXT); - EX(glMatrixMultdEXT); - EX(glMatrixLoadIdentityEXT); - EX(glMatrixRotatefEXT); - EX(glMatrixRotatedEXT); - EX(glMatrixScalefEXT); - EX(glMatrixScaledEXT); - EX(glMatrixTranslatefEXT); - EX(glMatrixTranslatedEXT); - EX(glMatrixOrthoEXT); - EX(glMatrixFrustumEXT); - EX(glMatrixPushEXT); - EX(glMatrixPopEXT); - EX(glTextureParameteriEXT); - EX(glTextureParameterivEXT); - EX(glTextureParameterfEXT); - EX(glTextureParameterfvEXT); - EX(glTextureImage1DEXT); - EX(glTextureImage2DEXT); - EX(glTextureSubImage1DEXT); - EX(glTextureSubImage2DEXT); - EX(glCopyTextureImage1DEXT); - EX(glCopyTextureImage2DEXT); - EX(glCopyTextureSubImage1DEXT); - EX(glCopyTextureSubImage2DEXT); - EX(glGetTextureImageEXT); - EX(glGetTextureParameterfvEXT); - EX(glGetTextureParameterivEXT); - EX(glGetTextureLevelParameterfvEXT); - EX(glGetTextureLevelParameterivEXT); - EX(glTextureImage3DEXT); - EX(glTextureSubImage3DEXT); - EX(glCopyTextureSubImage3DEXT); - EX(glBindMultiTextureEXT); - EX(glMultiTexCoordPointerEXT); - EX(glMultiTexEnvfEXT); - EX(glMultiTexEnvfvEXT); - EX(glMultiTexEnviEXT); - EX(glMultiTexEnvivEXT); - EX(glMultiTexGendEXT); - EX(glMultiTexGendvEXT); - EX(glMultiTexGenfEXT); - EX(glMultiTexGenfvEXT); - EX(glMultiTexGeniEXT); - EX(glMultiTexGenivEXT); - EX(glGetMultiTexEnvfvEXT); - EX(glGetMultiTexEnvivEXT); - EX(glGetMultiTexGendvEXT); - EX(glGetMultiTexGenfvEXT); - EX(glGetMultiTexGenivEXT); - EX(glMultiTexParameteriEXT); - EX(glMultiTexParameterivEXT); - EX(glMultiTexParameterfEXT); - EX(glMultiTexParameterfvEXT); - EX(glMultiTexImage1DEXT); - EX(glMultiTexImage2DEXT); - EX(glMultiTexSubImage1DEXT); - EX(glMultiTexSubImage2DEXT); - EX(glCopyMultiTexImage1DEXT); - EX(glCopyMultiTexImage2DEXT); - EX(glCopyMultiTexSubImage1DEXT); - EX(glCopyMultiTexSubImage2DEXT); - EX(glGetMultiTexImageEXT); - EX(glGetMultiTexParameterfvEXT); - EX(glGetMultiTexParameterivEXT); - EX(glGetMultiTexLevelParameterfvEXT); - EX(glGetMultiTexLevelParameterivEXT); - EX(glMultiTexImage3DEXT); - EX(glMultiTexSubImage3DEXT); - EX(glCopyMultiTexSubImage3DEXT); + _EX(glClientAttribDefault); + _EX(glPushClientAttribDefault); + _EX(glMatrixLoadf); + _EX(glMatrixLoadd); + _EX(glMatrixMultf); + _EX(glMatrixMultd); + _EX(glMatrixLoadIdentity); + _EX(glMatrixRotatef); + _EX(glMatrixRotated); + _EX(glMatrixScalef); + _EX(glMatrixScaled); + _EX(glMatrixTranslatef); + _EX(glMatrixTranslated); + _EX(glMatrixOrtho); + _EX(glMatrixFrustum); + _EX(glMatrixPush); + _EX(glMatrixPop); + _EX(glTextureParameteri); + _EX(glTextureParameteriv); + _EX(glTextureParameterf); + _EX(glTextureParameterfv); + _EX(glTextureImage1D); + _EX(glTextureImage2D); + _EX(glTextureSubImage1D); + _EX(glTextureSubImage2D); + _EX(glCopyTextureImage1D); + _EX(glCopyTextureImage2D); + _EX(glCopyTextureSubImage1D); + _EX(glCopyTextureSubImage2D); + _EX(glGetTextureImage); + _EX(glGetTextureParameterfv); + _EX(glGetTextureParameteriv); + _EX(glGetTextureLevelParameterfv); + _EX(glGetTextureLevelParameteriv); + _EX(glTextureImage3D); + _EX(glTextureSubImage3D); + _EX(glCopyTextureSubImage3D); + _EX(glBindMultiTexture); + _EX(glMultiTexCoordPointer); + _EX(glMultiTexEnvf); + _EX(glMultiTexEnvfv); + _EX(glMultiTexEnvi); + _EX(glMultiTexEnviv); + _EX(glMultiTexGend); + _EX(glMultiTexGendv); + _EX(glMultiTexGenf); + _EX(glMultiTexGenfv); + _EX(glMultiTexGeni); + _EX(glMultiTexGeniv); + _EX(glGetMultiTexEnvfv); + _EX(glGetMultiTexEnviv); + _EX(glGetMultiTexGendv); + _EX(glGetMultiTexGenfv); + _EX(glGetMultiTexGeniv); + _EX(glMultiTexParameteri); + _EX(glMultiTexParameteriv); + _EX(glMultiTexParameterf); + _EX(glMultiTexParameterfv); + _EX(glMultiTexImage1D); + _EX(glMultiTexImage2D); + _EX(glMultiTexSubImage1D); + _EX(glMultiTexSubImage2D); + _EX(glCopyMultiTexImage1D); + _EX(glCopyMultiTexImage2D); + _EX(glCopyMultiTexSubImage1D); + _EX(glCopyMultiTexSubImage2D); + _EX(glGetMultiTexImage); + _EX(glGetMultiTexParameterfv); + _EX(glGetMultiTexParameteriv); + _EX(glGetMultiTexLevelParameterfv); + _EX(glGetMultiTexLevelParameteriv); + _EX(glMultiTexImage3D); + _EX(glMultiTexSubImage3D); + _EX(glCopyMultiTexSubImage3D); STUB(EnableClientStateIndexedEXT); STUB(DisableClientStateIndexedEXT); STUB(GetFloatIndexedvEXT); @@ -563,24 +576,24 @@ void *glXGetProcAddressARB(const char *name) { STUB(IsEnabledIndexedEXT); STUB(GetIntegerIndexedvEXT); STUB(GetBooleanIndexedvEXT); - EX(glCompressedTextureImage3DEXT); - EX(glCompressedTextureImage2DEXT); - EX(glCompressedTextureImage1DEXT); - EX(glCompressedTextureSubImage3DEXT); - EX(glCompressedTextureSubImage2DEXT); - EX(glCompressedTextureSubImage1DEXT); - EX(glGetCompressedTextureImageEXT); - EX(glCompressedMultiTexImage3DEXT); - EX(glCompressedMultiTexImage2DEXT); - EX(glCompressedMultiTexImage1DEXT); - EX(glCompressedMultiTexSubImage3DEXT); - EX(glCompressedMultiTexSubImage2DEXT); - EX(glCompressedMultiTexSubImage1DEXT); - EX(glGetCompressedMultiTexImageEXT); - EX(glMatrixLoadTransposefEXT); - EX(glMatrixLoadTransposedEXT); - EX(glMatrixMultTransposefEXT); - EX(glMatrixMultTransposedEXT); + _EX(glCompressedTextureImage3D); + _EX(glCompressedTextureImage2D); + _EX(glCompressedTextureImage1D); + _EX(glCompressedTextureSubImage3D); + _EX(glCompressedTextureSubImage2D); + _EX(glCompressedTextureSubImage1D); + _EX(glGetCompressedTextureImage); + _EX(glCompressedMultiTexImage3D); + _EX(glCompressedMultiTexImage2D); + _EX(glCompressedMultiTexImage1D); + _EX(glCompressedMultiTexSubImage3D); + _EX(glCompressedMultiTexSubImage2D); + _EX(glCompressedMultiTexSubImage1D); + _EX(glGetCompressedMultiTexImage); + _EX(glMatrixLoadTransposef); + _EX(glMatrixLoadTransposed); + _EX(glMatrixMultTransposef); + _EX(glMatrixMultTransposed); printf("glXGetProcAddress: %s not found.\n", name); return NULL; diff --git a/project/jni/glshim/src/glx/streaming.c b/project/jni/glshim/src/glx/streaming.c index 115df5d37..c497fb9f9 100755 --- a/project/jni/glshim/src/glx/streaming.c +++ b/project/jni/glshim/src/glx/streaming.c @@ -11,9 +11,9 @@ #include "streaming.h" -PFNGLTEXBINDSTREAMIMGPROC glTexBindStreamIMG = NULL; -PFNGLGETTEXSTREAMDEVICEATTRIBUTEIVIMGPROC glGetTexAttrIMG = NULL; -PFNGLGETTEXSTREAMDEVICENAMEIMGPROC glGetTexDeviceIMG = NULL; +PFNGLTEXBINDSTREAMIMGPROC *glTexBindStreamIMG = NULL; +PFNGLGETTEXSTREAMDEVICEATTRIBUTEIVIMGPROC *glGetTexAttrIMG = NULL; +PFNGLGETTEXSTREAMDEVICENAMEIMGPROC *glGetTexDeviceIMG = NULL; //extern void* eglGetProcAddress(const char*); @@ -33,9 +33,9 @@ void Streaming_Initialize() { return; // get the extension functions gl_streaming_initialized = 1; - glTexBindStreamIMG =(PFNGLTEXBINDSTREAMIMGPROC)egl_eglGetProcAddress("glTexBindStreamIMG"); - glGetTexAttrIMG = (PFNGLGETTEXSTREAMDEVICEATTRIBUTEIVIMGPROC)egl_eglGetProcAddress("glGetTexStreamDeviceAttributeivIMG"); - glGetTexDeviceIMG = (PFNGLGETTEXSTREAMDEVICENAMEIMGPROC)egl_eglGetProcAddress("glGetTexStreamDeviceNameIMG"); + glTexBindStreamIMG =(PFNGLTEXBINDSTREAMIMGPROC*)egl_eglGetProcAddress("glTexBindStreamIMG"); + glGetTexAttrIMG = (PFNGLGETTEXSTREAMDEVICEATTRIBUTEIVIMGPROC*)egl_eglGetProcAddress("glGetTexStreamDeviceAttributeivIMG"); + glGetTexDeviceIMG = (PFNGLGETTEXSTREAMDEVICENAMEIMGPROC*)egl_eglGetProcAddress("glGetTexStreamDeviceNameIMG"); if (!glTexBindStreamIMG || !glGetTexAttrIMG || !glGetTexDeviceIMG) { gl_streaming = 0; @@ -260,8 +260,8 @@ void ApplyFilterID(int ID, GLenum min_filter, GLenum mag_filter) { return; if (!stream_cache[ID].active) return; - glTexParameterf(GL_TEXTURE_STREAM_IMG, GL_TEXTURE_MIN_FILTER, min_filter); - glTexParameterf(GL_TEXTURE_STREAM_IMG, GL_TEXTURE_MAG_FILTER, mag_filter); + glshim_glTexParameterf(GL_TEXTURE_STREAM_IMG, GL_TEXTURE_MIN_FILTER, min_filter); + glshim_glTexParameterf(GL_TEXTURE_STREAM_IMG, GL_TEXTURE_MAG_FILTER, mag_filter); } // Function to activate the Steaming texture ID on current tex... diff --git a/project/jni/glshim/src/glx/streaming.h b/project/jni/glshim/src/glx/streaming.h index afce00e30..00fec1dc8 100755 --- a/project/jni/glshim/src/glx/streaming.h +++ b/project/jni/glshim/src/glx/streaming.h @@ -1,9 +1,12 @@ -#ifndef STREAMING_H -#define STREAMING_H +#ifndef _STREAMING_H_ +#define _STREAMING_H_ #ifdef TEXSTREAM #include "../gl/gl.h" +#ifndef GL_APIENTRYP +#define GL_APIENTRYP +#endif #ifndef GL_IMG_texture_stream #define GL_TEXTURE_STREAM_IMG 0x8C0D #define GL_TEXTURE_NUM_STREAM_DEVICES_IMG 0x8C0E @@ -11,17 +14,15 @@ #define GL_TEXTURE_STREAM_DEVICE_HEIGHT_IMG 0x8EA0 #define GL_TEXTURE_STREAM_DEVICE_FORMAT_IMG 0x8EA1 #define GL_TEXTURE_STREAM_DEVICE_NUM_BUFFERS_IMG 0x8EA2 -#endif -#ifndef GL_IMG_texture_stream -#define GL_IMG_texture_stream 1 typedef void (GL_APIENTRYP PFNGLTEXBINDSTREAMIMGPROC) (GLint device, GLint deviceoffset); typedef const GLubyte *(GL_APIENTRYP PFNGLGETTEXSTREAMDEVICENAMEIMGPROC) (GLenum target); typedef void (GL_APIENTRYP PFNGLGETTEXSTREAMDEVICEATTRIBUTEIVIMGPROC) (GLenum target, GLenum pname, GLint *params); +#define GL_IMG_texture_stream 1 #endif -extern PFNGLTEXBINDSTREAMIMGPROC glTexBindStreamIMG; -extern PFNGLGETTEXSTREAMDEVICEATTRIBUTEIVIMGPROC glGetTexAttrIMG; -extern PFNGLGETTEXSTREAMDEVICENAMEIMGPROC glGetTexDeviceIMG; +extern PFNGLTEXBINDSTREAMIMGPROC *glTexBindStreamIMG; +extern PFNGLGETTEXSTREAMDEVICEATTRIBUTEIVIMGPROC *glGetTexAttrIMG; +extern PFNGLGETTEXSTREAMDEVICENAMEIMGPROC *glGetTexDeviceIMG; extern int gl_stream; //0 if no streaming not 0 if streaming available @@ -41,5 +42,5 @@ void ApplyFilterID(int ID, GLenum min_filter, GLenum mag_filter); void ActivateStreaming(int ID); // Function to deactivate the Streaming texture on current tex... void DeactivateStreaming(); -#endif -#endif +#endif //TEXSTREAM +#endif //_STREAMING_H_ diff --git a/project/jni/glshim/src/proxy/client/src/client.c b/project/jni/glshim/src/proxy/client/src/client.c index b39851464..d0f2da761 100644 --- a/project/jni/glshim/src/proxy/client/src/client.c +++ b/project/jni/glshim/src/proxy/client/src/client.c @@ -1,32 +1,35 @@ #include "../proxy.h" #if !defined(skip_client_glAccum) && !defined(skip_index_glAccum) -void glAccum(GLenum op, GLfloat value) { +void glshim_glAccum(GLenum op, GLfloat value) { glAccum_INDEXED packed_data; packed_data.func = glAccum_INDEX; packed_data.args.a1 = (GLenum)op; packed_data.args.a2 = (GLfloat)value; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glAccum(GLenum op, GLfloat value) __attribute__((alias("glshim_glAccum"))); #endif #if !defined(skip_client_glActiveTexture) && !defined(skip_index_glActiveTexture) -void glActiveTexture(GLenum texture) { +void glshim_glActiveTexture(GLenum texture) { glActiveTexture_INDEXED packed_data; packed_data.func = glActiveTexture_INDEX; packed_data.args.a1 = (GLenum)texture; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glActiveTexture(GLenum texture) __attribute__((alias("glshim_glActiveTexture"))); #endif #if !defined(skip_client_glAlphaFunc) && !defined(skip_index_glAlphaFunc) -void glAlphaFunc(GLenum func, GLfloat ref) { +void glshim_glAlphaFunc(GLenum func, GLfloat ref) { glAlphaFunc_INDEXED packed_data; packed_data.func = glAlphaFunc_INDEX; packed_data.args.a1 = (GLenum)func; packed_data.args.a2 = (GLfloat)ref; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glAlphaFunc(GLenum func, GLfloat ref) __attribute__((alias("glshim_glAlphaFunc"))); #endif #if !defined(skip_client_glAreTexturesResident) && !defined(skip_index_glAreTexturesResident) -GLboolean glAreTexturesResident(GLsizei n, const GLuint * textures, GLboolean * residences) { +GLboolean glshim_glAreTexturesResident(GLsizei n, const GLuint * textures, GLboolean * residences) { glAreTexturesResident_INDEXED packed_data; packed_data.func = glAreTexturesResident_INDEX; packed_data.args.a1 = (GLsizei)n; @@ -36,52 +39,58 @@ GLboolean glAreTexturesResident(GLsizei n, const GLuint * textures, GLboolean * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLboolean glAreTexturesResident(GLsizei n, const GLuint * textures, GLboolean * residences) __attribute__((alias("glshim_glAreTexturesResident"))); #endif #if !defined(skip_client_glArrayElement) && !defined(skip_index_glArrayElement) -void glArrayElement(GLint i) { +void glshim_glArrayElement(GLint i) { glArrayElement_INDEXED packed_data; packed_data.func = glArrayElement_INDEX; packed_data.args.a1 = (GLint)i; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glArrayElement(GLint i) __attribute__((alias("glshim_glArrayElement"))); #endif #if !defined(skip_client_glBegin) && !defined(skip_index_glBegin) -void glBegin(GLenum mode) { +void glshim_glBegin(GLenum mode) { glBegin_INDEXED packed_data; packed_data.func = glBegin_INDEX; packed_data.args.a1 = (GLenum)mode; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glBegin(GLenum mode) __attribute__((alias("glshim_glBegin"))); #endif #if !defined(skip_client_glBeginQuery) && !defined(skip_index_glBeginQuery) -void glBeginQuery(GLenum target, GLuint id) { +void glshim_glBeginQuery(GLenum target, GLuint id) { glBeginQuery_INDEXED packed_data; packed_data.func = glBeginQuery_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLuint)id; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glBeginQuery(GLenum target, GLuint id) __attribute__((alias("glshim_glBeginQuery"))); #endif #if !defined(skip_client_glBindBuffer) && !defined(skip_index_glBindBuffer) -void glBindBuffer(GLenum target, GLuint buffer) { +void glshim_glBindBuffer(GLenum target, GLuint buffer) { glBindBuffer_INDEXED packed_data; packed_data.func = glBindBuffer_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLuint)buffer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glBindBuffer(GLenum target, GLuint buffer) __attribute__((alias("glshim_glBindBuffer"))); #endif #if !defined(skip_client_glBindTexture) && !defined(skip_index_glBindTexture) -void glBindTexture(GLenum target, GLuint texture) { +void glshim_glBindTexture(GLenum target, GLuint texture) { glBindTexture_INDEXED packed_data; packed_data.func = glBindTexture_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLuint)texture; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glBindTexture(GLenum target, GLuint texture) __attribute__((alias("glshim_glBindTexture"))); #endif #if !defined(skip_client_glBitmap) && !defined(skip_index_glBitmap) -void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap) { +void glshim_glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap) { glBitmap_INDEXED packed_data; packed_data.func = glBitmap_INDEX; packed_data.args.a1 = (GLsizei)width; @@ -93,9 +102,10 @@ void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLflo packed_data.args.a7 = (GLubyte *)bitmap; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte * bitmap) __attribute__((alias("glshim_glBitmap"))); #endif #if !defined(skip_client_glBlendColor) && !defined(skip_index_glBlendColor) -void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { +void glshim_glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { glBlendColor_INDEXED packed_data; packed_data.func = glBlendColor_INDEX; packed_data.args.a1 = (GLfloat)red; @@ -104,26 +114,29 @@ void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { packed_data.args.a4 = (GLfloat)alpha; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) __attribute__((alias("glshim_glBlendColor"))); #endif #if !defined(skip_client_glBlendEquation) && !defined(skip_index_glBlendEquation) -void glBlendEquation(GLenum mode) { +void glshim_glBlendEquation(GLenum mode) { glBlendEquation_INDEXED packed_data; packed_data.func = glBlendEquation_INDEX; packed_data.args.a1 = (GLenum)mode; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glBlendEquation(GLenum mode) __attribute__((alias("glshim_glBlendEquation"))); #endif #if !defined(skip_client_glBlendFunc) && !defined(skip_index_glBlendFunc) -void glBlendFunc(GLenum sfactor, GLenum dfactor) { +void glshim_glBlendFunc(GLenum sfactor, GLenum dfactor) { glBlendFunc_INDEXED packed_data; packed_data.func = glBlendFunc_INDEX; packed_data.args.a1 = (GLenum)sfactor; packed_data.args.a2 = (GLenum)dfactor; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glBlendFunc(GLenum sfactor, GLenum dfactor) __attribute__((alias("glshim_glBlendFunc"))); #endif #if !defined(skip_client_glBlendFuncSeparate) && !defined(skip_index_glBlendFuncSeparate) -void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { +void glshim_glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) { glBlendFuncSeparate_INDEXED packed_data; packed_data.func = glBlendFuncSeparate_INDEX; packed_data.args.a1 = (GLenum)sfactorRGB; @@ -132,9 +145,10 @@ void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlp packed_data.args.a4 = (GLenum)dfactorAlpha; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) __attribute__((alias("glshim_glBlendFuncSeparate"))); #endif #if !defined(skip_client_glBufferData) && !defined(skip_index_glBufferData) -void glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) { +void glshim_glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) { glBufferData_INDEXED packed_data; packed_data.func = glBufferData_INDEX; packed_data.args.a1 = (GLenum)target; @@ -143,9 +157,10 @@ void glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum us packed_data.args.a4 = (GLenum)usage; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glBufferData(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) __attribute__((alias("glshim_glBufferData"))); #endif #if !defined(skip_client_glBufferSubData) && !defined(skip_index_glBufferSubData) -void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) { +void glshim_glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) { glBufferSubData_INDEXED packed_data; packed_data.func = glBufferSubData_INDEX; packed_data.args.a1 = (GLenum)target; @@ -154,17 +169,19 @@ void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvo packed_data.args.a4 = (GLvoid *)data; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) __attribute__((alias("glshim_glBufferSubData"))); #endif #if !defined(skip_client_glCallList) && !defined(skip_index_glCallList) -void glCallList(GLuint list) { +void glshim_glCallList(GLuint list) { glCallList_INDEXED packed_data; packed_data.func = glCallList_INDEX; packed_data.args.a1 = (GLuint)list; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCallList(GLuint list) __attribute__((alias("glshim_glCallList"))); #endif #if !defined(skip_client_glCallLists) && !defined(skip_index_glCallLists) -void glCallLists(GLsizei n, GLenum type, const GLvoid * lists) { +void glshim_glCallLists(GLsizei n, GLenum type, const GLvoid * lists) { glCallLists_INDEXED packed_data; packed_data.func = glCallLists_INDEX; packed_data.args.a1 = (GLsizei)n; @@ -172,17 +189,19 @@ void glCallLists(GLsizei n, GLenum type, const GLvoid * lists) { packed_data.args.a3 = (GLvoid *)lists; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCallLists(GLsizei n, GLenum type, const GLvoid * lists) __attribute__((alias("glshim_glCallLists"))); #endif #if !defined(skip_client_glClear) && !defined(skip_index_glClear) -void glClear(GLbitfield mask) { +void glshim_glClear(GLbitfield mask) { glClear_INDEXED packed_data; packed_data.func = glClear_INDEX; packed_data.args.a1 = (GLbitfield)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glClear(GLbitfield mask) __attribute__((alias("glshim_glClear"))); #endif #if !defined(skip_client_glClearAccum) && !defined(skip_index_glClearAccum) -void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { +void glshim_glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { glClearAccum_INDEXED packed_data; packed_data.func = glClearAccum_INDEX; packed_data.args.a1 = (GLfloat)red; @@ -191,9 +210,10 @@ void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { packed_data.args.a4 = (GLfloat)alpha; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) __attribute__((alias("glshim_glClearAccum"))); #endif #if !defined(skip_client_glClearColor) && !defined(skip_index_glClearColor) -void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { +void glshim_glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { glClearColor_INDEXED packed_data; packed_data.func = glClearColor_INDEX; packed_data.args.a1 = (GLfloat)red; @@ -202,50 +222,56 @@ void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { packed_data.args.a4 = (GLfloat)alpha; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) __attribute__((alias("glshim_glClearColor"))); #endif #if !defined(skip_client_glClearDepth) && !defined(skip_index_glClearDepth) -void glClearDepth(GLdouble depth) { +void glshim_glClearDepth(GLdouble depth) { glClearDepth_INDEXED packed_data; packed_data.func = glClearDepth_INDEX; packed_data.args.a1 = (GLdouble)depth; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glClearDepth(GLdouble depth) __attribute__((alias("glshim_glClearDepth"))); #endif #if !defined(skip_client_glClearIndex) && !defined(skip_index_glClearIndex) -void glClearIndex(GLfloat c) { +void glshim_glClearIndex(GLfloat c) { glClearIndex_INDEXED packed_data; packed_data.func = glClearIndex_INDEX; packed_data.args.a1 = (GLfloat)c; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glClearIndex(GLfloat c) __attribute__((alias("glshim_glClearIndex"))); #endif #if !defined(skip_client_glClearStencil) && !defined(skip_index_glClearStencil) -void glClearStencil(GLint s) { +void glshim_glClearStencil(GLint s) { glClearStencil_INDEXED packed_data; packed_data.func = glClearStencil_INDEX; packed_data.args.a1 = (GLint)s; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glClearStencil(GLint s) __attribute__((alias("glshim_glClearStencil"))); #endif #if !defined(skip_client_glClientActiveTexture) && !defined(skip_index_glClientActiveTexture) -void glClientActiveTexture(GLenum texture) { +void glshim_glClientActiveTexture(GLenum texture) { glClientActiveTexture_INDEXED packed_data; packed_data.func = glClientActiveTexture_INDEX; packed_data.args.a1 = (GLenum)texture; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glClientActiveTexture(GLenum texture) __attribute__((alias("glshim_glClientActiveTexture"))); #endif #if !defined(skip_client_glClipPlane) && !defined(skip_index_glClipPlane) -void glClipPlane(GLenum plane, const GLdouble * equation) { +void glshim_glClipPlane(GLenum plane, const GLdouble * equation) { glClipPlane_INDEXED packed_data; packed_data.func = glClipPlane_INDEX; packed_data.args.a1 = (GLenum)plane; packed_data.args.a2 = (GLdouble *)equation; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glClipPlane(GLenum plane, const GLdouble * equation) __attribute__((alias("glshim_glClipPlane"))); #endif #if !defined(skip_client_glColor3b) && !defined(skip_index_glColor3b) -void glColor3b(GLbyte red, GLbyte green, GLbyte blue) { +void glshim_glColor3b(GLbyte red, GLbyte green, GLbyte blue) { glColor3b_INDEXED packed_data; packed_data.func = glColor3b_INDEX; packed_data.args.a1 = (GLbyte)red; @@ -253,17 +279,19 @@ void glColor3b(GLbyte red, GLbyte green, GLbyte blue) { packed_data.args.a3 = (GLbyte)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3b(GLbyte red, GLbyte green, GLbyte blue) __attribute__((alias("glshim_glColor3b"))); #endif #if !defined(skip_client_glColor3bv) && !defined(skip_index_glColor3bv) -void glColor3bv(const GLbyte * v) { +void glshim_glColor3bv(const GLbyte * v) { glColor3bv_INDEXED packed_data; packed_data.func = glColor3bv_INDEX; packed_data.args.a1 = (GLbyte *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3bv(const GLbyte * v) __attribute__((alias("glshim_glColor3bv"))); #endif #if !defined(skip_client_glColor3d) && !defined(skip_index_glColor3d) -void glColor3d(GLdouble red, GLdouble green, GLdouble blue) { +void glshim_glColor3d(GLdouble red, GLdouble green, GLdouble blue) { glColor3d_INDEXED packed_data; packed_data.func = glColor3d_INDEX; packed_data.args.a1 = (GLdouble)red; @@ -271,17 +299,19 @@ void glColor3d(GLdouble red, GLdouble green, GLdouble blue) { packed_data.args.a3 = (GLdouble)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3d(GLdouble red, GLdouble green, GLdouble blue) __attribute__((alias("glshim_glColor3d"))); #endif #if !defined(skip_client_glColor3dv) && !defined(skip_index_glColor3dv) -void glColor3dv(const GLdouble * v) { +void glshim_glColor3dv(const GLdouble * v) { glColor3dv_INDEXED packed_data; packed_data.func = glColor3dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3dv(const GLdouble * v) __attribute__((alias("glshim_glColor3dv"))); #endif #if !defined(skip_client_glColor3f) && !defined(skip_index_glColor3f) -void glColor3f(GLfloat red, GLfloat green, GLfloat blue) { +void glshim_glColor3f(GLfloat red, GLfloat green, GLfloat blue) { glColor3f_INDEXED packed_data; packed_data.func = glColor3f_INDEX; packed_data.args.a1 = (GLfloat)red; @@ -289,17 +319,19 @@ void glColor3f(GLfloat red, GLfloat green, GLfloat blue) { packed_data.args.a3 = (GLfloat)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3f(GLfloat red, GLfloat green, GLfloat blue) __attribute__((alias("glshim_glColor3f"))); #endif #if !defined(skip_client_glColor3fv) && !defined(skip_index_glColor3fv) -void glColor3fv(const GLfloat * v) { +void glshim_glColor3fv(const GLfloat * v) { glColor3fv_INDEXED packed_data; packed_data.func = glColor3fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3fv(const GLfloat * v) __attribute__((alias("glshim_glColor3fv"))); #endif #if !defined(skip_client_glColor3i) && !defined(skip_index_glColor3i) -void glColor3i(GLint red, GLint green, GLint blue) { +void glshim_glColor3i(GLint red, GLint green, GLint blue) { glColor3i_INDEXED packed_data; packed_data.func = glColor3i_INDEX; packed_data.args.a1 = (GLint)red; @@ -307,17 +339,19 @@ void glColor3i(GLint red, GLint green, GLint blue) { packed_data.args.a3 = (GLint)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3i(GLint red, GLint green, GLint blue) __attribute__((alias("glshim_glColor3i"))); #endif #if !defined(skip_client_glColor3iv) && !defined(skip_index_glColor3iv) -void glColor3iv(const GLint * v) { +void glshim_glColor3iv(const GLint * v) { glColor3iv_INDEXED packed_data; packed_data.func = glColor3iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3iv(const GLint * v) __attribute__((alias("glshim_glColor3iv"))); #endif #if !defined(skip_client_glColor3s) && !defined(skip_index_glColor3s) -void glColor3s(GLshort red, GLshort green, GLshort blue) { +void glshim_glColor3s(GLshort red, GLshort green, GLshort blue) { glColor3s_INDEXED packed_data; packed_data.func = glColor3s_INDEX; packed_data.args.a1 = (GLshort)red; @@ -325,17 +359,19 @@ void glColor3s(GLshort red, GLshort green, GLshort blue) { packed_data.args.a3 = (GLshort)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3s(GLshort red, GLshort green, GLshort blue) __attribute__((alias("glshim_glColor3s"))); #endif #if !defined(skip_client_glColor3sv) && !defined(skip_index_glColor3sv) -void glColor3sv(const GLshort * v) { +void glshim_glColor3sv(const GLshort * v) { glColor3sv_INDEXED packed_data; packed_data.func = glColor3sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3sv(const GLshort * v) __attribute__((alias("glshim_glColor3sv"))); #endif #if !defined(skip_client_glColor3ub) && !defined(skip_index_glColor3ub) -void glColor3ub(GLubyte red, GLubyte green, GLubyte blue) { +void glshim_glColor3ub(GLubyte red, GLubyte green, GLubyte blue) { glColor3ub_INDEXED packed_data; packed_data.func = glColor3ub_INDEX; packed_data.args.a1 = (GLubyte)red; @@ -343,17 +379,19 @@ void glColor3ub(GLubyte red, GLubyte green, GLubyte blue) { packed_data.args.a3 = (GLubyte)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3ub(GLubyte red, GLubyte green, GLubyte blue) __attribute__((alias("glshim_glColor3ub"))); #endif #if !defined(skip_client_glColor3ubv) && !defined(skip_index_glColor3ubv) -void glColor3ubv(const GLubyte * v) { +void glshim_glColor3ubv(const GLubyte * v) { glColor3ubv_INDEXED packed_data; packed_data.func = glColor3ubv_INDEX; packed_data.args.a1 = (GLubyte *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3ubv(const GLubyte * v) __attribute__((alias("glshim_glColor3ubv"))); #endif #if !defined(skip_client_glColor3ui) && !defined(skip_index_glColor3ui) -void glColor3ui(GLuint red, GLuint green, GLuint blue) { +void glshim_glColor3ui(GLuint red, GLuint green, GLuint blue) { glColor3ui_INDEXED packed_data; packed_data.func = glColor3ui_INDEX; packed_data.args.a1 = (GLuint)red; @@ -361,17 +399,19 @@ void glColor3ui(GLuint red, GLuint green, GLuint blue) { packed_data.args.a3 = (GLuint)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3ui(GLuint red, GLuint green, GLuint blue) __attribute__((alias("glshim_glColor3ui"))); #endif #if !defined(skip_client_glColor3uiv) && !defined(skip_index_glColor3uiv) -void glColor3uiv(const GLuint * v) { +void glshim_glColor3uiv(const GLuint * v) { glColor3uiv_INDEXED packed_data; packed_data.func = glColor3uiv_INDEX; packed_data.args.a1 = (GLuint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3uiv(const GLuint * v) __attribute__((alias("glshim_glColor3uiv"))); #endif #if !defined(skip_client_glColor3us) && !defined(skip_index_glColor3us) -void glColor3us(GLushort red, GLushort green, GLushort blue) { +void glshim_glColor3us(GLushort red, GLushort green, GLushort blue) { glColor3us_INDEXED packed_data; packed_data.func = glColor3us_INDEX; packed_data.args.a1 = (GLushort)red; @@ -379,17 +419,19 @@ void glColor3us(GLushort red, GLushort green, GLushort blue) { packed_data.args.a3 = (GLushort)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3us(GLushort red, GLushort green, GLushort blue) __attribute__((alias("glshim_glColor3us"))); #endif #if !defined(skip_client_glColor3usv) && !defined(skip_index_glColor3usv) -void glColor3usv(const GLushort * v) { +void glshim_glColor3usv(const GLushort * v) { glColor3usv_INDEXED packed_data; packed_data.func = glColor3usv_INDEX; packed_data.args.a1 = (GLushort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor3usv(const GLushort * v) __attribute__((alias("glshim_glColor3usv"))); #endif #if !defined(skip_client_glColor4b) && !defined(skip_index_glColor4b) -void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) { +void glshim_glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) { glColor4b_INDEXED packed_data; packed_data.func = glColor4b_INDEX; packed_data.args.a1 = (GLbyte)red; @@ -398,17 +440,19 @@ void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) { packed_data.args.a4 = (GLbyte)alpha; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) __attribute__((alias("glshim_glColor4b"))); #endif #if !defined(skip_client_glColor4bv) && !defined(skip_index_glColor4bv) -void glColor4bv(const GLbyte * v) { +void glshim_glColor4bv(const GLbyte * v) { glColor4bv_INDEXED packed_data; packed_data.func = glColor4bv_INDEX; packed_data.args.a1 = (GLbyte *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4bv(const GLbyte * v) __attribute__((alias("glshim_glColor4bv"))); #endif #if !defined(skip_client_glColor4d) && !defined(skip_index_glColor4d) -void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) { +void glshim_glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) { glColor4d_INDEXED packed_data; packed_data.func = glColor4d_INDEX; packed_data.args.a1 = (GLdouble)red; @@ -417,17 +461,19 @@ void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) { packed_data.args.a4 = (GLdouble)alpha; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) __attribute__((alias("glshim_glColor4d"))); #endif #if !defined(skip_client_glColor4dv) && !defined(skip_index_glColor4dv) -void glColor4dv(const GLdouble * v) { +void glshim_glColor4dv(const GLdouble * v) { glColor4dv_INDEXED packed_data; packed_data.func = glColor4dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4dv(const GLdouble * v) __attribute__((alias("glshim_glColor4dv"))); #endif #if !defined(skip_client_glColor4f) && !defined(skip_index_glColor4f) -void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { +void glshim_glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { glColor4f_INDEXED packed_data; packed_data.func = glColor4f_INDEX; packed_data.args.a1 = (GLfloat)red; @@ -436,17 +482,19 @@ void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { packed_data.args.a4 = (GLfloat)alpha; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) __attribute__((alias("glshim_glColor4f"))); #endif #if !defined(skip_client_glColor4fv) && !defined(skip_index_glColor4fv) -void glColor4fv(const GLfloat * v) { +void glshim_glColor4fv(const GLfloat * v) { glColor4fv_INDEXED packed_data; packed_data.func = glColor4fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4fv(const GLfloat * v) __attribute__((alias("glshim_glColor4fv"))); #endif #if !defined(skip_client_glColor4i) && !defined(skip_index_glColor4i) -void glColor4i(GLint red, GLint green, GLint blue, GLint alpha) { +void glshim_glColor4i(GLint red, GLint green, GLint blue, GLint alpha) { glColor4i_INDEXED packed_data; packed_data.func = glColor4i_INDEX; packed_data.args.a1 = (GLint)red; @@ -455,17 +503,19 @@ void glColor4i(GLint red, GLint green, GLint blue, GLint alpha) { packed_data.args.a4 = (GLint)alpha; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4i(GLint red, GLint green, GLint blue, GLint alpha) __attribute__((alias("glshim_glColor4i"))); #endif #if !defined(skip_client_glColor4iv) && !defined(skip_index_glColor4iv) -void glColor4iv(const GLint * v) { +void glshim_glColor4iv(const GLint * v) { glColor4iv_INDEXED packed_data; packed_data.func = glColor4iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4iv(const GLint * v) __attribute__((alias("glshim_glColor4iv"))); #endif #if !defined(skip_client_glColor4s) && !defined(skip_index_glColor4s) -void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha) { +void glshim_glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha) { glColor4s_INDEXED packed_data; packed_data.func = glColor4s_INDEX; packed_data.args.a1 = (GLshort)red; @@ -474,17 +524,19 @@ void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha) { packed_data.args.a4 = (GLshort)alpha; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha) __attribute__((alias("glshim_glColor4s"))); #endif #if !defined(skip_client_glColor4sv) && !defined(skip_index_glColor4sv) -void glColor4sv(const GLshort * v) { +void glshim_glColor4sv(const GLshort * v) { glColor4sv_INDEXED packed_data; packed_data.func = glColor4sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4sv(const GLshort * v) __attribute__((alias("glshim_glColor4sv"))); #endif #if !defined(skip_client_glColor4ub) && !defined(skip_index_glColor4ub) -void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { +void glshim_glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { glColor4ub_INDEXED packed_data; packed_data.func = glColor4ub_INDEX; packed_data.args.a1 = (GLubyte)red; @@ -493,17 +545,19 @@ void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { packed_data.args.a4 = (GLubyte)alpha; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) __attribute__((alias("glshim_glColor4ub"))); #endif #if !defined(skip_client_glColor4ubv) && !defined(skip_index_glColor4ubv) -void glColor4ubv(const GLubyte * v) { +void glshim_glColor4ubv(const GLubyte * v) { glColor4ubv_INDEXED packed_data; packed_data.func = glColor4ubv_INDEX; packed_data.args.a1 = (GLubyte *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4ubv(const GLubyte * v) __attribute__((alias("glshim_glColor4ubv"))); #endif #if !defined(skip_client_glColor4ui) && !defined(skip_index_glColor4ui) -void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha) { +void glshim_glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha) { glColor4ui_INDEXED packed_data; packed_data.func = glColor4ui_INDEX; packed_data.args.a1 = (GLuint)red; @@ -512,17 +566,19 @@ void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha) { packed_data.args.a4 = (GLuint)alpha; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha) __attribute__((alias("glshim_glColor4ui"))); #endif #if !defined(skip_client_glColor4uiv) && !defined(skip_index_glColor4uiv) -void glColor4uiv(const GLuint * v) { +void glshim_glColor4uiv(const GLuint * v) { glColor4uiv_INDEXED packed_data; packed_data.func = glColor4uiv_INDEX; packed_data.args.a1 = (GLuint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4uiv(const GLuint * v) __attribute__((alias("glshim_glColor4uiv"))); #endif #if !defined(skip_client_glColor4us) && !defined(skip_index_glColor4us) -void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha) { +void glshim_glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha) { glColor4us_INDEXED packed_data; packed_data.func = glColor4us_INDEX; packed_data.args.a1 = (GLushort)red; @@ -531,17 +587,19 @@ void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha) { packed_data.args.a4 = (GLushort)alpha; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha) __attribute__((alias("glshim_glColor4us"))); #endif #if !defined(skip_client_glColor4usv) && !defined(skip_index_glColor4usv) -void glColor4usv(const GLushort * v) { +void glshim_glColor4usv(const GLushort * v) { glColor4usv_INDEXED packed_data; packed_data.func = glColor4usv_INDEX; packed_data.args.a1 = (GLushort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColor4usv(const GLushort * v) __attribute__((alias("glshim_glColor4usv"))); #endif #if !defined(skip_client_glColorMask) && !defined(skip_index_glColorMask) -void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { +void glshim_glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { glColorMask_INDEXED packed_data; packed_data.func = glColorMask_INDEX; packed_data.args.a1 = (GLboolean)red; @@ -550,18 +608,20 @@ void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha packed_data.args.a4 = (GLboolean)alpha; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) __attribute__((alias("glshim_glColorMask"))); #endif #if !defined(skip_client_glColorMaterial) && !defined(skip_index_glColorMaterial) -void glColorMaterial(GLenum face, GLenum mode) { +void glshim_glColorMaterial(GLenum face, GLenum mode) { glColorMaterial_INDEXED packed_data; packed_data.func = glColorMaterial_INDEX; packed_data.args.a1 = (GLenum)face; packed_data.args.a2 = (GLenum)mode; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColorMaterial(GLenum face, GLenum mode) __attribute__((alias("glshim_glColorMaterial"))); #endif #if !defined(skip_client_glColorPointer) && !defined(skip_index_glColorPointer) -void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { +void glshim_glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { glColorPointer_INDEXED packed_data; packed_data.func = glColorPointer_INDEX; packed_data.args.a1 = (GLint)size; @@ -570,9 +630,10 @@ void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * poin packed_data.args.a4 = (GLvoid *)pointer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glColorPointer"))); #endif #if !defined(skip_client_glColorSubTable) && !defined(skip_index_glColorSubTable) -void glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data) { +void glshim_glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data) { glColorSubTable_INDEXED packed_data; packed_data.func = glColorSubTable_INDEX; packed_data.args.a1 = (GLenum)target; @@ -583,9 +644,10 @@ void glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, packed_data.args.a6 = (GLvoid *)data; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid * data) __attribute__((alias("glshim_glColorSubTable"))); #endif #if !defined(skip_client_glColorTable) && !defined(skip_index_glColorTable) -void glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * table) { +void glshim_glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * table) { glColorTable_INDEXED packed_data; packed_data.func = glColorTable_INDEX; packed_data.args.a1 = (GLenum)target; @@ -596,9 +658,10 @@ void glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum fo packed_data.args.a6 = (GLvoid *)table; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * table) __attribute__((alias("glshim_glColorTable"))); #endif #if !defined(skip_client_glColorTableParameterfv) && !defined(skip_index_glColorTableParameterfv) -void glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat * params) { +void glshim_glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat * params) { glColorTableParameterfv_INDEXED packed_data; packed_data.func = glColorTableParameterfv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -606,9 +669,10 @@ void glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat * params packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glColorTableParameterfv"))); #endif #if !defined(skip_client_glColorTableParameteriv) && !defined(skip_index_glColorTableParameteriv) -void glColorTableParameteriv(GLenum target, GLenum pname, const GLint * params) { +void glshim_glColorTableParameteriv(GLenum target, GLenum pname, const GLint * params) { glColorTableParameteriv_INDEXED packed_data; packed_data.func = glColorTableParameteriv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -616,9 +680,10 @@ void glColorTableParameteriv(GLenum target, GLenum pname, const GLint * params) packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glColorTableParameteriv(GLenum target, GLenum pname, const GLint * params) __attribute__((alias("glshim_glColorTableParameteriv"))); #endif #if !defined(skip_client_glCompressedTexImage1D) && !defined(skip_index_glCompressedTexImage1D) -void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data) { +void glshim_glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data) { glCompressedTexImage1D_INDEXED packed_data; packed_data.func = glCompressedTexImage1D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -630,9 +695,10 @@ void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, G packed_data.args.a7 = (GLvoid *)data; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid * data) __attribute__((alias("glshim_glCompressedTexImage1D"))); #endif #if !defined(skip_client_glCompressedTexImage2D) && !defined(skip_index_glCompressedTexImage2D) -void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data) { +void glshim_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data) { glCompressedTexImage2D_INDEXED packed_data; packed_data.func = glCompressedTexImage2D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -645,9 +711,10 @@ void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, G packed_data.args.a8 = (GLvoid *)data; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data) __attribute__((alias("glshim_glCompressedTexImage2D"))); #endif #if !defined(skip_client_glCompressedTexImage3D) && !defined(skip_index_glCompressedTexImage3D) -void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data) { +void glshim_glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data) { glCompressedTexImage3D_INDEXED packed_data; packed_data.func = glCompressedTexImage3D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -661,9 +728,10 @@ void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, G packed_data.args.a9 = (GLvoid *)data; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data) __attribute__((alias("glshim_glCompressedTexImage3D"))); #endif #if !defined(skip_client_glCompressedTexSubImage1D) && !defined(skip_index_glCompressedTexSubImage1D) -void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data) { +void glshim_glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data) { glCompressedTexSubImage1D_INDEXED packed_data; packed_data.func = glCompressedTexSubImage1D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -675,9 +743,10 @@ void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsize packed_data.args.a7 = (GLvoid *)data; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid * data) __attribute__((alias("glshim_glCompressedTexSubImage1D"))); #endif #if !defined(skip_client_glCompressedTexSubImage2D) && !defined(skip_index_glCompressedTexSubImage2D) -void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data) { +void glshim_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data) { glCompressedTexSubImage2D_INDEXED packed_data; packed_data.func = glCompressedTexSubImage2D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -691,9 +760,10 @@ void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint packed_data.args.a9 = (GLvoid *)data; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data) __attribute__((alias("glshim_glCompressedTexSubImage2D"))); #endif #if !defined(skip_client_glCompressedTexSubImage3D) && !defined(skip_index_glCompressedTexSubImage3D) -void glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data) { +void glshim_glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data) { glCompressedTexSubImage3D_INDEXED packed_data; packed_data.func = glCompressedTexSubImage3D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -709,9 +779,10 @@ void glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint packed_data.args.a11 = (GLvoid *)data; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data) __attribute__((alias("glshim_glCompressedTexSubImage3D"))); #endif #if !defined(skip_client_glConvolutionFilter1D) && !defined(skip_index_glConvolutionFilter1D) -void glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image) { +void glshim_glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image) { glConvolutionFilter1D_INDEXED packed_data; packed_data.func = glConvolutionFilter1D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -722,9 +793,10 @@ void glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, packed_data.args.a6 = (GLvoid *)image; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid * image) __attribute__((alias("glshim_glConvolutionFilter1D"))); #endif #if !defined(skip_client_glConvolutionFilter2D) && !defined(skip_index_glConvolutionFilter2D) -void glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image) { +void glshim_glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image) { glConvolutionFilter2D_INDEXED packed_data; packed_data.func = glConvolutionFilter2D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -736,9 +808,10 @@ void glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, packed_data.args.a7 = (GLvoid *)image; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * image) __attribute__((alias("glshim_glConvolutionFilter2D"))); #endif #if !defined(skip_client_glConvolutionParameterf) && !defined(skip_index_glConvolutionParameterf) -void glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params) { +void glshim_glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params) { glConvolutionParameterf_INDEXED packed_data; packed_data.func = glConvolutionParameterf_INDEX; packed_data.args.a1 = (GLenum)target; @@ -746,9 +819,10 @@ void glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params) { packed_data.args.a3 = (GLfloat)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params) __attribute__((alias("glshim_glConvolutionParameterf"))); #endif #if !defined(skip_client_glConvolutionParameterfv) && !defined(skip_index_glConvolutionParameterfv) -void glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat * params) { +void glshim_glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat * params) { glConvolutionParameterfv_INDEXED packed_data; packed_data.func = glConvolutionParameterfv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -756,9 +830,10 @@ void glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat * param packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glConvolutionParameterfv"))); #endif #if !defined(skip_client_glConvolutionParameteri) && !defined(skip_index_glConvolutionParameteri) -void glConvolutionParameteri(GLenum target, GLenum pname, GLint params) { +void glshim_glConvolutionParameteri(GLenum target, GLenum pname, GLint params) { glConvolutionParameteri_INDEXED packed_data; packed_data.func = glConvolutionParameteri_INDEX; packed_data.args.a1 = (GLenum)target; @@ -766,9 +841,10 @@ void glConvolutionParameteri(GLenum target, GLenum pname, GLint params) { packed_data.args.a3 = (GLint)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glConvolutionParameteri(GLenum target, GLenum pname, GLint params) __attribute__((alias("glshim_glConvolutionParameteri"))); #endif #if !defined(skip_client_glConvolutionParameteriv) && !defined(skip_index_glConvolutionParameteriv) -void glConvolutionParameteriv(GLenum target, GLenum pname, const GLint * params) { +void glshim_glConvolutionParameteriv(GLenum target, GLenum pname, const GLint * params) { glConvolutionParameteriv_INDEXED packed_data; packed_data.func = glConvolutionParameteriv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -776,9 +852,10 @@ void glConvolutionParameteriv(GLenum target, GLenum pname, const GLint * params) packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glConvolutionParameteriv(GLenum target, GLenum pname, const GLint * params) __attribute__((alias("glshim_glConvolutionParameteriv"))); #endif #if !defined(skip_client_glCopyColorSubTable) && !defined(skip_index_glCopyColorSubTable) -void glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) { +void glshim_glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) { glCopyColorSubTable_INDEXED packed_data; packed_data.func = glCopyColorSubTable_INDEX; packed_data.args.a1 = (GLenum)target; @@ -788,9 +865,10 @@ void glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei packed_data.args.a5 = (GLsizei)width; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) __attribute__((alias("glshim_glCopyColorSubTable"))); #endif #if !defined(skip_client_glCopyColorTable) && !defined(skip_index_glCopyColorTable) -void glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) { +void glshim_glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) { glCopyColorTable_INDEXED packed_data; packed_data.func = glCopyColorTable_INDEX; packed_data.args.a1 = (GLenum)target; @@ -800,9 +878,10 @@ void glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GL packed_data.args.a5 = (GLsizei)width; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) __attribute__((alias("glshim_glCopyColorTable"))); #endif #if !defined(skip_client_glCopyConvolutionFilter1D) && !defined(skip_index_glCopyConvolutionFilter1D) -void glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) { +void glshim_glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) { glCopyConvolutionFilter1D_INDEXED packed_data; packed_data.func = glCopyConvolutionFilter1D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -812,9 +891,10 @@ void glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GL packed_data.args.a5 = (GLsizei)width; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) __attribute__((alias("glshim_glCopyConvolutionFilter1D"))); #endif #if !defined(skip_client_glCopyConvolutionFilter2D) && !defined(skip_index_glCopyConvolutionFilter2D) -void glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) { +void glshim_glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) { glCopyConvolutionFilter2D_INDEXED packed_data; packed_data.func = glCopyConvolutionFilter2D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -825,9 +905,10 @@ void glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GL packed_data.args.a6 = (GLsizei)height; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) __attribute__((alias("glshim_glCopyConvolutionFilter2D"))); #endif #if !defined(skip_client_glCopyPixels) && !defined(skip_index_glCopyPixels) -void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) { +void glshim_glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) { glCopyPixels_INDEXED packed_data; packed_data.func = glCopyPixels_INDEX; packed_data.args.a1 = (GLint)x; @@ -837,9 +918,10 @@ void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) packed_data.args.a5 = (GLenum)type; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) __attribute__((alias("glshim_glCopyPixels"))); #endif #if !defined(skip_client_glCopyTexImage1D) && !defined(skip_index_glCopyTexImage1D) -void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) { +void glshim_glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) { glCopyTexImage1D_INDEXED packed_data; packed_data.func = glCopyTexImage1D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -851,9 +933,10 @@ void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x packed_data.args.a7 = (GLint)border; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) __attribute__((alias("glshim_glCopyTexImage1D"))); #endif #if !defined(skip_client_glCopyTexImage2D) && !defined(skip_index_glCopyTexImage2D) -void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { +void glshim_glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { glCopyTexImage2D_INDEXED packed_data; packed_data.func = glCopyTexImage2D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -866,9 +949,10 @@ void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x packed_data.args.a8 = (GLint)border; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) __attribute__((alias("glshim_glCopyTexImage2D"))); #endif #if !defined(skip_client_glCopyTexSubImage1D) && !defined(skip_index_glCopyTexSubImage1D) -void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) { +void glshim_glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) { glCopyTexSubImage1D_INDEXED packed_data; packed_data.func = glCopyTexSubImage1D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -879,9 +963,10 @@ void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLi packed_data.args.a6 = (GLsizei)width; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) __attribute__((alias("glshim_glCopyTexSubImage1D"))); #endif #if !defined(skip_client_glCopyTexSubImage2D) && !defined(skip_index_glCopyTexSubImage2D) -void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { +void glshim_glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) { glCopyTexSubImage2D_INDEXED packed_data; packed_data.func = glCopyTexSubImage2D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -894,9 +979,10 @@ void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffse packed_data.args.a8 = (GLsizei)height; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) __attribute__((alias("glshim_glCopyTexSubImage2D"))); #endif #if !defined(skip_client_glCopyTexSubImage3D) && !defined(skip_index_glCopyTexSubImage3D) -void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { +void glshim_glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { glCopyTexSubImage3D_INDEXED packed_data; packed_data.func = glCopyTexSubImage3D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -910,94 +996,105 @@ void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffse packed_data.args.a9 = (GLsizei)height; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) __attribute__((alias("glshim_glCopyTexSubImage3D"))); #endif #if !defined(skip_client_glCullFace) && !defined(skip_index_glCullFace) -void glCullFace(GLenum mode) { +void glshim_glCullFace(GLenum mode) { glCullFace_INDEXED packed_data; packed_data.func = glCullFace_INDEX; packed_data.args.a1 = (GLenum)mode; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glCullFace(GLenum mode) __attribute__((alias("glshim_glCullFace"))); #endif #if !defined(skip_client_glDeleteBuffers) && !defined(skip_index_glDeleteBuffers) -void glDeleteBuffers(GLsizei n, const GLuint * buffers) { +void glshim_glDeleteBuffers(GLsizei n, const GLuint * buffers) { glDeleteBuffers_INDEXED packed_data; packed_data.func = glDeleteBuffers_INDEX; packed_data.args.a1 = (GLsizei)n; packed_data.args.a2 = (GLuint *)buffers; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glDeleteBuffers(GLsizei n, const GLuint * buffers) __attribute__((alias("glshim_glDeleteBuffers"))); #endif #if !defined(skip_client_glDeleteLists) && !defined(skip_index_glDeleteLists) -void glDeleteLists(GLuint list, GLsizei range) { +void glshim_glDeleteLists(GLuint list, GLsizei range) { glDeleteLists_INDEXED packed_data; packed_data.func = glDeleteLists_INDEX; packed_data.args.a1 = (GLuint)list; packed_data.args.a2 = (GLsizei)range; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glDeleteLists(GLuint list, GLsizei range) __attribute__((alias("glshim_glDeleteLists"))); #endif #if !defined(skip_client_glDeleteQueries) && !defined(skip_index_glDeleteQueries) -void glDeleteQueries(GLsizei n, const GLuint * ids) { +void glshim_glDeleteQueries(GLsizei n, const GLuint * ids) { glDeleteQueries_INDEXED packed_data; packed_data.func = glDeleteQueries_INDEX; packed_data.args.a1 = (GLsizei)n; packed_data.args.a2 = (GLuint *)ids; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glDeleteQueries(GLsizei n, const GLuint * ids) __attribute__((alias("glshim_glDeleteQueries"))); #endif #if !defined(skip_client_glDeleteTextures) && !defined(skip_index_glDeleteTextures) -void glDeleteTextures(GLsizei n, const GLuint * textures) { +void glshim_glDeleteTextures(GLsizei n, const GLuint * textures) { glDeleteTextures_INDEXED packed_data; packed_data.func = glDeleteTextures_INDEX; packed_data.args.a1 = (GLsizei)n; packed_data.args.a2 = (GLuint *)textures; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glDeleteTextures(GLsizei n, const GLuint * textures) __attribute__((alias("glshim_glDeleteTextures"))); #endif #if !defined(skip_client_glDepthFunc) && !defined(skip_index_glDepthFunc) -void glDepthFunc(GLenum func) { +void glshim_glDepthFunc(GLenum func) { glDepthFunc_INDEXED packed_data; packed_data.func = glDepthFunc_INDEX; packed_data.args.a1 = (GLenum)func; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glDepthFunc(GLenum func) __attribute__((alias("glshim_glDepthFunc"))); #endif #if !defined(skip_client_glDepthMask) && !defined(skip_index_glDepthMask) -void glDepthMask(GLboolean flag) { +void glshim_glDepthMask(GLboolean flag) { glDepthMask_INDEXED packed_data; packed_data.func = glDepthMask_INDEX; packed_data.args.a1 = (GLboolean)flag; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glDepthMask(GLboolean flag) __attribute__((alias("glshim_glDepthMask"))); #endif #if !defined(skip_client_glDepthRange) && !defined(skip_index_glDepthRange) -void glDepthRange(GLdouble near, GLdouble far) { +void glshim_glDepthRange(GLdouble near, GLdouble far) { glDepthRange_INDEXED packed_data; packed_data.func = glDepthRange_INDEX; packed_data.args.a1 = (GLdouble)near; packed_data.args.a2 = (GLdouble)far; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glDepthRange(GLdouble near, GLdouble far) __attribute__((alias("glshim_glDepthRange"))); #endif #if !defined(skip_client_glDisable) && !defined(skip_index_glDisable) -void glDisable(GLenum cap) { +void glshim_glDisable(GLenum cap) { glDisable_INDEXED packed_data; packed_data.func = glDisable_INDEX; packed_data.args.a1 = (GLenum)cap; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glDisable(GLenum cap) __attribute__((alias("glshim_glDisable"))); #endif #if !defined(skip_client_glDisableClientState) && !defined(skip_index_glDisableClientState) -void glDisableClientState(GLenum array) { +void glshim_glDisableClientState(GLenum array) { glDisableClientState_INDEXED packed_data; packed_data.func = glDisableClientState_INDEX; packed_data.args.a1 = (GLenum)array; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glDisableClientState(GLenum array) __attribute__((alias("glshim_glDisableClientState"))); #endif #if !defined(skip_client_glDrawArrays) && !defined(skip_index_glDrawArrays) -void glDrawArrays(GLenum mode, GLint first, GLsizei count) { +void glshim_glDrawArrays(GLenum mode, GLint first, GLsizei count) { glDrawArrays_INDEXED packed_data; packed_data.func = glDrawArrays_INDEX; packed_data.args.a1 = (GLenum)mode; @@ -1005,17 +1102,19 @@ void glDrawArrays(GLenum mode, GLint first, GLsizei count) { packed_data.args.a3 = (GLsizei)count; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glDrawArrays(GLenum mode, GLint first, GLsizei count) __attribute__((alias("glshim_glDrawArrays"))); #endif #if !defined(skip_client_glDrawBuffer) && !defined(skip_index_glDrawBuffer) -void glDrawBuffer(GLenum mode) { +void glshim_glDrawBuffer(GLenum mode) { glDrawBuffer_INDEXED packed_data; packed_data.func = glDrawBuffer_INDEX; packed_data.args.a1 = (GLenum)mode; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glDrawBuffer(GLenum mode) __attribute__((alias("glshim_glDrawBuffer"))); #endif #if !defined(skip_client_glDrawElements) && !defined(skip_index_glDrawElements) -void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) { +void glshim_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) { glDrawElements_INDEXED packed_data; packed_data.func = glDrawElements_INDEX; packed_data.args.a1 = (GLenum)mode; @@ -1024,9 +1123,10 @@ void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid * indi packed_data.args.a4 = (GLvoid *)indices; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) __attribute__((alias("glshim_glDrawElements"))); #endif #if !defined(skip_client_glDrawPixels) && !defined(skip_index_glDrawPixels) -void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) { +void glshim_glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) { glDrawPixels_INDEXED packed_data; packed_data.func = glDrawPixels_INDEX; packed_data.args.a1 = (GLsizei)width; @@ -1036,9 +1136,10 @@ void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, con packed_data.args.a5 = (GLvoid *)pixels; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) __attribute__((alias("glshim_glDrawPixels"))); #endif #if !defined(skip_client_glDrawRangeElements) && !defined(skip_index_glDrawRangeElements) -void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices) { +void glshim_glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices) { glDrawRangeElements_INDEXED packed_data; packed_data.func = glDrawRangeElements_INDEX; packed_data.args.a1 = (GLenum)mode; @@ -1049,138 +1150,155 @@ void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, G packed_data.args.a6 = (GLvoid *)indices; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices) __attribute__((alias("glshim_glDrawRangeElements"))); #endif #if !defined(skip_client_glEdgeFlag) && !defined(skip_index_glEdgeFlag) -void glEdgeFlag(GLboolean flag) { +void glshim_glEdgeFlag(GLboolean flag) { glEdgeFlag_INDEXED packed_data; packed_data.func = glEdgeFlag_INDEX; packed_data.args.a1 = (GLboolean)flag; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEdgeFlag(GLboolean flag) __attribute__((alias("glshim_glEdgeFlag"))); #endif #if !defined(skip_client_glEdgeFlagPointer) && !defined(skip_index_glEdgeFlagPointer) -void glEdgeFlagPointer(GLsizei stride, const GLvoid * pointer) { +void glshim_glEdgeFlagPointer(GLsizei stride, const GLvoid * pointer) { glEdgeFlagPointer_INDEXED packed_data; packed_data.func = glEdgeFlagPointer_INDEX; packed_data.args.a1 = (GLsizei)stride; packed_data.args.a2 = (GLvoid *)pointer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEdgeFlagPointer(GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glEdgeFlagPointer"))); #endif #if !defined(skip_client_glEdgeFlagv) && !defined(skip_index_glEdgeFlagv) -void glEdgeFlagv(const GLboolean * flag) { +void glshim_glEdgeFlagv(const GLboolean * flag) { glEdgeFlagv_INDEXED packed_data; packed_data.func = glEdgeFlagv_INDEX; packed_data.args.a1 = (GLboolean *)flag; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEdgeFlagv(const GLboolean * flag) __attribute__((alias("glshim_glEdgeFlagv"))); #endif #if !defined(skip_client_glEnable) && !defined(skip_index_glEnable) -void glEnable(GLenum cap) { +void glshim_glEnable(GLenum cap) { glEnable_INDEXED packed_data; packed_data.func = glEnable_INDEX; packed_data.args.a1 = (GLenum)cap; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEnable(GLenum cap) __attribute__((alias("glshim_glEnable"))); #endif #if !defined(skip_client_glEnableClientState) && !defined(skip_index_glEnableClientState) -void glEnableClientState(GLenum array) { +void glshim_glEnableClientState(GLenum array) { glEnableClientState_INDEXED packed_data; packed_data.func = glEnableClientState_INDEX; packed_data.args.a1 = (GLenum)array; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEnableClientState(GLenum array) __attribute__((alias("glshim_glEnableClientState"))); #endif #if !defined(skip_client_glEnd) && !defined(skip_index_glEnd) -void glEnd() { +void glshim_glEnd() { glEnd_INDEXED packed_data; packed_data.func = glEnd_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEnd() __attribute__((alias("glshim_glEnd"))); #endif #if !defined(skip_client_glEndList) && !defined(skip_index_glEndList) -void glEndList() { +void glshim_glEndList() { glEndList_INDEXED packed_data; packed_data.func = glEndList_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEndList() __attribute__((alias("glshim_glEndList"))); #endif #if !defined(skip_client_glEndQuery) && !defined(skip_index_glEndQuery) -void glEndQuery(GLenum target) { +void glshim_glEndQuery(GLenum target) { glEndQuery_INDEXED packed_data; packed_data.func = glEndQuery_INDEX; packed_data.args.a1 = (GLenum)target; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEndQuery(GLenum target) __attribute__((alias("glshim_glEndQuery"))); #endif #if !defined(skip_client_glEvalCoord1d) && !defined(skip_index_glEvalCoord1d) -void glEvalCoord1d(GLdouble u) { +void glshim_glEvalCoord1d(GLdouble u) { glEvalCoord1d_INDEXED packed_data; packed_data.func = glEvalCoord1d_INDEX; packed_data.args.a1 = (GLdouble)u; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEvalCoord1d(GLdouble u) __attribute__((alias("glshim_glEvalCoord1d"))); #endif #if !defined(skip_client_glEvalCoord1dv) && !defined(skip_index_glEvalCoord1dv) -void glEvalCoord1dv(const GLdouble * u) { +void glshim_glEvalCoord1dv(const GLdouble * u) { glEvalCoord1dv_INDEXED packed_data; packed_data.func = glEvalCoord1dv_INDEX; packed_data.args.a1 = (GLdouble *)u; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEvalCoord1dv(const GLdouble * u) __attribute__((alias("glshim_glEvalCoord1dv"))); #endif #if !defined(skip_client_glEvalCoord1f) && !defined(skip_index_glEvalCoord1f) -void glEvalCoord1f(GLfloat u) { +void glshim_glEvalCoord1f(GLfloat u) { glEvalCoord1f_INDEXED packed_data; packed_data.func = glEvalCoord1f_INDEX; packed_data.args.a1 = (GLfloat)u; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEvalCoord1f(GLfloat u) __attribute__((alias("glshim_glEvalCoord1f"))); #endif #if !defined(skip_client_glEvalCoord1fv) && !defined(skip_index_glEvalCoord1fv) -void glEvalCoord1fv(const GLfloat * u) { +void glshim_glEvalCoord1fv(const GLfloat * u) { glEvalCoord1fv_INDEXED packed_data; packed_data.func = glEvalCoord1fv_INDEX; packed_data.args.a1 = (GLfloat *)u; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEvalCoord1fv(const GLfloat * u) __attribute__((alias("glshim_glEvalCoord1fv"))); #endif #if !defined(skip_client_glEvalCoord2d) && !defined(skip_index_glEvalCoord2d) -void glEvalCoord2d(GLdouble u, GLdouble v) { +void glshim_glEvalCoord2d(GLdouble u, GLdouble v) { glEvalCoord2d_INDEXED packed_data; packed_data.func = glEvalCoord2d_INDEX; packed_data.args.a1 = (GLdouble)u; packed_data.args.a2 = (GLdouble)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEvalCoord2d(GLdouble u, GLdouble v) __attribute__((alias("glshim_glEvalCoord2d"))); #endif #if !defined(skip_client_glEvalCoord2dv) && !defined(skip_index_glEvalCoord2dv) -void glEvalCoord2dv(const GLdouble * u) { +void glshim_glEvalCoord2dv(const GLdouble * u) { glEvalCoord2dv_INDEXED packed_data; packed_data.func = glEvalCoord2dv_INDEX; packed_data.args.a1 = (GLdouble *)u; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEvalCoord2dv(const GLdouble * u) __attribute__((alias("glshim_glEvalCoord2dv"))); #endif #if !defined(skip_client_glEvalCoord2f) && !defined(skip_index_glEvalCoord2f) -void glEvalCoord2f(GLfloat u, GLfloat v) { +void glshim_glEvalCoord2f(GLfloat u, GLfloat v) { glEvalCoord2f_INDEXED packed_data; packed_data.func = glEvalCoord2f_INDEX; packed_data.args.a1 = (GLfloat)u; packed_data.args.a2 = (GLfloat)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEvalCoord2f(GLfloat u, GLfloat v) __attribute__((alias("glshim_glEvalCoord2f"))); #endif #if !defined(skip_client_glEvalCoord2fv) && !defined(skip_index_glEvalCoord2fv) -void glEvalCoord2fv(const GLfloat * u) { +void glshim_glEvalCoord2fv(const GLfloat * u) { glEvalCoord2fv_INDEXED packed_data; packed_data.func = glEvalCoord2fv_INDEX; packed_data.args.a1 = (GLfloat *)u; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEvalCoord2fv(const GLfloat * u) __attribute__((alias("glshim_glEvalCoord2fv"))); #endif #if !defined(skip_client_glEvalMesh1) && !defined(skip_index_glEvalMesh1) -void glEvalMesh1(GLenum mode, GLint i1, GLint i2) { +void glshim_glEvalMesh1(GLenum mode, GLint i1, GLint i2) { glEvalMesh1_INDEXED packed_data; packed_data.func = glEvalMesh1_INDEX; packed_data.args.a1 = (GLenum)mode; @@ -1188,9 +1306,10 @@ void glEvalMesh1(GLenum mode, GLint i1, GLint i2) { packed_data.args.a3 = (GLint)i2; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEvalMesh1(GLenum mode, GLint i1, GLint i2) __attribute__((alias("glshim_glEvalMesh1"))); #endif #if !defined(skip_client_glEvalMesh2) && !defined(skip_index_glEvalMesh2) -void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) { +void glshim_glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) { glEvalMesh2_INDEXED packed_data; packed_data.func = glEvalMesh2_INDEX; packed_data.args.a1 = (GLenum)mode; @@ -1200,26 +1319,29 @@ void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) { packed_data.args.a5 = (GLint)j2; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) __attribute__((alias("glshim_glEvalMesh2"))); #endif #if !defined(skip_client_glEvalPoint1) && !defined(skip_index_glEvalPoint1) -void glEvalPoint1(GLint i) { +void glshim_glEvalPoint1(GLint i) { glEvalPoint1_INDEXED packed_data; packed_data.func = glEvalPoint1_INDEX; packed_data.args.a1 = (GLint)i; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEvalPoint1(GLint i) __attribute__((alias("glshim_glEvalPoint1"))); #endif #if !defined(skip_client_glEvalPoint2) && !defined(skip_index_glEvalPoint2) -void glEvalPoint2(GLint i, GLint j) { +void glshim_glEvalPoint2(GLint i, GLint j) { glEvalPoint2_INDEXED packed_data; packed_data.func = glEvalPoint2_INDEX; packed_data.args.a1 = (GLint)i; packed_data.args.a2 = (GLint)j; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glEvalPoint2(GLint i, GLint j) __attribute__((alias("glshim_glEvalPoint2"))); #endif #if !defined(skip_client_glFeedbackBuffer) && !defined(skip_index_glFeedbackBuffer) -void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat * buffer) { +void glshim_glFeedbackBuffer(GLsizei size, GLenum type, GLfloat * buffer) { glFeedbackBuffer_INDEXED packed_data; packed_data.func = glFeedbackBuffer_INDEX; packed_data.args.a1 = (GLsizei)size; @@ -1227,23 +1349,26 @@ void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat * buffer) { packed_data.args.a3 = (GLfloat *)buffer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat * buffer) __attribute__((alias("glshim_glFeedbackBuffer"))); #endif #if !defined(skip_client_glFinish) && !defined(skip_index_glFinish) -void glFinish() { +void glshim_glFinish() { glFinish_INDEXED packed_data; packed_data.func = glFinish_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glFinish() __attribute__((alias("glshim_glFinish"))); #endif #if !defined(skip_client_glFlush) && !defined(skip_index_glFlush) -void glFlush() { +void glshim_glFlush() { glFlush_INDEXED packed_data; packed_data.func = glFlush_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glFlush() __attribute__((alias("glshim_glFlush"))); #endif #if !defined(skip_client_glFogCoordPointer) && !defined(skip_index_glFogCoordPointer) -void glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid * pointer) { +void glshim_glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid * pointer) { glFogCoordPointer_INDEXED packed_data; packed_data.func = glFogCoordPointer_INDEX; packed_data.args.a1 = (GLenum)type; @@ -1251,85 +1376,95 @@ void glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid * pointer) { packed_data.args.a3 = (GLvoid *)pointer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glFogCoordPointer"))); #endif #if !defined(skip_client_glFogCoordd) && !defined(skip_index_glFogCoordd) -void glFogCoordd(GLdouble coord) { +void glshim_glFogCoordd(GLdouble coord) { glFogCoordd_INDEXED packed_data; packed_data.func = glFogCoordd_INDEX; packed_data.args.a1 = (GLdouble)coord; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glFogCoordd(GLdouble coord) __attribute__((alias("glshim_glFogCoordd"))); #endif #if !defined(skip_client_glFogCoorddv) && !defined(skip_index_glFogCoorddv) -void glFogCoorddv(const GLdouble * coord) { +void glshim_glFogCoorddv(const GLdouble * coord) { glFogCoorddv_INDEXED packed_data; packed_data.func = glFogCoorddv_INDEX; packed_data.args.a1 = (GLdouble *)coord; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glFogCoorddv(const GLdouble * coord) __attribute__((alias("glshim_glFogCoorddv"))); #endif #if !defined(skip_client_glFogCoordf) && !defined(skip_index_glFogCoordf) -void glFogCoordf(GLfloat coord) { +void glshim_glFogCoordf(GLfloat coord) { glFogCoordf_INDEXED packed_data; packed_data.func = glFogCoordf_INDEX; packed_data.args.a1 = (GLfloat)coord; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glFogCoordf(GLfloat coord) __attribute__((alias("glshim_glFogCoordf"))); #endif #if !defined(skip_client_glFogCoordfv) && !defined(skip_index_glFogCoordfv) -void glFogCoordfv(const GLfloat * coord) { +void glshim_glFogCoordfv(const GLfloat * coord) { glFogCoordfv_INDEXED packed_data; packed_data.func = glFogCoordfv_INDEX; packed_data.args.a1 = (GLfloat *)coord; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glFogCoordfv(const GLfloat * coord) __attribute__((alias("glshim_glFogCoordfv"))); #endif #if !defined(skip_client_glFogf) && !defined(skip_index_glFogf) -void glFogf(GLenum pname, GLfloat param) { +void glshim_glFogf(GLenum pname, GLfloat param) { glFogf_INDEXED packed_data; packed_data.func = glFogf_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLfloat)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glFogf(GLenum pname, GLfloat param) __attribute__((alias("glshim_glFogf"))); #endif #if !defined(skip_client_glFogfv) && !defined(skip_index_glFogfv) -void glFogfv(GLenum pname, const GLfloat * params) { +void glshim_glFogfv(GLenum pname, const GLfloat * params) { glFogfv_INDEXED packed_data; packed_data.func = glFogfv_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glFogfv(GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glFogfv"))); #endif #if !defined(skip_client_glFogi) && !defined(skip_index_glFogi) -void glFogi(GLenum pname, GLint param) { +void glshim_glFogi(GLenum pname, GLint param) { glFogi_INDEXED packed_data; packed_data.func = glFogi_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLint)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glFogi(GLenum pname, GLint param) __attribute__((alias("glshim_glFogi"))); #endif #if !defined(skip_client_glFogiv) && !defined(skip_index_glFogiv) -void glFogiv(GLenum pname, const GLint * params) { +void glshim_glFogiv(GLenum pname, const GLint * params) { glFogiv_INDEXED packed_data; packed_data.func = glFogiv_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glFogiv(GLenum pname, const GLint * params) __attribute__((alias("glshim_glFogiv"))); #endif #if !defined(skip_client_glFrontFace) && !defined(skip_index_glFrontFace) -void glFrontFace(GLenum mode) { +void glshim_glFrontFace(GLenum mode) { glFrontFace_INDEXED packed_data; packed_data.func = glFrontFace_INDEX; packed_data.args.a1 = (GLenum)mode; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glFrontFace(GLenum mode) __attribute__((alias("glshim_glFrontFace"))); #endif #if !defined(skip_client_glFrustum) && !defined(skip_index_glFrustum) -void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) { +void glshim_glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) { glFrustum_INDEXED packed_data; packed_data.func = glFrustum_INDEX; packed_data.args.a1 = (GLdouble)left; @@ -1340,18 +1475,20 @@ void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLd packed_data.args.a6 = (GLdouble)zFar; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) __attribute__((alias("glshim_glFrustum"))); #endif #if !defined(skip_client_glGenBuffers) && !defined(skip_index_glGenBuffers) -void glGenBuffers(GLsizei n, GLuint * buffers) { +void glshim_glGenBuffers(GLsizei n, GLuint * buffers) { glGenBuffers_INDEXED packed_data; packed_data.func = glGenBuffers_INDEX; packed_data.args.a1 = (GLsizei)n; packed_data.args.a2 = (GLuint *)buffers; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGenBuffers(GLsizei n, GLuint * buffers) __attribute__((alias("glshim_glGenBuffers"))); #endif #if !defined(skip_client_glGenLists) && !defined(skip_index_glGenLists) -GLuint glGenLists(GLsizei range) { +GLuint glshim_glGenLists(GLsizei range) { glGenLists_INDEXED packed_data; packed_data.func = glGenLists_INDEX; packed_data.args.a1 = (GLsizei)range; @@ -1359,36 +1496,40 @@ GLuint glGenLists(GLsizei range) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLuint glGenLists(GLsizei range) __attribute__((alias("glshim_glGenLists"))); #endif #if !defined(skip_client_glGenQueries) && !defined(skip_index_glGenQueries) -void glGenQueries(GLsizei n, GLuint * ids) { +void glshim_glGenQueries(GLsizei n, GLuint * ids) { glGenQueries_INDEXED packed_data; packed_data.func = glGenQueries_INDEX; packed_data.args.a1 = (GLsizei)n; packed_data.args.a2 = (GLuint *)ids; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGenQueries(GLsizei n, GLuint * ids) __attribute__((alias("glshim_glGenQueries"))); #endif #if !defined(skip_client_glGenTextures) && !defined(skip_index_glGenTextures) -void glGenTextures(GLsizei n, GLuint * textures) { +void glshim_glGenTextures(GLsizei n, GLuint * textures) { glGenTextures_INDEXED packed_data; packed_data.func = glGenTextures_INDEX; packed_data.args.a1 = (GLsizei)n; packed_data.args.a2 = (GLuint *)textures; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGenTextures(GLsizei n, GLuint * textures) __attribute__((alias("glshim_glGenTextures"))); #endif #if !defined(skip_client_glGetBooleanv) && !defined(skip_index_glGetBooleanv) -void glGetBooleanv(GLenum pname, GLboolean * params) { +void glshim_glGetBooleanv(GLenum pname, GLboolean * params) { glGetBooleanv_INDEXED packed_data; packed_data.func = glGetBooleanv_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLboolean *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetBooleanv(GLenum pname, GLboolean * params) __attribute__((alias("glshim_glGetBooleanv"))); #endif #if !defined(skip_client_glGetBufferParameteriv) && !defined(skip_index_glGetBufferParameteriv) -void glGetBufferParameteriv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetBufferParameteriv(GLenum target, GLenum pname, GLint * params) { glGetBufferParameteriv_INDEXED packed_data; packed_data.func = glGetBufferParameteriv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1396,9 +1537,10 @@ void glGetBufferParameteriv(GLenum target, GLenum pname, GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetBufferParameteriv(GLenum target, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetBufferParameteriv"))); #endif #if !defined(skip_client_glGetBufferPointerv) && !defined(skip_index_glGetBufferPointerv) -void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid * params) { +void glshim_glGetBufferPointerv(GLenum target, GLenum pname, GLvoid * params) { glGetBufferPointerv_INDEXED packed_data; packed_data.func = glGetBufferPointerv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1406,9 +1548,10 @@ void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid * params) { packed_data.args.a3 = (GLvoid *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid * params) __attribute__((alias("glshim_glGetBufferPointerv"))); #endif #if !defined(skip_client_glGetBufferSubData) && !defined(skip_index_glGetBufferSubData) -void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid * data) { +void glshim_glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid * data) { glGetBufferSubData_INDEXED packed_data; packed_data.func = glGetBufferSubData_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1417,18 +1560,20 @@ void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid packed_data.args.a4 = (GLvoid *)data; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid * data) __attribute__((alias("glshim_glGetBufferSubData"))); #endif #if !defined(skip_client_glGetClipPlane) && !defined(skip_index_glGetClipPlane) -void glGetClipPlane(GLenum plane, GLdouble * equation) { +void glshim_glGetClipPlane(GLenum plane, GLdouble * equation) { glGetClipPlane_INDEXED packed_data; packed_data.func = glGetClipPlane_INDEX; packed_data.args.a1 = (GLenum)plane; packed_data.args.a2 = (GLdouble *)equation; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetClipPlane(GLenum plane, GLdouble * equation) __attribute__((alias("glshim_glGetClipPlane"))); #endif #if !defined(skip_client_glGetColorTable) && !defined(skip_index_glGetColorTable) -void glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid * table) { +void glshim_glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid * table) { glGetColorTable_INDEXED packed_data; packed_data.func = glGetColorTable_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1437,9 +1582,10 @@ void glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid * table) packed_data.args.a4 = (GLvoid *)table; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid * table) __attribute__((alias("glshim_glGetColorTable"))); #endif #if !defined(skip_client_glGetColorTableParameterfv) && !defined(skip_index_glGetColorTableParameterfv) -void glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat * params) { +void glshim_glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat * params) { glGetColorTableParameterfv_INDEXED packed_data; packed_data.func = glGetColorTableParameterfv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1447,9 +1593,10 @@ void glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat * params) { packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetColorTableParameterfv"))); #endif #if !defined(skip_client_glGetColorTableParameteriv) && !defined(skip_index_glGetColorTableParameteriv) -void glGetColorTableParameteriv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetColorTableParameteriv(GLenum target, GLenum pname, GLint * params) { glGetColorTableParameteriv_INDEXED packed_data; packed_data.func = glGetColorTableParameteriv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1457,9 +1604,10 @@ void glGetColorTableParameteriv(GLenum target, GLenum pname, GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetColorTableParameteriv(GLenum target, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetColorTableParameteriv"))); #endif #if !defined(skip_client_glGetCompressedTexImage) && !defined(skip_index_glGetCompressedTexImage) -void glGetCompressedTexImage(GLenum target, GLint level, GLvoid * img) { +void glshim_glGetCompressedTexImage(GLenum target, GLint level, GLvoid * img) { glGetCompressedTexImage_INDEXED packed_data; packed_data.func = glGetCompressedTexImage_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1467,9 +1615,10 @@ void glGetCompressedTexImage(GLenum target, GLint level, GLvoid * img) { packed_data.args.a3 = (GLvoid *)img; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetCompressedTexImage(GLenum target, GLint level, GLvoid * img) __attribute__((alias("glshim_glGetCompressedTexImage"))); #endif #if !defined(skip_client_glGetConvolutionFilter) && !defined(skip_index_glGetConvolutionFilter) -void glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid * image) { +void glshim_glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid * image) { glGetConvolutionFilter_INDEXED packed_data; packed_data.func = glGetConvolutionFilter_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1478,9 +1627,10 @@ void glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid * packed_data.args.a4 = (GLvoid *)image; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid * image) __attribute__((alias("glshim_glGetConvolutionFilter"))); #endif #if !defined(skip_client_glGetConvolutionParameterfv) && !defined(skip_index_glGetConvolutionParameterfv) -void glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat * params) { +void glshim_glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat * params) { glGetConvolutionParameterfv_INDEXED packed_data; packed_data.func = glGetConvolutionParameterfv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1488,9 +1638,10 @@ void glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat * params) packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetConvolutionParameterfv"))); #endif #if !defined(skip_client_glGetConvolutionParameteriv) && !defined(skip_index_glGetConvolutionParameteriv) -void glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint * params) { glGetConvolutionParameteriv_INDEXED packed_data; packed_data.func = glGetConvolutionParameteriv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1498,36 +1649,40 @@ void glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetConvolutionParameteriv"))); #endif #if !defined(skip_client_glGetDoublev) && !defined(skip_index_glGetDoublev) -void glGetDoublev(GLenum pname, GLdouble * params) { +void glshim_glGetDoublev(GLenum pname, GLdouble * params) { glGetDoublev_INDEXED packed_data; packed_data.func = glGetDoublev_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLdouble *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetDoublev(GLenum pname, GLdouble * params) __attribute__((alias("glshim_glGetDoublev"))); #endif #if !defined(skip_client_glGetError) && !defined(skip_index_glGetError) -GLenum glGetError() { +GLenum glshim_glGetError() { glGetError_INDEXED packed_data; packed_data.func = glGetError_INDEX; GLenum ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLenum glGetError() __attribute__((alias("glshim_glGetError"))); #endif #if !defined(skip_client_glGetFloatv) && !defined(skip_index_glGetFloatv) -void glGetFloatv(GLenum pname, GLfloat * params) { +void glshim_glGetFloatv(GLenum pname, GLfloat * params) { glGetFloatv_INDEXED packed_data; packed_data.func = glGetFloatv_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetFloatv(GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetFloatv"))); #endif #if !defined(skip_client_glGetHistogram) && !defined(skip_index_glGetHistogram) -void glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values) { +void glshim_glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values) { glGetHistogram_INDEXED packed_data; packed_data.func = glGetHistogram_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1537,9 +1692,10 @@ void glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, packed_data.args.a5 = (GLvoid *)values; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values) __attribute__((alias("glshim_glGetHistogram"))); #endif #if !defined(skip_client_glGetHistogramParameterfv) && !defined(skip_index_glGetHistogramParameterfv) -void glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat * params) { +void glshim_glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat * params) { glGetHistogramParameterfv_INDEXED packed_data; packed_data.func = glGetHistogramParameterfv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1547,9 +1703,10 @@ void glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat * params) { packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetHistogramParameterfv"))); #endif #if !defined(skip_client_glGetHistogramParameteriv) && !defined(skip_index_glGetHistogramParameteriv) -void glGetHistogramParameteriv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetHistogramParameteriv(GLenum target, GLenum pname, GLint * params) { glGetHistogramParameteriv_INDEXED packed_data; packed_data.func = glGetHistogramParameteriv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1557,18 +1714,20 @@ void glGetHistogramParameteriv(GLenum target, GLenum pname, GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetHistogramParameteriv(GLenum target, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetHistogramParameteriv"))); #endif #if !defined(skip_client_glGetIntegerv) && !defined(skip_index_glGetIntegerv) -void glGetIntegerv(GLenum pname, GLint * params) { +void glshim_glGetIntegerv(GLenum pname, GLint * params) { glGetIntegerv_INDEXED packed_data; packed_data.func = glGetIntegerv_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetIntegerv(GLenum pname, GLint * params) __attribute__((alias("glshim_glGetIntegerv"))); #endif #if !defined(skip_client_glGetLightfv) && !defined(skip_index_glGetLightfv) -void glGetLightfv(GLenum light, GLenum pname, GLfloat * params) { +void glshim_glGetLightfv(GLenum light, GLenum pname, GLfloat * params) { glGetLightfv_INDEXED packed_data; packed_data.func = glGetLightfv_INDEX; packed_data.args.a1 = (GLenum)light; @@ -1576,9 +1735,10 @@ void glGetLightfv(GLenum light, GLenum pname, GLfloat * params) { packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetLightfv(GLenum light, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetLightfv"))); #endif #if !defined(skip_client_glGetLightiv) && !defined(skip_index_glGetLightiv) -void glGetLightiv(GLenum light, GLenum pname, GLint * params) { +void glshim_glGetLightiv(GLenum light, GLenum pname, GLint * params) { glGetLightiv_INDEXED packed_data; packed_data.func = glGetLightiv_INDEX; packed_data.args.a1 = (GLenum)light; @@ -1586,9 +1746,10 @@ void glGetLightiv(GLenum light, GLenum pname, GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetLightiv(GLenum light, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetLightiv"))); #endif #if !defined(skip_client_glGetMapdv) && !defined(skip_index_glGetMapdv) -void glGetMapdv(GLenum target, GLenum query, GLdouble * v) { +void glshim_glGetMapdv(GLenum target, GLenum query, GLdouble * v) { glGetMapdv_INDEXED packed_data; packed_data.func = glGetMapdv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1596,9 +1757,10 @@ void glGetMapdv(GLenum target, GLenum query, GLdouble * v) { packed_data.args.a3 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetMapdv(GLenum target, GLenum query, GLdouble * v) __attribute__((alias("glshim_glGetMapdv"))); #endif #if !defined(skip_client_glGetMapfv) && !defined(skip_index_glGetMapfv) -void glGetMapfv(GLenum target, GLenum query, GLfloat * v) { +void glshim_glGetMapfv(GLenum target, GLenum query, GLfloat * v) { glGetMapfv_INDEXED packed_data; packed_data.func = glGetMapfv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1606,9 +1768,10 @@ void glGetMapfv(GLenum target, GLenum query, GLfloat * v) { packed_data.args.a3 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetMapfv(GLenum target, GLenum query, GLfloat * v) __attribute__((alias("glshim_glGetMapfv"))); #endif #if !defined(skip_client_glGetMapiv) && !defined(skip_index_glGetMapiv) -void glGetMapiv(GLenum target, GLenum query, GLint * v) { +void glshim_glGetMapiv(GLenum target, GLenum query, GLint * v) { glGetMapiv_INDEXED packed_data; packed_data.func = glGetMapiv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1616,9 +1779,10 @@ void glGetMapiv(GLenum target, GLenum query, GLint * v) { packed_data.args.a3 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetMapiv(GLenum target, GLenum query, GLint * v) __attribute__((alias("glshim_glGetMapiv"))); #endif #if !defined(skip_client_glGetMaterialfv) && !defined(skip_index_glGetMaterialfv) -void glGetMaterialfv(GLenum face, GLenum pname, GLfloat * params) { +void glshim_glGetMaterialfv(GLenum face, GLenum pname, GLfloat * params) { glGetMaterialfv_INDEXED packed_data; packed_data.func = glGetMaterialfv_INDEX; packed_data.args.a1 = (GLenum)face; @@ -1626,9 +1790,10 @@ void glGetMaterialfv(GLenum face, GLenum pname, GLfloat * params) { packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetMaterialfv(GLenum face, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetMaterialfv"))); #endif #if !defined(skip_client_glGetMaterialiv) && !defined(skip_index_glGetMaterialiv) -void glGetMaterialiv(GLenum face, GLenum pname, GLint * params) { +void glshim_glGetMaterialiv(GLenum face, GLenum pname, GLint * params) { glGetMaterialiv_INDEXED packed_data; packed_data.func = glGetMaterialiv_INDEX; packed_data.args.a1 = (GLenum)face; @@ -1636,9 +1801,10 @@ void glGetMaterialiv(GLenum face, GLenum pname, GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetMaterialiv(GLenum face, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetMaterialiv"))); #endif #if !defined(skip_client_glGetMinmax) && !defined(skip_index_glGetMinmax) -void glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values) { +void glshim_glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values) { glGetMinmax_INDEXED packed_data; packed_data.func = glGetMinmax_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1648,9 +1814,10 @@ void glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLv packed_data.args.a5 = (GLvoid *)values; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid * values) __attribute__((alias("glshim_glGetMinmax"))); #endif #if !defined(skip_client_glGetMinmaxParameterfv) && !defined(skip_index_glGetMinmaxParameterfv) -void glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat * params) { +void glshim_glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat * params) { glGetMinmaxParameterfv_INDEXED packed_data; packed_data.func = glGetMinmaxParameterfv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1658,9 +1825,10 @@ void glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat * params) { packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetMinmaxParameterfv"))); #endif #if !defined(skip_client_glGetMinmaxParameteriv) && !defined(skip_index_glGetMinmaxParameteriv) -void glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint * params) { glGetMinmaxParameteriv_INDEXED packed_data; packed_data.func = glGetMinmaxParameteriv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1668,53 +1836,59 @@ void glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetMinmaxParameteriv"))); #endif #if !defined(skip_client_glGetPixelMapfv) && !defined(skip_index_glGetPixelMapfv) -void glGetPixelMapfv(GLenum map, GLfloat * values) { +void glshim_glGetPixelMapfv(GLenum map, GLfloat * values) { glGetPixelMapfv_INDEXED packed_data; packed_data.func = glGetPixelMapfv_INDEX; packed_data.args.a1 = (GLenum)map; packed_data.args.a2 = (GLfloat *)values; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetPixelMapfv(GLenum map, GLfloat * values) __attribute__((alias("glshim_glGetPixelMapfv"))); #endif #if !defined(skip_client_glGetPixelMapuiv) && !defined(skip_index_glGetPixelMapuiv) -void glGetPixelMapuiv(GLenum map, GLuint * values) { +void glshim_glGetPixelMapuiv(GLenum map, GLuint * values) { glGetPixelMapuiv_INDEXED packed_data; packed_data.func = glGetPixelMapuiv_INDEX; packed_data.args.a1 = (GLenum)map; packed_data.args.a2 = (GLuint *)values; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetPixelMapuiv(GLenum map, GLuint * values) __attribute__((alias("glshim_glGetPixelMapuiv"))); #endif #if !defined(skip_client_glGetPixelMapusv) && !defined(skip_index_glGetPixelMapusv) -void glGetPixelMapusv(GLenum map, GLushort * values) { +void glshim_glGetPixelMapusv(GLenum map, GLushort * values) { glGetPixelMapusv_INDEXED packed_data; packed_data.func = glGetPixelMapusv_INDEX; packed_data.args.a1 = (GLenum)map; packed_data.args.a2 = (GLushort *)values; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetPixelMapusv(GLenum map, GLushort * values) __attribute__((alias("glshim_glGetPixelMapusv"))); #endif #if !defined(skip_client_glGetPointerv) && !defined(skip_index_glGetPointerv) -void glGetPointerv(GLenum pname, GLvoid ** params) { +void glshim_glGetPointerv(GLenum pname, GLvoid ** params) { glGetPointerv_INDEXED packed_data; packed_data.func = glGetPointerv_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLvoid **)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetPointerv(GLenum pname, GLvoid ** params) __attribute__((alias("glshim_glGetPointerv"))); #endif #if !defined(skip_client_glGetPolygonStipple) && !defined(skip_index_glGetPolygonStipple) -void glGetPolygonStipple(GLubyte * mask) { +void glshim_glGetPolygonStipple(GLubyte * mask) { glGetPolygonStipple_INDEXED packed_data; packed_data.func = glGetPolygonStipple_INDEX; packed_data.args.a1 = (GLubyte *)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetPolygonStipple(GLubyte * mask) __attribute__((alias("glshim_glGetPolygonStipple"))); #endif #if !defined(skip_client_glGetQueryObjectiv) && !defined(skip_index_glGetQueryObjectiv) -void glGetQueryObjectiv(GLuint id, GLenum pname, GLint * params) { +void glshim_glGetQueryObjectiv(GLuint id, GLenum pname, GLint * params) { glGetQueryObjectiv_INDEXED packed_data; packed_data.func = glGetQueryObjectiv_INDEX; packed_data.args.a1 = (GLuint)id; @@ -1722,9 +1896,10 @@ void glGetQueryObjectiv(GLuint id, GLenum pname, GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetQueryObjectiv(GLuint id, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetQueryObjectiv"))); #endif #if !defined(skip_client_glGetQueryObjectuiv) && !defined(skip_index_glGetQueryObjectuiv) -void glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint * params) { +void glshim_glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint * params) { glGetQueryObjectuiv_INDEXED packed_data; packed_data.func = glGetQueryObjectuiv_INDEX; packed_data.args.a1 = (GLuint)id; @@ -1732,9 +1907,10 @@ void glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint * params) { packed_data.args.a3 = (GLuint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint * params) __attribute__((alias("glshim_glGetQueryObjectuiv"))); #endif #if !defined(skip_client_glGetQueryiv) && !defined(skip_index_glGetQueryiv) -void glGetQueryiv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetQueryiv(GLenum target, GLenum pname, GLint * params) { glGetQueryiv_INDEXED packed_data; packed_data.func = glGetQueryiv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1742,9 +1918,10 @@ void glGetQueryiv(GLenum target, GLenum pname, GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetQueryiv(GLenum target, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetQueryiv"))); #endif #if !defined(skip_client_glGetSeparableFilter) && !defined(skip_index_glGetSeparableFilter) -void glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span) { +void glshim_glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span) { glGetSeparableFilter_INDEXED packed_data; packed_data.func = glGetSeparableFilter_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1755,9 +1932,10 @@ void glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid * ro packed_data.args.a6 = (GLvoid *)span; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span) __attribute__((alias("glshim_glGetSeparableFilter"))); #endif #if !defined(skip_client_glGetString) && !defined(skip_index_glGetString) -const GLubyte * glGetString(GLenum name) { +const GLubyte * glshim_glGetString(GLenum name) { glGetString_INDEXED packed_data; packed_data.func = glGetString_INDEX; packed_data.args.a1 = (GLenum)name; @@ -1765,9 +1943,10 @@ const GLubyte * glGetString(GLenum name) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const GLubyte * glGetString(GLenum name) __attribute__((alias("glshim_glGetString"))); #endif #if !defined(skip_client_glGetTexEnvfv) && !defined(skip_index_glGetTexEnvfv) -void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat * params) { +void glshim_glGetTexEnvfv(GLenum target, GLenum pname, GLfloat * params) { glGetTexEnvfv_INDEXED packed_data; packed_data.func = glGetTexEnvfv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1775,9 +1954,10 @@ void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat * params) { packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetTexEnvfv"))); #endif #if !defined(skip_client_glGetTexEnviv) && !defined(skip_index_glGetTexEnviv) -void glGetTexEnviv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetTexEnviv(GLenum target, GLenum pname, GLint * params) { glGetTexEnviv_INDEXED packed_data; packed_data.func = glGetTexEnviv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1785,9 +1965,10 @@ void glGetTexEnviv(GLenum target, GLenum pname, GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetTexEnviv(GLenum target, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetTexEnviv"))); #endif #if !defined(skip_client_glGetTexGendv) && !defined(skip_index_glGetTexGendv) -void glGetTexGendv(GLenum coord, GLenum pname, GLdouble * params) { +void glshim_glGetTexGendv(GLenum coord, GLenum pname, GLdouble * params) { glGetTexGendv_INDEXED packed_data; packed_data.func = glGetTexGendv_INDEX; packed_data.args.a1 = (GLenum)coord; @@ -1795,9 +1976,10 @@ void glGetTexGendv(GLenum coord, GLenum pname, GLdouble * params) { packed_data.args.a3 = (GLdouble *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetTexGendv(GLenum coord, GLenum pname, GLdouble * params) __attribute__((alias("glshim_glGetTexGendv"))); #endif #if !defined(skip_client_glGetTexGenfv) && !defined(skip_index_glGetTexGenfv) -void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat * params) { +void glshim_glGetTexGenfv(GLenum coord, GLenum pname, GLfloat * params) { glGetTexGenfv_INDEXED packed_data; packed_data.func = glGetTexGenfv_INDEX; packed_data.args.a1 = (GLenum)coord; @@ -1805,9 +1987,10 @@ void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat * params) { packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetTexGenfv"))); #endif #if !defined(skip_client_glGetTexGeniv) && !defined(skip_index_glGetTexGeniv) -void glGetTexGeniv(GLenum coord, GLenum pname, GLint * params) { +void glshim_glGetTexGeniv(GLenum coord, GLenum pname, GLint * params) { glGetTexGeniv_INDEXED packed_data; packed_data.func = glGetTexGeniv_INDEX; packed_data.args.a1 = (GLenum)coord; @@ -1815,9 +1998,10 @@ void glGetTexGeniv(GLenum coord, GLenum pname, GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetTexGeniv(GLenum coord, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetTexGeniv"))); #endif #if !defined(skip_client_glGetTexImage) && !defined(skip_index_glGetTexImage) -void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * pixels) { +void glshim_glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * pixels) { glGetTexImage_INDEXED packed_data; packed_data.func = glGetTexImage_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1827,9 +2011,10 @@ void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoi packed_data.args.a5 = (GLvoid *)pixels; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * pixels) __attribute__((alias("glshim_glGetTexImage"))); #endif #if !defined(skip_client_glGetTexLevelParameterfv) && !defined(skip_index_glGetTexLevelParameterfv) -void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat * params) { +void glshim_glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat * params) { glGetTexLevelParameterfv_INDEXED packed_data; packed_data.func = glGetTexLevelParameterfv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1838,9 +2023,10 @@ void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat packed_data.args.a4 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetTexLevelParameterfv"))); #endif #if !defined(skip_client_glGetTexLevelParameteriv) && !defined(skip_index_glGetTexLevelParameteriv) -void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint * params) { +void glshim_glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint * params) { glGetTexLevelParameteriv_INDEXED packed_data; packed_data.func = glGetTexLevelParameteriv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1849,9 +2035,10 @@ void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint * packed_data.args.a4 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetTexLevelParameteriv"))); #endif #if !defined(skip_client_glGetTexParameterfv) && !defined(skip_index_glGetTexParameterfv) -void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat * params) { +void glshim_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat * params) { glGetTexParameterfv_INDEXED packed_data; packed_data.func = glGetTexParameterfv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1859,9 +2046,10 @@ void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat * params) { packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat * params) __attribute__((alias("glshim_glGetTexParameterfv"))); #endif #if !defined(skip_client_glGetTexParameteriv) && !defined(skip_index_glGetTexParameteriv) -void glGetTexParameteriv(GLenum target, GLenum pname, GLint * params) { +void glshim_glGetTexParameteriv(GLenum target, GLenum pname, GLint * params) { glGetTexParameteriv_INDEXED packed_data; packed_data.func = glGetTexParameteriv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1869,18 +2057,20 @@ void glGetTexParameteriv(GLenum target, GLenum pname, GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glGetTexParameteriv(GLenum target, GLenum pname, GLint * params) __attribute__((alias("glshim_glGetTexParameteriv"))); #endif #if !defined(skip_client_glHint) && !defined(skip_index_glHint) -void glHint(GLenum target, GLenum mode) { +void glshim_glHint(GLenum target, GLenum mode) { glHint_INDEXED packed_data; packed_data.func = glHint_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLenum)mode; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glHint(GLenum target, GLenum mode) __attribute__((alias("glshim_glHint"))); #endif #if !defined(skip_client_glHistogram) && !defined(skip_index_glHistogram) -void glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) { +void glshim_glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) { glHistogram_INDEXED packed_data; packed_data.func = glHistogram_INDEX; packed_data.args.a1 = (GLenum)target; @@ -1889,17 +2079,19 @@ void glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean packed_data.args.a4 = (GLboolean)sink; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) __attribute__((alias("glshim_glHistogram"))); #endif #if !defined(skip_client_glIndexMask) && !defined(skip_index_glIndexMask) -void glIndexMask(GLuint mask) { +void glshim_glIndexMask(GLuint mask) { glIndexMask_INDEXED packed_data; packed_data.func = glIndexMask_INDEX; packed_data.args.a1 = (GLuint)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glIndexMask(GLuint mask) __attribute__((alias("glshim_glIndexMask"))); #endif #if !defined(skip_client_glIndexPointer) && !defined(skip_index_glIndexPointer) -void glIndexPointer(GLenum type, GLsizei stride, const GLvoid * pointer) { +void glshim_glIndexPointer(GLenum type, GLsizei stride, const GLvoid * pointer) { glIndexPointer_INDEXED packed_data; packed_data.func = glIndexPointer_INDEX; packed_data.args.a1 = (GLenum)type; @@ -1907,96 +2099,108 @@ void glIndexPointer(GLenum type, GLsizei stride, const GLvoid * pointer) { packed_data.args.a3 = (GLvoid *)pointer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glIndexPointer(GLenum type, GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glIndexPointer"))); #endif #if !defined(skip_client_glIndexd) && !defined(skip_index_glIndexd) -void glIndexd(GLdouble c) { +void glshim_glIndexd(GLdouble c) { glIndexd_INDEXED packed_data; packed_data.func = glIndexd_INDEX; packed_data.args.a1 = (GLdouble)c; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glIndexd(GLdouble c) __attribute__((alias("glshim_glIndexd"))); #endif #if !defined(skip_client_glIndexdv) && !defined(skip_index_glIndexdv) -void glIndexdv(const GLdouble * c) { +void glshim_glIndexdv(const GLdouble * c) { glIndexdv_INDEXED packed_data; packed_data.func = glIndexdv_INDEX; packed_data.args.a1 = (GLdouble *)c; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glIndexdv(const GLdouble * c) __attribute__((alias("glshim_glIndexdv"))); #endif #if !defined(skip_client_glIndexf) && !defined(skip_index_glIndexf) -void glIndexf(GLfloat c) { +void glshim_glIndexf(GLfloat c) { glIndexf_INDEXED packed_data; packed_data.func = glIndexf_INDEX; packed_data.args.a1 = (GLfloat)c; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glIndexf(GLfloat c) __attribute__((alias("glshim_glIndexf"))); #endif #if !defined(skip_client_glIndexfv) && !defined(skip_index_glIndexfv) -void glIndexfv(const GLfloat * c) { +void glshim_glIndexfv(const GLfloat * c) { glIndexfv_INDEXED packed_data; packed_data.func = glIndexfv_INDEX; packed_data.args.a1 = (GLfloat *)c; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glIndexfv(const GLfloat * c) __attribute__((alias("glshim_glIndexfv"))); #endif #if !defined(skip_client_glIndexi) && !defined(skip_index_glIndexi) -void glIndexi(GLint c) { +void glshim_glIndexi(GLint c) { glIndexi_INDEXED packed_data; packed_data.func = glIndexi_INDEX; packed_data.args.a1 = (GLint)c; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glIndexi(GLint c) __attribute__((alias("glshim_glIndexi"))); #endif #if !defined(skip_client_glIndexiv) && !defined(skip_index_glIndexiv) -void glIndexiv(const GLint * c) { +void glshim_glIndexiv(const GLint * c) { glIndexiv_INDEXED packed_data; packed_data.func = glIndexiv_INDEX; packed_data.args.a1 = (GLint *)c; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glIndexiv(const GLint * c) __attribute__((alias("glshim_glIndexiv"))); #endif #if !defined(skip_client_glIndexs) && !defined(skip_index_glIndexs) -void glIndexs(GLshort c) { +void glshim_glIndexs(GLshort c) { glIndexs_INDEXED packed_data; packed_data.func = glIndexs_INDEX; packed_data.args.a1 = (GLshort)c; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glIndexs(GLshort c) __attribute__((alias("glshim_glIndexs"))); #endif #if !defined(skip_client_glIndexsv) && !defined(skip_index_glIndexsv) -void glIndexsv(const GLshort * c) { +void glshim_glIndexsv(const GLshort * c) { glIndexsv_INDEXED packed_data; packed_data.func = glIndexsv_INDEX; packed_data.args.a1 = (GLshort *)c; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glIndexsv(const GLshort * c) __attribute__((alias("glshim_glIndexsv"))); #endif #if !defined(skip_client_glIndexub) && !defined(skip_index_glIndexub) -void glIndexub(GLubyte c) { +void glshim_glIndexub(GLubyte c) { glIndexub_INDEXED packed_data; packed_data.func = glIndexub_INDEX; packed_data.args.a1 = (GLubyte)c; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glIndexub(GLubyte c) __attribute__((alias("glshim_glIndexub"))); #endif #if !defined(skip_client_glIndexubv) && !defined(skip_index_glIndexubv) -void glIndexubv(const GLubyte * c) { +void glshim_glIndexubv(const GLubyte * c) { glIndexubv_INDEXED packed_data; packed_data.func = glIndexubv_INDEX; packed_data.args.a1 = (GLubyte *)c; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glIndexubv(const GLubyte * c) __attribute__((alias("glshim_glIndexubv"))); #endif #if !defined(skip_client_glInitNames) && !defined(skip_index_glInitNames) -void glInitNames() { +void glshim_glInitNames() { glInitNames_INDEXED packed_data; packed_data.func = glInitNames_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glInitNames() __attribute__((alias("glshim_glInitNames"))); #endif #if !defined(skip_client_glInterleavedArrays) && !defined(skip_index_glInterleavedArrays) -void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid * pointer) { +void glshim_glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid * pointer) { glInterleavedArrays_INDEXED packed_data; packed_data.func = glInterleavedArrays_INDEX; packed_data.args.a1 = (GLenum)format; @@ -2004,9 +2208,10 @@ void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid * pointer) packed_data.args.a3 = (GLvoid *)pointer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glInterleavedArrays"))); #endif #if !defined(skip_client_glIsBuffer) && !defined(skip_index_glIsBuffer) -GLboolean glIsBuffer(GLuint buffer) { +GLboolean glshim_glIsBuffer(GLuint buffer) { glIsBuffer_INDEXED packed_data; packed_data.func = glIsBuffer_INDEX; packed_data.args.a1 = (GLuint)buffer; @@ -2014,9 +2219,10 @@ GLboolean glIsBuffer(GLuint buffer) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLboolean glIsBuffer(GLuint buffer) __attribute__((alias("glshim_glIsBuffer"))); #endif #if !defined(skip_client_glIsEnabled) && !defined(skip_index_glIsEnabled) -GLboolean glIsEnabled(GLenum cap) { +GLboolean glshim_glIsEnabled(GLenum cap) { glIsEnabled_INDEXED packed_data; packed_data.func = glIsEnabled_INDEX; packed_data.args.a1 = (GLenum)cap; @@ -2024,9 +2230,10 @@ GLboolean glIsEnabled(GLenum cap) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLboolean glIsEnabled(GLenum cap) __attribute__((alias("glshim_glIsEnabled"))); #endif #if !defined(skip_client_glIsList) && !defined(skip_index_glIsList) -GLboolean glIsList(GLuint list) { +GLboolean glshim_glIsList(GLuint list) { glIsList_INDEXED packed_data; packed_data.func = glIsList_INDEX; packed_data.args.a1 = (GLuint)list; @@ -2034,9 +2241,10 @@ GLboolean glIsList(GLuint list) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLboolean glIsList(GLuint list) __attribute__((alias("glshim_glIsList"))); #endif #if !defined(skip_client_glIsQuery) && !defined(skip_index_glIsQuery) -GLboolean glIsQuery(GLuint id) { +GLboolean glshim_glIsQuery(GLuint id) { glIsQuery_INDEXED packed_data; packed_data.func = glIsQuery_INDEX; packed_data.args.a1 = (GLuint)id; @@ -2044,9 +2252,10 @@ GLboolean glIsQuery(GLuint id) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLboolean glIsQuery(GLuint id) __attribute__((alias("glshim_glIsQuery"))); #endif #if !defined(skip_client_glIsTexture) && !defined(skip_index_glIsTexture) -GLboolean glIsTexture(GLuint texture) { +GLboolean glshim_glIsTexture(GLuint texture) { glIsTexture_INDEXED packed_data; packed_data.func = glIsTexture_INDEX; packed_data.args.a1 = (GLuint)texture; @@ -2054,45 +2263,50 @@ GLboolean glIsTexture(GLuint texture) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLboolean glIsTexture(GLuint texture) __attribute__((alias("glshim_glIsTexture"))); #endif #if !defined(skip_client_glLightModelf) && !defined(skip_index_glLightModelf) -void glLightModelf(GLenum pname, GLfloat param) { +void glshim_glLightModelf(GLenum pname, GLfloat param) { glLightModelf_INDEXED packed_data; packed_data.func = glLightModelf_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLfloat)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLightModelf(GLenum pname, GLfloat param) __attribute__((alias("glshim_glLightModelf"))); #endif #if !defined(skip_client_glLightModelfv) && !defined(skip_index_glLightModelfv) -void glLightModelfv(GLenum pname, const GLfloat * params) { +void glshim_glLightModelfv(GLenum pname, const GLfloat * params) { glLightModelfv_INDEXED packed_data; packed_data.func = glLightModelfv_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLightModelfv(GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glLightModelfv"))); #endif #if !defined(skip_client_glLightModeli) && !defined(skip_index_glLightModeli) -void glLightModeli(GLenum pname, GLint param) { +void glshim_glLightModeli(GLenum pname, GLint param) { glLightModeli_INDEXED packed_data; packed_data.func = glLightModeli_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLint)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLightModeli(GLenum pname, GLint param) __attribute__((alias("glshim_glLightModeli"))); #endif #if !defined(skip_client_glLightModeliv) && !defined(skip_index_glLightModeliv) -void glLightModeliv(GLenum pname, const GLint * params) { +void glshim_glLightModeliv(GLenum pname, const GLint * params) { glLightModeliv_INDEXED packed_data; packed_data.func = glLightModeliv_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLightModeliv(GLenum pname, const GLint * params) __attribute__((alias("glshim_glLightModeliv"))); #endif #if !defined(skip_client_glLightf) && !defined(skip_index_glLightf) -void glLightf(GLenum light, GLenum pname, GLfloat param) { +void glshim_glLightf(GLenum light, GLenum pname, GLfloat param) { glLightf_INDEXED packed_data; packed_data.func = glLightf_INDEX; packed_data.args.a1 = (GLenum)light; @@ -2100,9 +2314,10 @@ void glLightf(GLenum light, GLenum pname, GLfloat param) { packed_data.args.a3 = (GLfloat)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLightf(GLenum light, GLenum pname, GLfloat param) __attribute__((alias("glshim_glLightf"))); #endif #if !defined(skip_client_glLightfv) && !defined(skip_index_glLightfv) -void glLightfv(GLenum light, GLenum pname, const GLfloat * params) { +void glshim_glLightfv(GLenum light, GLenum pname, const GLfloat * params) { glLightfv_INDEXED packed_data; packed_data.func = glLightfv_INDEX; packed_data.args.a1 = (GLenum)light; @@ -2110,9 +2325,10 @@ void glLightfv(GLenum light, GLenum pname, const GLfloat * params) { packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLightfv(GLenum light, GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glLightfv"))); #endif #if !defined(skip_client_glLighti) && !defined(skip_index_glLighti) -void glLighti(GLenum light, GLenum pname, GLint param) { +void glshim_glLighti(GLenum light, GLenum pname, GLint param) { glLighti_INDEXED packed_data; packed_data.func = glLighti_INDEX; packed_data.args.a1 = (GLenum)light; @@ -2120,9 +2336,10 @@ void glLighti(GLenum light, GLenum pname, GLint param) { packed_data.args.a3 = (GLint)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLighti(GLenum light, GLenum pname, GLint param) __attribute__((alias("glshim_glLighti"))); #endif #if !defined(skip_client_glLightiv) && !defined(skip_index_glLightiv) -void glLightiv(GLenum light, GLenum pname, const GLint * params) { +void glshim_glLightiv(GLenum light, GLenum pname, const GLint * params) { glLightiv_INDEXED packed_data; packed_data.func = glLightiv_INDEX; packed_data.args.a1 = (GLenum)light; @@ -2130,89 +2347,100 @@ void glLightiv(GLenum light, GLenum pname, const GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLightiv(GLenum light, GLenum pname, const GLint * params) __attribute__((alias("glshim_glLightiv"))); #endif #if !defined(skip_client_glLineStipple) && !defined(skip_index_glLineStipple) -void glLineStipple(GLint factor, GLushort pattern) { +void glshim_glLineStipple(GLint factor, GLushort pattern) { glLineStipple_INDEXED packed_data; packed_data.func = glLineStipple_INDEX; packed_data.args.a1 = (GLint)factor; packed_data.args.a2 = (GLushort)pattern; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLineStipple(GLint factor, GLushort pattern) __attribute__((alias("glshim_glLineStipple"))); #endif #if !defined(skip_client_glLineWidth) && !defined(skip_index_glLineWidth) -void glLineWidth(GLfloat width) { +void glshim_glLineWidth(GLfloat width) { glLineWidth_INDEXED packed_data; packed_data.func = glLineWidth_INDEX; packed_data.args.a1 = (GLfloat)width; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLineWidth(GLfloat width) __attribute__((alias("glshim_glLineWidth"))); #endif #if !defined(skip_client_glListBase) && !defined(skip_index_glListBase) -void glListBase(GLuint base) { +void glshim_glListBase(GLuint base) { glListBase_INDEXED packed_data; packed_data.func = glListBase_INDEX; packed_data.args.a1 = (GLuint)base; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glListBase(GLuint base) __attribute__((alias("glshim_glListBase"))); #endif #if !defined(skip_client_glLoadIdentity) && !defined(skip_index_glLoadIdentity) -void glLoadIdentity() { +void glshim_glLoadIdentity() { glLoadIdentity_INDEXED packed_data; packed_data.func = glLoadIdentity_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLoadIdentity() __attribute__((alias("glshim_glLoadIdentity"))); #endif #if !defined(skip_client_glLoadMatrixd) && !defined(skip_index_glLoadMatrixd) -void glLoadMatrixd(const GLdouble * m) { +void glshim_glLoadMatrixd(const GLdouble * m) { glLoadMatrixd_INDEXED packed_data; packed_data.func = glLoadMatrixd_INDEX; packed_data.args.a1 = (GLdouble *)m; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLoadMatrixd(const GLdouble * m) __attribute__((alias("glshim_glLoadMatrixd"))); #endif #if !defined(skip_client_glLoadMatrixf) && !defined(skip_index_glLoadMatrixf) -void glLoadMatrixf(const GLfloat * m) { +void glshim_glLoadMatrixf(const GLfloat * m) { glLoadMatrixf_INDEXED packed_data; packed_data.func = glLoadMatrixf_INDEX; packed_data.args.a1 = (GLfloat *)m; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLoadMatrixf(const GLfloat * m) __attribute__((alias("glshim_glLoadMatrixf"))); #endif #if !defined(skip_client_glLoadName) && !defined(skip_index_glLoadName) -void glLoadName(GLuint name) { +void glshim_glLoadName(GLuint name) { glLoadName_INDEXED packed_data; packed_data.func = glLoadName_INDEX; packed_data.args.a1 = (GLuint)name; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLoadName(GLuint name) __attribute__((alias("glshim_glLoadName"))); #endif #if !defined(skip_client_glLoadTransposeMatrixd) && !defined(skip_index_glLoadTransposeMatrixd) -void glLoadTransposeMatrixd(const GLdouble * m) { +void glshim_glLoadTransposeMatrixd(const GLdouble * m) { glLoadTransposeMatrixd_INDEXED packed_data; packed_data.func = glLoadTransposeMatrixd_INDEX; packed_data.args.a1 = (GLdouble *)m; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLoadTransposeMatrixd(const GLdouble * m) __attribute__((alias("glshim_glLoadTransposeMatrixd"))); #endif #if !defined(skip_client_glLoadTransposeMatrixf) && !defined(skip_index_glLoadTransposeMatrixf) -void glLoadTransposeMatrixf(const GLfloat * m) { +void glshim_glLoadTransposeMatrixf(const GLfloat * m) { glLoadTransposeMatrixf_INDEXED packed_data; packed_data.func = glLoadTransposeMatrixf_INDEX; packed_data.args.a1 = (GLfloat *)m; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLoadTransposeMatrixf(const GLfloat * m) __attribute__((alias("glshim_glLoadTransposeMatrixf"))); #endif #if !defined(skip_client_glLogicOp) && !defined(skip_index_glLogicOp) -void glLogicOp(GLenum opcode) { +void glshim_glLogicOp(GLenum opcode) { glLogicOp_INDEXED packed_data; packed_data.func = glLogicOp_INDEX; packed_data.args.a1 = (GLenum)opcode; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glLogicOp(GLenum opcode) __attribute__((alias("glshim_glLogicOp"))); #endif #if !defined(skip_client_glMap1d) && !defined(skip_index_glMap1d) -void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points) { +void glshim_glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points) { glMap1d_INDEXED packed_data; packed_data.func = glMap1d_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2223,9 +2451,10 @@ void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, packed_data.args.a6 = (GLdouble *)points; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble * points) __attribute__((alias("glshim_glMap1d"))); #endif #if !defined(skip_client_glMap1f) && !defined(skip_index_glMap1f) -void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points) { +void glshim_glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points) { glMap1f_INDEXED packed_data; packed_data.func = glMap1f_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2236,9 +2465,10 @@ void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, c packed_data.args.a6 = (GLfloat *)points; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat * points) __attribute__((alias("glshim_glMap1f"))); #endif #if !defined(skip_client_glMap2d) && !defined(skip_index_glMap2d) -void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points) { +void glshim_glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points) { glMap2d_INDEXED packed_data; packed_data.func = glMap2d_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2253,9 +2483,10 @@ void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorde packed_data.args.a10 = (GLdouble *)points; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble * points) __attribute__((alias("glshim_glMap2d"))); #endif #if !defined(skip_client_glMap2f) && !defined(skip_index_glMap2f) -void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points) { +void glshim_glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points) { glMap2f_INDEXED packed_data; packed_data.func = glMap2f_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2270,9 +2501,10 @@ void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, packed_data.args.a10 = (GLfloat *)points; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat * points) __attribute__((alias("glshim_glMap2f"))); #endif #if !defined(skip_client_glMapBuffer) && !defined(skip_index_glMapBuffer) -GLvoid * glMapBuffer(GLenum target, GLenum access) { +GLvoid * glshim_glMapBuffer(GLenum target, GLenum access) { glMapBuffer_INDEXED packed_data; packed_data.func = glMapBuffer_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2281,9 +2513,10 @@ GLvoid * glMapBuffer(GLenum target, GLenum access) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLvoid * glMapBuffer(GLenum target, GLenum access) __attribute__((alias("glshim_glMapBuffer"))); #endif #if !defined(skip_client_glMapGrid1d) && !defined(skip_index_glMapGrid1d) -void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2) { +void glshim_glMapGrid1d(GLint un, GLdouble u1, GLdouble u2) { glMapGrid1d_INDEXED packed_data; packed_data.func = glMapGrid1d_INDEX; packed_data.args.a1 = (GLint)un; @@ -2291,9 +2524,10 @@ void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2) { packed_data.args.a3 = (GLdouble)u2; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2) __attribute__((alias("glshim_glMapGrid1d"))); #endif #if !defined(skip_client_glMapGrid1f) && !defined(skip_index_glMapGrid1f) -void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) { +void glshim_glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) { glMapGrid1f_INDEXED packed_data; packed_data.func = glMapGrid1f_INDEX; packed_data.args.a1 = (GLint)un; @@ -2301,9 +2535,10 @@ void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) { packed_data.args.a3 = (GLfloat)u2; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) __attribute__((alias("glshim_glMapGrid1f"))); #endif #if !defined(skip_client_glMapGrid2d) && !defined(skip_index_glMapGrid2d) -void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) { +void glshim_glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) { glMapGrid2d_INDEXED packed_data; packed_data.func = glMapGrid2d_INDEX; packed_data.args.a1 = (GLint)un; @@ -2314,9 +2549,10 @@ void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdo packed_data.args.a6 = (GLdouble)v2; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) __attribute__((alias("glshim_glMapGrid2d"))); #endif #if !defined(skip_client_glMapGrid2f) && !defined(skip_index_glMapGrid2f) -void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) { +void glshim_glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) { glMapGrid2f_INDEXED packed_data; packed_data.func = glMapGrid2f_INDEX; packed_data.args.a1 = (GLint)un; @@ -2327,9 +2563,10 @@ void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat packed_data.args.a6 = (GLfloat)v2; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) __attribute__((alias("glshim_glMapGrid2f"))); #endif #if !defined(skip_client_glMaterialf) && !defined(skip_index_glMaterialf) -void glMaterialf(GLenum face, GLenum pname, GLfloat param) { +void glshim_glMaterialf(GLenum face, GLenum pname, GLfloat param) { glMaterialf_INDEXED packed_data; packed_data.func = glMaterialf_INDEX; packed_data.args.a1 = (GLenum)face; @@ -2337,9 +2574,10 @@ void glMaterialf(GLenum face, GLenum pname, GLfloat param) { packed_data.args.a3 = (GLfloat)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMaterialf(GLenum face, GLenum pname, GLfloat param) __attribute__((alias("glshim_glMaterialf"))); #endif #if !defined(skip_client_glMaterialfv) && !defined(skip_index_glMaterialfv) -void glMaterialfv(GLenum face, GLenum pname, const GLfloat * params) { +void glshim_glMaterialfv(GLenum face, GLenum pname, const GLfloat * params) { glMaterialfv_INDEXED packed_data; packed_data.func = glMaterialfv_INDEX; packed_data.args.a1 = (GLenum)face; @@ -2347,9 +2585,10 @@ void glMaterialfv(GLenum face, GLenum pname, const GLfloat * params) { packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMaterialfv(GLenum face, GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glMaterialfv"))); #endif #if !defined(skip_client_glMateriali) && !defined(skip_index_glMateriali) -void glMateriali(GLenum face, GLenum pname, GLint param) { +void glshim_glMateriali(GLenum face, GLenum pname, GLint param) { glMateriali_INDEXED packed_data; packed_data.func = glMateriali_INDEX; packed_data.args.a1 = (GLenum)face; @@ -2357,9 +2596,10 @@ void glMateriali(GLenum face, GLenum pname, GLint param) { packed_data.args.a3 = (GLint)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMateriali(GLenum face, GLenum pname, GLint param) __attribute__((alias("glshim_glMateriali"))); #endif #if !defined(skip_client_glMaterialiv) && !defined(skip_index_glMaterialiv) -void glMaterialiv(GLenum face, GLenum pname, const GLint * params) { +void glshim_glMaterialiv(GLenum face, GLenum pname, const GLint * params) { glMaterialiv_INDEXED packed_data; packed_data.func = glMaterialiv_INDEX; packed_data.args.a1 = (GLenum)face; @@ -2367,17 +2607,19 @@ void glMaterialiv(GLenum face, GLenum pname, const GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMaterialiv(GLenum face, GLenum pname, const GLint * params) __attribute__((alias("glshim_glMaterialiv"))); #endif #if !defined(skip_client_glMatrixMode) && !defined(skip_index_glMatrixMode) -void glMatrixMode(GLenum mode) { +void glshim_glMatrixMode(GLenum mode) { glMatrixMode_INDEXED packed_data; packed_data.func = glMatrixMode_INDEX; packed_data.args.a1 = (GLenum)mode; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMatrixMode(GLenum mode) __attribute__((alias("glshim_glMatrixMode"))); #endif #if !defined(skip_client_glMinmax) && !defined(skip_index_glMinmax) -void glMinmax(GLenum target, GLenum internalformat, GLboolean sink) { +void glshim_glMinmax(GLenum target, GLenum internalformat, GLboolean sink) { glMinmax_INDEXED packed_data; packed_data.func = glMinmax_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2385,41 +2627,46 @@ void glMinmax(GLenum target, GLenum internalformat, GLboolean sink) { packed_data.args.a3 = (GLboolean)sink; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMinmax(GLenum target, GLenum internalformat, GLboolean sink) __attribute__((alias("glshim_glMinmax"))); #endif #if !defined(skip_client_glMultMatrixd) && !defined(skip_index_glMultMatrixd) -void glMultMatrixd(const GLdouble * m) { +void glshim_glMultMatrixd(const GLdouble * m) { glMultMatrixd_INDEXED packed_data; packed_data.func = glMultMatrixd_INDEX; packed_data.args.a1 = (GLdouble *)m; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultMatrixd(const GLdouble * m) __attribute__((alias("glshim_glMultMatrixd"))); #endif #if !defined(skip_client_glMultMatrixf) && !defined(skip_index_glMultMatrixf) -void glMultMatrixf(const GLfloat * m) { +void glshim_glMultMatrixf(const GLfloat * m) { glMultMatrixf_INDEXED packed_data; packed_data.func = glMultMatrixf_INDEX; packed_data.args.a1 = (GLfloat *)m; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultMatrixf(const GLfloat * m) __attribute__((alias("glshim_glMultMatrixf"))); #endif #if !defined(skip_client_glMultTransposeMatrixd) && !defined(skip_index_glMultTransposeMatrixd) -void glMultTransposeMatrixd(const GLdouble * m) { +void glshim_glMultTransposeMatrixd(const GLdouble * m) { glMultTransposeMatrixd_INDEXED packed_data; packed_data.func = glMultTransposeMatrixd_INDEX; packed_data.args.a1 = (GLdouble *)m; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultTransposeMatrixd(const GLdouble * m) __attribute__((alias("glshim_glMultTransposeMatrixd"))); #endif #if !defined(skip_client_glMultTransposeMatrixf) && !defined(skip_index_glMultTransposeMatrixf) -void glMultTransposeMatrixf(const GLfloat * m) { +void glshim_glMultTransposeMatrixf(const GLfloat * m) { glMultTransposeMatrixf_INDEXED packed_data; packed_data.func = glMultTransposeMatrixf_INDEX; packed_data.args.a1 = (GLfloat *)m; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultTransposeMatrixf(const GLfloat * m) __attribute__((alias("glshim_glMultTransposeMatrixf"))); #endif #if !defined(skip_client_glMultiDrawArrays) && !defined(skip_index_glMultiDrawArrays) -void glMultiDrawArrays(GLenum mode, const GLint * first, const GLsizei * count, GLsizei drawcount) { +void glshim_glMultiDrawArrays(GLenum mode, const GLint * first, const GLsizei * count, GLsizei drawcount) { glMultiDrawArrays_INDEXED packed_data; packed_data.func = glMultiDrawArrays_INDEX; packed_data.args.a1 = (GLenum)mode; @@ -2428,9 +2675,10 @@ void glMultiDrawArrays(GLenum mode, const GLint * first, const GLsizei * count, packed_data.args.a4 = (GLsizei)drawcount; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiDrawArrays(GLenum mode, const GLint * first, const GLsizei * count, GLsizei drawcount) __attribute__((alias("glshim_glMultiDrawArrays"))); #endif #if !defined(skip_client_glMultiDrawElements) && !defined(skip_index_glMultiDrawElements) -void glMultiDrawElements(GLenum mode, const GLsizei * count, GLenum type, GLvoid*const * indices, GLsizei drawcount) { +void glshim_glMultiDrawElements(GLenum mode, const GLsizei * count, GLenum type, GLvoid*const * indices, GLsizei drawcount) { glMultiDrawElements_INDEXED packed_data; packed_data.func = glMultiDrawElements_INDEX; packed_data.args.a1 = (GLenum)mode; @@ -2440,81 +2688,90 @@ void glMultiDrawElements(GLenum mode, const GLsizei * count, GLenum type, GLvoid packed_data.args.a5 = (GLsizei)drawcount; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiDrawElements(GLenum mode, const GLsizei * count, GLenum type, GLvoid*const * indices, GLsizei drawcount) __attribute__((alias("glshim_glMultiDrawElements"))); #endif #if !defined(skip_client_glMultiTexCoord1d) && !defined(skip_index_glMultiTexCoord1d) -void glMultiTexCoord1d(GLenum target, GLdouble s) { +void glshim_glMultiTexCoord1d(GLenum target, GLdouble s) { glMultiTexCoord1d_INDEXED packed_data; packed_data.func = glMultiTexCoord1d_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLdouble)s; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord1d(GLenum target, GLdouble s) __attribute__((alias("glshim_glMultiTexCoord1d"))); #endif #if !defined(skip_client_glMultiTexCoord1dv) && !defined(skip_index_glMultiTexCoord1dv) -void glMultiTexCoord1dv(GLenum target, const GLdouble * v) { +void glshim_glMultiTexCoord1dv(GLenum target, const GLdouble * v) { glMultiTexCoord1dv_INDEXED packed_data; packed_data.func = glMultiTexCoord1dv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord1dv(GLenum target, const GLdouble * v) __attribute__((alias("glshim_glMultiTexCoord1dv"))); #endif #if !defined(skip_client_glMultiTexCoord1f) && !defined(skip_index_glMultiTexCoord1f) -void glMultiTexCoord1f(GLenum target, GLfloat s) { +void glshim_glMultiTexCoord1f(GLenum target, GLfloat s) { glMultiTexCoord1f_INDEXED packed_data; packed_data.func = glMultiTexCoord1f_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLfloat)s; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord1f(GLenum target, GLfloat s) __attribute__((alias("glshim_glMultiTexCoord1f"))); #endif #if !defined(skip_client_glMultiTexCoord1fv) && !defined(skip_index_glMultiTexCoord1fv) -void glMultiTexCoord1fv(GLenum target, const GLfloat * v) { +void glshim_glMultiTexCoord1fv(GLenum target, const GLfloat * v) { glMultiTexCoord1fv_INDEXED packed_data; packed_data.func = glMultiTexCoord1fv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord1fv(GLenum target, const GLfloat * v) __attribute__((alias("glshim_glMultiTexCoord1fv"))); #endif #if !defined(skip_client_glMultiTexCoord1i) && !defined(skip_index_glMultiTexCoord1i) -void glMultiTexCoord1i(GLenum target, GLint s) { +void glshim_glMultiTexCoord1i(GLenum target, GLint s) { glMultiTexCoord1i_INDEXED packed_data; packed_data.func = glMultiTexCoord1i_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLint)s; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord1i(GLenum target, GLint s) __attribute__((alias("glshim_glMultiTexCoord1i"))); #endif #if !defined(skip_client_glMultiTexCoord1iv) && !defined(skip_index_glMultiTexCoord1iv) -void glMultiTexCoord1iv(GLenum target, const GLint * v) { +void glshim_glMultiTexCoord1iv(GLenum target, const GLint * v) { glMultiTexCoord1iv_INDEXED packed_data; packed_data.func = glMultiTexCoord1iv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord1iv(GLenum target, const GLint * v) __attribute__((alias("glshim_glMultiTexCoord1iv"))); #endif #if !defined(skip_client_glMultiTexCoord1s) && !defined(skip_index_glMultiTexCoord1s) -void glMultiTexCoord1s(GLenum target, GLshort s) { +void glshim_glMultiTexCoord1s(GLenum target, GLshort s) { glMultiTexCoord1s_INDEXED packed_data; packed_data.func = glMultiTexCoord1s_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLshort)s; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord1s(GLenum target, GLshort s) __attribute__((alias("glshim_glMultiTexCoord1s"))); #endif #if !defined(skip_client_glMultiTexCoord1sv) && !defined(skip_index_glMultiTexCoord1sv) -void glMultiTexCoord1sv(GLenum target, const GLshort * v) { +void glshim_glMultiTexCoord1sv(GLenum target, const GLshort * v) { glMultiTexCoord1sv_INDEXED packed_data; packed_data.func = glMultiTexCoord1sv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord1sv(GLenum target, const GLshort * v) __attribute__((alias("glshim_glMultiTexCoord1sv"))); #endif #if !defined(skip_client_glMultiTexCoord2d) && !defined(skip_index_glMultiTexCoord2d) -void glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t) { +void glshim_glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t) { glMultiTexCoord2d_INDEXED packed_data; packed_data.func = glMultiTexCoord2d_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2522,18 +2779,20 @@ void glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t) { packed_data.args.a3 = (GLdouble)t; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t) __attribute__((alias("glshim_glMultiTexCoord2d"))); #endif #if !defined(skip_client_glMultiTexCoord2dv) && !defined(skip_index_glMultiTexCoord2dv) -void glMultiTexCoord2dv(GLenum target, const GLdouble * v) { +void glshim_glMultiTexCoord2dv(GLenum target, const GLdouble * v) { glMultiTexCoord2dv_INDEXED packed_data; packed_data.func = glMultiTexCoord2dv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord2dv(GLenum target, const GLdouble * v) __attribute__((alias("glshim_glMultiTexCoord2dv"))); #endif #if !defined(skip_client_glMultiTexCoord2f) && !defined(skip_index_glMultiTexCoord2f) -void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t) { +void glshim_glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t) { glMultiTexCoord2f_INDEXED packed_data; packed_data.func = glMultiTexCoord2f_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2541,18 +2800,20 @@ void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t) { packed_data.args.a3 = (GLfloat)t; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t) __attribute__((alias("glshim_glMultiTexCoord2f"))); #endif #if !defined(skip_client_glMultiTexCoord2fv) && !defined(skip_index_glMultiTexCoord2fv) -void glMultiTexCoord2fv(GLenum target, const GLfloat * v) { +void glshim_glMultiTexCoord2fv(GLenum target, const GLfloat * v) { glMultiTexCoord2fv_INDEXED packed_data; packed_data.func = glMultiTexCoord2fv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord2fv(GLenum target, const GLfloat * v) __attribute__((alias("glshim_glMultiTexCoord2fv"))); #endif #if !defined(skip_client_glMultiTexCoord2i) && !defined(skip_index_glMultiTexCoord2i) -void glMultiTexCoord2i(GLenum target, GLint s, GLint t) { +void glshim_glMultiTexCoord2i(GLenum target, GLint s, GLint t) { glMultiTexCoord2i_INDEXED packed_data; packed_data.func = glMultiTexCoord2i_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2560,18 +2821,20 @@ void glMultiTexCoord2i(GLenum target, GLint s, GLint t) { packed_data.args.a3 = (GLint)t; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord2i(GLenum target, GLint s, GLint t) __attribute__((alias("glshim_glMultiTexCoord2i"))); #endif #if !defined(skip_client_glMultiTexCoord2iv) && !defined(skip_index_glMultiTexCoord2iv) -void glMultiTexCoord2iv(GLenum target, const GLint * v) { +void glshim_glMultiTexCoord2iv(GLenum target, const GLint * v) { glMultiTexCoord2iv_INDEXED packed_data; packed_data.func = glMultiTexCoord2iv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord2iv(GLenum target, const GLint * v) __attribute__((alias("glshim_glMultiTexCoord2iv"))); #endif #if !defined(skip_client_glMultiTexCoord2s) && !defined(skip_index_glMultiTexCoord2s) -void glMultiTexCoord2s(GLenum target, GLshort s, GLshort t) { +void glshim_glMultiTexCoord2s(GLenum target, GLshort s, GLshort t) { glMultiTexCoord2s_INDEXED packed_data; packed_data.func = glMultiTexCoord2s_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2579,18 +2842,20 @@ void glMultiTexCoord2s(GLenum target, GLshort s, GLshort t) { packed_data.args.a3 = (GLshort)t; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord2s(GLenum target, GLshort s, GLshort t) __attribute__((alias("glshim_glMultiTexCoord2s"))); #endif #if !defined(skip_client_glMultiTexCoord2sv) && !defined(skip_index_glMultiTexCoord2sv) -void glMultiTexCoord2sv(GLenum target, const GLshort * v) { +void glshim_glMultiTexCoord2sv(GLenum target, const GLshort * v) { glMultiTexCoord2sv_INDEXED packed_data; packed_data.func = glMultiTexCoord2sv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord2sv(GLenum target, const GLshort * v) __attribute__((alias("glshim_glMultiTexCoord2sv"))); #endif #if !defined(skip_client_glMultiTexCoord3d) && !defined(skip_index_glMultiTexCoord3d) -void glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r) { +void glshim_glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r) { glMultiTexCoord3d_INDEXED packed_data; packed_data.func = glMultiTexCoord3d_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2599,18 +2864,20 @@ void glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r) { packed_data.args.a4 = (GLdouble)r; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r) __attribute__((alias("glshim_glMultiTexCoord3d"))); #endif #if !defined(skip_client_glMultiTexCoord3dv) && !defined(skip_index_glMultiTexCoord3dv) -void glMultiTexCoord3dv(GLenum target, const GLdouble * v) { +void glshim_glMultiTexCoord3dv(GLenum target, const GLdouble * v) { glMultiTexCoord3dv_INDEXED packed_data; packed_data.func = glMultiTexCoord3dv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord3dv(GLenum target, const GLdouble * v) __attribute__((alias("glshim_glMultiTexCoord3dv"))); #endif #if !defined(skip_client_glMultiTexCoord3f) && !defined(skip_index_glMultiTexCoord3f) -void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r) { +void glshim_glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r) { glMultiTexCoord3f_INDEXED packed_data; packed_data.func = glMultiTexCoord3f_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2619,18 +2886,20 @@ void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r) { packed_data.args.a4 = (GLfloat)r; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r) __attribute__((alias("glshim_glMultiTexCoord3f"))); #endif #if !defined(skip_client_glMultiTexCoord3fv) && !defined(skip_index_glMultiTexCoord3fv) -void glMultiTexCoord3fv(GLenum target, const GLfloat * v) { +void glshim_glMultiTexCoord3fv(GLenum target, const GLfloat * v) { glMultiTexCoord3fv_INDEXED packed_data; packed_data.func = glMultiTexCoord3fv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord3fv(GLenum target, const GLfloat * v) __attribute__((alias("glshim_glMultiTexCoord3fv"))); #endif #if !defined(skip_client_glMultiTexCoord3i) && !defined(skip_index_glMultiTexCoord3i) -void glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r) { +void glshim_glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r) { glMultiTexCoord3i_INDEXED packed_data; packed_data.func = glMultiTexCoord3i_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2639,18 +2908,20 @@ void glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r) { packed_data.args.a4 = (GLint)r; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r) __attribute__((alias("glshim_glMultiTexCoord3i"))); #endif #if !defined(skip_client_glMultiTexCoord3iv) && !defined(skip_index_glMultiTexCoord3iv) -void glMultiTexCoord3iv(GLenum target, const GLint * v) { +void glshim_glMultiTexCoord3iv(GLenum target, const GLint * v) { glMultiTexCoord3iv_INDEXED packed_data; packed_data.func = glMultiTexCoord3iv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord3iv(GLenum target, const GLint * v) __attribute__((alias("glshim_glMultiTexCoord3iv"))); #endif #if !defined(skip_client_glMultiTexCoord3s) && !defined(skip_index_glMultiTexCoord3s) -void glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r) { +void glshim_glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r) { glMultiTexCoord3s_INDEXED packed_data; packed_data.func = glMultiTexCoord3s_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2659,18 +2930,20 @@ void glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r) { packed_data.args.a4 = (GLshort)r; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r) __attribute__((alias("glshim_glMultiTexCoord3s"))); #endif #if !defined(skip_client_glMultiTexCoord3sv) && !defined(skip_index_glMultiTexCoord3sv) -void glMultiTexCoord3sv(GLenum target, const GLshort * v) { +void glshim_glMultiTexCoord3sv(GLenum target, const GLshort * v) { glMultiTexCoord3sv_INDEXED packed_data; packed_data.func = glMultiTexCoord3sv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord3sv(GLenum target, const GLshort * v) __attribute__((alias("glshim_glMultiTexCoord3sv"))); #endif #if !defined(skip_client_glMultiTexCoord4d) && !defined(skip_index_glMultiTexCoord4d) -void glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) { +void glshim_glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) { glMultiTexCoord4d_INDEXED packed_data; packed_data.func = glMultiTexCoord4d_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2680,18 +2953,20 @@ void glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdoub packed_data.args.a5 = (GLdouble)q; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) __attribute__((alias("glshim_glMultiTexCoord4d"))); #endif #if !defined(skip_client_glMultiTexCoord4dv) && !defined(skip_index_glMultiTexCoord4dv) -void glMultiTexCoord4dv(GLenum target, const GLdouble * v) { +void glshim_glMultiTexCoord4dv(GLenum target, const GLdouble * v) { glMultiTexCoord4dv_INDEXED packed_data; packed_data.func = glMultiTexCoord4dv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord4dv(GLenum target, const GLdouble * v) __attribute__((alias("glshim_glMultiTexCoord4dv"))); #endif #if !defined(skip_client_glMultiTexCoord4f) && !defined(skip_index_glMultiTexCoord4f) -void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { +void glshim_glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { glMultiTexCoord4f_INDEXED packed_data; packed_data.func = glMultiTexCoord4f_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2701,18 +2976,20 @@ void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q packed_data.args.a5 = (GLfloat)q; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) __attribute__((alias("glshim_glMultiTexCoord4f"))); #endif #if !defined(skip_client_glMultiTexCoord4fv) && !defined(skip_index_glMultiTexCoord4fv) -void glMultiTexCoord4fv(GLenum target, const GLfloat * v) { +void glshim_glMultiTexCoord4fv(GLenum target, const GLfloat * v) { glMultiTexCoord4fv_INDEXED packed_data; packed_data.func = glMultiTexCoord4fv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord4fv(GLenum target, const GLfloat * v) __attribute__((alias("glshim_glMultiTexCoord4fv"))); #endif #if !defined(skip_client_glMultiTexCoord4i) && !defined(skip_index_glMultiTexCoord4i) -void glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q) { +void glshim_glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q) { glMultiTexCoord4i_INDEXED packed_data; packed_data.func = glMultiTexCoord4i_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2722,18 +2999,20 @@ void glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q) { packed_data.args.a5 = (GLint)q; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q) __attribute__((alias("glshim_glMultiTexCoord4i"))); #endif #if !defined(skip_client_glMultiTexCoord4iv) && !defined(skip_index_glMultiTexCoord4iv) -void glMultiTexCoord4iv(GLenum target, const GLint * v) { +void glshim_glMultiTexCoord4iv(GLenum target, const GLint * v) { glMultiTexCoord4iv_INDEXED packed_data; packed_data.func = glMultiTexCoord4iv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord4iv(GLenum target, const GLint * v) __attribute__((alias("glshim_glMultiTexCoord4iv"))); #endif #if !defined(skip_client_glMultiTexCoord4s) && !defined(skip_index_glMultiTexCoord4s) -void glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) { +void glshim_glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) { glMultiTexCoord4s_INDEXED packed_data; packed_data.func = glMultiTexCoord4s_INDEX; packed_data.args.a1 = (GLenum)target; @@ -2743,27 +3022,30 @@ void glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q packed_data.args.a5 = (GLshort)q; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) __attribute__((alias("glshim_glMultiTexCoord4s"))); #endif #if !defined(skip_client_glMultiTexCoord4sv) && !defined(skip_index_glMultiTexCoord4sv) -void glMultiTexCoord4sv(GLenum target, const GLshort * v) { +void glshim_glMultiTexCoord4sv(GLenum target, const GLshort * v) { glMultiTexCoord4sv_INDEXED packed_data; packed_data.func = glMultiTexCoord4sv_INDEX; packed_data.args.a1 = (GLenum)target; packed_data.args.a2 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glMultiTexCoord4sv(GLenum target, const GLshort * v) __attribute__((alias("glshim_glMultiTexCoord4sv"))); #endif #if !defined(skip_client_glNewList) && !defined(skip_index_glNewList) -void glNewList(GLuint list, GLenum mode) { +void glshim_glNewList(GLuint list, GLenum mode) { glNewList_INDEXED packed_data; packed_data.func = glNewList_INDEX; packed_data.args.a1 = (GLuint)list; packed_data.args.a2 = (GLenum)mode; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glNewList(GLuint list, GLenum mode) __attribute__((alias("glshim_glNewList"))); #endif #if !defined(skip_client_glNormal3b) && !defined(skip_index_glNormal3b) -void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) { +void glshim_glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) { glNormal3b_INDEXED packed_data; packed_data.func = glNormal3b_INDEX; packed_data.args.a1 = (GLbyte)nx; @@ -2771,17 +3053,19 @@ void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) { packed_data.args.a3 = (GLbyte)nz; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) __attribute__((alias("glshim_glNormal3b"))); #endif #if !defined(skip_client_glNormal3bv) && !defined(skip_index_glNormal3bv) -void glNormal3bv(const GLbyte * v) { +void glshim_glNormal3bv(const GLbyte * v) { glNormal3bv_INDEXED packed_data; packed_data.func = glNormal3bv_INDEX; packed_data.args.a1 = (GLbyte *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glNormal3bv(const GLbyte * v) __attribute__((alias("glshim_glNormal3bv"))); #endif #if !defined(skip_client_glNormal3d) && !defined(skip_index_glNormal3d) -void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) { +void glshim_glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) { glNormal3d_INDEXED packed_data; packed_data.func = glNormal3d_INDEX; packed_data.args.a1 = (GLdouble)nx; @@ -2789,17 +3073,19 @@ void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) { packed_data.args.a3 = (GLdouble)nz; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) __attribute__((alias("glshim_glNormal3d"))); #endif #if !defined(skip_client_glNormal3dv) && !defined(skip_index_glNormal3dv) -void glNormal3dv(const GLdouble * v) { +void glshim_glNormal3dv(const GLdouble * v) { glNormal3dv_INDEXED packed_data; packed_data.func = glNormal3dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glNormal3dv(const GLdouble * v) __attribute__((alias("glshim_glNormal3dv"))); #endif #if !defined(skip_client_glNormal3f) && !defined(skip_index_glNormal3f) -void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) { +void glshim_glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) { glNormal3f_INDEXED packed_data; packed_data.func = glNormal3f_INDEX; packed_data.args.a1 = (GLfloat)nx; @@ -2807,17 +3093,19 @@ void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) { packed_data.args.a3 = (GLfloat)nz; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) __attribute__((alias("glshim_glNormal3f"))); #endif #if !defined(skip_client_glNormal3fv) && !defined(skip_index_glNormal3fv) -void glNormal3fv(const GLfloat * v) { +void glshim_glNormal3fv(const GLfloat * v) { glNormal3fv_INDEXED packed_data; packed_data.func = glNormal3fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glNormal3fv(const GLfloat * v) __attribute__((alias("glshim_glNormal3fv"))); #endif #if !defined(skip_client_glNormal3i) && !defined(skip_index_glNormal3i) -void glNormal3i(GLint nx, GLint ny, GLint nz) { +void glshim_glNormal3i(GLint nx, GLint ny, GLint nz) { glNormal3i_INDEXED packed_data; packed_data.func = glNormal3i_INDEX; packed_data.args.a1 = (GLint)nx; @@ -2825,17 +3113,19 @@ void glNormal3i(GLint nx, GLint ny, GLint nz) { packed_data.args.a3 = (GLint)nz; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glNormal3i(GLint nx, GLint ny, GLint nz) __attribute__((alias("glshim_glNormal3i"))); #endif #if !defined(skip_client_glNormal3iv) && !defined(skip_index_glNormal3iv) -void glNormal3iv(const GLint * v) { +void glshim_glNormal3iv(const GLint * v) { glNormal3iv_INDEXED packed_data; packed_data.func = glNormal3iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glNormal3iv(const GLint * v) __attribute__((alias("glshim_glNormal3iv"))); #endif #if !defined(skip_client_glNormal3s) && !defined(skip_index_glNormal3s) -void glNormal3s(GLshort nx, GLshort ny, GLshort nz) { +void glshim_glNormal3s(GLshort nx, GLshort ny, GLshort nz) { glNormal3s_INDEXED packed_data; packed_data.func = glNormal3s_INDEX; packed_data.args.a1 = (GLshort)nx; @@ -2843,17 +3133,19 @@ void glNormal3s(GLshort nx, GLshort ny, GLshort nz) { packed_data.args.a3 = (GLshort)nz; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glNormal3s(GLshort nx, GLshort ny, GLshort nz) __attribute__((alias("glshim_glNormal3s"))); #endif #if !defined(skip_client_glNormal3sv) && !defined(skip_index_glNormal3sv) -void glNormal3sv(const GLshort * v) { +void glshim_glNormal3sv(const GLshort * v) { glNormal3sv_INDEXED packed_data; packed_data.func = glNormal3sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glNormal3sv(const GLshort * v) __attribute__((alias("glshim_glNormal3sv"))); #endif #if !defined(skip_client_glNormalPointer) && !defined(skip_index_glNormalPointer) -void glNormalPointer(GLenum type, GLsizei stride, const GLvoid * pointer) { +void glshim_glNormalPointer(GLenum type, GLsizei stride, const GLvoid * pointer) { glNormalPointer_INDEXED packed_data; packed_data.func = glNormalPointer_INDEX; packed_data.args.a1 = (GLenum)type; @@ -2861,9 +3153,10 @@ void glNormalPointer(GLenum type, GLsizei stride, const GLvoid * pointer) { packed_data.args.a3 = (GLvoid *)pointer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glNormalPointer(GLenum type, GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glNormalPointer"))); #endif #if !defined(skip_client_glOrtho) && !defined(skip_index_glOrtho) -void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) { +void glshim_glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) { glOrtho_INDEXED packed_data; packed_data.func = glOrtho_INDEX; packed_data.args.a1 = (GLdouble)left; @@ -2874,17 +3167,19 @@ void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdou packed_data.args.a6 = (GLdouble)zFar; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) __attribute__((alias("glshim_glOrtho"))); #endif #if !defined(skip_client_glPassThrough) && !defined(skip_index_glPassThrough) -void glPassThrough(GLfloat token) { +void glshim_glPassThrough(GLfloat token) { glPassThrough_INDEXED packed_data; packed_data.func = glPassThrough_INDEX; packed_data.args.a1 = (GLfloat)token; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPassThrough(GLfloat token) __attribute__((alias("glshim_glPassThrough"))); #endif #if !defined(skip_client_glPixelMapfv) && !defined(skip_index_glPixelMapfv) -void glPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat * values) { +void glshim_glPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat * values) { glPixelMapfv_INDEXED packed_data; packed_data.func = glPixelMapfv_INDEX; packed_data.args.a1 = (GLenum)map; @@ -2892,9 +3187,10 @@ void glPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat * values) { packed_data.args.a3 = (GLfloat *)values; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat * values) __attribute__((alias("glshim_glPixelMapfv"))); #endif #if !defined(skip_client_glPixelMapuiv) && !defined(skip_index_glPixelMapuiv) -void glPixelMapuiv(GLenum map, GLsizei mapsize, const GLuint * values) { +void glshim_glPixelMapuiv(GLenum map, GLsizei mapsize, const GLuint * values) { glPixelMapuiv_INDEXED packed_data; packed_data.func = glPixelMapuiv_INDEX; packed_data.args.a1 = (GLenum)map; @@ -2902,9 +3198,10 @@ void glPixelMapuiv(GLenum map, GLsizei mapsize, const GLuint * values) { packed_data.args.a3 = (GLuint *)values; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPixelMapuiv(GLenum map, GLsizei mapsize, const GLuint * values) __attribute__((alias("glshim_glPixelMapuiv"))); #endif #if !defined(skip_client_glPixelMapusv) && !defined(skip_index_glPixelMapusv) -void glPixelMapusv(GLenum map, GLsizei mapsize, const GLushort * values) { +void glshim_glPixelMapusv(GLenum map, GLsizei mapsize, const GLushort * values) { glPixelMapusv_INDEXED packed_data; packed_data.func = glPixelMapusv_INDEX; packed_data.args.a1 = (GLenum)map; @@ -2912,152 +3209,170 @@ void glPixelMapusv(GLenum map, GLsizei mapsize, const GLushort * values) { packed_data.args.a3 = (GLushort *)values; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPixelMapusv(GLenum map, GLsizei mapsize, const GLushort * values) __attribute__((alias("glshim_glPixelMapusv"))); #endif #if !defined(skip_client_glPixelStoref) && !defined(skip_index_glPixelStoref) -void glPixelStoref(GLenum pname, GLfloat param) { +void glshim_glPixelStoref(GLenum pname, GLfloat param) { glPixelStoref_INDEXED packed_data; packed_data.func = glPixelStoref_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLfloat)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPixelStoref(GLenum pname, GLfloat param) __attribute__((alias("glshim_glPixelStoref"))); #endif #if !defined(skip_client_glPixelStorei) && !defined(skip_index_glPixelStorei) -void glPixelStorei(GLenum pname, GLint param) { +void glshim_glPixelStorei(GLenum pname, GLint param) { glPixelStorei_INDEXED packed_data; packed_data.func = glPixelStorei_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLint)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPixelStorei(GLenum pname, GLint param) __attribute__((alias("glshim_glPixelStorei"))); #endif #if !defined(skip_client_glPixelTransferf) && !defined(skip_index_glPixelTransferf) -void glPixelTransferf(GLenum pname, GLfloat param) { +void glshim_glPixelTransferf(GLenum pname, GLfloat param) { glPixelTransferf_INDEXED packed_data; packed_data.func = glPixelTransferf_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLfloat)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPixelTransferf(GLenum pname, GLfloat param) __attribute__((alias("glshim_glPixelTransferf"))); #endif #if !defined(skip_client_glPixelTransferi) && !defined(skip_index_glPixelTransferi) -void glPixelTransferi(GLenum pname, GLint param) { +void glshim_glPixelTransferi(GLenum pname, GLint param) { glPixelTransferi_INDEXED packed_data; packed_data.func = glPixelTransferi_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLint)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPixelTransferi(GLenum pname, GLint param) __attribute__((alias("glshim_glPixelTransferi"))); #endif #if !defined(skip_client_glPixelZoom) && !defined(skip_index_glPixelZoom) -void glPixelZoom(GLfloat xfactor, GLfloat yfactor) { +void glshim_glPixelZoom(GLfloat xfactor, GLfloat yfactor) { glPixelZoom_INDEXED packed_data; packed_data.func = glPixelZoom_INDEX; packed_data.args.a1 = (GLfloat)xfactor; packed_data.args.a2 = (GLfloat)yfactor; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPixelZoom(GLfloat xfactor, GLfloat yfactor) __attribute__((alias("glshim_glPixelZoom"))); #endif #if !defined(skip_client_glPointParameterf) && !defined(skip_index_glPointParameterf) -void glPointParameterf(GLenum pname, GLfloat param) { +void glshim_glPointParameterf(GLenum pname, GLfloat param) { glPointParameterf_INDEXED packed_data; packed_data.func = glPointParameterf_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLfloat)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPointParameterf(GLenum pname, GLfloat param) __attribute__((alias("glshim_glPointParameterf"))); #endif #if !defined(skip_client_glPointParameterfv) && !defined(skip_index_glPointParameterfv) -void glPointParameterfv(GLenum pname, const GLfloat * params) { +void glshim_glPointParameterfv(GLenum pname, const GLfloat * params) { glPointParameterfv_INDEXED packed_data; packed_data.func = glPointParameterfv_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPointParameterfv(GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glPointParameterfv"))); #endif #if !defined(skip_client_glPointParameteri) && !defined(skip_index_glPointParameteri) -void glPointParameteri(GLenum pname, GLint param) { +void glshim_glPointParameteri(GLenum pname, GLint param) { glPointParameteri_INDEXED packed_data; packed_data.func = glPointParameteri_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLint)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPointParameteri(GLenum pname, GLint param) __attribute__((alias("glshim_glPointParameteri"))); #endif #if !defined(skip_client_glPointParameteriv) && !defined(skip_index_glPointParameteriv) -void glPointParameteriv(GLenum pname, const GLint * params) { +void glshim_glPointParameteriv(GLenum pname, const GLint * params) { glPointParameteriv_INDEXED packed_data; packed_data.func = glPointParameteriv_INDEX; packed_data.args.a1 = (GLenum)pname; packed_data.args.a2 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPointParameteriv(GLenum pname, const GLint * params) __attribute__((alias("glshim_glPointParameteriv"))); #endif #if !defined(skip_client_glPointSize) && !defined(skip_index_glPointSize) -void glPointSize(GLfloat size) { +void glshim_glPointSize(GLfloat size) { glPointSize_INDEXED packed_data; packed_data.func = glPointSize_INDEX; packed_data.args.a1 = (GLfloat)size; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPointSize(GLfloat size) __attribute__((alias("glshim_glPointSize"))); #endif #if !defined(skip_client_glPolygonMode) && !defined(skip_index_glPolygonMode) -void glPolygonMode(GLenum face, GLenum mode) { +void glshim_glPolygonMode(GLenum face, GLenum mode) { glPolygonMode_INDEXED packed_data; packed_data.func = glPolygonMode_INDEX; packed_data.args.a1 = (GLenum)face; packed_data.args.a2 = (GLenum)mode; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPolygonMode(GLenum face, GLenum mode) __attribute__((alias("glshim_glPolygonMode"))); #endif #if !defined(skip_client_glPolygonOffset) && !defined(skip_index_glPolygonOffset) -void glPolygonOffset(GLfloat factor, GLfloat units) { +void glshim_glPolygonOffset(GLfloat factor, GLfloat units) { glPolygonOffset_INDEXED packed_data; packed_data.func = glPolygonOffset_INDEX; packed_data.args.a1 = (GLfloat)factor; packed_data.args.a2 = (GLfloat)units; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPolygonOffset(GLfloat factor, GLfloat units) __attribute__((alias("glshim_glPolygonOffset"))); #endif #if !defined(skip_client_glPolygonStipple) && !defined(skip_index_glPolygonStipple) -void glPolygonStipple(const GLubyte * mask) { +void glshim_glPolygonStipple(const GLubyte * mask) { glPolygonStipple_INDEXED packed_data; packed_data.func = glPolygonStipple_INDEX; packed_data.args.a1 = (GLubyte *)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPolygonStipple(const GLubyte * mask) __attribute__((alias("glshim_glPolygonStipple"))); #endif #if !defined(skip_client_glPopAttrib) && !defined(skip_index_glPopAttrib) -void glPopAttrib() { +void glshim_glPopAttrib() { glPopAttrib_INDEXED packed_data; packed_data.func = glPopAttrib_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPopAttrib() __attribute__((alias("glshim_glPopAttrib"))); #endif #if !defined(skip_client_glPopClientAttrib) && !defined(skip_index_glPopClientAttrib) -void glPopClientAttrib() { +void glshim_glPopClientAttrib() { glPopClientAttrib_INDEXED packed_data; packed_data.func = glPopClientAttrib_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPopClientAttrib() __attribute__((alias("glshim_glPopClientAttrib"))); #endif #if !defined(skip_client_glPopMatrix) && !defined(skip_index_glPopMatrix) -void glPopMatrix() { +void glshim_glPopMatrix() { glPopMatrix_INDEXED packed_data; packed_data.func = glPopMatrix_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPopMatrix() __attribute__((alias("glshim_glPopMatrix"))); #endif #if !defined(skip_client_glPopName) && !defined(skip_index_glPopName) -void glPopName() { +void glshim_glPopName() { glPopName_INDEXED packed_data; packed_data.func = glPopName_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPopName() __attribute__((alias("glshim_glPopName"))); #endif #if !defined(skip_client_glPrioritizeTextures) && !defined(skip_index_glPrioritizeTextures) -void glPrioritizeTextures(GLsizei n, const GLuint * textures, const GLfloat * priorities) { +void glshim_glPrioritizeTextures(GLsizei n, const GLuint * textures, const GLfloat * priorities) { glPrioritizeTextures_INDEXED packed_data; packed_data.func = glPrioritizeTextures_INDEX; packed_data.args.a1 = (GLsizei)n; @@ -3065,108 +3380,121 @@ void glPrioritizeTextures(GLsizei n, const GLuint * textures, const GLfloat * pr packed_data.args.a3 = (GLfloat *)priorities; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPrioritizeTextures(GLsizei n, const GLuint * textures, const GLfloat * priorities) __attribute__((alias("glshim_glPrioritizeTextures"))); #endif #if !defined(skip_client_glPushAttrib) && !defined(skip_index_glPushAttrib) -void glPushAttrib(GLbitfield mask) { +void glshim_glPushAttrib(GLbitfield mask) { glPushAttrib_INDEXED packed_data; packed_data.func = glPushAttrib_INDEX; packed_data.args.a1 = (GLbitfield)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPushAttrib(GLbitfield mask) __attribute__((alias("glshim_glPushAttrib"))); #endif #if !defined(skip_client_glPushClientAttrib) && !defined(skip_index_glPushClientAttrib) -void glPushClientAttrib(GLbitfield mask) { +void glshim_glPushClientAttrib(GLbitfield mask) { glPushClientAttrib_INDEXED packed_data; packed_data.func = glPushClientAttrib_INDEX; packed_data.args.a1 = (GLbitfield)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPushClientAttrib(GLbitfield mask) __attribute__((alias("glshim_glPushClientAttrib"))); #endif #if !defined(skip_client_glPushMatrix) && !defined(skip_index_glPushMatrix) -void glPushMatrix() { +void glshim_glPushMatrix() { glPushMatrix_INDEXED packed_data; packed_data.func = glPushMatrix_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPushMatrix() __attribute__((alias("glshim_glPushMatrix"))); #endif #if !defined(skip_client_glPushName) && !defined(skip_index_glPushName) -void glPushName(GLuint name) { +void glshim_glPushName(GLuint name) { glPushName_INDEXED packed_data; packed_data.func = glPushName_INDEX; packed_data.args.a1 = (GLuint)name; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glPushName(GLuint name) __attribute__((alias("glshim_glPushName"))); #endif #if !defined(skip_client_glRasterPos2d) && !defined(skip_index_glRasterPos2d) -void glRasterPos2d(GLdouble x, GLdouble y) { +void glshim_glRasterPos2d(GLdouble x, GLdouble y) { glRasterPos2d_INDEXED packed_data; packed_data.func = glRasterPos2d_INDEX; packed_data.args.a1 = (GLdouble)x; packed_data.args.a2 = (GLdouble)y; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos2d(GLdouble x, GLdouble y) __attribute__((alias("glshim_glRasterPos2d"))); #endif #if !defined(skip_client_glRasterPos2dv) && !defined(skip_index_glRasterPos2dv) -void glRasterPos2dv(const GLdouble * v) { +void glshim_glRasterPos2dv(const GLdouble * v) { glRasterPos2dv_INDEXED packed_data; packed_data.func = glRasterPos2dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos2dv(const GLdouble * v) __attribute__((alias("glshim_glRasterPos2dv"))); #endif #if !defined(skip_client_glRasterPos2f) && !defined(skip_index_glRasterPos2f) -void glRasterPos2f(GLfloat x, GLfloat y) { +void glshim_glRasterPos2f(GLfloat x, GLfloat y) { glRasterPos2f_INDEXED packed_data; packed_data.func = glRasterPos2f_INDEX; packed_data.args.a1 = (GLfloat)x; packed_data.args.a2 = (GLfloat)y; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos2f(GLfloat x, GLfloat y) __attribute__((alias("glshim_glRasterPos2f"))); #endif #if !defined(skip_client_glRasterPos2fv) && !defined(skip_index_glRasterPos2fv) -void glRasterPos2fv(const GLfloat * v) { +void glshim_glRasterPos2fv(const GLfloat * v) { glRasterPos2fv_INDEXED packed_data; packed_data.func = glRasterPos2fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos2fv(const GLfloat * v) __attribute__((alias("glshim_glRasterPos2fv"))); #endif #if !defined(skip_client_glRasterPos2i) && !defined(skip_index_glRasterPos2i) -void glRasterPos2i(GLint x, GLint y) { +void glshim_glRasterPos2i(GLint x, GLint y) { glRasterPos2i_INDEXED packed_data; packed_data.func = glRasterPos2i_INDEX; packed_data.args.a1 = (GLint)x; packed_data.args.a2 = (GLint)y; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos2i(GLint x, GLint y) __attribute__((alias("glshim_glRasterPos2i"))); #endif #if !defined(skip_client_glRasterPos2iv) && !defined(skip_index_glRasterPos2iv) -void glRasterPos2iv(const GLint * v) { +void glshim_glRasterPos2iv(const GLint * v) { glRasterPos2iv_INDEXED packed_data; packed_data.func = glRasterPos2iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos2iv(const GLint * v) __attribute__((alias("glshim_glRasterPos2iv"))); #endif #if !defined(skip_client_glRasterPos2s) && !defined(skip_index_glRasterPos2s) -void glRasterPos2s(GLshort x, GLshort y) { +void glshim_glRasterPos2s(GLshort x, GLshort y) { glRasterPos2s_INDEXED packed_data; packed_data.func = glRasterPos2s_INDEX; packed_data.args.a1 = (GLshort)x; packed_data.args.a2 = (GLshort)y; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos2s(GLshort x, GLshort y) __attribute__((alias("glshim_glRasterPos2s"))); #endif #if !defined(skip_client_glRasterPos2sv) && !defined(skip_index_glRasterPos2sv) -void glRasterPos2sv(const GLshort * v) { +void glshim_glRasterPos2sv(const GLshort * v) { glRasterPos2sv_INDEXED packed_data; packed_data.func = glRasterPos2sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos2sv(const GLshort * v) __attribute__((alias("glshim_glRasterPos2sv"))); #endif #if !defined(skip_client_glRasterPos3d) && !defined(skip_index_glRasterPos3d) -void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) { +void glshim_glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) { glRasterPos3d_INDEXED packed_data; packed_data.func = glRasterPos3d_INDEX; packed_data.args.a1 = (GLdouble)x; @@ -3174,17 +3502,19 @@ void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) { packed_data.args.a3 = (GLdouble)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) __attribute__((alias("glshim_glRasterPos3d"))); #endif #if !defined(skip_client_glRasterPos3dv) && !defined(skip_index_glRasterPos3dv) -void glRasterPos3dv(const GLdouble * v) { +void glshim_glRasterPos3dv(const GLdouble * v) { glRasterPos3dv_INDEXED packed_data; packed_data.func = glRasterPos3dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos3dv(const GLdouble * v) __attribute__((alias("glshim_glRasterPos3dv"))); #endif #if !defined(skip_client_glRasterPos3f) && !defined(skip_index_glRasterPos3f) -void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) { +void glshim_glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) { glRasterPos3f_INDEXED packed_data; packed_data.func = glRasterPos3f_INDEX; packed_data.args.a1 = (GLfloat)x; @@ -3192,17 +3522,19 @@ void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) { packed_data.args.a3 = (GLfloat)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) __attribute__((alias("glshim_glRasterPos3f"))); #endif #if !defined(skip_client_glRasterPos3fv) && !defined(skip_index_glRasterPos3fv) -void glRasterPos3fv(const GLfloat * v) { +void glshim_glRasterPos3fv(const GLfloat * v) { glRasterPos3fv_INDEXED packed_data; packed_data.func = glRasterPos3fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos3fv(const GLfloat * v) __attribute__((alias("glshim_glRasterPos3fv"))); #endif #if !defined(skip_client_glRasterPos3i) && !defined(skip_index_glRasterPos3i) -void glRasterPos3i(GLint x, GLint y, GLint z) { +void glshim_glRasterPos3i(GLint x, GLint y, GLint z) { glRasterPos3i_INDEXED packed_data; packed_data.func = glRasterPos3i_INDEX; packed_data.args.a1 = (GLint)x; @@ -3210,17 +3542,19 @@ void glRasterPos3i(GLint x, GLint y, GLint z) { packed_data.args.a3 = (GLint)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos3i(GLint x, GLint y, GLint z) __attribute__((alias("glshim_glRasterPos3i"))); #endif #if !defined(skip_client_glRasterPos3iv) && !defined(skip_index_glRasterPos3iv) -void glRasterPos3iv(const GLint * v) { +void glshim_glRasterPos3iv(const GLint * v) { glRasterPos3iv_INDEXED packed_data; packed_data.func = glRasterPos3iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos3iv(const GLint * v) __attribute__((alias("glshim_glRasterPos3iv"))); #endif #if !defined(skip_client_glRasterPos3s) && !defined(skip_index_glRasterPos3s) -void glRasterPos3s(GLshort x, GLshort y, GLshort z) { +void glshim_glRasterPos3s(GLshort x, GLshort y, GLshort z) { glRasterPos3s_INDEXED packed_data; packed_data.func = glRasterPos3s_INDEX; packed_data.args.a1 = (GLshort)x; @@ -3228,17 +3562,19 @@ void glRasterPos3s(GLshort x, GLshort y, GLshort z) { packed_data.args.a3 = (GLshort)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos3s(GLshort x, GLshort y, GLshort z) __attribute__((alias("glshim_glRasterPos3s"))); #endif #if !defined(skip_client_glRasterPos3sv) && !defined(skip_index_glRasterPos3sv) -void glRasterPos3sv(const GLshort * v) { +void glshim_glRasterPos3sv(const GLshort * v) { glRasterPos3sv_INDEXED packed_data; packed_data.func = glRasterPos3sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos3sv(const GLshort * v) __attribute__((alias("glshim_glRasterPos3sv"))); #endif #if !defined(skip_client_glRasterPos4d) && !defined(skip_index_glRasterPos4d) -void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) { +void glshim_glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) { glRasterPos4d_INDEXED packed_data; packed_data.func = glRasterPos4d_INDEX; packed_data.args.a1 = (GLdouble)x; @@ -3247,17 +3583,19 @@ void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) { packed_data.args.a4 = (GLdouble)w; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) __attribute__((alias("glshim_glRasterPos4d"))); #endif #if !defined(skip_client_glRasterPos4dv) && !defined(skip_index_glRasterPos4dv) -void glRasterPos4dv(const GLdouble * v) { +void glshim_glRasterPos4dv(const GLdouble * v) { glRasterPos4dv_INDEXED packed_data; packed_data.func = glRasterPos4dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos4dv(const GLdouble * v) __attribute__((alias("glshim_glRasterPos4dv"))); #endif #if !defined(skip_client_glRasterPos4f) && !defined(skip_index_glRasterPos4f) -void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { +void glshim_glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { glRasterPos4f_INDEXED packed_data; packed_data.func = glRasterPos4f_INDEX; packed_data.args.a1 = (GLfloat)x; @@ -3266,17 +3604,19 @@ void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { packed_data.args.a4 = (GLfloat)w; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) __attribute__((alias("glshim_glRasterPos4f"))); #endif #if !defined(skip_client_glRasterPos4fv) && !defined(skip_index_glRasterPos4fv) -void glRasterPos4fv(const GLfloat * v) { +void glshim_glRasterPos4fv(const GLfloat * v) { glRasterPos4fv_INDEXED packed_data; packed_data.func = glRasterPos4fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos4fv(const GLfloat * v) __attribute__((alias("glshim_glRasterPos4fv"))); #endif #if !defined(skip_client_glRasterPos4i) && !defined(skip_index_glRasterPos4i) -void glRasterPos4i(GLint x, GLint y, GLint z, GLint w) { +void glshim_glRasterPos4i(GLint x, GLint y, GLint z, GLint w) { glRasterPos4i_INDEXED packed_data; packed_data.func = glRasterPos4i_INDEX; packed_data.args.a1 = (GLint)x; @@ -3285,17 +3625,19 @@ void glRasterPos4i(GLint x, GLint y, GLint z, GLint w) { packed_data.args.a4 = (GLint)w; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos4i(GLint x, GLint y, GLint z, GLint w) __attribute__((alias("glshim_glRasterPos4i"))); #endif #if !defined(skip_client_glRasterPos4iv) && !defined(skip_index_glRasterPos4iv) -void glRasterPos4iv(const GLint * v) { +void glshim_glRasterPos4iv(const GLint * v) { glRasterPos4iv_INDEXED packed_data; packed_data.func = glRasterPos4iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos4iv(const GLint * v) __attribute__((alias("glshim_glRasterPos4iv"))); #endif #if !defined(skip_client_glRasterPos4s) && !defined(skip_index_glRasterPos4s) -void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w) { +void glshim_glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w) { glRasterPos4s_INDEXED packed_data; packed_data.func = glRasterPos4s_INDEX; packed_data.args.a1 = (GLshort)x; @@ -3304,25 +3646,28 @@ void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w) { packed_data.args.a4 = (GLshort)w; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w) __attribute__((alias("glshim_glRasterPos4s"))); #endif #if !defined(skip_client_glRasterPos4sv) && !defined(skip_index_glRasterPos4sv) -void glRasterPos4sv(const GLshort * v) { +void glshim_glRasterPos4sv(const GLshort * v) { glRasterPos4sv_INDEXED packed_data; packed_data.func = glRasterPos4sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRasterPos4sv(const GLshort * v) __attribute__((alias("glshim_glRasterPos4sv"))); #endif #if !defined(skip_client_glReadBuffer) && !defined(skip_index_glReadBuffer) -void glReadBuffer(GLenum mode) { +void glshim_glReadBuffer(GLenum mode) { glReadBuffer_INDEXED packed_data; packed_data.func = glReadBuffer_INDEX; packed_data.args.a1 = (GLenum)mode; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glReadBuffer(GLenum mode) __attribute__((alias("glshim_glReadBuffer"))); #endif #if !defined(skip_client_glReadPixels) && !defined(skip_index_glReadPixels) -void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels) { +void glshim_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels) { glReadPixels_INDEXED packed_data; packed_data.func = glReadPixels_INDEX; packed_data.args.a1 = (GLint)x; @@ -3334,9 +3679,10 @@ void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format packed_data.args.a7 = (GLvoid *)pixels; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels) __attribute__((alias("glshim_glReadPixels"))); #endif #if !defined(skip_client_glRectd) && !defined(skip_index_glRectd) -void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) { +void glshim_glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) { glRectd_INDEXED packed_data; packed_data.func = glRectd_INDEX; packed_data.args.a1 = (GLdouble)x1; @@ -3345,18 +3691,20 @@ void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) { packed_data.args.a4 = (GLdouble)y2; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) __attribute__((alias("glshim_glRectd"))); #endif #if !defined(skip_client_glRectdv) && !defined(skip_index_glRectdv) -void glRectdv(const GLdouble * v1, const GLdouble * v2) { +void glshim_glRectdv(const GLdouble * v1, const GLdouble * v2) { glRectdv_INDEXED packed_data; packed_data.func = glRectdv_INDEX; packed_data.args.a1 = (GLdouble *)v1; packed_data.args.a2 = (GLdouble *)v2; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRectdv(const GLdouble * v1, const GLdouble * v2) __attribute__((alias("glshim_glRectdv"))); #endif #if !defined(skip_client_glRectf) && !defined(skip_index_glRectf) -void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) { +void glshim_glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) { glRectf_INDEXED packed_data; packed_data.func = glRectf_INDEX; packed_data.args.a1 = (GLfloat)x1; @@ -3365,18 +3713,20 @@ void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) { packed_data.args.a4 = (GLfloat)y2; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) __attribute__((alias("glshim_glRectf"))); #endif #if !defined(skip_client_glRectfv) && !defined(skip_index_glRectfv) -void glRectfv(const GLfloat * v1, const GLfloat * v2) { +void glshim_glRectfv(const GLfloat * v1, const GLfloat * v2) { glRectfv_INDEXED packed_data; packed_data.func = glRectfv_INDEX; packed_data.args.a1 = (GLfloat *)v1; packed_data.args.a2 = (GLfloat *)v2; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRectfv(const GLfloat * v1, const GLfloat * v2) __attribute__((alias("glshim_glRectfv"))); #endif #if !defined(skip_client_glRecti) && !defined(skip_index_glRecti) -void glRecti(GLint x1, GLint y1, GLint x2, GLint y2) { +void glshim_glRecti(GLint x1, GLint y1, GLint x2, GLint y2) { glRecti_INDEXED packed_data; packed_data.func = glRecti_INDEX; packed_data.args.a1 = (GLint)x1; @@ -3385,18 +3735,20 @@ void glRecti(GLint x1, GLint y1, GLint x2, GLint y2) { packed_data.args.a4 = (GLint)y2; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRecti(GLint x1, GLint y1, GLint x2, GLint y2) __attribute__((alias("glshim_glRecti"))); #endif #if !defined(skip_client_glRectiv) && !defined(skip_index_glRectiv) -void glRectiv(const GLint * v1, const GLint * v2) { +void glshim_glRectiv(const GLint * v1, const GLint * v2) { glRectiv_INDEXED packed_data; packed_data.func = glRectiv_INDEX; packed_data.args.a1 = (GLint *)v1; packed_data.args.a2 = (GLint *)v2; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRectiv(const GLint * v1, const GLint * v2) __attribute__((alias("glshim_glRectiv"))); #endif #if !defined(skip_client_glRects) && !defined(skip_index_glRects) -void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2) { +void glshim_glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2) { glRects_INDEXED packed_data; packed_data.func = glRects_INDEX; packed_data.args.a1 = (GLshort)x1; @@ -3405,18 +3757,20 @@ void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2) { packed_data.args.a4 = (GLshort)y2; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2) __attribute__((alias("glshim_glRects"))); #endif #if !defined(skip_client_glRectsv) && !defined(skip_index_glRectsv) -void glRectsv(const GLshort * v1, const GLshort * v2) { +void glshim_glRectsv(const GLshort * v1, const GLshort * v2) { glRectsv_INDEXED packed_data; packed_data.func = glRectsv_INDEX; packed_data.args.a1 = (GLshort *)v1; packed_data.args.a2 = (GLshort *)v2; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRectsv(const GLshort * v1, const GLshort * v2) __attribute__((alias("glshim_glRectsv"))); #endif #if !defined(skip_client_glRenderMode) && !defined(skip_index_glRenderMode) -GLint glRenderMode(GLenum mode) { +GLint glshim_glRenderMode(GLenum mode) { glRenderMode_INDEXED packed_data; packed_data.func = glRenderMode_INDEX; packed_data.args.a1 = (GLenum)mode; @@ -3424,25 +3778,28 @@ GLint glRenderMode(GLenum mode) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLint glRenderMode(GLenum mode) __attribute__((alias("glshim_glRenderMode"))); #endif #if !defined(skip_client_glResetHistogram) && !defined(skip_index_glResetHistogram) -void glResetHistogram(GLenum target) { +void glshim_glResetHistogram(GLenum target) { glResetHistogram_INDEXED packed_data; packed_data.func = glResetHistogram_INDEX; packed_data.args.a1 = (GLenum)target; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glResetHistogram(GLenum target) __attribute__((alias("glshim_glResetHistogram"))); #endif #if !defined(skip_client_glResetMinmax) && !defined(skip_index_glResetMinmax) -void glResetMinmax(GLenum target) { +void glshim_glResetMinmax(GLenum target) { glResetMinmax_INDEXED packed_data; packed_data.func = glResetMinmax_INDEX; packed_data.args.a1 = (GLenum)target; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glResetMinmax(GLenum target) __attribute__((alias("glshim_glResetMinmax"))); #endif #if !defined(skip_client_glRotated) && !defined(skip_index_glRotated) -void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) { +void glshim_glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) { glRotated_INDEXED packed_data; packed_data.func = glRotated_INDEX; packed_data.args.a1 = (GLdouble)angle; @@ -3451,9 +3808,10 @@ void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) { packed_data.args.a4 = (GLdouble)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) __attribute__((alias("glshim_glRotated"))); #endif #if !defined(skip_client_glRotatef) && !defined(skip_index_glRotatef) -void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { +void glshim_glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { glRotatef_INDEXED packed_data; packed_data.func = glRotatef_INDEX; packed_data.args.a1 = (GLfloat)angle; @@ -3462,18 +3820,20 @@ void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) { packed_data.args.a4 = (GLfloat)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) __attribute__((alias("glshim_glRotatef"))); #endif #if !defined(skip_client_glSampleCoverage) && !defined(skip_index_glSampleCoverage) -void glSampleCoverage(GLfloat value, GLboolean invert) { +void glshim_glSampleCoverage(GLfloat value, GLboolean invert) { glSampleCoverage_INDEXED packed_data; packed_data.func = glSampleCoverage_INDEX; packed_data.args.a1 = (GLfloat)value; packed_data.args.a2 = (GLboolean)invert; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSampleCoverage(GLfloat value, GLboolean invert) __attribute__((alias("glshim_glSampleCoverage"))); #endif #if !defined(skip_client_glScaled) && !defined(skip_index_glScaled) -void glScaled(GLdouble x, GLdouble y, GLdouble z) { +void glshim_glScaled(GLdouble x, GLdouble y, GLdouble z) { glScaled_INDEXED packed_data; packed_data.func = glScaled_INDEX; packed_data.args.a1 = (GLdouble)x; @@ -3481,9 +3841,10 @@ void glScaled(GLdouble x, GLdouble y, GLdouble z) { packed_data.args.a3 = (GLdouble)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glScaled(GLdouble x, GLdouble y, GLdouble z) __attribute__((alias("glshim_glScaled"))); #endif #if !defined(skip_client_glScalef) && !defined(skip_index_glScalef) -void glScalef(GLfloat x, GLfloat y, GLfloat z) { +void glshim_glScalef(GLfloat x, GLfloat y, GLfloat z) { glScalef_INDEXED packed_data; packed_data.func = glScalef_INDEX; packed_data.args.a1 = (GLfloat)x; @@ -3491,9 +3852,10 @@ void glScalef(GLfloat x, GLfloat y, GLfloat z) { packed_data.args.a3 = (GLfloat)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glScalef(GLfloat x, GLfloat y, GLfloat z) __attribute__((alias("glshim_glScalef"))); #endif #if !defined(skip_client_glScissor) && !defined(skip_index_glScissor) -void glScissor(GLint x, GLint y, GLsizei width, GLsizei height) { +void glshim_glScissor(GLint x, GLint y, GLsizei width, GLsizei height) { glScissor_INDEXED packed_data; packed_data.func = glScissor_INDEX; packed_data.args.a1 = (GLint)x; @@ -3502,9 +3864,10 @@ void glScissor(GLint x, GLint y, GLsizei width, GLsizei height) { packed_data.args.a4 = (GLsizei)height; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glScissor(GLint x, GLint y, GLsizei width, GLsizei height) __attribute__((alias("glshim_glScissor"))); #endif #if !defined(skip_client_glSecondaryColor3b) && !defined(skip_index_glSecondaryColor3b) -void glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue) { +void glshim_glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue) { glSecondaryColor3b_INDEXED packed_data; packed_data.func = glSecondaryColor3b_INDEX; packed_data.args.a1 = (GLbyte)red; @@ -3512,17 +3875,19 @@ void glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue) { packed_data.args.a3 = (GLbyte)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue) __attribute__((alias("glshim_glSecondaryColor3b"))); #endif #if !defined(skip_client_glSecondaryColor3bv) && !defined(skip_index_glSecondaryColor3bv) -void glSecondaryColor3bv(const GLbyte * v) { +void glshim_glSecondaryColor3bv(const GLbyte * v) { glSecondaryColor3bv_INDEXED packed_data; packed_data.func = glSecondaryColor3bv_INDEX; packed_data.args.a1 = (GLbyte *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3bv(const GLbyte * v) __attribute__((alias("glshim_glSecondaryColor3bv"))); #endif #if !defined(skip_client_glSecondaryColor3d) && !defined(skip_index_glSecondaryColor3d) -void glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue) { +void glshim_glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue) { glSecondaryColor3d_INDEXED packed_data; packed_data.func = glSecondaryColor3d_INDEX; packed_data.args.a1 = (GLdouble)red; @@ -3530,17 +3895,19 @@ void glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue) { packed_data.args.a3 = (GLdouble)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue) __attribute__((alias("glshim_glSecondaryColor3d"))); #endif #if !defined(skip_client_glSecondaryColor3dv) && !defined(skip_index_glSecondaryColor3dv) -void glSecondaryColor3dv(const GLdouble * v) { +void glshim_glSecondaryColor3dv(const GLdouble * v) { glSecondaryColor3dv_INDEXED packed_data; packed_data.func = glSecondaryColor3dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3dv(const GLdouble * v) __attribute__((alias("glshim_glSecondaryColor3dv"))); #endif #if !defined(skip_client_glSecondaryColor3f) && !defined(skip_index_glSecondaryColor3f) -void glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue) { +void glshim_glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue) { glSecondaryColor3f_INDEXED packed_data; packed_data.func = glSecondaryColor3f_INDEX; packed_data.args.a1 = (GLfloat)red; @@ -3548,17 +3915,19 @@ void glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue) { packed_data.args.a3 = (GLfloat)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue) __attribute__((alias("glshim_glSecondaryColor3f"))); #endif #if !defined(skip_client_glSecondaryColor3fv) && !defined(skip_index_glSecondaryColor3fv) -void glSecondaryColor3fv(const GLfloat * v) { +void glshim_glSecondaryColor3fv(const GLfloat * v) { glSecondaryColor3fv_INDEXED packed_data; packed_data.func = glSecondaryColor3fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3fv(const GLfloat * v) __attribute__((alias("glshim_glSecondaryColor3fv"))); #endif #if !defined(skip_client_glSecondaryColor3i) && !defined(skip_index_glSecondaryColor3i) -void glSecondaryColor3i(GLint red, GLint green, GLint blue) { +void glshim_glSecondaryColor3i(GLint red, GLint green, GLint blue) { glSecondaryColor3i_INDEXED packed_data; packed_data.func = glSecondaryColor3i_INDEX; packed_data.args.a1 = (GLint)red; @@ -3566,17 +3935,19 @@ void glSecondaryColor3i(GLint red, GLint green, GLint blue) { packed_data.args.a3 = (GLint)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3i(GLint red, GLint green, GLint blue) __attribute__((alias("glshim_glSecondaryColor3i"))); #endif #if !defined(skip_client_glSecondaryColor3iv) && !defined(skip_index_glSecondaryColor3iv) -void glSecondaryColor3iv(const GLint * v) { +void glshim_glSecondaryColor3iv(const GLint * v) { glSecondaryColor3iv_INDEXED packed_data; packed_data.func = glSecondaryColor3iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3iv(const GLint * v) __attribute__((alias("glshim_glSecondaryColor3iv"))); #endif #if !defined(skip_client_glSecondaryColor3s) && !defined(skip_index_glSecondaryColor3s) -void glSecondaryColor3s(GLshort red, GLshort green, GLshort blue) { +void glshim_glSecondaryColor3s(GLshort red, GLshort green, GLshort blue) { glSecondaryColor3s_INDEXED packed_data; packed_data.func = glSecondaryColor3s_INDEX; packed_data.args.a1 = (GLshort)red; @@ -3584,17 +3955,19 @@ void glSecondaryColor3s(GLshort red, GLshort green, GLshort blue) { packed_data.args.a3 = (GLshort)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3s(GLshort red, GLshort green, GLshort blue) __attribute__((alias("glshim_glSecondaryColor3s"))); #endif #if !defined(skip_client_glSecondaryColor3sv) && !defined(skip_index_glSecondaryColor3sv) -void glSecondaryColor3sv(const GLshort * v) { +void glshim_glSecondaryColor3sv(const GLshort * v) { glSecondaryColor3sv_INDEXED packed_data; packed_data.func = glSecondaryColor3sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3sv(const GLshort * v) __attribute__((alias("glshim_glSecondaryColor3sv"))); #endif #if !defined(skip_client_glSecondaryColor3ub) && !defined(skip_index_glSecondaryColor3ub) -void glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue) { +void glshim_glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue) { glSecondaryColor3ub_INDEXED packed_data; packed_data.func = glSecondaryColor3ub_INDEX; packed_data.args.a1 = (GLubyte)red; @@ -3602,17 +3975,19 @@ void glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue) { packed_data.args.a3 = (GLubyte)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue) __attribute__((alias("glshim_glSecondaryColor3ub"))); #endif #if !defined(skip_client_glSecondaryColor3ubv) && !defined(skip_index_glSecondaryColor3ubv) -void glSecondaryColor3ubv(const GLubyte * v) { +void glshim_glSecondaryColor3ubv(const GLubyte * v) { glSecondaryColor3ubv_INDEXED packed_data; packed_data.func = glSecondaryColor3ubv_INDEX; packed_data.args.a1 = (GLubyte *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3ubv(const GLubyte * v) __attribute__((alias("glshim_glSecondaryColor3ubv"))); #endif #if !defined(skip_client_glSecondaryColor3ui) && !defined(skip_index_glSecondaryColor3ui) -void glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue) { +void glshim_glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue) { glSecondaryColor3ui_INDEXED packed_data; packed_data.func = glSecondaryColor3ui_INDEX; packed_data.args.a1 = (GLuint)red; @@ -3620,17 +3995,19 @@ void glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue) { packed_data.args.a3 = (GLuint)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue) __attribute__((alias("glshim_glSecondaryColor3ui"))); #endif #if !defined(skip_client_glSecondaryColor3uiv) && !defined(skip_index_glSecondaryColor3uiv) -void glSecondaryColor3uiv(const GLuint * v) { +void glshim_glSecondaryColor3uiv(const GLuint * v) { glSecondaryColor3uiv_INDEXED packed_data; packed_data.func = glSecondaryColor3uiv_INDEX; packed_data.args.a1 = (GLuint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3uiv(const GLuint * v) __attribute__((alias("glshim_glSecondaryColor3uiv"))); #endif #if !defined(skip_client_glSecondaryColor3us) && !defined(skip_index_glSecondaryColor3us) -void glSecondaryColor3us(GLushort red, GLushort green, GLushort blue) { +void glshim_glSecondaryColor3us(GLushort red, GLushort green, GLushort blue) { glSecondaryColor3us_INDEXED packed_data; packed_data.func = glSecondaryColor3us_INDEX; packed_data.args.a1 = (GLushort)red; @@ -3638,17 +4015,19 @@ void glSecondaryColor3us(GLushort red, GLushort green, GLushort blue) { packed_data.args.a3 = (GLushort)blue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3us(GLushort red, GLushort green, GLushort blue) __attribute__((alias("glshim_glSecondaryColor3us"))); #endif #if !defined(skip_client_glSecondaryColor3usv) && !defined(skip_index_glSecondaryColor3usv) -void glSecondaryColor3usv(const GLushort * v) { +void glshim_glSecondaryColor3usv(const GLushort * v) { glSecondaryColor3usv_INDEXED packed_data; packed_data.func = glSecondaryColor3usv_INDEX; packed_data.args.a1 = (GLushort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColor3usv(const GLushort * v) __attribute__((alias("glshim_glSecondaryColor3usv"))); #endif #if !defined(skip_client_glSecondaryColorPointer) && !defined(skip_index_glSecondaryColorPointer) -void glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { +void glshim_glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { glSecondaryColorPointer_INDEXED packed_data; packed_data.func = glSecondaryColorPointer_INDEX; packed_data.args.a1 = (GLint)size; @@ -3657,18 +4036,20 @@ void glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvo packed_data.args.a4 = (GLvoid *)pointer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glSecondaryColorPointer"))); #endif #if !defined(skip_client_glSelectBuffer) && !defined(skip_index_glSelectBuffer) -void glSelectBuffer(GLsizei size, GLuint * buffer) { +void glshim_glSelectBuffer(GLsizei size, GLuint * buffer) { glSelectBuffer_INDEXED packed_data; packed_data.func = glSelectBuffer_INDEX; packed_data.args.a1 = (GLsizei)size; packed_data.args.a2 = (GLuint *)buffer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSelectBuffer(GLsizei size, GLuint * buffer) __attribute__((alias("glshim_glSelectBuffer"))); #endif #if !defined(skip_client_glSeparableFilter2D) && !defined(skip_index_glSeparableFilter2D) -void glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * row, const GLvoid * column) { +void glshim_glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * row, const GLvoid * column) { glSeparableFilter2D_INDEXED packed_data; packed_data.func = glSeparableFilter2D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -3681,17 +4062,19 @@ void glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GL packed_data.args.a8 = (GLvoid *)column; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * row, const GLvoid * column) __attribute__((alias("glshim_glSeparableFilter2D"))); #endif #if !defined(skip_client_glShadeModel) && !defined(skip_index_glShadeModel) -void glShadeModel(GLenum mode) { +void glshim_glShadeModel(GLenum mode) { glShadeModel_INDEXED packed_data; packed_data.func = glShadeModel_INDEX; packed_data.args.a1 = (GLenum)mode; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glShadeModel(GLenum mode) __attribute__((alias("glshim_glShadeModel"))); #endif #if !defined(skip_client_glStencilFunc) && !defined(skip_index_glStencilFunc) -void glStencilFunc(GLenum func, GLint ref, GLuint mask) { +void glshim_glStencilFunc(GLenum func, GLint ref, GLuint mask) { glStencilFunc_INDEXED packed_data; packed_data.func = glStencilFunc_INDEX; packed_data.args.a1 = (GLenum)func; @@ -3699,17 +4082,19 @@ void glStencilFunc(GLenum func, GLint ref, GLuint mask) { packed_data.args.a3 = (GLuint)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glStencilFunc(GLenum func, GLint ref, GLuint mask) __attribute__((alias("glshim_glStencilFunc"))); #endif #if !defined(skip_client_glStencilMask) && !defined(skip_index_glStencilMask) -void glStencilMask(GLuint mask) { +void glshim_glStencilMask(GLuint mask) { glStencilMask_INDEXED packed_data; packed_data.func = glStencilMask_INDEX; packed_data.args.a1 = (GLuint)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glStencilMask(GLuint mask) __attribute__((alias("glshim_glStencilMask"))); #endif #if !defined(skip_client_glStencilOp) && !defined(skip_index_glStencilOp) -void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) { +void glshim_glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) { glStencilOp_INDEXED packed_data; packed_data.func = glStencilOp_INDEX; packed_data.args.a1 = (GLenum)fail; @@ -3717,141 +4102,158 @@ void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) { packed_data.args.a3 = (GLenum)zpass; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) __attribute__((alias("glshim_glStencilOp"))); #endif #if !defined(skip_client_glTexCoord1d) && !defined(skip_index_glTexCoord1d) -void glTexCoord1d(GLdouble s) { +void glshim_glTexCoord1d(GLdouble s) { glTexCoord1d_INDEXED packed_data; packed_data.func = glTexCoord1d_INDEX; packed_data.args.a1 = (GLdouble)s; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord1d(GLdouble s) __attribute__((alias("glshim_glTexCoord1d"))); #endif #if !defined(skip_client_glTexCoord1dv) && !defined(skip_index_glTexCoord1dv) -void glTexCoord1dv(const GLdouble * v) { +void glshim_glTexCoord1dv(const GLdouble * v) { glTexCoord1dv_INDEXED packed_data; packed_data.func = glTexCoord1dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord1dv(const GLdouble * v) __attribute__((alias("glshim_glTexCoord1dv"))); #endif #if !defined(skip_client_glTexCoord1f) && !defined(skip_index_glTexCoord1f) -void glTexCoord1f(GLfloat s) { +void glshim_glTexCoord1f(GLfloat s) { glTexCoord1f_INDEXED packed_data; packed_data.func = glTexCoord1f_INDEX; packed_data.args.a1 = (GLfloat)s; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord1f(GLfloat s) __attribute__((alias("glshim_glTexCoord1f"))); #endif #if !defined(skip_client_glTexCoord1fv) && !defined(skip_index_glTexCoord1fv) -void glTexCoord1fv(const GLfloat * v) { +void glshim_glTexCoord1fv(const GLfloat * v) { glTexCoord1fv_INDEXED packed_data; packed_data.func = glTexCoord1fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord1fv(const GLfloat * v) __attribute__((alias("glshim_glTexCoord1fv"))); #endif #if !defined(skip_client_glTexCoord1i) && !defined(skip_index_glTexCoord1i) -void glTexCoord1i(GLint s) { +void glshim_glTexCoord1i(GLint s) { glTexCoord1i_INDEXED packed_data; packed_data.func = glTexCoord1i_INDEX; packed_data.args.a1 = (GLint)s; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord1i(GLint s) __attribute__((alias("glshim_glTexCoord1i"))); #endif #if !defined(skip_client_glTexCoord1iv) && !defined(skip_index_glTexCoord1iv) -void glTexCoord1iv(const GLint * v) { +void glshim_glTexCoord1iv(const GLint * v) { glTexCoord1iv_INDEXED packed_data; packed_data.func = glTexCoord1iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord1iv(const GLint * v) __attribute__((alias("glshim_glTexCoord1iv"))); #endif #if !defined(skip_client_glTexCoord1s) && !defined(skip_index_glTexCoord1s) -void glTexCoord1s(GLshort s) { +void glshim_glTexCoord1s(GLshort s) { glTexCoord1s_INDEXED packed_data; packed_data.func = glTexCoord1s_INDEX; packed_data.args.a1 = (GLshort)s; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord1s(GLshort s) __attribute__((alias("glshim_glTexCoord1s"))); #endif #if !defined(skip_client_glTexCoord1sv) && !defined(skip_index_glTexCoord1sv) -void glTexCoord1sv(const GLshort * v) { +void glshim_glTexCoord1sv(const GLshort * v) { glTexCoord1sv_INDEXED packed_data; packed_data.func = glTexCoord1sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord1sv(const GLshort * v) __attribute__((alias("glshim_glTexCoord1sv"))); #endif #if !defined(skip_client_glTexCoord2d) && !defined(skip_index_glTexCoord2d) -void glTexCoord2d(GLdouble s, GLdouble t) { +void glshim_glTexCoord2d(GLdouble s, GLdouble t) { glTexCoord2d_INDEXED packed_data; packed_data.func = glTexCoord2d_INDEX; packed_data.args.a1 = (GLdouble)s; packed_data.args.a2 = (GLdouble)t; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord2d(GLdouble s, GLdouble t) __attribute__((alias("glshim_glTexCoord2d"))); #endif #if !defined(skip_client_glTexCoord2dv) && !defined(skip_index_glTexCoord2dv) -void glTexCoord2dv(const GLdouble * v) { +void glshim_glTexCoord2dv(const GLdouble * v) { glTexCoord2dv_INDEXED packed_data; packed_data.func = glTexCoord2dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord2dv(const GLdouble * v) __attribute__((alias("glshim_glTexCoord2dv"))); #endif #if !defined(skip_client_glTexCoord2f) && !defined(skip_index_glTexCoord2f) -void glTexCoord2f(GLfloat s, GLfloat t) { +void glshim_glTexCoord2f(GLfloat s, GLfloat t) { glTexCoord2f_INDEXED packed_data; packed_data.func = glTexCoord2f_INDEX; packed_data.args.a1 = (GLfloat)s; packed_data.args.a2 = (GLfloat)t; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord2f(GLfloat s, GLfloat t) __attribute__((alias("glshim_glTexCoord2f"))); #endif #if !defined(skip_client_glTexCoord2fv) && !defined(skip_index_glTexCoord2fv) -void glTexCoord2fv(const GLfloat * v) { +void glshim_glTexCoord2fv(const GLfloat * v) { glTexCoord2fv_INDEXED packed_data; packed_data.func = glTexCoord2fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord2fv(const GLfloat * v) __attribute__((alias("glshim_glTexCoord2fv"))); #endif #if !defined(skip_client_glTexCoord2i) && !defined(skip_index_glTexCoord2i) -void glTexCoord2i(GLint s, GLint t) { +void glshim_glTexCoord2i(GLint s, GLint t) { glTexCoord2i_INDEXED packed_data; packed_data.func = glTexCoord2i_INDEX; packed_data.args.a1 = (GLint)s; packed_data.args.a2 = (GLint)t; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord2i(GLint s, GLint t) __attribute__((alias("glshim_glTexCoord2i"))); #endif #if !defined(skip_client_glTexCoord2iv) && !defined(skip_index_glTexCoord2iv) -void glTexCoord2iv(const GLint * v) { +void glshim_glTexCoord2iv(const GLint * v) { glTexCoord2iv_INDEXED packed_data; packed_data.func = glTexCoord2iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord2iv(const GLint * v) __attribute__((alias("glshim_glTexCoord2iv"))); #endif #if !defined(skip_client_glTexCoord2s) && !defined(skip_index_glTexCoord2s) -void glTexCoord2s(GLshort s, GLshort t) { +void glshim_glTexCoord2s(GLshort s, GLshort t) { glTexCoord2s_INDEXED packed_data; packed_data.func = glTexCoord2s_INDEX; packed_data.args.a1 = (GLshort)s; packed_data.args.a2 = (GLshort)t; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord2s(GLshort s, GLshort t) __attribute__((alias("glshim_glTexCoord2s"))); #endif #if !defined(skip_client_glTexCoord2sv) && !defined(skip_index_glTexCoord2sv) -void glTexCoord2sv(const GLshort * v) { +void glshim_glTexCoord2sv(const GLshort * v) { glTexCoord2sv_INDEXED packed_data; packed_data.func = glTexCoord2sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord2sv(const GLshort * v) __attribute__((alias("glshim_glTexCoord2sv"))); #endif #if !defined(skip_client_glTexCoord3d) && !defined(skip_index_glTexCoord3d) -void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) { +void glshim_glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) { glTexCoord3d_INDEXED packed_data; packed_data.func = glTexCoord3d_INDEX; packed_data.args.a1 = (GLdouble)s; @@ -3859,17 +4261,19 @@ void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) { packed_data.args.a3 = (GLdouble)r; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) __attribute__((alias("glshim_glTexCoord3d"))); #endif #if !defined(skip_client_glTexCoord3dv) && !defined(skip_index_glTexCoord3dv) -void glTexCoord3dv(const GLdouble * v) { +void glshim_glTexCoord3dv(const GLdouble * v) { glTexCoord3dv_INDEXED packed_data; packed_data.func = glTexCoord3dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord3dv(const GLdouble * v) __attribute__((alias("glshim_glTexCoord3dv"))); #endif #if !defined(skip_client_glTexCoord3f) && !defined(skip_index_glTexCoord3f) -void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) { +void glshim_glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) { glTexCoord3f_INDEXED packed_data; packed_data.func = glTexCoord3f_INDEX; packed_data.args.a1 = (GLfloat)s; @@ -3877,17 +4281,19 @@ void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) { packed_data.args.a3 = (GLfloat)r; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) __attribute__((alias("glshim_glTexCoord3f"))); #endif #if !defined(skip_client_glTexCoord3fv) && !defined(skip_index_glTexCoord3fv) -void glTexCoord3fv(const GLfloat * v) { +void glshim_glTexCoord3fv(const GLfloat * v) { glTexCoord3fv_INDEXED packed_data; packed_data.func = glTexCoord3fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord3fv(const GLfloat * v) __attribute__((alias("glshim_glTexCoord3fv"))); #endif #if !defined(skip_client_glTexCoord3i) && !defined(skip_index_glTexCoord3i) -void glTexCoord3i(GLint s, GLint t, GLint r) { +void glshim_glTexCoord3i(GLint s, GLint t, GLint r) { glTexCoord3i_INDEXED packed_data; packed_data.func = glTexCoord3i_INDEX; packed_data.args.a1 = (GLint)s; @@ -3895,17 +4301,19 @@ void glTexCoord3i(GLint s, GLint t, GLint r) { packed_data.args.a3 = (GLint)r; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord3i(GLint s, GLint t, GLint r) __attribute__((alias("glshim_glTexCoord3i"))); #endif #if !defined(skip_client_glTexCoord3iv) && !defined(skip_index_glTexCoord3iv) -void glTexCoord3iv(const GLint * v) { +void glshim_glTexCoord3iv(const GLint * v) { glTexCoord3iv_INDEXED packed_data; packed_data.func = glTexCoord3iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord3iv(const GLint * v) __attribute__((alias("glshim_glTexCoord3iv"))); #endif #if !defined(skip_client_glTexCoord3s) && !defined(skip_index_glTexCoord3s) -void glTexCoord3s(GLshort s, GLshort t, GLshort r) { +void glshim_glTexCoord3s(GLshort s, GLshort t, GLshort r) { glTexCoord3s_INDEXED packed_data; packed_data.func = glTexCoord3s_INDEX; packed_data.args.a1 = (GLshort)s; @@ -3913,17 +4321,19 @@ void glTexCoord3s(GLshort s, GLshort t, GLshort r) { packed_data.args.a3 = (GLshort)r; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord3s(GLshort s, GLshort t, GLshort r) __attribute__((alias("glshim_glTexCoord3s"))); #endif #if !defined(skip_client_glTexCoord3sv) && !defined(skip_index_glTexCoord3sv) -void glTexCoord3sv(const GLshort * v) { +void glshim_glTexCoord3sv(const GLshort * v) { glTexCoord3sv_INDEXED packed_data; packed_data.func = glTexCoord3sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord3sv(const GLshort * v) __attribute__((alias("glshim_glTexCoord3sv"))); #endif #if !defined(skip_client_glTexCoord4d) && !defined(skip_index_glTexCoord4d) -void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q) { +void glshim_glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q) { glTexCoord4d_INDEXED packed_data; packed_data.func = glTexCoord4d_INDEX; packed_data.args.a1 = (GLdouble)s; @@ -3932,17 +4342,19 @@ void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q) { packed_data.args.a4 = (GLdouble)q; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q) __attribute__((alias("glshim_glTexCoord4d"))); #endif #if !defined(skip_client_glTexCoord4dv) && !defined(skip_index_glTexCoord4dv) -void glTexCoord4dv(const GLdouble * v) { +void glshim_glTexCoord4dv(const GLdouble * v) { glTexCoord4dv_INDEXED packed_data; packed_data.func = glTexCoord4dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord4dv(const GLdouble * v) __attribute__((alias("glshim_glTexCoord4dv"))); #endif #if !defined(skip_client_glTexCoord4f) && !defined(skip_index_glTexCoord4f) -void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q) { +void glshim_glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q) { glTexCoord4f_INDEXED packed_data; packed_data.func = glTexCoord4f_INDEX; packed_data.args.a1 = (GLfloat)s; @@ -3951,17 +4363,19 @@ void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q) { packed_data.args.a4 = (GLfloat)q; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q) __attribute__((alias("glshim_glTexCoord4f"))); #endif #if !defined(skip_client_glTexCoord4fv) && !defined(skip_index_glTexCoord4fv) -void glTexCoord4fv(const GLfloat * v) { +void glshim_glTexCoord4fv(const GLfloat * v) { glTexCoord4fv_INDEXED packed_data; packed_data.func = glTexCoord4fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord4fv(const GLfloat * v) __attribute__((alias("glshim_glTexCoord4fv"))); #endif #if !defined(skip_client_glTexCoord4i) && !defined(skip_index_glTexCoord4i) -void glTexCoord4i(GLint s, GLint t, GLint r, GLint q) { +void glshim_glTexCoord4i(GLint s, GLint t, GLint r, GLint q) { glTexCoord4i_INDEXED packed_data; packed_data.func = glTexCoord4i_INDEX; packed_data.args.a1 = (GLint)s; @@ -3970,17 +4384,19 @@ void glTexCoord4i(GLint s, GLint t, GLint r, GLint q) { packed_data.args.a4 = (GLint)q; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord4i(GLint s, GLint t, GLint r, GLint q) __attribute__((alias("glshim_glTexCoord4i"))); #endif #if !defined(skip_client_glTexCoord4iv) && !defined(skip_index_glTexCoord4iv) -void glTexCoord4iv(const GLint * v) { +void glshim_glTexCoord4iv(const GLint * v) { glTexCoord4iv_INDEXED packed_data; packed_data.func = glTexCoord4iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord4iv(const GLint * v) __attribute__((alias("glshim_glTexCoord4iv"))); #endif #if !defined(skip_client_glTexCoord4s) && !defined(skip_index_glTexCoord4s) -void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q) { +void glshim_glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q) { glTexCoord4s_INDEXED packed_data; packed_data.func = glTexCoord4s_INDEX; packed_data.args.a1 = (GLshort)s; @@ -3989,17 +4405,19 @@ void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q) { packed_data.args.a4 = (GLshort)q; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q) __attribute__((alias("glshim_glTexCoord4s"))); #endif #if !defined(skip_client_glTexCoord4sv) && !defined(skip_index_glTexCoord4sv) -void glTexCoord4sv(const GLshort * v) { +void glshim_glTexCoord4sv(const GLshort * v) { glTexCoord4sv_INDEXED packed_data; packed_data.func = glTexCoord4sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoord4sv(const GLshort * v) __attribute__((alias("glshim_glTexCoord4sv"))); #endif #if !defined(skip_client_glTexCoordPointer) && !defined(skip_index_glTexCoordPointer) -void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { +void glshim_glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { glTexCoordPointer_INDEXED packed_data; packed_data.func = glTexCoordPointer_INDEX; packed_data.args.a1 = (GLint)size; @@ -4008,9 +4426,10 @@ void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * p packed_data.args.a4 = (GLvoid *)pointer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glTexCoordPointer"))); #endif #if !defined(skip_client_glTexEnvf) && !defined(skip_index_glTexEnvf) -void glTexEnvf(GLenum target, GLenum pname, GLfloat param) { +void glshim_glTexEnvf(GLenum target, GLenum pname, GLfloat param) { glTexEnvf_INDEXED packed_data; packed_data.func = glTexEnvf_INDEX; packed_data.args.a1 = (GLenum)target; @@ -4018,9 +4437,10 @@ void glTexEnvf(GLenum target, GLenum pname, GLfloat param) { packed_data.args.a3 = (GLfloat)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexEnvf(GLenum target, GLenum pname, GLfloat param) __attribute__((alias("glshim_glTexEnvf"))); #endif #if !defined(skip_client_glTexEnvfv) && !defined(skip_index_glTexEnvfv) -void glTexEnvfv(GLenum target, GLenum pname, const GLfloat * params) { +void glshim_glTexEnvfv(GLenum target, GLenum pname, const GLfloat * params) { glTexEnvfv_INDEXED packed_data; packed_data.func = glTexEnvfv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -4028,9 +4448,10 @@ void glTexEnvfv(GLenum target, GLenum pname, const GLfloat * params) { packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexEnvfv(GLenum target, GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glTexEnvfv"))); #endif #if !defined(skip_client_glTexEnvi) && !defined(skip_index_glTexEnvi) -void glTexEnvi(GLenum target, GLenum pname, GLint param) { +void glshim_glTexEnvi(GLenum target, GLenum pname, GLint param) { glTexEnvi_INDEXED packed_data; packed_data.func = glTexEnvi_INDEX; packed_data.args.a1 = (GLenum)target; @@ -4038,9 +4459,10 @@ void glTexEnvi(GLenum target, GLenum pname, GLint param) { packed_data.args.a3 = (GLint)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexEnvi(GLenum target, GLenum pname, GLint param) __attribute__((alias("glshim_glTexEnvi"))); #endif #if !defined(skip_client_glTexEnviv) && !defined(skip_index_glTexEnviv) -void glTexEnviv(GLenum target, GLenum pname, const GLint * params) { +void glshim_glTexEnviv(GLenum target, GLenum pname, const GLint * params) { glTexEnviv_INDEXED packed_data; packed_data.func = glTexEnviv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -4048,9 +4470,10 @@ void glTexEnviv(GLenum target, GLenum pname, const GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexEnviv(GLenum target, GLenum pname, const GLint * params) __attribute__((alias("glshim_glTexEnviv"))); #endif #if !defined(skip_client_glTexGend) && !defined(skip_index_glTexGend) -void glTexGend(GLenum coord, GLenum pname, GLdouble param) { +void glshim_glTexGend(GLenum coord, GLenum pname, GLdouble param) { glTexGend_INDEXED packed_data; packed_data.func = glTexGend_INDEX; packed_data.args.a1 = (GLenum)coord; @@ -4058,9 +4481,10 @@ void glTexGend(GLenum coord, GLenum pname, GLdouble param) { packed_data.args.a3 = (GLdouble)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexGend(GLenum coord, GLenum pname, GLdouble param) __attribute__((alias("glshim_glTexGend"))); #endif #if !defined(skip_client_glTexGendv) && !defined(skip_index_glTexGendv) -void glTexGendv(GLenum coord, GLenum pname, const GLdouble * params) { +void glshim_glTexGendv(GLenum coord, GLenum pname, const GLdouble * params) { glTexGendv_INDEXED packed_data; packed_data.func = glTexGendv_INDEX; packed_data.args.a1 = (GLenum)coord; @@ -4068,9 +4492,10 @@ void glTexGendv(GLenum coord, GLenum pname, const GLdouble * params) { packed_data.args.a3 = (GLdouble *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexGendv(GLenum coord, GLenum pname, const GLdouble * params) __attribute__((alias("glshim_glTexGendv"))); #endif #if !defined(skip_client_glTexGenf) && !defined(skip_index_glTexGenf) -void glTexGenf(GLenum coord, GLenum pname, GLfloat param) { +void glshim_glTexGenf(GLenum coord, GLenum pname, GLfloat param) { glTexGenf_INDEXED packed_data; packed_data.func = glTexGenf_INDEX; packed_data.args.a1 = (GLenum)coord; @@ -4078,9 +4503,10 @@ void glTexGenf(GLenum coord, GLenum pname, GLfloat param) { packed_data.args.a3 = (GLfloat)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexGenf(GLenum coord, GLenum pname, GLfloat param) __attribute__((alias("glshim_glTexGenf"))); #endif #if !defined(skip_client_glTexGenfv) && !defined(skip_index_glTexGenfv) -void glTexGenfv(GLenum coord, GLenum pname, const GLfloat * params) { +void glshim_glTexGenfv(GLenum coord, GLenum pname, const GLfloat * params) { glTexGenfv_INDEXED packed_data; packed_data.func = glTexGenfv_INDEX; packed_data.args.a1 = (GLenum)coord; @@ -4088,9 +4514,10 @@ void glTexGenfv(GLenum coord, GLenum pname, const GLfloat * params) { packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexGenfv(GLenum coord, GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glTexGenfv"))); #endif #if !defined(skip_client_glTexGeni) && !defined(skip_index_glTexGeni) -void glTexGeni(GLenum coord, GLenum pname, GLint param) { +void glshim_glTexGeni(GLenum coord, GLenum pname, GLint param) { glTexGeni_INDEXED packed_data; packed_data.func = glTexGeni_INDEX; packed_data.args.a1 = (GLenum)coord; @@ -4098,9 +4525,10 @@ void glTexGeni(GLenum coord, GLenum pname, GLint param) { packed_data.args.a3 = (GLint)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexGeni(GLenum coord, GLenum pname, GLint param) __attribute__((alias("glshim_glTexGeni"))); #endif #if !defined(skip_client_glTexGeniv) && !defined(skip_index_glTexGeniv) -void glTexGeniv(GLenum coord, GLenum pname, const GLint * params) { +void glshim_glTexGeniv(GLenum coord, GLenum pname, const GLint * params) { glTexGeniv_INDEXED packed_data; packed_data.func = glTexGeniv_INDEX; packed_data.args.a1 = (GLenum)coord; @@ -4108,9 +4536,10 @@ void glTexGeniv(GLenum coord, GLenum pname, const GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexGeniv(GLenum coord, GLenum pname, const GLint * params) __attribute__((alias("glshim_glTexGeniv"))); #endif #if !defined(skip_client_glTexImage1D) && !defined(skip_index_glTexImage1D) -void glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid * pixels) { +void glshim_glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid * pixels) { glTexImage1D_INDEXED packed_data; packed_data.func = glTexImage1D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -4123,9 +4552,10 @@ void glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei widt packed_data.args.a8 = (GLvoid *)pixels; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid * pixels) __attribute__((alias("glshim_glTexImage1D"))); #endif #if !defined(skip_client_glTexImage2D) && !defined(skip_index_glTexImage2D) -void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels) { +void glshim_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels) { glTexImage2D_INDEXED packed_data; packed_data.func = glTexImage2D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -4139,9 +4569,10 @@ void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei widt packed_data.args.a9 = (GLvoid *)pixels; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels) __attribute__((alias("glshim_glTexImage2D"))); #endif #if !defined(skip_client_glTexImage3D) && !defined(skip_index_glTexImage3D) -void glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels) { +void glshim_glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels) { glTexImage3D_INDEXED packed_data; packed_data.func = glTexImage3D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -4156,9 +4587,10 @@ void glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei widt packed_data.args.a10 = (GLvoid *)pixels; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * pixels) __attribute__((alias("glshim_glTexImage3D"))); #endif #if !defined(skip_client_glTexParameterf) && !defined(skip_index_glTexParameterf) -void glTexParameterf(GLenum target, GLenum pname, GLfloat param) { +void glshim_glTexParameterf(GLenum target, GLenum pname, GLfloat param) { glTexParameterf_INDEXED packed_data; packed_data.func = glTexParameterf_INDEX; packed_data.args.a1 = (GLenum)target; @@ -4166,9 +4598,10 @@ void glTexParameterf(GLenum target, GLenum pname, GLfloat param) { packed_data.args.a3 = (GLfloat)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexParameterf(GLenum target, GLenum pname, GLfloat param) __attribute__((alias("glshim_glTexParameterf"))); #endif #if !defined(skip_client_glTexParameterfv) && !defined(skip_index_glTexParameterfv) -void glTexParameterfv(GLenum target, GLenum pname, const GLfloat * params) { +void glshim_glTexParameterfv(GLenum target, GLenum pname, const GLfloat * params) { glTexParameterfv_INDEXED packed_data; packed_data.func = glTexParameterfv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -4176,9 +4609,10 @@ void glTexParameterfv(GLenum target, GLenum pname, const GLfloat * params) { packed_data.args.a3 = (GLfloat *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexParameterfv(GLenum target, GLenum pname, const GLfloat * params) __attribute__((alias("glshim_glTexParameterfv"))); #endif #if !defined(skip_client_glTexParameteri) && !defined(skip_index_glTexParameteri) -void glTexParameteri(GLenum target, GLenum pname, GLint param) { +void glshim_glTexParameteri(GLenum target, GLenum pname, GLint param) { glTexParameteri_INDEXED packed_data; packed_data.func = glTexParameteri_INDEX; packed_data.args.a1 = (GLenum)target; @@ -4186,9 +4620,10 @@ void glTexParameteri(GLenum target, GLenum pname, GLint param) { packed_data.args.a3 = (GLint)param; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexParameteri(GLenum target, GLenum pname, GLint param) __attribute__((alias("glshim_glTexParameteri"))); #endif #if !defined(skip_client_glTexParameteriv) && !defined(skip_index_glTexParameteriv) -void glTexParameteriv(GLenum target, GLenum pname, const GLint * params) { +void glshim_glTexParameteriv(GLenum target, GLenum pname, const GLint * params) { glTexParameteriv_INDEXED packed_data; packed_data.func = glTexParameteriv_INDEX; packed_data.args.a1 = (GLenum)target; @@ -4196,9 +4631,10 @@ void glTexParameteriv(GLenum target, GLenum pname, const GLint * params) { packed_data.args.a3 = (GLint *)params; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexParameteriv(GLenum target, GLenum pname, const GLint * params) __attribute__((alias("glshim_glTexParameteriv"))); #endif #if !defined(skip_client_glTexSubImage1D) && !defined(skip_index_glTexSubImage1D) -void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid * pixels) { +void glshim_glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid * pixels) { glTexSubImage1D_INDEXED packed_data; packed_data.func = glTexSubImage1D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -4210,9 +4646,10 @@ void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, G packed_data.args.a7 = (GLvoid *)pixels; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid * pixels) __attribute__((alias("glshim_glTexSubImage1D"))); #endif #if !defined(skip_client_glTexSubImage2D) && !defined(skip_index_glTexSubImage2D) -void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) { +void glshim_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) { glTexSubImage2D_INDEXED packed_data; packed_data.func = glTexSubImage2D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -4226,9 +4663,10 @@ void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, G packed_data.args.a9 = (GLvoid *)pixels; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) __attribute__((alias("glshim_glTexSubImage2D"))); #endif #if !defined(skip_client_glTexSubImage3D) && !defined(skip_index_glTexSubImage3D) -void glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels) { +void glshim_glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels) { glTexSubImage3D_INDEXED packed_data; packed_data.func = glTexSubImage3D_INDEX; packed_data.args.a1 = (GLenum)target; @@ -4244,9 +4682,10 @@ void glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, G packed_data.args.a11 = (GLvoid *)pixels; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels) __attribute__((alias("glshim_glTexSubImage3D"))); #endif #if !defined(skip_client_glTranslated) && !defined(skip_index_glTranslated) -void glTranslated(GLdouble x, GLdouble y, GLdouble z) { +void glshim_glTranslated(GLdouble x, GLdouble y, GLdouble z) { glTranslated_INDEXED packed_data; packed_data.func = glTranslated_INDEX; packed_data.args.a1 = (GLdouble)x; @@ -4254,9 +4693,10 @@ void glTranslated(GLdouble x, GLdouble y, GLdouble z) { packed_data.args.a3 = (GLdouble)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTranslated(GLdouble x, GLdouble y, GLdouble z) __attribute__((alias("glshim_glTranslated"))); #endif #if !defined(skip_client_glTranslatef) && !defined(skip_index_glTranslatef) -void glTranslatef(GLfloat x, GLfloat y, GLfloat z) { +void glshim_glTranslatef(GLfloat x, GLfloat y, GLfloat z) { glTranslatef_INDEXED packed_data; packed_data.func = glTranslatef_INDEX; packed_data.args.a1 = (GLfloat)x; @@ -4264,9 +4704,10 @@ void glTranslatef(GLfloat x, GLfloat y, GLfloat z) { packed_data.args.a3 = (GLfloat)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glTranslatef(GLfloat x, GLfloat y, GLfloat z) __attribute__((alias("glshim_glTranslatef"))); #endif #if !defined(skip_client_glUnmapBuffer) && !defined(skip_index_glUnmapBuffer) -GLboolean glUnmapBuffer(GLenum target) { +GLboolean glshim_glUnmapBuffer(GLenum target) { glUnmapBuffer_INDEXED packed_data; packed_data.func = glUnmapBuffer_INDEX; packed_data.args.a1 = (GLenum)target; @@ -4274,77 +4715,86 @@ GLboolean glUnmapBuffer(GLenum target) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLboolean glUnmapBuffer(GLenum target) __attribute__((alias("glshim_glUnmapBuffer"))); #endif #if !defined(skip_client_glVertex2d) && !defined(skip_index_glVertex2d) -void glVertex2d(GLdouble x, GLdouble y) { +void glshim_glVertex2d(GLdouble x, GLdouble y) { glVertex2d_INDEXED packed_data; packed_data.func = glVertex2d_INDEX; packed_data.args.a1 = (GLdouble)x; packed_data.args.a2 = (GLdouble)y; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex2d(GLdouble x, GLdouble y) __attribute__((alias("glshim_glVertex2d"))); #endif #if !defined(skip_client_glVertex2dv) && !defined(skip_index_glVertex2dv) -void glVertex2dv(const GLdouble * v) { +void glshim_glVertex2dv(const GLdouble * v) { glVertex2dv_INDEXED packed_data; packed_data.func = glVertex2dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex2dv(const GLdouble * v) __attribute__((alias("glshim_glVertex2dv"))); #endif #if !defined(skip_client_glVertex2f) && !defined(skip_index_glVertex2f) -void glVertex2f(GLfloat x, GLfloat y) { +void glshim_glVertex2f(GLfloat x, GLfloat y) { glVertex2f_INDEXED packed_data; packed_data.func = glVertex2f_INDEX; packed_data.args.a1 = (GLfloat)x; packed_data.args.a2 = (GLfloat)y; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex2f(GLfloat x, GLfloat y) __attribute__((alias("glshim_glVertex2f"))); #endif #if !defined(skip_client_glVertex2fv) && !defined(skip_index_glVertex2fv) -void glVertex2fv(const GLfloat * v) { +void glshim_glVertex2fv(const GLfloat * v) { glVertex2fv_INDEXED packed_data; packed_data.func = glVertex2fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex2fv(const GLfloat * v) __attribute__((alias("glshim_glVertex2fv"))); #endif #if !defined(skip_client_glVertex2i) && !defined(skip_index_glVertex2i) -void glVertex2i(GLint x, GLint y) { +void glshim_glVertex2i(GLint x, GLint y) { glVertex2i_INDEXED packed_data; packed_data.func = glVertex2i_INDEX; packed_data.args.a1 = (GLint)x; packed_data.args.a2 = (GLint)y; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex2i(GLint x, GLint y) __attribute__((alias("glshim_glVertex2i"))); #endif #if !defined(skip_client_glVertex2iv) && !defined(skip_index_glVertex2iv) -void glVertex2iv(const GLint * v) { +void glshim_glVertex2iv(const GLint * v) { glVertex2iv_INDEXED packed_data; packed_data.func = glVertex2iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex2iv(const GLint * v) __attribute__((alias("glshim_glVertex2iv"))); #endif #if !defined(skip_client_glVertex2s) && !defined(skip_index_glVertex2s) -void glVertex2s(GLshort x, GLshort y) { +void glshim_glVertex2s(GLshort x, GLshort y) { glVertex2s_INDEXED packed_data; packed_data.func = glVertex2s_INDEX; packed_data.args.a1 = (GLshort)x; packed_data.args.a2 = (GLshort)y; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex2s(GLshort x, GLshort y) __attribute__((alias("glshim_glVertex2s"))); #endif #if !defined(skip_client_glVertex2sv) && !defined(skip_index_glVertex2sv) -void glVertex2sv(const GLshort * v) { +void glshim_glVertex2sv(const GLshort * v) { glVertex2sv_INDEXED packed_data; packed_data.func = glVertex2sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex2sv(const GLshort * v) __attribute__((alias("glshim_glVertex2sv"))); #endif #if !defined(skip_client_glVertex3d) && !defined(skip_index_glVertex3d) -void glVertex3d(GLdouble x, GLdouble y, GLdouble z) { +void glshim_glVertex3d(GLdouble x, GLdouble y, GLdouble z) { glVertex3d_INDEXED packed_data; packed_data.func = glVertex3d_INDEX; packed_data.args.a1 = (GLdouble)x; @@ -4352,17 +4802,19 @@ void glVertex3d(GLdouble x, GLdouble y, GLdouble z) { packed_data.args.a3 = (GLdouble)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex3d(GLdouble x, GLdouble y, GLdouble z) __attribute__((alias("glshim_glVertex3d"))); #endif #if !defined(skip_client_glVertex3dv) && !defined(skip_index_glVertex3dv) -void glVertex3dv(const GLdouble * v) { +void glshim_glVertex3dv(const GLdouble * v) { glVertex3dv_INDEXED packed_data; packed_data.func = glVertex3dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex3dv(const GLdouble * v) __attribute__((alias("glshim_glVertex3dv"))); #endif #if !defined(skip_client_glVertex3f) && !defined(skip_index_glVertex3f) -void glVertex3f(GLfloat x, GLfloat y, GLfloat z) { +void glshim_glVertex3f(GLfloat x, GLfloat y, GLfloat z) { glVertex3f_INDEXED packed_data; packed_data.func = glVertex3f_INDEX; packed_data.args.a1 = (GLfloat)x; @@ -4370,17 +4822,19 @@ void glVertex3f(GLfloat x, GLfloat y, GLfloat z) { packed_data.args.a3 = (GLfloat)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex3f(GLfloat x, GLfloat y, GLfloat z) __attribute__((alias("glshim_glVertex3f"))); #endif #if !defined(skip_client_glVertex3fv) && !defined(skip_index_glVertex3fv) -void glVertex3fv(const GLfloat * v) { +void glshim_glVertex3fv(const GLfloat * v) { glVertex3fv_INDEXED packed_data; packed_data.func = glVertex3fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex3fv(const GLfloat * v) __attribute__((alias("glshim_glVertex3fv"))); #endif #if !defined(skip_client_glVertex3i) && !defined(skip_index_glVertex3i) -void glVertex3i(GLint x, GLint y, GLint z) { +void glshim_glVertex3i(GLint x, GLint y, GLint z) { glVertex3i_INDEXED packed_data; packed_data.func = glVertex3i_INDEX; packed_data.args.a1 = (GLint)x; @@ -4388,17 +4842,19 @@ void glVertex3i(GLint x, GLint y, GLint z) { packed_data.args.a3 = (GLint)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex3i(GLint x, GLint y, GLint z) __attribute__((alias("glshim_glVertex3i"))); #endif #if !defined(skip_client_glVertex3iv) && !defined(skip_index_glVertex3iv) -void glVertex3iv(const GLint * v) { +void glshim_glVertex3iv(const GLint * v) { glVertex3iv_INDEXED packed_data; packed_data.func = glVertex3iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex3iv(const GLint * v) __attribute__((alias("glshim_glVertex3iv"))); #endif #if !defined(skip_client_glVertex3s) && !defined(skip_index_glVertex3s) -void glVertex3s(GLshort x, GLshort y, GLshort z) { +void glshim_glVertex3s(GLshort x, GLshort y, GLshort z) { glVertex3s_INDEXED packed_data; packed_data.func = glVertex3s_INDEX; packed_data.args.a1 = (GLshort)x; @@ -4406,17 +4862,19 @@ void glVertex3s(GLshort x, GLshort y, GLshort z) { packed_data.args.a3 = (GLshort)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex3s(GLshort x, GLshort y, GLshort z) __attribute__((alias("glshim_glVertex3s"))); #endif #if !defined(skip_client_glVertex3sv) && !defined(skip_index_glVertex3sv) -void glVertex3sv(const GLshort * v) { +void glshim_glVertex3sv(const GLshort * v) { glVertex3sv_INDEXED packed_data; packed_data.func = glVertex3sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex3sv(const GLshort * v) __attribute__((alias("glshim_glVertex3sv"))); #endif #if !defined(skip_client_glVertex4d) && !defined(skip_index_glVertex4d) -void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) { +void glshim_glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) { glVertex4d_INDEXED packed_data; packed_data.func = glVertex4d_INDEX; packed_data.args.a1 = (GLdouble)x; @@ -4425,17 +4883,19 @@ void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) { packed_data.args.a4 = (GLdouble)w; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) __attribute__((alias("glshim_glVertex4d"))); #endif #if !defined(skip_client_glVertex4dv) && !defined(skip_index_glVertex4dv) -void glVertex4dv(const GLdouble * v) { +void glshim_glVertex4dv(const GLdouble * v) { glVertex4dv_INDEXED packed_data; packed_data.func = glVertex4dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex4dv(const GLdouble * v) __attribute__((alias("glshim_glVertex4dv"))); #endif #if !defined(skip_client_glVertex4f) && !defined(skip_index_glVertex4f) -void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { +void glshim_glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { glVertex4f_INDEXED packed_data; packed_data.func = glVertex4f_INDEX; packed_data.args.a1 = (GLfloat)x; @@ -4444,17 +4904,19 @@ void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) { packed_data.args.a4 = (GLfloat)w; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) __attribute__((alias("glshim_glVertex4f"))); #endif #if !defined(skip_client_glVertex4fv) && !defined(skip_index_glVertex4fv) -void glVertex4fv(const GLfloat * v) { +void glshim_glVertex4fv(const GLfloat * v) { glVertex4fv_INDEXED packed_data; packed_data.func = glVertex4fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex4fv(const GLfloat * v) __attribute__((alias("glshim_glVertex4fv"))); #endif #if !defined(skip_client_glVertex4i) && !defined(skip_index_glVertex4i) -void glVertex4i(GLint x, GLint y, GLint z, GLint w) { +void glshim_glVertex4i(GLint x, GLint y, GLint z, GLint w) { glVertex4i_INDEXED packed_data; packed_data.func = glVertex4i_INDEX; packed_data.args.a1 = (GLint)x; @@ -4463,17 +4925,19 @@ void glVertex4i(GLint x, GLint y, GLint z, GLint w) { packed_data.args.a4 = (GLint)w; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex4i(GLint x, GLint y, GLint z, GLint w) __attribute__((alias("glshim_glVertex4i"))); #endif #if !defined(skip_client_glVertex4iv) && !defined(skip_index_glVertex4iv) -void glVertex4iv(const GLint * v) { +void glshim_glVertex4iv(const GLint * v) { glVertex4iv_INDEXED packed_data; packed_data.func = glVertex4iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex4iv(const GLint * v) __attribute__((alias("glshim_glVertex4iv"))); #endif #if !defined(skip_client_glVertex4s) && !defined(skip_index_glVertex4s) -void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w) { +void glshim_glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w) { glVertex4s_INDEXED packed_data; packed_data.func = glVertex4s_INDEX; packed_data.args.a1 = (GLshort)x; @@ -4482,17 +4946,19 @@ void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w) { packed_data.args.a4 = (GLshort)w; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w) __attribute__((alias("glshim_glVertex4s"))); #endif #if !defined(skip_client_glVertex4sv) && !defined(skip_index_glVertex4sv) -void glVertex4sv(const GLshort * v) { +void glshim_glVertex4sv(const GLshort * v) { glVertex4sv_INDEXED packed_data; packed_data.func = glVertex4sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertex4sv(const GLshort * v) __attribute__((alias("glshim_glVertex4sv"))); #endif #if !defined(skip_client_glVertexPointer) && !defined(skip_index_glVertexPointer) -void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { +void glshim_glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { glVertexPointer_INDEXED packed_data; packed_data.func = glVertexPointer_INDEX; packed_data.args.a1 = (GLint)size; @@ -4501,9 +4967,10 @@ void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * poi packed_data.args.a4 = (GLvoid *)pointer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) __attribute__((alias("glshim_glVertexPointer"))); #endif #if !defined(skip_client_glViewport) && !defined(skip_index_glViewport) -void glViewport(GLint x, GLint y, GLsizei width, GLsizei height) { +void glshim_glViewport(GLint x, GLint y, GLsizei width, GLsizei height) { glViewport_INDEXED packed_data; packed_data.func = glViewport_INDEX; packed_data.args.a1 = (GLint)x; @@ -4512,77 +4979,86 @@ void glViewport(GLint x, GLint y, GLsizei width, GLsizei height) { packed_data.args.a4 = (GLsizei)height; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glViewport(GLint x, GLint y, GLsizei width, GLsizei height) __attribute__((alias("glshim_glViewport"))); #endif #if !defined(skip_client_glWindowPos2d) && !defined(skip_index_glWindowPos2d) -void glWindowPos2d(GLdouble x, GLdouble y) { +void glshim_glWindowPos2d(GLdouble x, GLdouble y) { glWindowPos2d_INDEXED packed_data; packed_data.func = glWindowPos2d_INDEX; packed_data.args.a1 = (GLdouble)x; packed_data.args.a2 = (GLdouble)y; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos2d(GLdouble x, GLdouble y) __attribute__((alias("glshim_glWindowPos2d"))); #endif #if !defined(skip_client_glWindowPos2dv) && !defined(skip_index_glWindowPos2dv) -void glWindowPos2dv(const GLdouble * v) { +void glshim_glWindowPos2dv(const GLdouble * v) { glWindowPos2dv_INDEXED packed_data; packed_data.func = glWindowPos2dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos2dv(const GLdouble * v) __attribute__((alias("glshim_glWindowPos2dv"))); #endif #if !defined(skip_client_glWindowPos2f) && !defined(skip_index_glWindowPos2f) -void glWindowPos2f(GLfloat x, GLfloat y) { +void glshim_glWindowPos2f(GLfloat x, GLfloat y) { glWindowPos2f_INDEXED packed_data; packed_data.func = glWindowPos2f_INDEX; packed_data.args.a1 = (GLfloat)x; packed_data.args.a2 = (GLfloat)y; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos2f(GLfloat x, GLfloat y) __attribute__((alias("glshim_glWindowPos2f"))); #endif #if !defined(skip_client_glWindowPos2fv) && !defined(skip_index_glWindowPos2fv) -void glWindowPos2fv(const GLfloat * v) { +void glshim_glWindowPos2fv(const GLfloat * v) { glWindowPos2fv_INDEXED packed_data; packed_data.func = glWindowPos2fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos2fv(const GLfloat * v) __attribute__((alias("glshim_glWindowPos2fv"))); #endif #if !defined(skip_client_glWindowPos2i) && !defined(skip_index_glWindowPos2i) -void glWindowPos2i(GLint x, GLint y) { +void glshim_glWindowPos2i(GLint x, GLint y) { glWindowPos2i_INDEXED packed_data; packed_data.func = glWindowPos2i_INDEX; packed_data.args.a1 = (GLint)x; packed_data.args.a2 = (GLint)y; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos2i(GLint x, GLint y) __attribute__((alias("glshim_glWindowPos2i"))); #endif #if !defined(skip_client_glWindowPos2iv) && !defined(skip_index_glWindowPos2iv) -void glWindowPos2iv(const GLint * v) { +void glshim_glWindowPos2iv(const GLint * v) { glWindowPos2iv_INDEXED packed_data; packed_data.func = glWindowPos2iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos2iv(const GLint * v) __attribute__((alias("glshim_glWindowPos2iv"))); #endif #if !defined(skip_client_glWindowPos2s) && !defined(skip_index_glWindowPos2s) -void glWindowPos2s(GLshort x, GLshort y) { +void glshim_glWindowPos2s(GLshort x, GLshort y) { glWindowPos2s_INDEXED packed_data; packed_data.func = glWindowPos2s_INDEX; packed_data.args.a1 = (GLshort)x; packed_data.args.a2 = (GLshort)y; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos2s(GLshort x, GLshort y) __attribute__((alias("glshim_glWindowPos2s"))); #endif #if !defined(skip_client_glWindowPos2sv) && !defined(skip_index_glWindowPos2sv) -void glWindowPos2sv(const GLshort * v) { +void glshim_glWindowPos2sv(const GLshort * v) { glWindowPos2sv_INDEXED packed_data; packed_data.func = glWindowPos2sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos2sv(const GLshort * v) __attribute__((alias("glshim_glWindowPos2sv"))); #endif #if !defined(skip_client_glWindowPos3d) && !defined(skip_index_glWindowPos3d) -void glWindowPos3d(GLdouble x, GLdouble y, GLdouble z) { +void glshim_glWindowPos3d(GLdouble x, GLdouble y, GLdouble z) { glWindowPos3d_INDEXED packed_data; packed_data.func = glWindowPos3d_INDEX; packed_data.args.a1 = (GLdouble)x; @@ -4590,17 +5066,19 @@ void glWindowPos3d(GLdouble x, GLdouble y, GLdouble z) { packed_data.args.a3 = (GLdouble)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos3d(GLdouble x, GLdouble y, GLdouble z) __attribute__((alias("glshim_glWindowPos3d"))); #endif #if !defined(skip_client_glWindowPos3dv) && !defined(skip_index_glWindowPos3dv) -void glWindowPos3dv(const GLdouble * v) { +void glshim_glWindowPos3dv(const GLdouble * v) { glWindowPos3dv_INDEXED packed_data; packed_data.func = glWindowPos3dv_INDEX; packed_data.args.a1 = (GLdouble *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos3dv(const GLdouble * v) __attribute__((alias("glshim_glWindowPos3dv"))); #endif #if !defined(skip_client_glWindowPos3f) && !defined(skip_index_glWindowPos3f) -void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) { +void glshim_glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) { glWindowPos3f_INDEXED packed_data; packed_data.func = glWindowPos3f_INDEX; packed_data.args.a1 = (GLfloat)x; @@ -4608,17 +5086,19 @@ void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) { packed_data.args.a3 = (GLfloat)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) __attribute__((alias("glshim_glWindowPos3f"))); #endif #if !defined(skip_client_glWindowPos3fv) && !defined(skip_index_glWindowPos3fv) -void glWindowPos3fv(const GLfloat * v) { +void glshim_glWindowPos3fv(const GLfloat * v) { glWindowPos3fv_INDEXED packed_data; packed_data.func = glWindowPos3fv_INDEX; packed_data.args.a1 = (GLfloat *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos3fv(const GLfloat * v) __attribute__((alias("glshim_glWindowPos3fv"))); #endif #if !defined(skip_client_glWindowPos3i) && !defined(skip_index_glWindowPos3i) -void glWindowPos3i(GLint x, GLint y, GLint z) { +void glshim_glWindowPos3i(GLint x, GLint y, GLint z) { glWindowPos3i_INDEXED packed_data; packed_data.func = glWindowPos3i_INDEX; packed_data.args.a1 = (GLint)x; @@ -4626,17 +5106,19 @@ void glWindowPos3i(GLint x, GLint y, GLint z) { packed_data.args.a3 = (GLint)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos3i(GLint x, GLint y, GLint z) __attribute__((alias("glshim_glWindowPos3i"))); #endif #if !defined(skip_client_glWindowPos3iv) && !defined(skip_index_glWindowPos3iv) -void glWindowPos3iv(const GLint * v) { +void glshim_glWindowPos3iv(const GLint * v) { glWindowPos3iv_INDEXED packed_data; packed_data.func = glWindowPos3iv_INDEX; packed_data.args.a1 = (GLint *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos3iv(const GLint * v) __attribute__((alias("glshim_glWindowPos3iv"))); #endif #if !defined(skip_client_glWindowPos3s) && !defined(skip_index_glWindowPos3s) -void glWindowPos3s(GLshort x, GLshort y, GLshort z) { +void glshim_glWindowPos3s(GLshort x, GLshort y, GLshort z) { glWindowPos3s_INDEXED packed_data; packed_data.func = glWindowPos3s_INDEX; packed_data.args.a1 = (GLshort)x; @@ -4644,17 +5126,19 @@ void glWindowPos3s(GLshort x, GLshort y, GLshort z) { packed_data.args.a3 = (GLshort)z; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos3s(GLshort x, GLshort y, GLshort z) __attribute__((alias("glshim_glWindowPos3s"))); #endif #if !defined(skip_client_glWindowPos3sv) && !defined(skip_index_glWindowPos3sv) -void glWindowPos3sv(const GLshort * v) { +void glshim_glWindowPos3sv(const GLshort * v) { glWindowPos3sv_INDEXED packed_data; packed_data.func = glWindowPos3sv_INDEX; packed_data.args.a1 = (GLshort *)v; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glWindowPos3sv(const GLshort * v) __attribute__((alias("glshim_glWindowPos3sv"))); #endif #if !defined(skip_client_glXBindHyperpipeSGIX) && !defined(skip_index_glXBindHyperpipeSGIX) -int glXBindHyperpipeSGIX(Display * dpy, int hpId) { +int glshim_glXBindHyperpipeSGIX(Display * dpy, int hpId) { glXBindHyperpipeSGIX_INDEXED packed_data; packed_data.func = glXBindHyperpipeSGIX_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -4663,34 +5147,38 @@ int glXBindHyperpipeSGIX(Display * dpy, int hpId) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int glXBindHyperpipeSGIX(Display * dpy, int hpId) __attribute__((alias("glshim_glXBindHyperpipeSGIX"))); #endif #if !defined(skip_client_glXBindSwapBarrierSGIX) && !defined(skip_index_glXBindSwapBarrierSGIX) -void glXBindSwapBarrierSGIX(uint32_t window, uint32_t barrier) { +void glshim_glXBindSwapBarrierSGIX(uint32_t window, uint32_t barrier) { glXBindSwapBarrierSGIX_INDEXED packed_data; packed_data.func = glXBindSwapBarrierSGIX_INDEX; packed_data.args.a1 = (uint32_t)window; packed_data.args.a2 = (uint32_t)barrier; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXBindSwapBarrierSGIX(uint32_t window, uint32_t barrier) __attribute__((alias("glshim_glXBindSwapBarrierSGIX"))); #endif #if !defined(skip_client_glXChangeDrawableAttributes) && !defined(skip_index_glXChangeDrawableAttributes) -void glXChangeDrawableAttributes(uint32_t drawable) { +void glshim_glXChangeDrawableAttributes(uint32_t drawable) { glXChangeDrawableAttributes_INDEXED packed_data; packed_data.func = glXChangeDrawableAttributes_INDEX; packed_data.args.a1 = (uint32_t)drawable; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXChangeDrawableAttributes(uint32_t drawable) __attribute__((alias("glshim_glXChangeDrawableAttributes"))); #endif #if !defined(skip_client_glXChangeDrawableAttributesSGIX) && !defined(skip_index_glXChangeDrawableAttributesSGIX) -void glXChangeDrawableAttributesSGIX(uint32_t drawable) { +void glshim_glXChangeDrawableAttributesSGIX(uint32_t drawable) { glXChangeDrawableAttributesSGIX_INDEXED packed_data; packed_data.func = glXChangeDrawableAttributesSGIX_INDEX; packed_data.args.a1 = (uint32_t)drawable; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXChangeDrawableAttributesSGIX(uint32_t drawable) __attribute__((alias("glshim_glXChangeDrawableAttributesSGIX"))); #endif #if !defined(skip_client_glXChooseFBConfig) && !defined(skip_index_glXChooseFBConfig) -GLXFBConfig * glXChooseFBConfig(Display * dpy, int screen, const int * attrib_list, int * nelements) { +GLXFBConfig * glshim_glXChooseFBConfig(Display * dpy, int screen, const int * attrib_list, int * nelements) { glXChooseFBConfig_INDEXED packed_data; packed_data.func = glXChooseFBConfig_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -4701,9 +5189,10 @@ GLXFBConfig * glXChooseFBConfig(Display * dpy, int screen, const int * attrib_li syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLXFBConfig * glXChooseFBConfig(Display * dpy, int screen, const int * attrib_list, int * nelements) __attribute__((alias("glshim_glXChooseFBConfig"))); #endif #if !defined(skip_client_glXChooseVisual) && !defined(skip_index_glXChooseVisual) -XVisualInfo * glXChooseVisual(Display * dpy, int screen, int * attribList) { +XVisualInfo * glshim_glXChooseVisual(Display * dpy, int screen, int * attribList) { glXChooseVisual_INDEXED packed_data; packed_data.func = glXChooseVisual_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -4713,16 +5202,18 @@ XVisualInfo * glXChooseVisual(Display * dpy, int screen, int * attribList) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +XVisualInfo * glXChooseVisual(Display * dpy, int screen, int * attribList) __attribute__((alias("glshim_glXChooseVisual"))); #endif #if !defined(skip_client_glXClientInfo) && !defined(skip_index_glXClientInfo) -void glXClientInfo() { +void glshim_glXClientInfo() { glXClientInfo_INDEXED packed_data; packed_data.func = glXClientInfo_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXClientInfo() __attribute__((alias("glshim_glXClientInfo"))); #endif #if !defined(skip_client_glXCopyContext) && !defined(skip_index_glXCopyContext) -void glXCopyContext(Display * dpy, GLXContext src, GLXContext dst, unsigned long mask) { +void glshim_glXCopyContext(Display * dpy, GLXContext src, GLXContext dst, unsigned long mask) { glXCopyContext_INDEXED packed_data; packed_data.func = glXCopyContext_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -4731,9 +5222,10 @@ void glXCopyContext(Display * dpy, GLXContext src, GLXContext dst, unsigned long packed_data.args.a4 = (unsigned long)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXCopyContext(Display * dpy, GLXContext src, GLXContext dst, unsigned long mask) __attribute__((alias("glshim_glXCopyContext"))); #endif #if !defined(skip_client_glXCreateContext) && !defined(skip_index_glXCreateContext) -GLXContext glXCreateContext(Display * dpy, XVisualInfo * vis, GLXContext shareList, Bool direct) { +GLXContext glshim_glXCreateContext(Display * dpy, XVisualInfo * vis, GLXContext shareList, Bool direct) { glXCreateContext_INDEXED packed_data; packed_data.func = glXCreateContext_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -4744,9 +5236,10 @@ GLXContext glXCreateContext(Display * dpy, XVisualInfo * vis, GLXContext shareLi syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLXContext glXCreateContext(Display * dpy, XVisualInfo * vis, GLXContext shareList, Bool direct) __attribute__((alias("glshim_glXCreateContext"))); #endif #if !defined(skip_client_glXCreateContextAttribsARB) && !defined(skip_index_glXCreateContextAttribsARB) -GLXContext glXCreateContextAttribsARB(Display * display, void * config, GLXContext share_context, Bool direct, const int * attrib_list) { +GLXContext glshim_glXCreateContextAttribsARB(Display * display, void * config, GLXContext share_context, Bool direct, const int * attrib_list) { glXCreateContextAttribsARB_INDEXED packed_data; packed_data.func = glXCreateContextAttribsARB_INDEX; packed_data.args.a1 = (Display *)display; @@ -4758,9 +5251,10 @@ GLXContext glXCreateContextAttribsARB(Display * display, void * config, GLXConte syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLXContext glXCreateContextAttribsARB(Display * display, void * config, GLXContext share_context, Bool direct, const int * attrib_list) __attribute__((alias("glshim_glXCreateContextAttribsARB"))); #endif #if !defined(skip_client_glXCreateContextWithConfigSGIX) && !defined(skip_index_glXCreateContextWithConfigSGIX) -void glXCreateContextWithConfigSGIX(uint32_t gc_id, uint32_t screen, uint32_t config, uint32_t share_list) { +void glshim_glXCreateContextWithConfigSGIX(uint32_t gc_id, uint32_t screen, uint32_t config, uint32_t share_list) { glXCreateContextWithConfigSGIX_INDEXED packed_data; packed_data.func = glXCreateContextWithConfigSGIX_INDEX; packed_data.args.a1 = (uint32_t)gc_id; @@ -4769,18 +5263,20 @@ void glXCreateContextWithConfigSGIX(uint32_t gc_id, uint32_t screen, uint32_t co packed_data.args.a4 = (uint32_t)share_list; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXCreateContextWithConfigSGIX(uint32_t gc_id, uint32_t screen, uint32_t config, uint32_t share_list) __attribute__((alias("glshim_glXCreateContextWithConfigSGIX"))); #endif #if !defined(skip_client_glXCreateGLXPbufferSGIX) && !defined(skip_index_glXCreateGLXPbufferSGIX) -void glXCreateGLXPbufferSGIX(uint32_t config, uint32_t pbuffer) { +void glshim_glXCreateGLXPbufferSGIX(uint32_t config, uint32_t pbuffer) { glXCreateGLXPbufferSGIX_INDEXED packed_data; packed_data.func = glXCreateGLXPbufferSGIX_INDEX; packed_data.args.a1 = (uint32_t)config; packed_data.args.a2 = (uint32_t)pbuffer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXCreateGLXPbufferSGIX(uint32_t config, uint32_t pbuffer) __attribute__((alias("glshim_glXCreateGLXPbufferSGIX"))); #endif #if !defined(skip_client_glXCreateGLXPixmap) && !defined(skip_index_glXCreateGLXPixmap) -GLXPixmap glXCreateGLXPixmap(Display * dpy, XVisualInfo * visual, Pixmap pixmap) { +GLXPixmap glshim_glXCreateGLXPixmap(Display * dpy, XVisualInfo * visual, Pixmap pixmap) { glXCreateGLXPixmap_INDEXED packed_data; packed_data.func = glXCreateGLXPixmap_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -4790,9 +5286,10 @@ GLXPixmap glXCreateGLXPixmap(Display * dpy, XVisualInfo * visual, Pixmap pixmap) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLXPixmap glXCreateGLXPixmap(Display * dpy, XVisualInfo * visual, Pixmap pixmap) __attribute__((alias("glshim_glXCreateGLXPixmap"))); #endif #if !defined(skip_client_glXCreateGLXPixmapWithConfigSGIX) && !defined(skip_index_glXCreateGLXPixmapWithConfigSGIX) -void glXCreateGLXPixmapWithConfigSGIX(uint32_t config, uint32_t pixmap, uint32_t glxpixmap) { +void glshim_glXCreateGLXPixmapWithConfigSGIX(uint32_t config, uint32_t pixmap, uint32_t glxpixmap) { glXCreateGLXPixmapWithConfigSGIX_INDEXED packed_data; packed_data.func = glXCreateGLXPixmapWithConfigSGIX_INDEX; packed_data.args.a1 = (uint32_t)config; @@ -4800,9 +5297,10 @@ void glXCreateGLXPixmapWithConfigSGIX(uint32_t config, uint32_t pixmap, uint32_t packed_data.args.a3 = (uint32_t)glxpixmap; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXCreateGLXPixmapWithConfigSGIX(uint32_t config, uint32_t pixmap, uint32_t glxpixmap) __attribute__((alias("glshim_glXCreateGLXPixmapWithConfigSGIX"))); #endif #if !defined(skip_client_glXCreateGLXVideoSourceSGIX) && !defined(skip_index_glXCreateGLXVideoSourceSGIX) -void glXCreateGLXVideoSourceSGIX(Display * dpy, uint32_t screen, uint32_t server, uint32_t path, uint32_t class, uint32_t node) { +void glshim_glXCreateGLXVideoSourceSGIX(Display * dpy, uint32_t screen, uint32_t server, uint32_t path, uint32_t class, uint32_t node) { glXCreateGLXVideoSourceSGIX_INDEXED packed_data; packed_data.func = glXCreateGLXVideoSourceSGIX_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -4813,9 +5311,10 @@ void glXCreateGLXVideoSourceSGIX(Display * dpy, uint32_t screen, uint32_t server packed_data.args.a6 = (uint32_t)node; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXCreateGLXVideoSourceSGIX(Display * dpy, uint32_t screen, uint32_t server, uint32_t path, uint32_t class, uint32_t node) __attribute__((alias("glshim_glXCreateGLXVideoSourceSGIX"))); #endif #if !defined(skip_client_glXCreateNewContext) && !defined(skip_index_glXCreateNewContext) -GLXContext glXCreateNewContext(Display * dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct) { +GLXContext glshim_glXCreateNewContext(Display * dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct) { glXCreateNewContext_INDEXED packed_data; packed_data.func = glXCreateNewContext_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -4827,9 +5326,10 @@ GLXContext glXCreateNewContext(Display * dpy, GLXFBConfig config, int render_typ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLXContext glXCreateNewContext(Display * dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct) __attribute__((alias("glshim_glXCreateNewContext"))); #endif #if !defined(skip_client_glXCreatePbuffer) && !defined(skip_index_glXCreatePbuffer) -GLXPbuffer glXCreatePbuffer(Display * dpy, GLXFBConfig config, const int * attrib_list) { +GLXPbuffer glshim_glXCreatePbuffer(Display * dpy, GLXFBConfig config, const int * attrib_list) { glXCreatePbuffer_INDEXED packed_data; packed_data.func = glXCreatePbuffer_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -4839,9 +5339,10 @@ GLXPbuffer glXCreatePbuffer(Display * dpy, GLXFBConfig config, const int * attri syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLXPbuffer glXCreatePbuffer(Display * dpy, GLXFBConfig config, const int * attrib_list) __attribute__((alias("glshim_glXCreatePbuffer"))); #endif #if !defined(skip_client_glXCreatePixmap) && !defined(skip_index_glXCreatePixmap) -GLXPixmap glXCreatePixmap(Display * dpy, GLXFBConfig config, Pixmap pixmap, const int * attrib_list) { +GLXPixmap glshim_glXCreatePixmap(Display * dpy, GLXFBConfig config, Pixmap pixmap, const int * attrib_list) { glXCreatePixmap_INDEXED packed_data; packed_data.func = glXCreatePixmap_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -4852,9 +5353,10 @@ GLXPixmap glXCreatePixmap(Display * dpy, GLXFBConfig config, Pixmap pixmap, cons syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLXPixmap glXCreatePixmap(Display * dpy, GLXFBConfig config, Pixmap pixmap, const int * attrib_list) __attribute__((alias("glshim_glXCreatePixmap"))); #endif #if !defined(skip_client_glXCreateWindow) && !defined(skip_index_glXCreateWindow) -GLXWindow glXCreateWindow(Display * dpy, GLXFBConfig config, Window win, const int * attrib_list) { +GLXWindow glshim_glXCreateWindow(Display * dpy, GLXFBConfig config, Window win, const int * attrib_list) { glXCreateWindow_INDEXED packed_data; packed_data.func = glXCreateWindow_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -4865,44 +5367,49 @@ GLXWindow glXCreateWindow(Display * dpy, GLXFBConfig config, Window win, const i syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLXWindow glXCreateWindow(Display * dpy, GLXFBConfig config, Window win, const int * attrib_list) __attribute__((alias("glshim_glXCreateWindow"))); #endif #if !defined(skip_client_glXDestroyContext) && !defined(skip_index_glXDestroyContext) -void glXDestroyContext(Display * dpy, GLXContext ctx) { +void glshim_glXDestroyContext(Display * dpy, GLXContext ctx) { glXDestroyContext_INDEXED packed_data; packed_data.func = glXDestroyContext_INDEX; packed_data.args.a1 = (Display *)dpy; packed_data.args.a2 = (GLXContext)ctx; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXDestroyContext(Display * dpy, GLXContext ctx) __attribute__((alias("glshim_glXDestroyContext"))); #endif #if !defined(skip_client_glXDestroyGLXPbufferSGIX) && !defined(skip_index_glXDestroyGLXPbufferSGIX) -void glXDestroyGLXPbufferSGIX(uint32_t pbuffer) { +void glshim_glXDestroyGLXPbufferSGIX(uint32_t pbuffer) { glXDestroyGLXPbufferSGIX_INDEXED packed_data; packed_data.func = glXDestroyGLXPbufferSGIX_INDEX; packed_data.args.a1 = (uint32_t)pbuffer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXDestroyGLXPbufferSGIX(uint32_t pbuffer) __attribute__((alias("glshim_glXDestroyGLXPbufferSGIX"))); #endif #if !defined(skip_client_glXDestroyGLXPixmap) && !defined(skip_index_glXDestroyGLXPixmap) -void glXDestroyGLXPixmap(Display * dpy, GLXPixmap pixmap) { +void glshim_glXDestroyGLXPixmap(Display * dpy, GLXPixmap pixmap) { glXDestroyGLXPixmap_INDEXED packed_data; packed_data.func = glXDestroyGLXPixmap_INDEX; packed_data.args.a1 = (Display *)dpy; packed_data.args.a2 = (GLXPixmap)pixmap; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXDestroyGLXPixmap(Display * dpy, GLXPixmap pixmap) __attribute__((alias("glshim_glXDestroyGLXPixmap"))); #endif #if !defined(skip_client_glXDestroyGLXVideoSourceSGIX) && !defined(skip_index_glXDestroyGLXVideoSourceSGIX) -void glXDestroyGLXVideoSourceSGIX(Display * dpy, uint32_t glxvideosource) { +void glshim_glXDestroyGLXVideoSourceSGIX(Display * dpy, uint32_t glxvideosource) { glXDestroyGLXVideoSourceSGIX_INDEXED packed_data; packed_data.func = glXDestroyGLXVideoSourceSGIX_INDEX; packed_data.args.a1 = (Display *)dpy; packed_data.args.a2 = (uint32_t)glxvideosource; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXDestroyGLXVideoSourceSGIX(Display * dpy, uint32_t glxvideosource) __attribute__((alias("glshim_glXDestroyGLXVideoSourceSGIX"))); #endif #if !defined(skip_client_glXDestroyHyperpipeConfigSGIX) && !defined(skip_index_glXDestroyHyperpipeConfigSGIX) -int glXDestroyHyperpipeConfigSGIX(Display * dpy, int hpId) { +int glshim_glXDestroyHyperpipeConfigSGIX(Display * dpy, int hpId) { glXDestroyHyperpipeConfigSGIX_INDEXED packed_data; packed_data.func = glXDestroyHyperpipeConfigSGIX_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -4911,36 +5418,40 @@ int glXDestroyHyperpipeConfigSGIX(Display * dpy, int hpId) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int glXDestroyHyperpipeConfigSGIX(Display * dpy, int hpId) __attribute__((alias("glshim_glXDestroyHyperpipeConfigSGIX"))); #endif #if !defined(skip_client_glXDestroyPbuffer) && !defined(skip_index_glXDestroyPbuffer) -void glXDestroyPbuffer(Display * dpy, GLXPbuffer pbuf) { +void glshim_glXDestroyPbuffer(Display * dpy, GLXPbuffer pbuf) { glXDestroyPbuffer_INDEXED packed_data; packed_data.func = glXDestroyPbuffer_INDEX; packed_data.args.a1 = (Display *)dpy; packed_data.args.a2 = (GLXPbuffer)pbuf; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXDestroyPbuffer(Display * dpy, GLXPbuffer pbuf) __attribute__((alias("glshim_glXDestroyPbuffer"))); #endif #if !defined(skip_client_glXDestroyPixmap) && !defined(skip_index_glXDestroyPixmap) -void glXDestroyPixmap(Display * dpy, GLXPixmap pixmap) { +void glshim_glXDestroyPixmap(Display * dpy, GLXPixmap pixmap) { glXDestroyPixmap_INDEXED packed_data; packed_data.func = glXDestroyPixmap_INDEX; packed_data.args.a1 = (Display *)dpy; packed_data.args.a2 = (GLXPixmap)pixmap; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXDestroyPixmap(Display * dpy, GLXPixmap pixmap) __attribute__((alias("glshim_glXDestroyPixmap"))); #endif #if !defined(skip_client_glXDestroyWindow) && !defined(skip_index_glXDestroyWindow) -void glXDestroyWindow(Display * dpy, GLXWindow win) { +void glshim_glXDestroyWindow(Display * dpy, GLXWindow win) { glXDestroyWindow_INDEXED packed_data; packed_data.func = glXDestroyWindow_INDEX; packed_data.args.a1 = (Display *)dpy; packed_data.args.a2 = (GLXWindow)win; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXDestroyWindow(Display * dpy, GLXWindow win) __attribute__((alias("glshim_glXDestroyWindow"))); #endif #if !defined(skip_client_glXGetClientString) && !defined(skip_index_glXGetClientString) -const char * glXGetClientString(Display * display, int name) { +const char * glshim_glXGetClientString(Display * display, int name) { glXGetClientString_INDEXED packed_data; packed_data.func = glXGetClientString_INDEX; packed_data.args.a1 = (Display *)display; @@ -4949,9 +5460,10 @@ const char * glXGetClientString(Display * display, int name) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * glXGetClientString(Display * display, int name) __attribute__((alias("glshim_glXGetClientString"))); #endif #if !defined(skip_client_glXGetConfig) && !defined(skip_index_glXGetConfig) -int glXGetConfig(Display * display, XVisualInfo * visual, int attribute, int * value) { +int glshim_glXGetConfig(Display * display, XVisualInfo * visual, int attribute, int * value) { glXGetConfig_INDEXED packed_data; packed_data.func = glXGetConfig_INDEX; packed_data.args.a1 = (Display *)display; @@ -4962,61 +5474,68 @@ int glXGetConfig(Display * display, XVisualInfo * visual, int attribute, int * v syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int glXGetConfig(Display * display, XVisualInfo * visual, int attribute, int * value) __attribute__((alias("glshim_glXGetConfig"))); #endif #if !defined(skip_client_glXGetCurrentContext) && !defined(skip_index_glXGetCurrentContext) -GLXContext glXGetCurrentContext() { +GLXContext glshim_glXGetCurrentContext() { glXGetCurrentContext_INDEXED packed_data; packed_data.func = glXGetCurrentContext_INDEX; GLXContext ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLXContext glXGetCurrentContext() __attribute__((alias("glshim_glXGetCurrentContext"))); #endif #if !defined(skip_client_glXGetCurrentDisplay) && !defined(skip_index_glXGetCurrentDisplay) -Display * glXGetCurrentDisplay() { +Display * glshim_glXGetCurrentDisplay() { glXGetCurrentDisplay_INDEXED packed_data; packed_data.func = glXGetCurrentDisplay_INDEX; Display * ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +Display * glXGetCurrentDisplay() __attribute__((alias("glshim_glXGetCurrentDisplay"))); #endif #if !defined(skip_client_glXGetCurrentDrawable) && !defined(skip_index_glXGetCurrentDrawable) -GLXDrawable glXGetCurrentDrawable() { +GLXDrawable glshim_glXGetCurrentDrawable() { glXGetCurrentDrawable_INDEXED packed_data; packed_data.func = glXGetCurrentDrawable_INDEX; GLXDrawable ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLXDrawable glXGetCurrentDrawable() __attribute__((alias("glshim_glXGetCurrentDrawable"))); #endif #if !defined(skip_client_glXGetCurrentReadDrawable) && !defined(skip_index_glXGetCurrentReadDrawable) -GLXDrawable glXGetCurrentReadDrawable() { +GLXDrawable glshim_glXGetCurrentReadDrawable() { glXGetCurrentReadDrawable_INDEXED packed_data; packed_data.func = glXGetCurrentReadDrawable_INDEX; GLXDrawable ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLXDrawable glXGetCurrentReadDrawable() __attribute__((alias("glshim_glXGetCurrentReadDrawable"))); #endif #if !defined(skip_client_glXGetDrawableAttributes) && !defined(skip_index_glXGetDrawableAttributes) -void glXGetDrawableAttributes(uint32_t drawable) { +void glshim_glXGetDrawableAttributes(uint32_t drawable) { glXGetDrawableAttributes_INDEXED packed_data; packed_data.func = glXGetDrawableAttributes_INDEX; packed_data.args.a1 = (uint32_t)drawable; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXGetDrawableAttributes(uint32_t drawable) __attribute__((alias("glshim_glXGetDrawableAttributes"))); #endif #if !defined(skip_client_glXGetDrawableAttributesSGIX) && !defined(skip_index_glXGetDrawableAttributesSGIX) -void glXGetDrawableAttributesSGIX(uint32_t drawable) { +void glshim_glXGetDrawableAttributesSGIX(uint32_t drawable) { glXGetDrawableAttributesSGIX_INDEXED packed_data; packed_data.func = glXGetDrawableAttributesSGIX_INDEX; packed_data.args.a1 = (uint32_t)drawable; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXGetDrawableAttributesSGIX(uint32_t drawable) __attribute__((alias("glshim_glXGetDrawableAttributesSGIX"))); #endif #if !defined(skip_client_glXGetFBConfigAttrib) && !defined(skip_index_glXGetFBConfigAttrib) -int glXGetFBConfigAttrib(Display * dpy, GLXFBConfig config, int attribute, int * value) { +int glshim_glXGetFBConfigAttrib(Display * dpy, GLXFBConfig config, int attribute, int * value) { glXGetFBConfigAttrib_INDEXED packed_data; packed_data.func = glXGetFBConfigAttrib_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5027,9 +5546,10 @@ int glXGetFBConfigAttrib(Display * dpy, GLXFBConfig config, int attribute, int * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int glXGetFBConfigAttrib(Display * dpy, GLXFBConfig config, int attribute, int * value) __attribute__((alias("glshim_glXGetFBConfigAttrib"))); #endif #if !defined(skip_client_glXGetFBConfigs) && !defined(skip_index_glXGetFBConfigs) -GLXFBConfig * glXGetFBConfigs(Display * dpy, int screen, int * nelements) { +GLXFBConfig * glshim_glXGetFBConfigs(Display * dpy, int screen, int * nelements) { glXGetFBConfigs_INDEXED packed_data; packed_data.func = glXGetFBConfigs_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5039,16 +5559,18 @@ GLXFBConfig * glXGetFBConfigs(Display * dpy, int screen, int * nelements) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLXFBConfig * glXGetFBConfigs(Display * dpy, int screen, int * nelements) __attribute__((alias("glshim_glXGetFBConfigs"))); #endif #if !defined(skip_client_glXGetFBConfigsSGIX) && !defined(skip_index_glXGetFBConfigsSGIX) -void glXGetFBConfigsSGIX() { +void glshim_glXGetFBConfigsSGIX() { glXGetFBConfigsSGIX_INDEXED packed_data; packed_data.func = glXGetFBConfigsSGIX_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXGetFBConfigsSGIX() __attribute__((alias("glshim_glXGetFBConfigsSGIX"))); #endif #if !defined(skip_client_glXGetProcAddress) && !defined(skip_index_glXGetProcAddress) -__GLXextFuncPtr glXGetProcAddress(const GLubyte * procName) { +__GLXextFuncPtr glshim_glXGetProcAddress(const GLubyte * procName) { glXGetProcAddress_INDEXED packed_data; packed_data.func = glXGetProcAddress_INDEX; packed_data.args.a1 = (GLubyte *)procName; @@ -5056,9 +5578,10 @@ __GLXextFuncPtr glXGetProcAddress(const GLubyte * procName) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +__GLXextFuncPtr glXGetProcAddress(const GLubyte * procName) __attribute__((alias("glshim_glXGetProcAddress"))); #endif #if !defined(skip_client_glXGetSelectedEvent) && !defined(skip_index_glXGetSelectedEvent) -void glXGetSelectedEvent(Display * dpy, GLXDrawable draw, unsigned long * event_mask) { +void glshim_glXGetSelectedEvent(Display * dpy, GLXDrawable draw, unsigned long * event_mask) { glXGetSelectedEvent_INDEXED packed_data; packed_data.func = glXGetSelectedEvent_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5066,16 +5589,18 @@ void glXGetSelectedEvent(Display * dpy, GLXDrawable draw, unsigned long * event_ packed_data.args.a3 = (unsigned long *)event_mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXGetSelectedEvent(Display * dpy, GLXDrawable draw, unsigned long * event_mask) __attribute__((alias("glshim_glXGetSelectedEvent"))); #endif #if !defined(skip_client_glXGetVisualConfigs) && !defined(skip_index_glXGetVisualConfigs) -void glXGetVisualConfigs() { +void glshim_glXGetVisualConfigs() { glXGetVisualConfigs_INDEXED packed_data; packed_data.func = glXGetVisualConfigs_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXGetVisualConfigs() __attribute__((alias("glshim_glXGetVisualConfigs"))); #endif #if !defined(skip_client_glXGetVisualFromFBConfig) && !defined(skip_index_glXGetVisualFromFBConfig) -XVisualInfo * glXGetVisualFromFBConfig(Display * dpy, GLXFBConfig config) { +XVisualInfo * glshim_glXGetVisualFromFBConfig(Display * dpy, GLXFBConfig config) { glXGetVisualFromFBConfig_INDEXED packed_data; packed_data.func = glXGetVisualFromFBConfig_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5084,9 +5609,10 @@ XVisualInfo * glXGetVisualFromFBConfig(Display * dpy, GLXFBConfig config) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +XVisualInfo * glXGetVisualFromFBConfig(Display * dpy, GLXFBConfig config) __attribute__((alias("glshim_glXGetVisualFromFBConfig"))); #endif #if !defined(skip_client_glXHyperpipeAttribSGIX) && !defined(skip_index_glXHyperpipeAttribSGIX) -int glXHyperpipeAttribSGIX(Display * dpy, int timeSlice, int attrib, int size, const void * attribList) { +int glshim_glXHyperpipeAttribSGIX(Display * dpy, int timeSlice, int attrib, int size, const void * attribList) { glXHyperpipeAttribSGIX_INDEXED packed_data; packed_data.func = glXHyperpipeAttribSGIX_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5098,9 +5624,10 @@ int glXHyperpipeAttribSGIX(Display * dpy, int timeSlice, int attrib, int size, c syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int glXHyperpipeAttribSGIX(Display * dpy, int timeSlice, int attrib, int size, const void * attribList) __attribute__((alias("glshim_glXHyperpipeAttribSGIX"))); #endif #if !defined(skip_client_glXHyperpipeConfigSGIX) && !defined(skip_index_glXHyperpipeConfigSGIX) -int glXHyperpipeConfigSGIX(Display * dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX cfg, int * hpId) { +int glshim_glXHyperpipeConfigSGIX(Display * dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX cfg, int * hpId) { glXHyperpipeConfigSGIX_INDEXED packed_data; packed_data.func = glXHyperpipeConfigSGIX_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5112,9 +5639,10 @@ int glXHyperpipeConfigSGIX(Display * dpy, int networkId, int npipes, GLXHyperpip syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int glXHyperpipeConfigSGIX(Display * dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX cfg, int * hpId) __attribute__((alias("glshim_glXHyperpipeConfigSGIX"))); #endif #if !defined(skip_client_glXIsDirect) && !defined(skip_index_glXIsDirect) -Bool glXIsDirect(Display * dpy, GLXContext ctx) { +Bool glshim_glXIsDirect(Display * dpy, GLXContext ctx) { glXIsDirect_INDEXED packed_data; packed_data.func = glXIsDirect_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5123,18 +5651,20 @@ Bool glXIsDirect(Display * dpy, GLXContext ctx) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +Bool glXIsDirect(Display * dpy, GLXContext ctx) __attribute__((alias("glshim_glXIsDirect"))); #endif #if !defined(skip_client_glXJoinSwapGroupSGIX) && !defined(skip_index_glXJoinSwapGroupSGIX) -void glXJoinSwapGroupSGIX(uint32_t window, uint32_t group) { +void glshim_glXJoinSwapGroupSGIX(uint32_t window, uint32_t group) { glXJoinSwapGroupSGIX_INDEXED packed_data; packed_data.func = glXJoinSwapGroupSGIX_INDEX; packed_data.args.a1 = (uint32_t)window; packed_data.args.a2 = (uint32_t)group; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXJoinSwapGroupSGIX(uint32_t window, uint32_t group) __attribute__((alias("glshim_glXJoinSwapGroupSGIX"))); #endif #if !defined(skip_client_glXMakeContextCurrent) && !defined(skip_index_glXMakeContextCurrent) -Bool glXMakeContextCurrent(Display * dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx) { +Bool glshim_glXMakeContextCurrent(Display * dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx) { glXMakeContextCurrent_INDEXED packed_data; packed_data.func = glXMakeContextCurrent_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5145,9 +5675,10 @@ Bool glXMakeContextCurrent(Display * dpy, GLXDrawable draw, GLXDrawable read, GL syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +Bool glXMakeContextCurrent(Display * dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx) __attribute__((alias("glshim_glXMakeContextCurrent"))); #endif #if !defined(skip_client_glXMakeCurrent) && !defined(skip_index_glXMakeCurrent) -Bool glXMakeCurrent(Display * dpy, GLXDrawable drawable, GLXContext ctx) { +Bool glshim_glXMakeCurrent(Display * dpy, GLXDrawable drawable, GLXContext ctx) { glXMakeCurrent_INDEXED packed_data; packed_data.func = glXMakeCurrent_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5157,9 +5688,10 @@ Bool glXMakeCurrent(Display * dpy, GLXDrawable drawable, GLXContext ctx) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +Bool glXMakeCurrent(Display * dpy, GLXDrawable drawable, GLXContext ctx) __attribute__((alias("glshim_glXMakeCurrent"))); #endif #if !defined(skip_client_glXMakeCurrentReadSGI) && !defined(skip_index_glXMakeCurrentReadSGI) -void glXMakeCurrentReadSGI(uint32_t drawable, uint32_t readdrawable, uint32_t context) { +void glshim_glXMakeCurrentReadSGI(uint32_t drawable, uint32_t readdrawable, uint32_t context) { glXMakeCurrentReadSGI_INDEXED packed_data; packed_data.func = glXMakeCurrentReadSGI_INDEX; packed_data.args.a1 = (uint32_t)drawable; @@ -5167,9 +5699,10 @@ void glXMakeCurrentReadSGI(uint32_t drawable, uint32_t readdrawable, uint32_t co packed_data.args.a3 = (uint32_t)context; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXMakeCurrentReadSGI(uint32_t drawable, uint32_t readdrawable, uint32_t context) __attribute__((alias("glshim_glXMakeCurrentReadSGI"))); #endif #if !defined(skip_client_glXQueryContext) && !defined(skip_index_glXQueryContext) -int glXQueryContext(Display * dpy, GLXContext ctx, int attribute, int * value) { +int glshim_glXQueryContext(Display * dpy, GLXContext ctx, int attribute, int * value) { glXQueryContext_INDEXED packed_data; packed_data.func = glXQueryContext_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5180,16 +5713,18 @@ int glXQueryContext(Display * dpy, GLXContext ctx, int attribute, int * value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int glXQueryContext(Display * dpy, GLXContext ctx, int attribute, int * value) __attribute__((alias("glshim_glXQueryContext"))); #endif #if !defined(skip_client_glXQueryContextInfoEXT) && !defined(skip_index_glXQueryContextInfoEXT) -void glXQueryContextInfoEXT() { +void glshim_glXQueryContextInfoEXT() { glXQueryContextInfoEXT_INDEXED packed_data; packed_data.func = glXQueryContextInfoEXT_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXQueryContextInfoEXT() __attribute__((alias("glshim_glXQueryContextInfoEXT"))); #endif #if !defined(skip_client_glXQueryDrawable) && !defined(skip_index_glXQueryDrawable) -void glXQueryDrawable(Display * dpy, GLXDrawable draw, int attribute, unsigned int * value) { +void glshim_glXQueryDrawable(Display * dpy, GLXDrawable draw, int attribute, unsigned int * value) { glXQueryDrawable_INDEXED packed_data; packed_data.func = glXQueryDrawable_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5198,9 +5733,10 @@ void glXQueryDrawable(Display * dpy, GLXDrawable draw, int attribute, unsigned i packed_data.args.a4 = (unsigned int *)value; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXQueryDrawable(Display * dpy, GLXDrawable draw, int attribute, unsigned int * value) __attribute__((alias("glshim_glXQueryDrawable"))); #endif #if !defined(skip_client_glXQueryExtension) && !defined(skip_index_glXQueryExtension) -Bool glXQueryExtension(Display * display, int * errorBase, int * eventBase) { +Bool glshim_glXQueryExtension(Display * display, int * errorBase, int * eventBase) { glXQueryExtension_INDEXED packed_data; packed_data.func = glXQueryExtension_INDEX; packed_data.args.a1 = (Display *)display; @@ -5210,9 +5746,10 @@ Bool glXQueryExtension(Display * display, int * errorBase, int * eventBase) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +Bool glXQueryExtension(Display * display, int * errorBase, int * eventBase) __attribute__((alias("glshim_glXQueryExtension"))); #endif #if !defined(skip_client_glXQueryExtensionsString) && !defined(skip_index_glXQueryExtensionsString) -const char * glXQueryExtensionsString(Display * dpy, int screen) { +const char * glshim_glXQueryExtensionsString(Display * dpy, int screen) { glXQueryExtensionsString_INDEXED packed_data; packed_data.func = glXQueryExtensionsString_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5221,9 +5758,10 @@ const char * glXQueryExtensionsString(Display * dpy, int screen) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * glXQueryExtensionsString(Display * dpy, int screen) __attribute__((alias("glshim_glXQueryExtensionsString"))); #endif #if !defined(skip_client_glXQueryHyperpipeAttribSGIX) && !defined(skip_index_glXQueryHyperpipeAttribSGIX) -int glXQueryHyperpipeAttribSGIX(Display * dpy, int timeSlice, int attrib, int size, const void * returnAttribList) { +int glshim_glXQueryHyperpipeAttribSGIX(Display * dpy, int timeSlice, int attrib, int size, const void * returnAttribList) { glXQueryHyperpipeAttribSGIX_INDEXED packed_data; packed_data.func = glXQueryHyperpipeAttribSGIX_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5235,9 +5773,10 @@ int glXQueryHyperpipeAttribSGIX(Display * dpy, int timeSlice, int attrib, int si syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int glXQueryHyperpipeAttribSGIX(Display * dpy, int timeSlice, int attrib, int size, const void * returnAttribList) __attribute__((alias("glshim_glXQueryHyperpipeAttribSGIX"))); #endif #if !defined(skip_client_glXQueryHyperpipeBestAttribSGIX) && !defined(skip_index_glXQueryHyperpipeBestAttribSGIX) -int glXQueryHyperpipeBestAttribSGIX(Display * dpy, int timeSlice, int attrib, int size, const void * attribList, void * returnAttribList) { +int glshim_glXQueryHyperpipeBestAttribSGIX(Display * dpy, int timeSlice, int attrib, int size, const void * attribList, void * returnAttribList) { glXQueryHyperpipeBestAttribSGIX_INDEXED packed_data; packed_data.func = glXQueryHyperpipeBestAttribSGIX_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5250,9 +5789,10 @@ int glXQueryHyperpipeBestAttribSGIX(Display * dpy, int timeSlice, int attrib, in syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int glXQueryHyperpipeBestAttribSGIX(Display * dpy, int timeSlice, int attrib, int size, const void * attribList, void * returnAttribList) __attribute__((alias("glshim_glXQueryHyperpipeBestAttribSGIX"))); #endif #if !defined(skip_client_glXQueryHyperpipeConfigSGIX) && !defined(skip_index_glXQueryHyperpipeConfigSGIX) -GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX(Display * dpy, int hpId, int * npipes) { +GLXHyperpipeConfigSGIX * glshim_glXQueryHyperpipeConfigSGIX(Display * dpy, int hpId, int * npipes) { glXQueryHyperpipeConfigSGIX_INDEXED packed_data; packed_data.func = glXQueryHyperpipeConfigSGIX_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5262,9 +5802,10 @@ GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX(Display * dpy, int hpId, in syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX(Display * dpy, int hpId, int * npipes) __attribute__((alias("glshim_glXQueryHyperpipeConfigSGIX"))); #endif #if !defined(skip_client_glXQueryHyperpipeNetworkSGIX) && !defined(skip_index_glXQueryHyperpipeNetworkSGIX) -GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX(Display * dpy, int * npipes) { +GLXHyperpipeNetworkSGIX * glshim_glXQueryHyperpipeNetworkSGIX(Display * dpy, int * npipes) { glXQueryHyperpipeNetworkSGIX_INDEXED packed_data; packed_data.func = glXQueryHyperpipeNetworkSGIX_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5273,16 +5814,18 @@ GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX(Display * dpy, int * npip syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX(Display * dpy, int * npipes) __attribute__((alias("glshim_glXQueryHyperpipeNetworkSGIX"))); #endif #if !defined(skip_client_glXQueryMaxSwapBarriersSGIX) && !defined(skip_index_glXQueryMaxSwapBarriersSGIX) -void glXQueryMaxSwapBarriersSGIX() { +void glshim_glXQueryMaxSwapBarriersSGIX() { glXQueryMaxSwapBarriersSGIX_INDEXED packed_data; packed_data.func = glXQueryMaxSwapBarriersSGIX_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXQueryMaxSwapBarriersSGIX() __attribute__((alias("glshim_glXQueryMaxSwapBarriersSGIX"))); #endif #if !defined(skip_client_glXQueryServerString) && !defined(skip_index_glXQueryServerString) -const char * glXQueryServerString(Display * dpy, int screen, int name) { +const char * glshim_glXQueryServerString(Display * dpy, int screen, int name) { glXQueryServerString_INDEXED packed_data; packed_data.func = glXQueryServerString_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5292,9 +5835,10 @@ const char * glXQueryServerString(Display * dpy, int screen, int name) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * glXQueryServerString(Display * dpy, int screen, int name) __attribute__((alias("glshim_glXQueryServerString"))); #endif #if !defined(skip_client_glXQueryVersion) && !defined(skip_index_glXQueryVersion) -Bool glXQueryVersion(Display * dpy, int * maj, int * min) { +Bool glshim_glXQueryVersion(Display * dpy, int * maj, int * min) { glXQueryVersion_INDEXED packed_data; packed_data.func = glXQueryVersion_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5304,9 +5848,10 @@ Bool glXQueryVersion(Display * dpy, int * maj, int * min) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +Bool glXQueryVersion(Display * dpy, int * maj, int * min) __attribute__((alias("glshim_glXQueryVersion"))); #endif #if !defined(skip_client_glXReleaseBuffersMESA) && !defined(skip_index_glXReleaseBuffersMESA) -Bool glXReleaseBuffersMESA(Display * dpy, GLXDrawable drawable) { +Bool glshim_glXReleaseBuffersMESA(Display * dpy, GLXDrawable drawable) { glXReleaseBuffersMESA_INDEXED packed_data; packed_data.func = glXReleaseBuffersMESA_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5315,23 +5860,26 @@ Bool glXReleaseBuffersMESA(Display * dpy, GLXDrawable drawable) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +Bool glXReleaseBuffersMESA(Display * dpy, GLXDrawable drawable) __attribute__((alias("glshim_glXReleaseBuffersMESA"))); #endif #if !defined(skip_client_glXRender) && !defined(skip_index_glXRender) -void glXRender() { +void glshim_glXRender() { glXRender_INDEXED packed_data; packed_data.func = glXRender_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXRender() __attribute__((alias("glshim_glXRender"))); #endif #if !defined(skip_client_glXRenderLarge) && !defined(skip_index_glXRenderLarge) -void glXRenderLarge() { +void glshim_glXRenderLarge() { glXRenderLarge_INDEXED packed_data; packed_data.func = glXRenderLarge_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXRenderLarge() __attribute__((alias("glshim_glXRenderLarge"))); #endif #if !defined(skip_client_glXSelectEvent) && !defined(skip_index_glXSelectEvent) -void glXSelectEvent(Display * dpy, GLXDrawable draw, unsigned long event_mask) { +void glshim_glXSelectEvent(Display * dpy, GLXDrawable draw, unsigned long event_mask) { glXSelectEvent_INDEXED packed_data; packed_data.func = glXSelectEvent_INDEX; packed_data.args.a1 = (Display *)dpy; @@ -5339,18 +5887,20 @@ void glXSelectEvent(Display * dpy, GLXDrawable draw, unsigned long event_mask) { packed_data.args.a3 = (unsigned long)event_mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXSelectEvent(Display * dpy, GLXDrawable draw, unsigned long event_mask) __attribute__((alias("glshim_glXSelectEvent"))); #endif #if !defined(skip_client_glXSwapBuffers) && !defined(skip_index_glXSwapBuffers) -void glXSwapBuffers(Display * dpy, GLXDrawable drawable) { +void glshim_glXSwapBuffers(Display * dpy, GLXDrawable drawable) { glXSwapBuffers_INDEXED packed_data; packed_data.func = glXSwapBuffers_INDEX; packed_data.args.a1 = (Display *)dpy; packed_data.args.a2 = (GLXDrawable)drawable; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXSwapBuffers(Display * dpy, GLXDrawable drawable) __attribute__((alias("glshim_glXSwapBuffers"))); #endif #if !defined(skip_client_glXSwapIntervalMESA) && !defined(skip_index_glXSwapIntervalMESA) -int glXSwapIntervalMESA(unsigned int interval) { +int glshim_glXSwapIntervalMESA(unsigned int interval) { glXSwapIntervalMESA_INDEXED packed_data; packed_data.func = glXSwapIntervalMESA_INDEX; packed_data.args.a1 = (unsigned int)interval; @@ -5358,17 +5908,19 @@ int glXSwapIntervalMESA(unsigned int interval) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int glXSwapIntervalMESA(unsigned int interval) __attribute__((alias("glshim_glXSwapIntervalMESA"))); #endif #if !defined(skip_client_glXSwapIntervalSGI) && !defined(skip_index_glXSwapIntervalSGI) -void glXSwapIntervalSGI(unsigned int interval) { +void glshim_glXSwapIntervalSGI(unsigned int interval) { glXSwapIntervalSGI_INDEXED packed_data; packed_data.func = glXSwapIntervalSGI_INDEX; packed_data.args.a1 = (unsigned int)interval; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXSwapIntervalSGI(unsigned int interval) __attribute__((alias("glshim_glXSwapIntervalSGI"))); #endif #if !defined(skip_client_glXUseXFont) && !defined(skip_index_glXUseXFont) -void glXUseXFont(Font font, int first, int count, int list) { +void glshim_glXUseXFont(Font font, int first, int count, int list) { glXUseXFont_INDEXED packed_data; packed_data.func = glXUseXFont_INDEX; packed_data.args.a1 = (Font)font; @@ -5377,46 +5929,52 @@ void glXUseXFont(Font font, int first, int count, int list) { packed_data.args.a4 = (int)list; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXUseXFont(Font font, int first, int count, int list) __attribute__((alias("glshim_glXUseXFont"))); #endif #if !defined(skip_client_glXVendorPrivate) && !defined(skip_index_glXVendorPrivate) -void glXVendorPrivate() { +void glshim_glXVendorPrivate() { glXVendorPrivate_INDEXED packed_data; packed_data.func = glXVendorPrivate_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXVendorPrivate() __attribute__((alias("glshim_glXVendorPrivate"))); #endif #if !defined(skip_client_glXVendorPrivateWithReply) && !defined(skip_index_glXVendorPrivateWithReply) -void glXVendorPrivateWithReply() { +void glshim_glXVendorPrivateWithReply() { glXVendorPrivateWithReply_INDEXED packed_data; packed_data.func = glXVendorPrivateWithReply_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXVendorPrivateWithReply() __attribute__((alias("glshim_glXVendorPrivateWithReply"))); #endif #if !defined(skip_client_glXWaitGL) && !defined(skip_index_glXWaitGL) -void glXWaitGL() { +void glshim_glXWaitGL() { glXWaitGL_INDEXED packed_data; packed_data.func = glXWaitGL_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXWaitGL() __attribute__((alias("glshim_glXWaitGL"))); #endif #if !defined(skip_client_glXWaitX) && !defined(skip_index_glXWaitX) -void glXWaitX() { +void glshim_glXWaitX() { glXWaitX_INDEXED packed_data; packed_data.func = glXWaitX_INDEX; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void glXWaitX() __attribute__((alias("glshim_glXWaitX"))); #endif #if !defined(skip_client_snd_asoundlib_version) && !defined(skip_index_snd_asoundlib_version) -const char * snd_asoundlib_version() { +const char * glshim_snd_asoundlib_version() { snd_asoundlib_version_INDEXED packed_data; packed_data.func = snd_asoundlib_version_INDEX; const char * ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_asoundlib_version() __attribute__((alias("glshim_snd_asoundlib_version"))); #endif #if !defined(skip_client_snd_async_add_ctl_handler) && !defined(skip_index_snd_async_add_ctl_handler) -int snd_async_add_ctl_handler(snd_async_handler_t ** handler, snd_ctl_t * ctl, snd_async_callback_t callback, void * private_data) { +int glshim_snd_async_add_ctl_handler(snd_async_handler_t ** handler, snd_ctl_t * ctl, snd_async_callback_t callback, void * private_data) { snd_async_add_ctl_handler_INDEXED packed_data; packed_data.func = snd_async_add_ctl_handler_INDEX; packed_data.args.a1 = (snd_async_handler_t **)handler; @@ -5427,9 +5985,10 @@ int snd_async_add_ctl_handler(snd_async_handler_t ** handler, snd_ctl_t * ctl, s syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_async_add_ctl_handler(snd_async_handler_t ** handler, snd_ctl_t * ctl, snd_async_callback_t callback, void * private_data) __attribute__((alias("glshim_snd_async_add_ctl_handler"))); #endif #if !defined(skip_client_snd_async_add_handler) && !defined(skip_index_snd_async_add_handler) -int snd_async_add_handler(snd_async_handler_t ** handler, int fd, snd_async_callback_t callback, void * private_data) { +int glshim_snd_async_add_handler(snd_async_handler_t ** handler, int fd, snd_async_callback_t callback, void * private_data) { snd_async_add_handler_INDEXED packed_data; packed_data.func = snd_async_add_handler_INDEX; packed_data.args.a1 = (snd_async_handler_t **)handler; @@ -5440,9 +5999,10 @@ int snd_async_add_handler(snd_async_handler_t ** handler, int fd, snd_async_call syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_async_add_handler(snd_async_handler_t ** handler, int fd, snd_async_callback_t callback, void * private_data) __attribute__((alias("glshim_snd_async_add_handler"))); #endif #if !defined(skip_client_snd_async_add_pcm_handler) && !defined(skip_index_snd_async_add_pcm_handler) -int snd_async_add_pcm_handler(snd_async_handler_t ** handler, snd_pcm_t * pcm, snd_async_callback_t callback, void * private_data) { +int glshim_snd_async_add_pcm_handler(snd_async_handler_t ** handler, snd_pcm_t * pcm, snd_async_callback_t callback, void * private_data) { snd_async_add_pcm_handler_INDEXED packed_data; packed_data.func = snd_async_add_pcm_handler_INDEX; packed_data.args.a1 = (snd_async_handler_t **)handler; @@ -5453,9 +6013,10 @@ int snd_async_add_pcm_handler(snd_async_handler_t ** handler, snd_pcm_t * pcm, s syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_async_add_pcm_handler(snd_async_handler_t ** handler, snd_pcm_t * pcm, snd_async_callback_t callback, void * private_data) __attribute__((alias("glshim_snd_async_add_pcm_handler"))); #endif #if !defined(skip_client_snd_async_add_timer_handler) && !defined(skip_index_snd_async_add_timer_handler) -int snd_async_add_timer_handler(snd_async_handler_t ** handler, snd_timer_t * timer, snd_async_callback_t callback, void * private_data) { +int glshim_snd_async_add_timer_handler(snd_async_handler_t ** handler, snd_timer_t * timer, snd_async_callback_t callback, void * private_data) { snd_async_add_timer_handler_INDEXED packed_data; packed_data.func = snd_async_add_timer_handler_INDEX; packed_data.args.a1 = (snd_async_handler_t **)handler; @@ -5466,9 +6027,10 @@ int snd_async_add_timer_handler(snd_async_handler_t ** handler, snd_timer_t * ti syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_async_add_timer_handler(snd_async_handler_t ** handler, snd_timer_t * timer, snd_async_callback_t callback, void * private_data) __attribute__((alias("glshim_snd_async_add_timer_handler"))); #endif #if !defined(skip_client_snd_async_del_handler) && !defined(skip_index_snd_async_del_handler) -int snd_async_del_handler(snd_async_handler_t * handler) { +int glshim_snd_async_del_handler(snd_async_handler_t * handler) { snd_async_del_handler_INDEXED packed_data; packed_data.func = snd_async_del_handler_INDEX; packed_data.args.a1 = (snd_async_handler_t *)handler; @@ -5476,9 +6038,10 @@ int snd_async_del_handler(snd_async_handler_t * handler) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_async_del_handler(snd_async_handler_t * handler) __attribute__((alias("glshim_snd_async_del_handler"))); #endif #if !defined(skip_client_snd_async_handler_get_callback_private) && !defined(skip_index_snd_async_handler_get_callback_private) -void * snd_async_handler_get_callback_private(snd_async_handler_t * handler) { +void * glshim_snd_async_handler_get_callback_private(snd_async_handler_t * handler) { snd_async_handler_get_callback_private_INDEXED packed_data; packed_data.func = snd_async_handler_get_callback_private_INDEX; packed_data.args.a1 = (snd_async_handler_t *)handler; @@ -5486,9 +6049,10 @@ void * snd_async_handler_get_callback_private(snd_async_handler_t * handler) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +void * snd_async_handler_get_callback_private(snd_async_handler_t * handler) __attribute__((alias("glshim_snd_async_handler_get_callback_private"))); #endif #if !defined(skip_client_snd_async_handler_get_ctl) && !defined(skip_index_snd_async_handler_get_ctl) -snd_ctl_t * snd_async_handler_get_ctl(snd_async_handler_t * handler) { +snd_ctl_t * glshim_snd_async_handler_get_ctl(snd_async_handler_t * handler) { snd_async_handler_get_ctl_INDEXED packed_data; packed_data.func = snd_async_handler_get_ctl_INDEX; packed_data.args.a1 = (snd_async_handler_t *)handler; @@ -5496,9 +6060,10 @@ snd_ctl_t * snd_async_handler_get_ctl(snd_async_handler_t * handler) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_ctl_t * snd_async_handler_get_ctl(snd_async_handler_t * handler) __attribute__((alias("glshim_snd_async_handler_get_ctl"))); #endif #if !defined(skip_client_snd_async_handler_get_fd) && !defined(skip_index_snd_async_handler_get_fd) -int snd_async_handler_get_fd(snd_async_handler_t * handler) { +int glshim_snd_async_handler_get_fd(snd_async_handler_t * handler) { snd_async_handler_get_fd_INDEXED packed_data; packed_data.func = snd_async_handler_get_fd_INDEX; packed_data.args.a1 = (snd_async_handler_t *)handler; @@ -5506,9 +6071,10 @@ int snd_async_handler_get_fd(snd_async_handler_t * handler) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_async_handler_get_fd(snd_async_handler_t * handler) __attribute__((alias("glshim_snd_async_handler_get_fd"))); #endif #if !defined(skip_client_snd_async_handler_get_pcm) && !defined(skip_index_snd_async_handler_get_pcm) -snd_pcm_t * snd_async_handler_get_pcm(snd_async_handler_t * handler) { +snd_pcm_t * glshim_snd_async_handler_get_pcm(snd_async_handler_t * handler) { snd_async_handler_get_pcm_INDEXED packed_data; packed_data.func = snd_async_handler_get_pcm_INDEX; packed_data.args.a1 = (snd_async_handler_t *)handler; @@ -5516,9 +6082,10 @@ snd_pcm_t * snd_async_handler_get_pcm(snd_async_handler_t * handler) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_t * snd_async_handler_get_pcm(snd_async_handler_t * handler) __attribute__((alias("glshim_snd_async_handler_get_pcm"))); #endif #if !defined(skip_client_snd_async_handler_get_signo) && !defined(skip_index_snd_async_handler_get_signo) -int snd_async_handler_get_signo(snd_async_handler_t * handler) { +int glshim_snd_async_handler_get_signo(snd_async_handler_t * handler) { snd_async_handler_get_signo_INDEXED packed_data; packed_data.func = snd_async_handler_get_signo_INDEX; packed_data.args.a1 = (snd_async_handler_t *)handler; @@ -5526,9 +6093,10 @@ int snd_async_handler_get_signo(snd_async_handler_t * handler) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_async_handler_get_signo(snd_async_handler_t * handler) __attribute__((alias("glshim_snd_async_handler_get_signo"))); #endif #if !defined(skip_client_snd_async_handler_get_timer) && !defined(skip_index_snd_async_handler_get_timer) -snd_timer_t * snd_async_handler_get_timer(snd_async_handler_t * handler) { +snd_timer_t * glshim_snd_async_handler_get_timer(snd_async_handler_t * handler) { snd_async_handler_get_timer_INDEXED packed_data; packed_data.func = snd_async_handler_get_timer_INDEX; packed_data.args.a1 = (snd_async_handler_t *)handler; @@ -5536,9 +6104,10 @@ snd_timer_t * snd_async_handler_get_timer(snd_async_handler_t * handler) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_timer_t * snd_async_handler_get_timer(snd_async_handler_t * handler) __attribute__((alias("glshim_snd_async_handler_get_timer"))); #endif #if !defined(skip_client_snd_card_get_index) && !defined(skip_index_snd_card_get_index) -int snd_card_get_index(const char * name) { +int glshim_snd_card_get_index(const char * name) { snd_card_get_index_INDEXED packed_data; packed_data.func = snd_card_get_index_INDEX; packed_data.args.a1 = (char *)name; @@ -5546,9 +6115,10 @@ int snd_card_get_index(const char * name) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_card_get_index(const char * name) __attribute__((alias("glshim_snd_card_get_index"))); #endif #if !defined(skip_client_snd_card_get_longname) && !defined(skip_index_snd_card_get_longname) -int snd_card_get_longname(int card, char ** name) { +int glshim_snd_card_get_longname(int card, char ** name) { snd_card_get_longname_INDEXED packed_data; packed_data.func = snd_card_get_longname_INDEX; packed_data.args.a1 = (int)card; @@ -5557,9 +6127,10 @@ int snd_card_get_longname(int card, char ** name) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_card_get_longname(int card, char ** name) __attribute__((alias("glshim_snd_card_get_longname"))); #endif #if !defined(skip_client_snd_card_get_name) && !defined(skip_index_snd_card_get_name) -int snd_card_get_name(int card, char ** name) { +int glshim_snd_card_get_name(int card, char ** name) { snd_card_get_name_INDEXED packed_data; packed_data.func = snd_card_get_name_INDEX; packed_data.args.a1 = (int)card; @@ -5568,9 +6139,10 @@ int snd_card_get_name(int card, char ** name) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_card_get_name(int card, char ** name) __attribute__((alias("glshim_snd_card_get_name"))); #endif #if !defined(skip_client_snd_card_load) && !defined(skip_index_snd_card_load) -int snd_card_load(int card) { +int glshim_snd_card_load(int card) { snd_card_load_INDEXED packed_data; packed_data.func = snd_card_load_INDEX; packed_data.args.a1 = (int)card; @@ -5578,9 +6150,10 @@ int snd_card_load(int card) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_card_load(int card) __attribute__((alias("glshim_snd_card_load"))); #endif #if !defined(skip_client_snd_card_next) && !defined(skip_index_snd_card_next) -int snd_card_next(int * card) { +int glshim_snd_card_next(int * card) { snd_card_next_INDEXED packed_data; packed_data.func = snd_card_next_INDEX; packed_data.args.a1 = (int *)card; @@ -5588,9 +6161,10 @@ int snd_card_next(int * card) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_card_next(int * card) __attribute__((alias("glshim_snd_card_next"))); #endif #if !defined(skip_client_snd_config_add) && !defined(skip_index_snd_config_add) -int snd_config_add(snd_config_t * config, snd_config_t * leaf) { +int glshim_snd_config_add(snd_config_t * config, snd_config_t * leaf) { snd_config_add_INDEXED packed_data; packed_data.func = snd_config_add_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5599,9 +6173,10 @@ int snd_config_add(snd_config_t * config, snd_config_t * leaf) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_add(snd_config_t * config, snd_config_t * leaf) __attribute__((alias("glshim_snd_config_add"))); #endif #if !defined(skip_client_snd_config_copy) && !defined(skip_index_snd_config_copy) -int snd_config_copy(snd_config_t ** dst, snd_config_t * src) { +int glshim_snd_config_copy(snd_config_t ** dst, snd_config_t * src) { snd_config_copy_INDEXED packed_data; packed_data.func = snd_config_copy_INDEX; packed_data.args.a1 = (snd_config_t **)dst; @@ -5610,9 +6185,10 @@ int snd_config_copy(snd_config_t ** dst, snd_config_t * src) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_copy(snd_config_t ** dst, snd_config_t * src) __attribute__((alias("glshim_snd_config_copy"))); #endif #if !defined(skip_client_snd_config_delete) && !defined(skip_index_snd_config_delete) -int snd_config_delete(snd_config_t * config) { +int glshim_snd_config_delete(snd_config_t * config) { snd_config_delete_INDEXED packed_data; packed_data.func = snd_config_delete_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5620,9 +6196,10 @@ int snd_config_delete(snd_config_t * config) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_delete(snd_config_t * config) __attribute__((alias("glshim_snd_config_delete"))); #endif #if !defined(skip_client_snd_config_delete_compound_members) && !defined(skip_index_snd_config_delete_compound_members) -int snd_config_delete_compound_members(const snd_config_t * config) { +int glshim_snd_config_delete_compound_members(const snd_config_t * config) { snd_config_delete_compound_members_INDEXED packed_data; packed_data.func = snd_config_delete_compound_members_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5630,9 +6207,10 @@ int snd_config_delete_compound_members(const snd_config_t * config) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_delete_compound_members(const snd_config_t * config) __attribute__((alias("glshim_snd_config_delete_compound_members"))); #endif #if !defined(skip_client_snd_config_evaluate) && !defined(skip_index_snd_config_evaluate) -int snd_config_evaluate(snd_config_t * config, snd_config_t * root, snd_config_t * private_data, snd_config_t ** result) { +int glshim_snd_config_evaluate(snd_config_t * config, snd_config_t * root, snd_config_t * private_data, snd_config_t ** result) { snd_config_evaluate_INDEXED packed_data; packed_data.func = snd_config_evaluate_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5643,9 +6221,10 @@ int snd_config_evaluate(snd_config_t * config, snd_config_t * root, snd_config_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_evaluate(snd_config_t * config, snd_config_t * root, snd_config_t * private_data, snd_config_t ** result) __attribute__((alias("glshim_snd_config_evaluate"))); #endif #if !defined(skip_client_snd_config_expand) && !defined(skip_index_snd_config_expand) -int snd_config_expand(snd_config_t * config, snd_config_t * root, const char * args, snd_config_t * private_data, snd_config_t ** result) { +int glshim_snd_config_expand(snd_config_t * config, snd_config_t * root, const char * args, snd_config_t * private_data, snd_config_t ** result) { snd_config_expand_INDEXED packed_data; packed_data.func = snd_config_expand_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5657,9 +6236,10 @@ int snd_config_expand(snd_config_t * config, snd_config_t * root, const char * a syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_expand(snd_config_t * config, snd_config_t * root, const char * args, snd_config_t * private_data, snd_config_t ** result) __attribute__((alias("glshim_snd_config_expand"))); #endif #if !defined(skip_client_snd_config_get_ascii) && !defined(skip_index_snd_config_get_ascii) -int snd_config_get_ascii(const snd_config_t * config, char ** value) { +int glshim_snd_config_get_ascii(const snd_config_t * config, char ** value) { snd_config_get_ascii_INDEXED packed_data; packed_data.func = snd_config_get_ascii_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5668,9 +6248,10 @@ int snd_config_get_ascii(const snd_config_t * config, char ** value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_get_ascii(const snd_config_t * config, char ** value) __attribute__((alias("glshim_snd_config_get_ascii"))); #endif #if !defined(skip_client_snd_config_get_bool) && !defined(skip_index_snd_config_get_bool) -int snd_config_get_bool(const snd_config_t * conf) { +int glshim_snd_config_get_bool(const snd_config_t * conf) { snd_config_get_bool_INDEXED packed_data; packed_data.func = snd_config_get_bool_INDEX; packed_data.args.a1 = (snd_config_t *)conf; @@ -5678,9 +6259,10 @@ int snd_config_get_bool(const snd_config_t * conf) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_get_bool(const snd_config_t * conf) __attribute__((alias("glshim_snd_config_get_bool"))); #endif #if !defined(skip_client_snd_config_get_bool_ascii) && !defined(skip_index_snd_config_get_bool_ascii) -int snd_config_get_bool_ascii(const char * ascii) { +int glshim_snd_config_get_bool_ascii(const char * ascii) { snd_config_get_bool_ascii_INDEXED packed_data; packed_data.func = snd_config_get_bool_ascii_INDEX; packed_data.args.a1 = (char *)ascii; @@ -5688,9 +6270,10 @@ int snd_config_get_bool_ascii(const char * ascii) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_get_bool_ascii(const char * ascii) __attribute__((alias("glshim_snd_config_get_bool_ascii"))); #endif #if !defined(skip_client_snd_config_get_ctl_iface) && !defined(skip_index_snd_config_get_ctl_iface) -int snd_config_get_ctl_iface(const snd_config_t * conf) { +int glshim_snd_config_get_ctl_iface(const snd_config_t * conf) { snd_config_get_ctl_iface_INDEXED packed_data; packed_data.func = snd_config_get_ctl_iface_INDEX; packed_data.args.a1 = (snd_config_t *)conf; @@ -5698,9 +6281,10 @@ int snd_config_get_ctl_iface(const snd_config_t * conf) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_get_ctl_iface(const snd_config_t * conf) __attribute__((alias("glshim_snd_config_get_ctl_iface"))); #endif #if !defined(skip_client_snd_config_get_ctl_iface_ascii) && !defined(skip_index_snd_config_get_ctl_iface_ascii) -int snd_config_get_ctl_iface_ascii(const char * ascii) { +int glshim_snd_config_get_ctl_iface_ascii(const char * ascii) { snd_config_get_ctl_iface_ascii_INDEXED packed_data; packed_data.func = snd_config_get_ctl_iface_ascii_INDEX; packed_data.args.a1 = (char *)ascii; @@ -5708,9 +6292,10 @@ int snd_config_get_ctl_iface_ascii(const char * ascii) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_get_ctl_iface_ascii(const char * ascii) __attribute__((alias("glshim_snd_config_get_ctl_iface_ascii"))); #endif #if !defined(skip_client_snd_config_get_id) && !defined(skip_index_snd_config_get_id) -int snd_config_get_id(const snd_config_t * config, const char ** value) { +int glshim_snd_config_get_id(const snd_config_t * config, const char ** value) { snd_config_get_id_INDEXED packed_data; packed_data.func = snd_config_get_id_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5719,9 +6304,10 @@ int snd_config_get_id(const snd_config_t * config, const char ** value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_get_id(const snd_config_t * config, const char ** value) __attribute__((alias("glshim_snd_config_get_id"))); #endif #if !defined(skip_client_snd_config_get_integer) && !defined(skip_index_snd_config_get_integer) -int snd_config_get_integer(const snd_config_t * config, long * value) { +int glshim_snd_config_get_integer(const snd_config_t * config, long * value) { snd_config_get_integer_INDEXED packed_data; packed_data.func = snd_config_get_integer_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5730,9 +6316,10 @@ int snd_config_get_integer(const snd_config_t * config, long * value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_get_integer(const snd_config_t * config, long * value) __attribute__((alias("glshim_snd_config_get_integer"))); #endif #if !defined(skip_client_snd_config_get_integer64) && !defined(skip_index_snd_config_get_integer64) -int snd_config_get_integer64(const snd_config_t * config, long long * value) { +int glshim_snd_config_get_integer64(const snd_config_t * config, long long * value) { snd_config_get_integer64_INDEXED packed_data; packed_data.func = snd_config_get_integer64_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5741,9 +6328,10 @@ int snd_config_get_integer64(const snd_config_t * config, long long * value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_get_integer64(const snd_config_t * config, long long * value) __attribute__((alias("glshim_snd_config_get_integer64"))); #endif #if !defined(skip_client_snd_config_get_ireal) && !defined(skip_index_snd_config_get_ireal) -int snd_config_get_ireal(const snd_config_t * config, double * value) { +int glshim_snd_config_get_ireal(const snd_config_t * config, double * value) { snd_config_get_ireal_INDEXED packed_data; packed_data.func = snd_config_get_ireal_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5752,9 +6340,10 @@ int snd_config_get_ireal(const snd_config_t * config, double * value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_get_ireal(const snd_config_t * config, double * value) __attribute__((alias("glshim_snd_config_get_ireal"))); #endif #if !defined(skip_client_snd_config_get_pointer) && !defined(skip_index_snd_config_get_pointer) -int snd_config_get_pointer(const snd_config_t * config, const void ** value) { +int glshim_snd_config_get_pointer(const snd_config_t * config, const void ** value) { snd_config_get_pointer_INDEXED packed_data; packed_data.func = snd_config_get_pointer_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5763,9 +6352,10 @@ int snd_config_get_pointer(const snd_config_t * config, const void ** value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_get_pointer(const snd_config_t * config, const void ** value) __attribute__((alias("glshim_snd_config_get_pointer"))); #endif #if !defined(skip_client_snd_config_get_real) && !defined(skip_index_snd_config_get_real) -int snd_config_get_real(const snd_config_t * config, double * value) { +int glshim_snd_config_get_real(const snd_config_t * config, double * value) { snd_config_get_real_INDEXED packed_data; packed_data.func = snd_config_get_real_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5774,9 +6364,10 @@ int snd_config_get_real(const snd_config_t * config, double * value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_get_real(const snd_config_t * config, double * value) __attribute__((alias("glshim_snd_config_get_real"))); #endif #if !defined(skip_client_snd_config_get_string) && !defined(skip_index_snd_config_get_string) -int snd_config_get_string(const snd_config_t * config, const char ** value) { +int glshim_snd_config_get_string(const snd_config_t * config, const char ** value) { snd_config_get_string_INDEXED packed_data; packed_data.func = snd_config_get_string_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5785,9 +6376,10 @@ int snd_config_get_string(const snd_config_t * config, const char ** value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_get_string(const snd_config_t * config, const char ** value) __attribute__((alias("glshim_snd_config_get_string"))); #endif #if !defined(skip_client_snd_config_get_type) && !defined(skip_index_snd_config_get_type) -snd_config_type_t snd_config_get_type(const snd_config_t * config) { +snd_config_type_t glshim_snd_config_get_type(const snd_config_t * config) { snd_config_get_type_INDEXED packed_data; packed_data.func = snd_config_get_type_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5795,9 +6387,10 @@ snd_config_type_t snd_config_get_type(const snd_config_t * config) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_config_type_t snd_config_get_type(const snd_config_t * config) __attribute__((alias("glshim_snd_config_get_type"))); #endif #if !defined(skip_client_snd_config_imake_integer) && !defined(skip_index_snd_config_imake_integer) -int snd_config_imake_integer(snd_config_t ** config, const char * key, const long value) { +int glshim_snd_config_imake_integer(snd_config_t ** config, const char * key, const long value) { snd_config_imake_integer_INDEXED packed_data; packed_data.func = snd_config_imake_integer_INDEX; packed_data.args.a1 = (snd_config_t **)config; @@ -5807,9 +6400,10 @@ int snd_config_imake_integer(snd_config_t ** config, const char * key, const lon syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_imake_integer(snd_config_t ** config, const char * key, const long value) __attribute__((alias("glshim_snd_config_imake_integer"))); #endif #if !defined(skip_client_snd_config_imake_integer64) && !defined(skip_index_snd_config_imake_integer64) -int snd_config_imake_integer64(snd_config_t ** config, const char * key, const long long value) { +int glshim_snd_config_imake_integer64(snd_config_t ** config, const char * key, const long long value) { snd_config_imake_integer64_INDEXED packed_data; packed_data.func = snd_config_imake_integer64_INDEX; packed_data.args.a1 = (snd_config_t **)config; @@ -5819,9 +6413,10 @@ int snd_config_imake_integer64(snd_config_t ** config, const char * key, const l syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_imake_integer64(snd_config_t ** config, const char * key, const long long value) __attribute__((alias("glshim_snd_config_imake_integer64"))); #endif #if !defined(skip_client_snd_config_imake_pointer) && !defined(skip_index_snd_config_imake_pointer) -int snd_config_imake_pointer(snd_config_t ** config, const char * key, const void * ptr) { +int glshim_snd_config_imake_pointer(snd_config_t ** config, const char * key, const void * ptr) { snd_config_imake_pointer_INDEXED packed_data; packed_data.func = snd_config_imake_pointer_INDEX; packed_data.args.a1 = (snd_config_t **)config; @@ -5831,9 +6426,10 @@ int snd_config_imake_pointer(snd_config_t ** config, const char * key, const voi syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_imake_pointer(snd_config_t ** config, const char * key, const void * ptr) __attribute__((alias("glshim_snd_config_imake_pointer"))); #endif #if !defined(skip_client_snd_config_imake_real) && !defined(skip_index_snd_config_imake_real) -int snd_config_imake_real(snd_config_t ** config, const char * key, const double value) { +int glshim_snd_config_imake_real(snd_config_t ** config, const char * key, const double value) { snd_config_imake_real_INDEXED packed_data; packed_data.func = snd_config_imake_real_INDEX; packed_data.args.a1 = (snd_config_t **)config; @@ -5843,9 +6439,10 @@ int snd_config_imake_real(snd_config_t ** config, const char * key, const double syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_imake_real(snd_config_t ** config, const char * key, const double value) __attribute__((alias("glshim_snd_config_imake_real"))); #endif #if !defined(skip_client_snd_config_imake_string) && !defined(skip_index_snd_config_imake_string) -int snd_config_imake_string(snd_config_t ** config, const char * key, const char * ascii) { +int glshim_snd_config_imake_string(snd_config_t ** config, const char * key, const char * ascii) { snd_config_imake_string_INDEXED packed_data; packed_data.func = snd_config_imake_string_INDEX; packed_data.args.a1 = (snd_config_t **)config; @@ -5855,9 +6452,10 @@ int snd_config_imake_string(snd_config_t ** config, const char * key, const char syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_imake_string(snd_config_t ** config, const char * key, const char * ascii) __attribute__((alias("glshim_snd_config_imake_string"))); #endif #if !defined(skip_client_snd_config_iterator_end) && !defined(skip_index_snd_config_iterator_end) -snd_config_iterator_t snd_config_iterator_end(const snd_config_t * node) { +snd_config_iterator_t glshim_snd_config_iterator_end(const snd_config_t * node) { snd_config_iterator_end_INDEXED packed_data; packed_data.func = snd_config_iterator_end_INDEX; packed_data.args.a1 = (snd_config_t *)node; @@ -5865,9 +6463,10 @@ snd_config_iterator_t snd_config_iterator_end(const snd_config_t * node) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_config_iterator_t snd_config_iterator_end(const snd_config_t * node) __attribute__((alias("glshim_snd_config_iterator_end"))); #endif #if !defined(skip_client_snd_config_iterator_entry) && !defined(skip_index_snd_config_iterator_entry) -snd_config_t * snd_config_iterator_entry(const snd_config_iterator_t iterator) { +snd_config_t * glshim_snd_config_iterator_entry(const snd_config_iterator_t iterator) { snd_config_iterator_entry_INDEXED packed_data; packed_data.func = snd_config_iterator_entry_INDEX; packed_data.args.a1 = (snd_config_iterator_t)iterator; @@ -5875,9 +6474,10 @@ snd_config_t * snd_config_iterator_entry(const snd_config_iterator_t iterator) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_config_t * snd_config_iterator_entry(const snd_config_iterator_t iterator) __attribute__((alias("glshim_snd_config_iterator_entry"))); #endif #if !defined(skip_client_snd_config_iterator_first) && !defined(skip_index_snd_config_iterator_first) -snd_config_iterator_t snd_config_iterator_first(const snd_config_t * node) { +snd_config_iterator_t glshim_snd_config_iterator_first(const snd_config_t * node) { snd_config_iterator_first_INDEXED packed_data; packed_data.func = snd_config_iterator_first_INDEX; packed_data.args.a1 = (snd_config_t *)node; @@ -5885,9 +6485,10 @@ snd_config_iterator_t snd_config_iterator_first(const snd_config_t * node) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_config_iterator_t snd_config_iterator_first(const snd_config_t * node) __attribute__((alias("glshim_snd_config_iterator_first"))); #endif #if !defined(skip_client_snd_config_iterator_next) && !defined(skip_index_snd_config_iterator_next) -snd_config_iterator_t snd_config_iterator_next(const snd_config_iterator_t iterator) { +snd_config_iterator_t glshim_snd_config_iterator_next(const snd_config_iterator_t iterator) { snd_config_iterator_next_INDEXED packed_data; packed_data.func = snd_config_iterator_next_INDEX; packed_data.args.a1 = (snd_config_iterator_t)iterator; @@ -5895,9 +6496,10 @@ snd_config_iterator_t snd_config_iterator_next(const snd_config_iterator_t itera syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_config_iterator_t snd_config_iterator_next(const snd_config_iterator_t iterator) __attribute__((alias("glshim_snd_config_iterator_next"))); #endif #if !defined(skip_client_snd_config_load) && !defined(skip_index_snd_config_load) -int snd_config_load(snd_config_t * config, snd_input_t * in) { +int glshim_snd_config_load(snd_config_t * config, snd_input_t * in) { snd_config_load_INDEXED packed_data; packed_data.func = snd_config_load_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5906,9 +6508,10 @@ int snd_config_load(snd_config_t * config, snd_input_t * in) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_load(snd_config_t * config, snd_input_t * in) __attribute__((alias("glshim_snd_config_load"))); #endif #if !defined(skip_client_snd_config_load_override) && !defined(skip_index_snd_config_load_override) -int snd_config_load_override(snd_config_t * config, snd_input_t * in) { +int glshim_snd_config_load_override(snd_config_t * config, snd_input_t * in) { snd_config_load_override_INDEXED packed_data; packed_data.func = snd_config_load_override_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -5917,9 +6520,10 @@ int snd_config_load_override(snd_config_t * config, snd_input_t * in) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_load_override(snd_config_t * config, snd_input_t * in) __attribute__((alias("glshim_snd_config_load_override"))); #endif #if !defined(skip_client_snd_config_make) && !defined(skip_index_snd_config_make) -int snd_config_make(snd_config_t ** config, const char * key, snd_config_type_t type) { +int glshim_snd_config_make(snd_config_t ** config, const char * key, snd_config_type_t type) { snd_config_make_INDEXED packed_data; packed_data.func = snd_config_make_INDEX; packed_data.args.a1 = (snd_config_t **)config; @@ -5929,9 +6533,10 @@ int snd_config_make(snd_config_t ** config, const char * key, snd_config_type_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_make(snd_config_t ** config, const char * key, snd_config_type_t type) __attribute__((alias("glshim_snd_config_make"))); #endif #if !defined(skip_client_snd_config_make_compound) && !defined(skip_index_snd_config_make_compound) -int snd_config_make_compound(snd_config_t ** config, const char * key, int join) { +int glshim_snd_config_make_compound(snd_config_t ** config, const char * key, int join) { snd_config_make_compound_INDEXED packed_data; packed_data.func = snd_config_make_compound_INDEX; packed_data.args.a1 = (snd_config_t **)config; @@ -5941,9 +6546,10 @@ int snd_config_make_compound(snd_config_t ** config, const char * key, int join) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_make_compound(snd_config_t ** config, const char * key, int join) __attribute__((alias("glshim_snd_config_make_compound"))); #endif #if !defined(skip_client_snd_config_make_integer) && !defined(skip_index_snd_config_make_integer) -int snd_config_make_integer(snd_config_t ** config, const char * key) { +int glshim_snd_config_make_integer(snd_config_t ** config, const char * key) { snd_config_make_integer_INDEXED packed_data; packed_data.func = snd_config_make_integer_INDEX; packed_data.args.a1 = (snd_config_t **)config; @@ -5952,9 +6558,10 @@ int snd_config_make_integer(snd_config_t ** config, const char * key) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_make_integer(snd_config_t ** config, const char * key) __attribute__((alias("glshim_snd_config_make_integer"))); #endif #if !defined(skip_client_snd_config_make_integer64) && !defined(skip_index_snd_config_make_integer64) -int snd_config_make_integer64(snd_config_t ** config, const char * key) { +int glshim_snd_config_make_integer64(snd_config_t ** config, const char * key) { snd_config_make_integer64_INDEXED packed_data; packed_data.func = snd_config_make_integer64_INDEX; packed_data.args.a1 = (snd_config_t **)config; @@ -5963,9 +6570,10 @@ int snd_config_make_integer64(snd_config_t ** config, const char * key) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_make_integer64(snd_config_t ** config, const char * key) __attribute__((alias("glshim_snd_config_make_integer64"))); #endif #if !defined(skip_client_snd_config_make_pointer) && !defined(skip_index_snd_config_make_pointer) -int snd_config_make_pointer(snd_config_t ** config, const char * key) { +int glshim_snd_config_make_pointer(snd_config_t ** config, const char * key) { snd_config_make_pointer_INDEXED packed_data; packed_data.func = snd_config_make_pointer_INDEX; packed_data.args.a1 = (snd_config_t **)config; @@ -5974,9 +6582,10 @@ int snd_config_make_pointer(snd_config_t ** config, const char * key) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_make_pointer(snd_config_t ** config, const char * key) __attribute__((alias("glshim_snd_config_make_pointer"))); #endif #if !defined(skip_client_snd_config_make_real) && !defined(skip_index_snd_config_make_real) -int snd_config_make_real(snd_config_t ** config, const char * key) { +int glshim_snd_config_make_real(snd_config_t ** config, const char * key) { snd_config_make_real_INDEXED packed_data; packed_data.func = snd_config_make_real_INDEX; packed_data.args.a1 = (snd_config_t **)config; @@ -5985,9 +6594,10 @@ int snd_config_make_real(snd_config_t ** config, const char * key) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_make_real(snd_config_t ** config, const char * key) __attribute__((alias("glshim_snd_config_make_real"))); #endif #if !defined(skip_client_snd_config_make_string) && !defined(skip_index_snd_config_make_string) -int snd_config_make_string(snd_config_t ** config, const char * key) { +int glshim_snd_config_make_string(snd_config_t ** config, const char * key) { snd_config_make_string_INDEXED packed_data; packed_data.func = snd_config_make_string_INDEX; packed_data.args.a1 = (snd_config_t **)config; @@ -5996,9 +6606,10 @@ int snd_config_make_string(snd_config_t ** config, const char * key) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_make_string(snd_config_t ** config, const char * key) __attribute__((alias("glshim_snd_config_make_string"))); #endif #if !defined(skip_client_snd_config_save) && !defined(skip_index_snd_config_save) -int snd_config_save(snd_config_t * config, snd_output_t * out) { +int glshim_snd_config_save(snd_config_t * config, snd_output_t * out) { snd_config_save_INDEXED packed_data; packed_data.func = snd_config_save_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -6007,9 +6618,10 @@ int snd_config_save(snd_config_t * config, snd_output_t * out) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_save(snd_config_t * config, snd_output_t * out) __attribute__((alias("glshim_snd_config_save"))); #endif #if !defined(skip_client_snd_config_search) && !defined(skip_index_snd_config_search) -int snd_config_search(snd_config_t * config, const char * key, snd_config_t ** result) { +int glshim_snd_config_search(snd_config_t * config, const char * key, snd_config_t ** result) { snd_config_search_INDEXED packed_data; packed_data.func = snd_config_search_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -6019,9 +6631,10 @@ int snd_config_search(snd_config_t * config, const char * key, snd_config_t ** r syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_search(snd_config_t * config, const char * key, snd_config_t ** result) __attribute__((alias("glshim_snd_config_search"))); #endif #if !defined(skip_client_snd_config_search_definition) && !defined(skip_index_snd_config_search_definition) -int snd_config_search_definition(snd_config_t * config, const char * base, const char * key, snd_config_t ** result) { +int glshim_snd_config_search_definition(snd_config_t * config, const char * base, const char * key, snd_config_t ** result) { snd_config_search_definition_INDEXED packed_data; packed_data.func = snd_config_search_definition_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -6032,9 +6645,10 @@ int snd_config_search_definition(snd_config_t * config, const char * base, const syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_search_definition(snd_config_t * config, const char * base, const char * key, snd_config_t ** result) __attribute__((alias("glshim_snd_config_search_definition"))); #endif #if !defined(skip_client_snd_config_set_ascii) && !defined(skip_index_snd_config_set_ascii) -int snd_config_set_ascii(snd_config_t * config, const char * ascii) { +int glshim_snd_config_set_ascii(snd_config_t * config, const char * ascii) { snd_config_set_ascii_INDEXED packed_data; packed_data.func = snd_config_set_ascii_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -6043,9 +6657,10 @@ int snd_config_set_ascii(snd_config_t * config, const char * ascii) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_set_ascii(snd_config_t * config, const char * ascii) __attribute__((alias("glshim_snd_config_set_ascii"))); #endif #if !defined(skip_client_snd_config_set_id) && !defined(skip_index_snd_config_set_id) -int snd_config_set_id(snd_config_t * config, const char * id) { +int glshim_snd_config_set_id(snd_config_t * config, const char * id) { snd_config_set_id_INDEXED packed_data; packed_data.func = snd_config_set_id_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -6054,9 +6669,10 @@ int snd_config_set_id(snd_config_t * config, const char * id) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_set_id(snd_config_t * config, const char * id) __attribute__((alias("glshim_snd_config_set_id"))); #endif #if !defined(skip_client_snd_config_set_integer) && !defined(skip_index_snd_config_set_integer) -int snd_config_set_integer(snd_config_t * config, long value) { +int glshim_snd_config_set_integer(snd_config_t * config, long value) { snd_config_set_integer_INDEXED packed_data; packed_data.func = snd_config_set_integer_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -6065,9 +6681,10 @@ int snd_config_set_integer(snd_config_t * config, long value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_set_integer(snd_config_t * config, long value) __attribute__((alias("glshim_snd_config_set_integer"))); #endif #if !defined(skip_client_snd_config_set_integer64) && !defined(skip_index_snd_config_set_integer64) -int snd_config_set_integer64(snd_config_t * config, long long value) { +int glshim_snd_config_set_integer64(snd_config_t * config, long long value) { snd_config_set_integer64_INDEXED packed_data; packed_data.func = snd_config_set_integer64_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -6076,9 +6693,10 @@ int snd_config_set_integer64(snd_config_t * config, long long value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_set_integer64(snd_config_t * config, long long value) __attribute__((alias("glshim_snd_config_set_integer64"))); #endif #if !defined(skip_client_snd_config_set_pointer) && !defined(skip_index_snd_config_set_pointer) -int snd_config_set_pointer(snd_config_t * config, const void * ptr) { +int glshim_snd_config_set_pointer(snd_config_t * config, const void * ptr) { snd_config_set_pointer_INDEXED packed_data; packed_data.func = snd_config_set_pointer_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -6087,9 +6705,10 @@ int snd_config_set_pointer(snd_config_t * config, const void * ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_set_pointer(snd_config_t * config, const void * ptr) __attribute__((alias("glshim_snd_config_set_pointer"))); #endif #if !defined(skip_client_snd_config_set_real) && !defined(skip_index_snd_config_set_real) -int snd_config_set_real(snd_config_t * config, double value) { +int glshim_snd_config_set_real(snd_config_t * config, double value) { snd_config_set_real_INDEXED packed_data; packed_data.func = snd_config_set_real_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -6098,9 +6717,10 @@ int snd_config_set_real(snd_config_t * config, double value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_set_real(snd_config_t * config, double value) __attribute__((alias("glshim_snd_config_set_real"))); #endif #if !defined(skip_client_snd_config_set_string) && !defined(skip_index_snd_config_set_string) -int snd_config_set_string(snd_config_t * config, const char * value) { +int glshim_snd_config_set_string(snd_config_t * config, const char * value) { snd_config_set_string_INDEXED packed_data; packed_data.func = snd_config_set_string_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -6109,9 +6729,10 @@ int snd_config_set_string(snd_config_t * config, const char * value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_set_string(snd_config_t * config, const char * value) __attribute__((alias("glshim_snd_config_set_string"))); #endif #if !defined(skip_client_snd_config_test_id) && !defined(skip_index_snd_config_test_id) -int snd_config_test_id(const snd_config_t * config, const char * id) { +int glshim_snd_config_test_id(const snd_config_t * config, const char * id) { snd_config_test_id_INDEXED packed_data; packed_data.func = snd_config_test_id_INDEX; packed_data.args.a1 = (snd_config_t *)config; @@ -6120,9 +6741,10 @@ int snd_config_test_id(const snd_config_t * config, const char * id) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_test_id(const snd_config_t * config, const char * id) __attribute__((alias("glshim_snd_config_test_id"))); #endif #if !defined(skip_client_snd_config_top) && !defined(skip_index_snd_config_top) -int snd_config_top(snd_config_t ** config) { +int glshim_snd_config_top(snd_config_t ** config) { snd_config_top_INDEXED packed_data; packed_data.func = snd_config_top_INDEX; packed_data.args.a1 = (snd_config_t **)config; @@ -6130,18 +6752,20 @@ int snd_config_top(snd_config_t ** config) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_top(snd_config_t ** config) __attribute__((alias("glshim_snd_config_top"))); #endif #if !defined(skip_client_snd_config_update) && !defined(skip_index_snd_config_update) -int snd_config_update() { +int glshim_snd_config_update() { snd_config_update_INDEXED packed_data; packed_data.func = snd_config_update_INDEX; int ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_update() __attribute__((alias("glshim_snd_config_update"))); #endif #if !defined(skip_client_snd_config_update_free) && !defined(skip_index_snd_config_update_free) -int snd_config_update_free(snd_config_update_t * update) { +int glshim_snd_config_update_free(snd_config_update_t * update) { snd_config_update_free_INDEXED packed_data; packed_data.func = snd_config_update_free_INDEX; packed_data.args.a1 = (snd_config_update_t *)update; @@ -6149,18 +6773,20 @@ int snd_config_update_free(snd_config_update_t * update) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_update_free(snd_config_update_t * update) __attribute__((alias("glshim_snd_config_update_free"))); #endif #if !defined(skip_client_snd_config_update_free_global) && !defined(skip_index_snd_config_update_free_global) -int snd_config_update_free_global() { +int glshim_snd_config_update_free_global() { snd_config_update_free_global_INDEXED packed_data; packed_data.func = snd_config_update_free_global_INDEX; int ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_update_free_global() __attribute__((alias("glshim_snd_config_update_free_global"))); #endif #if !defined(skip_client_snd_config_update_r) && !defined(skip_index_snd_config_update_r) -int snd_config_update_r(snd_config_t ** top, snd_config_update_t ** update, const char * path) { +int glshim_snd_config_update_r(snd_config_t ** top, snd_config_update_t ** update, const char * path) { snd_config_update_r_INDEXED packed_data; packed_data.func = snd_config_update_r_INDEX; packed_data.args.a1 = (snd_config_t **)top; @@ -6170,9 +6796,10 @@ int snd_config_update_r(snd_config_t ** top, snd_config_update_t ** update, cons syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_config_update_r(snd_config_t ** top, snd_config_update_t ** update, const char * path) __attribute__((alias("glshim_snd_config_update_r"))); #endif #if !defined(skip_client_snd_ctl_card_info) && !defined(skip_index_snd_ctl_card_info) -int snd_ctl_card_info(snd_ctl_t * ctl, snd_ctl_card_info_t * info) { +int glshim_snd_ctl_card_info(snd_ctl_t * ctl, snd_ctl_card_info_t * info) { snd_ctl_card_info_INDEXED packed_data; packed_data.func = snd_ctl_card_info_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -6181,34 +6808,38 @@ int snd_ctl_card_info(snd_ctl_t * ctl, snd_ctl_card_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_card_info(snd_ctl_t * ctl, snd_ctl_card_info_t * info) __attribute__((alias("glshim_snd_ctl_card_info"))); #endif #if !defined(skip_client_snd_ctl_card_info_clear) && !defined(skip_index_snd_ctl_card_info_clear) -void snd_ctl_card_info_clear(snd_ctl_card_info_t * obj) { +void glshim_snd_ctl_card_info_clear(snd_ctl_card_info_t * obj) { snd_ctl_card_info_clear_INDEXED packed_data; packed_data.func = snd_ctl_card_info_clear_INDEX; packed_data.args.a1 = (snd_ctl_card_info_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_card_info_clear(snd_ctl_card_info_t * obj) __attribute__((alias("glshim_snd_ctl_card_info_clear"))); #endif #if !defined(skip_client_snd_ctl_card_info_copy) && !defined(skip_index_snd_ctl_card_info_copy) -void snd_ctl_card_info_copy(snd_ctl_card_info_t * dst, const snd_ctl_card_info_t * src) { +void glshim_snd_ctl_card_info_copy(snd_ctl_card_info_t * dst, const snd_ctl_card_info_t * src) { snd_ctl_card_info_copy_INDEXED packed_data; packed_data.func = snd_ctl_card_info_copy_INDEX; packed_data.args.a1 = (snd_ctl_card_info_t *)dst; packed_data.args.a2 = (snd_ctl_card_info_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_card_info_copy(snd_ctl_card_info_t * dst, const snd_ctl_card_info_t * src) __attribute__((alias("glshim_snd_ctl_card_info_copy"))); #endif #if !defined(skip_client_snd_ctl_card_info_free) && !defined(skip_index_snd_ctl_card_info_free) -void snd_ctl_card_info_free(snd_ctl_card_info_t * obj) { +void glshim_snd_ctl_card_info_free(snd_ctl_card_info_t * obj) { snd_ctl_card_info_free_INDEXED packed_data; packed_data.func = snd_ctl_card_info_free_INDEX; packed_data.args.a1 = (snd_ctl_card_info_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_card_info_free(snd_ctl_card_info_t * obj) __attribute__((alias("glshim_snd_ctl_card_info_free"))); #endif #if !defined(skip_client_snd_ctl_card_info_get_card) && !defined(skip_index_snd_ctl_card_info_get_card) -int snd_ctl_card_info_get_card(const snd_ctl_card_info_t * obj) { +int glshim_snd_ctl_card_info_get_card(const snd_ctl_card_info_t * obj) { snd_ctl_card_info_get_card_INDEXED packed_data; packed_data.func = snd_ctl_card_info_get_card_INDEX; packed_data.args.a1 = (snd_ctl_card_info_t *)obj; @@ -6216,9 +6847,10 @@ int snd_ctl_card_info_get_card(const snd_ctl_card_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_card_info_get_card(const snd_ctl_card_info_t * obj) __attribute__((alias("glshim_snd_ctl_card_info_get_card"))); #endif #if !defined(skip_client_snd_ctl_card_info_get_components) && !defined(skip_index_snd_ctl_card_info_get_components) -const char * snd_ctl_card_info_get_components(const snd_ctl_card_info_t * obj) { +const char * glshim_snd_ctl_card_info_get_components(const snd_ctl_card_info_t * obj) { snd_ctl_card_info_get_components_INDEXED packed_data; packed_data.func = snd_ctl_card_info_get_components_INDEX; packed_data.args.a1 = (snd_ctl_card_info_t *)obj; @@ -6226,9 +6858,10 @@ const char * snd_ctl_card_info_get_components(const snd_ctl_card_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_card_info_get_components(const snd_ctl_card_info_t * obj) __attribute__((alias("glshim_snd_ctl_card_info_get_components"))); #endif #if !defined(skip_client_snd_ctl_card_info_get_driver) && !defined(skip_index_snd_ctl_card_info_get_driver) -const char * snd_ctl_card_info_get_driver(const snd_ctl_card_info_t * obj) { +const char * glshim_snd_ctl_card_info_get_driver(const snd_ctl_card_info_t * obj) { snd_ctl_card_info_get_driver_INDEXED packed_data; packed_data.func = snd_ctl_card_info_get_driver_INDEX; packed_data.args.a1 = (snd_ctl_card_info_t *)obj; @@ -6236,9 +6869,10 @@ const char * snd_ctl_card_info_get_driver(const snd_ctl_card_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_card_info_get_driver(const snd_ctl_card_info_t * obj) __attribute__((alias("glshim_snd_ctl_card_info_get_driver"))); #endif #if !defined(skip_client_snd_ctl_card_info_get_id) && !defined(skip_index_snd_ctl_card_info_get_id) -const char * snd_ctl_card_info_get_id(const snd_ctl_card_info_t * obj) { +const char * glshim_snd_ctl_card_info_get_id(const snd_ctl_card_info_t * obj) { snd_ctl_card_info_get_id_INDEXED packed_data; packed_data.func = snd_ctl_card_info_get_id_INDEX; packed_data.args.a1 = (snd_ctl_card_info_t *)obj; @@ -6246,9 +6880,10 @@ const char * snd_ctl_card_info_get_id(const snd_ctl_card_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_card_info_get_id(const snd_ctl_card_info_t * obj) __attribute__((alias("glshim_snd_ctl_card_info_get_id"))); #endif #if !defined(skip_client_snd_ctl_card_info_get_longname) && !defined(skip_index_snd_ctl_card_info_get_longname) -const char * snd_ctl_card_info_get_longname(const snd_ctl_card_info_t * obj) { +const char * glshim_snd_ctl_card_info_get_longname(const snd_ctl_card_info_t * obj) { snd_ctl_card_info_get_longname_INDEXED packed_data; packed_data.func = snd_ctl_card_info_get_longname_INDEX; packed_data.args.a1 = (snd_ctl_card_info_t *)obj; @@ -6256,9 +6891,10 @@ const char * snd_ctl_card_info_get_longname(const snd_ctl_card_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_card_info_get_longname(const snd_ctl_card_info_t * obj) __attribute__((alias("glshim_snd_ctl_card_info_get_longname"))); #endif #if !defined(skip_client_snd_ctl_card_info_get_mixername) && !defined(skip_index_snd_ctl_card_info_get_mixername) -const char * snd_ctl_card_info_get_mixername(const snd_ctl_card_info_t * obj) { +const char * glshim_snd_ctl_card_info_get_mixername(const snd_ctl_card_info_t * obj) { snd_ctl_card_info_get_mixername_INDEXED packed_data; packed_data.func = snd_ctl_card_info_get_mixername_INDEX; packed_data.args.a1 = (snd_ctl_card_info_t *)obj; @@ -6266,9 +6902,10 @@ const char * snd_ctl_card_info_get_mixername(const snd_ctl_card_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_card_info_get_mixername(const snd_ctl_card_info_t * obj) __attribute__((alias("glshim_snd_ctl_card_info_get_mixername"))); #endif #if !defined(skip_client_snd_ctl_card_info_get_name) && !defined(skip_index_snd_ctl_card_info_get_name) -const char * snd_ctl_card_info_get_name(const snd_ctl_card_info_t * obj) { +const char * glshim_snd_ctl_card_info_get_name(const snd_ctl_card_info_t * obj) { snd_ctl_card_info_get_name_INDEXED packed_data; packed_data.func = snd_ctl_card_info_get_name_INDEX; packed_data.args.a1 = (snd_ctl_card_info_t *)obj; @@ -6276,9 +6913,10 @@ const char * snd_ctl_card_info_get_name(const snd_ctl_card_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_card_info_get_name(const snd_ctl_card_info_t * obj) __attribute__((alias("glshim_snd_ctl_card_info_get_name"))); #endif #if !defined(skip_client_snd_ctl_card_info_malloc) && !defined(skip_index_snd_ctl_card_info_malloc) -int snd_ctl_card_info_malloc(snd_ctl_card_info_t ** ptr) { +int glshim_snd_ctl_card_info_malloc(snd_ctl_card_info_t ** ptr) { snd_ctl_card_info_malloc_INDEXED packed_data; packed_data.func = snd_ctl_card_info_malloc_INDEX; packed_data.args.a1 = (snd_ctl_card_info_t **)ptr; @@ -6286,18 +6924,20 @@ int snd_ctl_card_info_malloc(snd_ctl_card_info_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_card_info_malloc(snd_ctl_card_info_t ** ptr) __attribute__((alias("glshim_snd_ctl_card_info_malloc"))); #endif #if !defined(skip_client_snd_ctl_card_info_sizeof) && !defined(skip_index_snd_ctl_card_info_sizeof) -size_t snd_ctl_card_info_sizeof() { +size_t glshim_snd_ctl_card_info_sizeof() { snd_ctl_card_info_sizeof_INDEXED packed_data; packed_data.func = snd_ctl_card_info_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_ctl_card_info_sizeof() __attribute__((alias("glshim_snd_ctl_card_info_sizeof"))); #endif #if !defined(skip_client_snd_ctl_close) && !defined(skip_index_snd_ctl_close) -int snd_ctl_close(snd_ctl_t * ctl) { +int glshim_snd_ctl_close(snd_ctl_t * ctl) { snd_ctl_close_INDEXED packed_data; packed_data.func = snd_ctl_close_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -6305,9 +6945,10 @@ int snd_ctl_close(snd_ctl_t * ctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_close(snd_ctl_t * ctl) __attribute__((alias("glshim_snd_ctl_close"))); #endif #if !defined(skip_client_snd_ctl_elem_add_boolean) && !defined(skip_index_snd_ctl_elem_add_boolean) -int snd_ctl_elem_add_boolean(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, unsigned int count) { +int glshim_snd_ctl_elem_add_boolean(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, unsigned int count) { snd_ctl_elem_add_boolean_INDEXED packed_data; packed_data.func = snd_ctl_elem_add_boolean_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -6317,9 +6958,10 @@ int snd_ctl_elem_add_boolean(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, unsi syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_add_boolean(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, unsigned int count) __attribute__((alias("glshim_snd_ctl_elem_add_boolean"))); #endif #if !defined(skip_client_snd_ctl_elem_add_iec958) && !defined(skip_index_snd_ctl_elem_add_iec958) -int snd_ctl_elem_add_iec958(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id) { +int glshim_snd_ctl_elem_add_iec958(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id) { snd_ctl_elem_add_iec958_INDEXED packed_data; packed_data.func = snd_ctl_elem_add_iec958_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -6328,9 +6970,10 @@ int snd_ctl_elem_add_iec958(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_add_iec958(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id) __attribute__((alias("glshim_snd_ctl_elem_add_iec958"))); #endif #if !defined(skip_client_snd_ctl_elem_add_integer) && !defined(skip_index_snd_ctl_elem_add_integer) -int snd_ctl_elem_add_integer(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, unsigned int count, long imin, long imax, long istep) { +int glshim_snd_ctl_elem_add_integer(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, unsigned int count, long imin, long imax, long istep) { snd_ctl_elem_add_integer_INDEXED packed_data; packed_data.func = snd_ctl_elem_add_integer_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -6343,9 +6986,10 @@ int snd_ctl_elem_add_integer(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, unsi syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_add_integer(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, unsigned int count, long imin, long imax, long istep) __attribute__((alias("glshim_snd_ctl_elem_add_integer"))); #endif #if !defined(skip_client_snd_ctl_elem_add_integer64) && !defined(skip_index_snd_ctl_elem_add_integer64) -int snd_ctl_elem_add_integer64(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, unsigned int count, long long imin, long long imax, long long istep) { +int glshim_snd_ctl_elem_add_integer64(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, unsigned int count, long long imin, long long imax, long long istep) { snd_ctl_elem_add_integer64_INDEXED packed_data; packed_data.func = snd_ctl_elem_add_integer64_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -6358,34 +7002,38 @@ int snd_ctl_elem_add_integer64(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, un syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_add_integer64(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, unsigned int count, long long imin, long long imax, long long istep) __attribute__((alias("glshim_snd_ctl_elem_add_integer64"))); #endif #if !defined(skip_client_snd_ctl_elem_id_clear) && !defined(skip_index_snd_ctl_elem_id_clear) -void snd_ctl_elem_id_clear(snd_ctl_elem_id_t * obj) { +void glshim_snd_ctl_elem_id_clear(snd_ctl_elem_id_t * obj) { snd_ctl_elem_id_clear_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_clear_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_id_clear(snd_ctl_elem_id_t * obj) __attribute__((alias("glshim_snd_ctl_elem_id_clear"))); #endif #if !defined(skip_client_snd_ctl_elem_id_copy) && !defined(skip_index_snd_ctl_elem_id_copy) -void snd_ctl_elem_id_copy(snd_ctl_elem_id_t * dst, const snd_ctl_elem_id_t * src) { +void glshim_snd_ctl_elem_id_copy(snd_ctl_elem_id_t * dst, const snd_ctl_elem_id_t * src) { snd_ctl_elem_id_copy_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_copy_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t *)dst; packed_data.args.a2 = (snd_ctl_elem_id_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_id_copy(snd_ctl_elem_id_t * dst, const snd_ctl_elem_id_t * src) __attribute__((alias("glshim_snd_ctl_elem_id_copy"))); #endif #if !defined(skip_client_snd_ctl_elem_id_free) && !defined(skip_index_snd_ctl_elem_id_free) -void snd_ctl_elem_id_free(snd_ctl_elem_id_t * obj) { +void glshim_snd_ctl_elem_id_free(snd_ctl_elem_id_t * obj) { snd_ctl_elem_id_free_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_free_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_id_free(snd_ctl_elem_id_t * obj) __attribute__((alias("glshim_snd_ctl_elem_id_free"))); #endif #if !defined(skip_client_snd_ctl_elem_id_get_device) && !defined(skip_index_snd_ctl_elem_id_get_device) -unsigned int snd_ctl_elem_id_get_device(const snd_ctl_elem_id_t * obj) { +unsigned int glshim_snd_ctl_elem_id_get_device(const snd_ctl_elem_id_t * obj) { snd_ctl_elem_id_get_device_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_get_device_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t *)obj; @@ -6393,9 +7041,10 @@ unsigned int snd_ctl_elem_id_get_device(const snd_ctl_elem_id_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_id_get_device(const snd_ctl_elem_id_t * obj) __attribute__((alias("glshim_snd_ctl_elem_id_get_device"))); #endif #if !defined(skip_client_snd_ctl_elem_id_get_index) && !defined(skip_index_snd_ctl_elem_id_get_index) -unsigned int snd_ctl_elem_id_get_index(const snd_ctl_elem_id_t * obj) { +unsigned int glshim_snd_ctl_elem_id_get_index(const snd_ctl_elem_id_t * obj) { snd_ctl_elem_id_get_index_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_get_index_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t *)obj; @@ -6403,9 +7052,10 @@ unsigned int snd_ctl_elem_id_get_index(const snd_ctl_elem_id_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_id_get_index(const snd_ctl_elem_id_t * obj) __attribute__((alias("glshim_snd_ctl_elem_id_get_index"))); #endif #if !defined(skip_client_snd_ctl_elem_id_get_interface) && !defined(skip_index_snd_ctl_elem_id_get_interface) -snd_ctl_elem_iface_t snd_ctl_elem_id_get_interface(const snd_ctl_elem_id_t * obj) { +snd_ctl_elem_iface_t glshim_snd_ctl_elem_id_get_interface(const snd_ctl_elem_id_t * obj) { snd_ctl_elem_id_get_interface_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_get_interface_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t *)obj; @@ -6413,9 +7063,10 @@ snd_ctl_elem_iface_t snd_ctl_elem_id_get_interface(const snd_ctl_elem_id_t * obj syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_ctl_elem_iface_t snd_ctl_elem_id_get_interface(const snd_ctl_elem_id_t * obj) __attribute__((alias("glshim_snd_ctl_elem_id_get_interface"))); #endif #if !defined(skip_client_snd_ctl_elem_id_get_name) && !defined(skip_index_snd_ctl_elem_id_get_name) -const char * snd_ctl_elem_id_get_name(const snd_ctl_elem_id_t * obj) { +const char * glshim_snd_ctl_elem_id_get_name(const snd_ctl_elem_id_t * obj) { snd_ctl_elem_id_get_name_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_get_name_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t *)obj; @@ -6423,9 +7074,10 @@ const char * snd_ctl_elem_id_get_name(const snd_ctl_elem_id_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_elem_id_get_name(const snd_ctl_elem_id_t * obj) __attribute__((alias("glshim_snd_ctl_elem_id_get_name"))); #endif #if !defined(skip_client_snd_ctl_elem_id_get_numid) && !defined(skip_index_snd_ctl_elem_id_get_numid) -unsigned int snd_ctl_elem_id_get_numid(const snd_ctl_elem_id_t * obj) { +unsigned int glshim_snd_ctl_elem_id_get_numid(const snd_ctl_elem_id_t * obj) { snd_ctl_elem_id_get_numid_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_get_numid_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t *)obj; @@ -6433,9 +7085,10 @@ unsigned int snd_ctl_elem_id_get_numid(const snd_ctl_elem_id_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_id_get_numid(const snd_ctl_elem_id_t * obj) __attribute__((alias("glshim_snd_ctl_elem_id_get_numid"))); #endif #if !defined(skip_client_snd_ctl_elem_id_get_subdevice) && !defined(skip_index_snd_ctl_elem_id_get_subdevice) -unsigned int snd_ctl_elem_id_get_subdevice(const snd_ctl_elem_id_t * obj) { +unsigned int glshim_snd_ctl_elem_id_get_subdevice(const snd_ctl_elem_id_t * obj) { snd_ctl_elem_id_get_subdevice_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_get_subdevice_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t *)obj; @@ -6443,9 +7096,10 @@ unsigned int snd_ctl_elem_id_get_subdevice(const snd_ctl_elem_id_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_id_get_subdevice(const snd_ctl_elem_id_t * obj) __attribute__((alias("glshim_snd_ctl_elem_id_get_subdevice"))); #endif #if !defined(skip_client_snd_ctl_elem_id_malloc) && !defined(skip_index_snd_ctl_elem_id_malloc) -int snd_ctl_elem_id_malloc(snd_ctl_elem_id_t ** ptr) { +int glshim_snd_ctl_elem_id_malloc(snd_ctl_elem_id_t ** ptr) { snd_ctl_elem_id_malloc_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_malloc_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t **)ptr; @@ -6453,72 +7107,80 @@ int snd_ctl_elem_id_malloc(snd_ctl_elem_id_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_id_malloc(snd_ctl_elem_id_t ** ptr) __attribute__((alias("glshim_snd_ctl_elem_id_malloc"))); #endif #if !defined(skip_client_snd_ctl_elem_id_set_device) && !defined(skip_index_snd_ctl_elem_id_set_device) -void snd_ctl_elem_id_set_device(snd_ctl_elem_id_t * obj, unsigned int val) { +void glshim_snd_ctl_elem_id_set_device(snd_ctl_elem_id_t * obj, unsigned int val) { snd_ctl_elem_id_set_device_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_set_device_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_id_set_device(snd_ctl_elem_id_t * obj, unsigned int val) __attribute__((alias("glshim_snd_ctl_elem_id_set_device"))); #endif #if !defined(skip_client_snd_ctl_elem_id_set_index) && !defined(skip_index_snd_ctl_elem_id_set_index) -void snd_ctl_elem_id_set_index(snd_ctl_elem_id_t * obj, unsigned int val) { +void glshim_snd_ctl_elem_id_set_index(snd_ctl_elem_id_t * obj, unsigned int val) { snd_ctl_elem_id_set_index_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_set_index_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_id_set_index(snd_ctl_elem_id_t * obj, unsigned int val) __attribute__((alias("glshim_snd_ctl_elem_id_set_index"))); #endif #if !defined(skip_client_snd_ctl_elem_id_set_interface) && !defined(skip_index_snd_ctl_elem_id_set_interface) -void snd_ctl_elem_id_set_interface(snd_ctl_elem_id_t * obj, snd_ctl_elem_iface_t val) { +void glshim_snd_ctl_elem_id_set_interface(snd_ctl_elem_id_t * obj, snd_ctl_elem_iface_t val) { snd_ctl_elem_id_set_interface_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_set_interface_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t *)obj; packed_data.args.a2 = (snd_ctl_elem_iface_t)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_id_set_interface(snd_ctl_elem_id_t * obj, snd_ctl_elem_iface_t val) __attribute__((alias("glshim_snd_ctl_elem_id_set_interface"))); #endif #if !defined(skip_client_snd_ctl_elem_id_set_name) && !defined(skip_index_snd_ctl_elem_id_set_name) -void snd_ctl_elem_id_set_name(snd_ctl_elem_id_t * obj, const char * val) { +void glshim_snd_ctl_elem_id_set_name(snd_ctl_elem_id_t * obj, const char * val) { snd_ctl_elem_id_set_name_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_set_name_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t *)obj; packed_data.args.a2 = (char *)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_id_set_name(snd_ctl_elem_id_t * obj, const char * val) __attribute__((alias("glshim_snd_ctl_elem_id_set_name"))); #endif #if !defined(skip_client_snd_ctl_elem_id_set_numid) && !defined(skip_index_snd_ctl_elem_id_set_numid) -void snd_ctl_elem_id_set_numid(snd_ctl_elem_id_t * obj, unsigned int val) { +void glshim_snd_ctl_elem_id_set_numid(snd_ctl_elem_id_t * obj, unsigned int val) { snd_ctl_elem_id_set_numid_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_set_numid_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_id_set_numid(snd_ctl_elem_id_t * obj, unsigned int val) __attribute__((alias("glshim_snd_ctl_elem_id_set_numid"))); #endif #if !defined(skip_client_snd_ctl_elem_id_set_subdevice) && !defined(skip_index_snd_ctl_elem_id_set_subdevice) -void snd_ctl_elem_id_set_subdevice(snd_ctl_elem_id_t * obj, unsigned int val) { +void glshim_snd_ctl_elem_id_set_subdevice(snd_ctl_elem_id_t * obj, unsigned int val) { snd_ctl_elem_id_set_subdevice_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_set_subdevice_INDEX; packed_data.args.a1 = (snd_ctl_elem_id_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_id_set_subdevice(snd_ctl_elem_id_t * obj, unsigned int val) __attribute__((alias("glshim_snd_ctl_elem_id_set_subdevice"))); #endif #if !defined(skip_client_snd_ctl_elem_id_sizeof) && !defined(skip_index_snd_ctl_elem_id_sizeof) -size_t snd_ctl_elem_id_sizeof() { +size_t glshim_snd_ctl_elem_id_sizeof() { snd_ctl_elem_id_sizeof_INDEXED packed_data; packed_data.func = snd_ctl_elem_id_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_ctl_elem_id_sizeof() __attribute__((alias("glshim_snd_ctl_elem_id_sizeof"))); #endif #if !defined(skip_client_snd_ctl_elem_iface_name) && !defined(skip_index_snd_ctl_elem_iface_name) -const char * snd_ctl_elem_iface_name(snd_ctl_elem_iface_t iface) { +const char * glshim_snd_ctl_elem_iface_name(snd_ctl_elem_iface_t iface) { snd_ctl_elem_iface_name_INDEXED packed_data; packed_data.func = snd_ctl_elem_iface_name_INDEX; packed_data.args.a1 = (snd_ctl_elem_iface_t)iface; @@ -6526,9 +7188,10 @@ const char * snd_ctl_elem_iface_name(snd_ctl_elem_iface_t iface) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_elem_iface_name(snd_ctl_elem_iface_t iface) __attribute__((alias("glshim_snd_ctl_elem_iface_name"))); #endif #if !defined(skip_client_snd_ctl_elem_info) && !defined(skip_index_snd_ctl_elem_info) -int snd_ctl_elem_info(snd_ctl_t * ctl, snd_ctl_elem_info_t * info) { +int glshim_snd_ctl_elem_info(snd_ctl_t * ctl, snd_ctl_elem_info_t * info) { snd_ctl_elem_info_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -6537,34 +7200,38 @@ int snd_ctl_elem_info(snd_ctl_t * ctl, snd_ctl_elem_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_info(snd_ctl_t * ctl, snd_ctl_elem_info_t * info) __attribute__((alias("glshim_snd_ctl_elem_info"))); #endif #if !defined(skip_client_snd_ctl_elem_info_clear) && !defined(skip_index_snd_ctl_elem_info_clear) -void snd_ctl_elem_info_clear(snd_ctl_elem_info_t * obj) { +void glshim_snd_ctl_elem_info_clear(snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_clear_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_clear_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_info_clear(snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_clear"))); #endif #if !defined(skip_client_snd_ctl_elem_info_copy) && !defined(skip_index_snd_ctl_elem_info_copy) -void snd_ctl_elem_info_copy(snd_ctl_elem_info_t * dst, const snd_ctl_elem_info_t * src) { +void glshim_snd_ctl_elem_info_copy(snd_ctl_elem_info_t * dst, const snd_ctl_elem_info_t * src) { snd_ctl_elem_info_copy_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_copy_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)dst; packed_data.args.a2 = (snd_ctl_elem_info_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_info_copy(snd_ctl_elem_info_t * dst, const snd_ctl_elem_info_t * src) __attribute__((alias("glshim_snd_ctl_elem_info_copy"))); #endif #if !defined(skip_client_snd_ctl_elem_info_free) && !defined(skip_index_snd_ctl_elem_info_free) -void snd_ctl_elem_info_free(snd_ctl_elem_info_t * obj) { +void glshim_snd_ctl_elem_info_free(snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_free_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_free_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_info_free(snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_free"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_count) && !defined(skip_index_snd_ctl_elem_info_get_count) -unsigned int snd_ctl_elem_info_get_count(const snd_ctl_elem_info_t * obj) { +unsigned int glshim_snd_ctl_elem_info_get_count(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_count_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_count_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6572,9 +7239,10 @@ unsigned int snd_ctl_elem_info_get_count(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_info_get_count(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_count"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_device) && !defined(skip_index_snd_ctl_elem_info_get_device) -unsigned int snd_ctl_elem_info_get_device(const snd_ctl_elem_info_t * obj) { +unsigned int glshim_snd_ctl_elem_info_get_device(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_device_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_device_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6582,9 +7250,10 @@ unsigned int snd_ctl_elem_info_get_device(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_info_get_device(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_device"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_dimension) && !defined(skip_index_snd_ctl_elem_info_get_dimension) -int snd_ctl_elem_info_get_dimension(const snd_ctl_elem_info_t * obj, unsigned int idx) { +int glshim_snd_ctl_elem_info_get_dimension(const snd_ctl_elem_info_t * obj, unsigned int idx) { snd_ctl_elem_info_get_dimension_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_dimension_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6593,9 +7262,10 @@ int snd_ctl_elem_info_get_dimension(const snd_ctl_elem_info_t * obj, unsigned in syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_info_get_dimension(const snd_ctl_elem_info_t * obj, unsigned int idx) __attribute__((alias("glshim_snd_ctl_elem_info_get_dimension"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_dimensions) && !defined(skip_index_snd_ctl_elem_info_get_dimensions) -int snd_ctl_elem_info_get_dimensions(const snd_ctl_elem_info_t * obj) { +int glshim_snd_ctl_elem_info_get_dimensions(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_dimensions_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_dimensions_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6603,18 +7273,20 @@ int snd_ctl_elem_info_get_dimensions(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_info_get_dimensions(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_dimensions"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_id) && !defined(skip_index_snd_ctl_elem_info_get_id) -void snd_ctl_elem_info_get_id(const snd_ctl_elem_info_t * obj, snd_ctl_elem_id_t * ptr) { +void glshim_snd_ctl_elem_info_get_id(const snd_ctl_elem_info_t * obj, snd_ctl_elem_id_t * ptr) { snd_ctl_elem_info_get_id_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_id_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; packed_data.args.a2 = (snd_ctl_elem_id_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_info_get_id(const snd_ctl_elem_info_t * obj, snd_ctl_elem_id_t * ptr) __attribute__((alias("glshim_snd_ctl_elem_info_get_id"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_index) && !defined(skip_index_snd_ctl_elem_info_get_index) -unsigned int snd_ctl_elem_info_get_index(const snd_ctl_elem_info_t * obj) { +unsigned int glshim_snd_ctl_elem_info_get_index(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_index_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_index_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6622,9 +7294,10 @@ unsigned int snd_ctl_elem_info_get_index(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_info_get_index(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_index"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_interface) && !defined(skip_index_snd_ctl_elem_info_get_interface) -snd_ctl_elem_iface_t snd_ctl_elem_info_get_interface(const snd_ctl_elem_info_t * obj) { +snd_ctl_elem_iface_t glshim_snd_ctl_elem_info_get_interface(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_interface_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_interface_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6632,9 +7305,10 @@ snd_ctl_elem_iface_t snd_ctl_elem_info_get_interface(const snd_ctl_elem_info_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_ctl_elem_iface_t snd_ctl_elem_info_get_interface(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_interface"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_item_name) && !defined(skip_index_snd_ctl_elem_info_get_item_name) -const char * snd_ctl_elem_info_get_item_name(const snd_ctl_elem_info_t * obj) { +const char * glshim_snd_ctl_elem_info_get_item_name(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_item_name_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_item_name_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6642,9 +7316,10 @@ const char * snd_ctl_elem_info_get_item_name(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_elem_info_get_item_name(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_item_name"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_items) && !defined(skip_index_snd_ctl_elem_info_get_items) -unsigned int snd_ctl_elem_info_get_items(const snd_ctl_elem_info_t * obj) { +unsigned int glshim_snd_ctl_elem_info_get_items(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_items_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_items_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6652,9 +7327,10 @@ unsigned int snd_ctl_elem_info_get_items(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_info_get_items(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_items"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_max) && !defined(skip_index_snd_ctl_elem_info_get_max) -long snd_ctl_elem_info_get_max(const snd_ctl_elem_info_t * obj) { +long glshim_snd_ctl_elem_info_get_max(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_max_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_max_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6662,9 +7338,10 @@ long snd_ctl_elem_info_get_max(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long snd_ctl_elem_info_get_max(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_max"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_max64) && !defined(skip_index_snd_ctl_elem_info_get_max64) -long long snd_ctl_elem_info_get_max64(const snd_ctl_elem_info_t * obj) { +long long glshim_snd_ctl_elem_info_get_max64(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_max64_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_max64_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6672,9 +7349,10 @@ long long snd_ctl_elem_info_get_max64(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long long snd_ctl_elem_info_get_max64(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_max64"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_min) && !defined(skip_index_snd_ctl_elem_info_get_min) -long snd_ctl_elem_info_get_min(const snd_ctl_elem_info_t * obj) { +long glshim_snd_ctl_elem_info_get_min(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_min_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_min_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6682,9 +7360,10 @@ long snd_ctl_elem_info_get_min(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long snd_ctl_elem_info_get_min(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_min"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_min64) && !defined(skip_index_snd_ctl_elem_info_get_min64) -long long snd_ctl_elem_info_get_min64(const snd_ctl_elem_info_t * obj) { +long long glshim_snd_ctl_elem_info_get_min64(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_min64_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_min64_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6692,9 +7371,10 @@ long long snd_ctl_elem_info_get_min64(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long long snd_ctl_elem_info_get_min64(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_min64"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_name) && !defined(skip_index_snd_ctl_elem_info_get_name) -const char * snd_ctl_elem_info_get_name(const snd_ctl_elem_info_t * obj) { +const char * glshim_snd_ctl_elem_info_get_name(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_name_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_name_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6702,9 +7382,10 @@ const char * snd_ctl_elem_info_get_name(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_elem_info_get_name(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_name"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_numid) && !defined(skip_index_snd_ctl_elem_info_get_numid) -unsigned int snd_ctl_elem_info_get_numid(const snd_ctl_elem_info_t * obj) { +unsigned int glshim_snd_ctl_elem_info_get_numid(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_numid_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_numid_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6712,9 +7393,10 @@ unsigned int snd_ctl_elem_info_get_numid(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_info_get_numid(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_numid"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_owner) && !defined(skip_index_snd_ctl_elem_info_get_owner) -pid_t snd_ctl_elem_info_get_owner(const snd_ctl_elem_info_t * obj) { +pid_t glshim_snd_ctl_elem_info_get_owner(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_owner_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_owner_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6722,9 +7404,10 @@ pid_t snd_ctl_elem_info_get_owner(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +pid_t snd_ctl_elem_info_get_owner(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_owner"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_step) && !defined(skip_index_snd_ctl_elem_info_get_step) -long snd_ctl_elem_info_get_step(const snd_ctl_elem_info_t * obj) { +long glshim_snd_ctl_elem_info_get_step(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_step_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_step_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6732,9 +7415,10 @@ long snd_ctl_elem_info_get_step(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long snd_ctl_elem_info_get_step(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_step"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_step64) && !defined(skip_index_snd_ctl_elem_info_get_step64) -long long snd_ctl_elem_info_get_step64(const snd_ctl_elem_info_t * obj) { +long long glshim_snd_ctl_elem_info_get_step64(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_step64_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_step64_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6742,9 +7426,10 @@ long long snd_ctl_elem_info_get_step64(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long long snd_ctl_elem_info_get_step64(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_step64"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_subdevice) && !defined(skip_index_snd_ctl_elem_info_get_subdevice) -unsigned int snd_ctl_elem_info_get_subdevice(const snd_ctl_elem_info_t * obj) { +unsigned int glshim_snd_ctl_elem_info_get_subdevice(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_subdevice_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_subdevice_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6752,9 +7437,10 @@ unsigned int snd_ctl_elem_info_get_subdevice(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_info_get_subdevice(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_subdevice"))); #endif #if !defined(skip_client_snd_ctl_elem_info_get_type) && !defined(skip_index_snd_ctl_elem_info_get_type) -snd_ctl_elem_type_t snd_ctl_elem_info_get_type(const snd_ctl_elem_info_t * obj) { +snd_ctl_elem_type_t glshim_snd_ctl_elem_info_get_type(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_get_type_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_get_type_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6762,9 +7448,10 @@ snd_ctl_elem_type_t snd_ctl_elem_info_get_type(const snd_ctl_elem_info_t * obj) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_ctl_elem_type_t snd_ctl_elem_info_get_type(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_get_type"))); #endif #if !defined(skip_client_snd_ctl_elem_info_is_inactive) && !defined(skip_index_snd_ctl_elem_info_is_inactive) -int snd_ctl_elem_info_is_inactive(const snd_ctl_elem_info_t * obj) { +int glshim_snd_ctl_elem_info_is_inactive(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_is_inactive_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_is_inactive_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6772,9 +7459,10 @@ int snd_ctl_elem_info_is_inactive(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_info_is_inactive(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_is_inactive"))); #endif #if !defined(skip_client_snd_ctl_elem_info_is_locked) && !defined(skip_index_snd_ctl_elem_info_is_locked) -int snd_ctl_elem_info_is_locked(const snd_ctl_elem_info_t * obj) { +int glshim_snd_ctl_elem_info_is_locked(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_is_locked_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_is_locked_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6782,9 +7470,10 @@ int snd_ctl_elem_info_is_locked(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_info_is_locked(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_is_locked"))); #endif #if !defined(skip_client_snd_ctl_elem_info_is_owner) && !defined(skip_index_snd_ctl_elem_info_is_owner) -int snd_ctl_elem_info_is_owner(const snd_ctl_elem_info_t * obj) { +int glshim_snd_ctl_elem_info_is_owner(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_is_owner_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_is_owner_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6792,9 +7481,10 @@ int snd_ctl_elem_info_is_owner(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_info_is_owner(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_is_owner"))); #endif #if !defined(skip_client_snd_ctl_elem_info_is_readable) && !defined(skip_index_snd_ctl_elem_info_is_readable) -int snd_ctl_elem_info_is_readable(const snd_ctl_elem_info_t * obj) { +int glshim_snd_ctl_elem_info_is_readable(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_is_readable_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_is_readable_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6802,9 +7492,10 @@ int snd_ctl_elem_info_is_readable(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_info_is_readable(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_is_readable"))); #endif #if !defined(skip_client_snd_ctl_elem_info_is_tlv_commandable) && !defined(skip_index_snd_ctl_elem_info_is_tlv_commandable) -int snd_ctl_elem_info_is_tlv_commandable(const snd_ctl_elem_info_t * obj) { +int glshim_snd_ctl_elem_info_is_tlv_commandable(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_is_tlv_commandable_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_is_tlv_commandable_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6812,9 +7503,10 @@ int snd_ctl_elem_info_is_tlv_commandable(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_info_is_tlv_commandable(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_is_tlv_commandable"))); #endif #if !defined(skip_client_snd_ctl_elem_info_is_tlv_readable) && !defined(skip_index_snd_ctl_elem_info_is_tlv_readable) -int snd_ctl_elem_info_is_tlv_readable(const snd_ctl_elem_info_t * obj) { +int glshim_snd_ctl_elem_info_is_tlv_readable(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_is_tlv_readable_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_is_tlv_readable_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6822,9 +7514,10 @@ int snd_ctl_elem_info_is_tlv_readable(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_info_is_tlv_readable(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_is_tlv_readable"))); #endif #if !defined(skip_client_snd_ctl_elem_info_is_tlv_writable) && !defined(skip_index_snd_ctl_elem_info_is_tlv_writable) -int snd_ctl_elem_info_is_tlv_writable(const snd_ctl_elem_info_t * obj) { +int glshim_snd_ctl_elem_info_is_tlv_writable(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_is_tlv_writable_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_is_tlv_writable_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6832,9 +7525,10 @@ int snd_ctl_elem_info_is_tlv_writable(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_info_is_tlv_writable(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_is_tlv_writable"))); #endif #if !defined(skip_client_snd_ctl_elem_info_is_user) && !defined(skip_index_snd_ctl_elem_info_is_user) -int snd_ctl_elem_info_is_user(const snd_ctl_elem_info_t * obj) { +int glshim_snd_ctl_elem_info_is_user(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_is_user_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_is_user_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6842,9 +7536,10 @@ int snd_ctl_elem_info_is_user(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_info_is_user(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_is_user"))); #endif #if !defined(skip_client_snd_ctl_elem_info_is_volatile) && !defined(skip_index_snd_ctl_elem_info_is_volatile) -int snd_ctl_elem_info_is_volatile(const snd_ctl_elem_info_t * obj) { +int glshim_snd_ctl_elem_info_is_volatile(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_is_volatile_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_is_volatile_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6852,9 +7547,10 @@ int snd_ctl_elem_info_is_volatile(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_info_is_volatile(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_is_volatile"))); #endif #if !defined(skip_client_snd_ctl_elem_info_is_writable) && !defined(skip_index_snd_ctl_elem_info_is_writable) -int snd_ctl_elem_info_is_writable(const snd_ctl_elem_info_t * obj) { +int glshim_snd_ctl_elem_info_is_writable(const snd_ctl_elem_info_t * obj) { snd_ctl_elem_info_is_writable_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_is_writable_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; @@ -6862,9 +7558,10 @@ int snd_ctl_elem_info_is_writable(const snd_ctl_elem_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_info_is_writable(const snd_ctl_elem_info_t * obj) __attribute__((alias("glshim_snd_ctl_elem_info_is_writable"))); #endif #if !defined(skip_client_snd_ctl_elem_info_malloc) && !defined(skip_index_snd_ctl_elem_info_malloc) -int snd_ctl_elem_info_malloc(snd_ctl_elem_info_t ** ptr) { +int glshim_snd_ctl_elem_info_malloc(snd_ctl_elem_info_t ** ptr) { snd_ctl_elem_info_malloc_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_malloc_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t **)ptr; @@ -6872,90 +7569,100 @@ int snd_ctl_elem_info_malloc(snd_ctl_elem_info_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_info_malloc(snd_ctl_elem_info_t ** ptr) __attribute__((alias("glshim_snd_ctl_elem_info_malloc"))); #endif #if !defined(skip_client_snd_ctl_elem_info_set_device) && !defined(skip_index_snd_ctl_elem_info_set_device) -void snd_ctl_elem_info_set_device(snd_ctl_elem_info_t * obj, unsigned int val) { +void glshim_snd_ctl_elem_info_set_device(snd_ctl_elem_info_t * obj, unsigned int val) { snd_ctl_elem_info_set_device_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_set_device_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_info_set_device(snd_ctl_elem_info_t * obj, unsigned int val) __attribute__((alias("glshim_snd_ctl_elem_info_set_device"))); #endif #if !defined(skip_client_snd_ctl_elem_info_set_id) && !defined(skip_index_snd_ctl_elem_info_set_id) -void snd_ctl_elem_info_set_id(snd_ctl_elem_info_t * obj, const snd_ctl_elem_id_t * ptr) { +void glshim_snd_ctl_elem_info_set_id(snd_ctl_elem_info_t * obj, const snd_ctl_elem_id_t * ptr) { snd_ctl_elem_info_set_id_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_set_id_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; packed_data.args.a2 = (snd_ctl_elem_id_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_info_set_id(snd_ctl_elem_info_t * obj, const snd_ctl_elem_id_t * ptr) __attribute__((alias("glshim_snd_ctl_elem_info_set_id"))); #endif #if !defined(skip_client_snd_ctl_elem_info_set_index) && !defined(skip_index_snd_ctl_elem_info_set_index) -void snd_ctl_elem_info_set_index(snd_ctl_elem_info_t * obj, unsigned int val) { +void glshim_snd_ctl_elem_info_set_index(snd_ctl_elem_info_t * obj, unsigned int val) { snd_ctl_elem_info_set_index_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_set_index_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_info_set_index(snd_ctl_elem_info_t * obj, unsigned int val) __attribute__((alias("glshim_snd_ctl_elem_info_set_index"))); #endif #if !defined(skip_client_snd_ctl_elem_info_set_interface) && !defined(skip_index_snd_ctl_elem_info_set_interface) -void snd_ctl_elem_info_set_interface(snd_ctl_elem_info_t * obj, snd_ctl_elem_iface_t val) { +void glshim_snd_ctl_elem_info_set_interface(snd_ctl_elem_info_t * obj, snd_ctl_elem_iface_t val) { snd_ctl_elem_info_set_interface_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_set_interface_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; packed_data.args.a2 = (snd_ctl_elem_iface_t)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_info_set_interface(snd_ctl_elem_info_t * obj, snd_ctl_elem_iface_t val) __attribute__((alias("glshim_snd_ctl_elem_info_set_interface"))); #endif #if !defined(skip_client_snd_ctl_elem_info_set_item) && !defined(skip_index_snd_ctl_elem_info_set_item) -void snd_ctl_elem_info_set_item(snd_ctl_elem_info_t * obj, unsigned int val) { +void glshim_snd_ctl_elem_info_set_item(snd_ctl_elem_info_t * obj, unsigned int val) { snd_ctl_elem_info_set_item_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_set_item_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_info_set_item(snd_ctl_elem_info_t * obj, unsigned int val) __attribute__((alias("glshim_snd_ctl_elem_info_set_item"))); #endif #if !defined(skip_client_snd_ctl_elem_info_set_name) && !defined(skip_index_snd_ctl_elem_info_set_name) -void snd_ctl_elem_info_set_name(snd_ctl_elem_info_t * obj, const char * val) { +void glshim_snd_ctl_elem_info_set_name(snd_ctl_elem_info_t * obj, const char * val) { snd_ctl_elem_info_set_name_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_set_name_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; packed_data.args.a2 = (char *)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_info_set_name(snd_ctl_elem_info_t * obj, const char * val) __attribute__((alias("glshim_snd_ctl_elem_info_set_name"))); #endif #if !defined(skip_client_snd_ctl_elem_info_set_numid) && !defined(skip_index_snd_ctl_elem_info_set_numid) -void snd_ctl_elem_info_set_numid(snd_ctl_elem_info_t * obj, unsigned int val) { +void glshim_snd_ctl_elem_info_set_numid(snd_ctl_elem_info_t * obj, unsigned int val) { snd_ctl_elem_info_set_numid_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_set_numid_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_info_set_numid(snd_ctl_elem_info_t * obj, unsigned int val) __attribute__((alias("glshim_snd_ctl_elem_info_set_numid"))); #endif #if !defined(skip_client_snd_ctl_elem_info_set_subdevice) && !defined(skip_index_snd_ctl_elem_info_set_subdevice) -void snd_ctl_elem_info_set_subdevice(snd_ctl_elem_info_t * obj, unsigned int val) { +void glshim_snd_ctl_elem_info_set_subdevice(snd_ctl_elem_info_t * obj, unsigned int val) { snd_ctl_elem_info_set_subdevice_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_set_subdevice_INDEX; packed_data.args.a1 = (snd_ctl_elem_info_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_info_set_subdevice(snd_ctl_elem_info_t * obj, unsigned int val) __attribute__((alias("glshim_snd_ctl_elem_info_set_subdevice"))); #endif #if !defined(skip_client_snd_ctl_elem_info_sizeof) && !defined(skip_index_snd_ctl_elem_info_sizeof) -size_t snd_ctl_elem_info_sizeof() { +size_t glshim_snd_ctl_elem_info_sizeof() { snd_ctl_elem_info_sizeof_INDEXED packed_data; packed_data.func = snd_ctl_elem_info_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_ctl_elem_info_sizeof() __attribute__((alias("glshim_snd_ctl_elem_info_sizeof"))); #endif #if !defined(skip_client_snd_ctl_elem_list) && !defined(skip_index_snd_ctl_elem_list) -int snd_ctl_elem_list(snd_ctl_t * ctl, snd_ctl_elem_list_t * list) { +int glshim_snd_ctl_elem_list(snd_ctl_t * ctl, snd_ctl_elem_list_t * list) { snd_ctl_elem_list_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -6964,9 +7671,10 @@ int snd_ctl_elem_list(snd_ctl_t * ctl, snd_ctl_elem_list_t * list) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_list(snd_ctl_t * ctl, snd_ctl_elem_list_t * list) __attribute__((alias("glshim_snd_ctl_elem_list"))); #endif #if !defined(skip_client_snd_ctl_elem_list_alloc_space) && !defined(skip_index_snd_ctl_elem_list_alloc_space) -int snd_ctl_elem_list_alloc_space(snd_ctl_elem_list_t * obj, unsigned int entries) { +int glshim_snd_ctl_elem_list_alloc_space(snd_ctl_elem_list_t * obj, unsigned int entries) { snd_ctl_elem_list_alloc_space_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_alloc_space_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t *)obj; @@ -6975,42 +7683,47 @@ int snd_ctl_elem_list_alloc_space(snd_ctl_elem_list_t * obj, unsigned int entrie syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_list_alloc_space(snd_ctl_elem_list_t * obj, unsigned int entries) __attribute__((alias("glshim_snd_ctl_elem_list_alloc_space"))); #endif #if !defined(skip_client_snd_ctl_elem_list_clear) && !defined(skip_index_snd_ctl_elem_list_clear) -void snd_ctl_elem_list_clear(snd_ctl_elem_list_t * obj) { +void glshim_snd_ctl_elem_list_clear(snd_ctl_elem_list_t * obj) { snd_ctl_elem_list_clear_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_clear_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_list_clear(snd_ctl_elem_list_t * obj) __attribute__((alias("glshim_snd_ctl_elem_list_clear"))); #endif #if !defined(skip_client_snd_ctl_elem_list_copy) && !defined(skip_index_snd_ctl_elem_list_copy) -void snd_ctl_elem_list_copy(snd_ctl_elem_list_t * dst, const snd_ctl_elem_list_t * src) { +void glshim_snd_ctl_elem_list_copy(snd_ctl_elem_list_t * dst, const snd_ctl_elem_list_t * src) { snd_ctl_elem_list_copy_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_copy_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t *)dst; packed_data.args.a2 = (snd_ctl_elem_list_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_list_copy(snd_ctl_elem_list_t * dst, const snd_ctl_elem_list_t * src) __attribute__((alias("glshim_snd_ctl_elem_list_copy"))); #endif #if !defined(skip_client_snd_ctl_elem_list_free) && !defined(skip_index_snd_ctl_elem_list_free) -void snd_ctl_elem_list_free(snd_ctl_elem_list_t * obj) { +void glshim_snd_ctl_elem_list_free(snd_ctl_elem_list_t * obj) { snd_ctl_elem_list_free_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_free_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_list_free(snd_ctl_elem_list_t * obj) __attribute__((alias("glshim_snd_ctl_elem_list_free"))); #endif #if !defined(skip_client_snd_ctl_elem_list_free_space) && !defined(skip_index_snd_ctl_elem_list_free_space) -void snd_ctl_elem_list_free_space(snd_ctl_elem_list_t * obj) { +void glshim_snd_ctl_elem_list_free_space(snd_ctl_elem_list_t * obj) { snd_ctl_elem_list_free_space_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_free_space_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_list_free_space(snd_ctl_elem_list_t * obj) __attribute__((alias("glshim_snd_ctl_elem_list_free_space"))); #endif #if !defined(skip_client_snd_ctl_elem_list_get_count) && !defined(skip_index_snd_ctl_elem_list_get_count) -unsigned int snd_ctl_elem_list_get_count(const snd_ctl_elem_list_t * obj) { +unsigned int glshim_snd_ctl_elem_list_get_count(const snd_ctl_elem_list_t * obj) { snd_ctl_elem_list_get_count_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_get_count_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t *)obj; @@ -7018,9 +7731,10 @@ unsigned int snd_ctl_elem_list_get_count(const snd_ctl_elem_list_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_list_get_count(const snd_ctl_elem_list_t * obj) __attribute__((alias("glshim_snd_ctl_elem_list_get_count"))); #endif #if !defined(skip_client_snd_ctl_elem_list_get_device) && !defined(skip_index_snd_ctl_elem_list_get_device) -unsigned int snd_ctl_elem_list_get_device(const snd_ctl_elem_list_t * obj, unsigned int idx) { +unsigned int glshim_snd_ctl_elem_list_get_device(const snd_ctl_elem_list_t * obj, unsigned int idx) { snd_ctl_elem_list_get_device_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_get_device_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t *)obj; @@ -7029,9 +7743,10 @@ unsigned int snd_ctl_elem_list_get_device(const snd_ctl_elem_list_t * obj, unsig syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_list_get_device(const snd_ctl_elem_list_t * obj, unsigned int idx) __attribute__((alias("glshim_snd_ctl_elem_list_get_device"))); #endif #if !defined(skip_client_snd_ctl_elem_list_get_id) && !defined(skip_index_snd_ctl_elem_list_get_id) -void snd_ctl_elem_list_get_id(const snd_ctl_elem_list_t * obj, unsigned int idx, snd_ctl_elem_id_t * ptr) { +void glshim_snd_ctl_elem_list_get_id(const snd_ctl_elem_list_t * obj, unsigned int idx, snd_ctl_elem_id_t * ptr) { snd_ctl_elem_list_get_id_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_get_id_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t *)obj; @@ -7039,9 +7754,10 @@ void snd_ctl_elem_list_get_id(const snd_ctl_elem_list_t * obj, unsigned int idx, packed_data.args.a3 = (snd_ctl_elem_id_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_list_get_id(const snd_ctl_elem_list_t * obj, unsigned int idx, snd_ctl_elem_id_t * ptr) __attribute__((alias("glshim_snd_ctl_elem_list_get_id"))); #endif #if !defined(skip_client_snd_ctl_elem_list_get_index) && !defined(skip_index_snd_ctl_elem_list_get_index) -unsigned int snd_ctl_elem_list_get_index(const snd_ctl_elem_list_t * obj, unsigned int idx) { +unsigned int glshim_snd_ctl_elem_list_get_index(const snd_ctl_elem_list_t * obj, unsigned int idx) { snd_ctl_elem_list_get_index_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_get_index_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t *)obj; @@ -7050,9 +7766,10 @@ unsigned int snd_ctl_elem_list_get_index(const snd_ctl_elem_list_t * obj, unsign syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_list_get_index(const snd_ctl_elem_list_t * obj, unsigned int idx) __attribute__((alias("glshim_snd_ctl_elem_list_get_index"))); #endif #if !defined(skip_client_snd_ctl_elem_list_get_interface) && !defined(skip_index_snd_ctl_elem_list_get_interface) -snd_ctl_elem_iface_t snd_ctl_elem_list_get_interface(const snd_ctl_elem_list_t * obj, unsigned int idx) { +snd_ctl_elem_iface_t glshim_snd_ctl_elem_list_get_interface(const snd_ctl_elem_list_t * obj, unsigned int idx) { snd_ctl_elem_list_get_interface_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_get_interface_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t *)obj; @@ -7061,9 +7778,10 @@ snd_ctl_elem_iface_t snd_ctl_elem_list_get_interface(const snd_ctl_elem_list_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_ctl_elem_iface_t snd_ctl_elem_list_get_interface(const snd_ctl_elem_list_t * obj, unsigned int idx) __attribute__((alias("glshim_snd_ctl_elem_list_get_interface"))); #endif #if !defined(skip_client_snd_ctl_elem_list_get_name) && !defined(skip_index_snd_ctl_elem_list_get_name) -const char * snd_ctl_elem_list_get_name(const snd_ctl_elem_list_t * obj, unsigned int idx) { +const char * glshim_snd_ctl_elem_list_get_name(const snd_ctl_elem_list_t * obj, unsigned int idx) { snd_ctl_elem_list_get_name_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_get_name_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t *)obj; @@ -7072,9 +7790,10 @@ const char * snd_ctl_elem_list_get_name(const snd_ctl_elem_list_t * obj, unsigne syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_elem_list_get_name(const snd_ctl_elem_list_t * obj, unsigned int idx) __attribute__((alias("glshim_snd_ctl_elem_list_get_name"))); #endif #if !defined(skip_client_snd_ctl_elem_list_get_numid) && !defined(skip_index_snd_ctl_elem_list_get_numid) -unsigned int snd_ctl_elem_list_get_numid(const snd_ctl_elem_list_t * obj, unsigned int idx) { +unsigned int glshim_snd_ctl_elem_list_get_numid(const snd_ctl_elem_list_t * obj, unsigned int idx) { snd_ctl_elem_list_get_numid_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_get_numid_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t *)obj; @@ -7083,9 +7802,10 @@ unsigned int snd_ctl_elem_list_get_numid(const snd_ctl_elem_list_t * obj, unsign syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_list_get_numid(const snd_ctl_elem_list_t * obj, unsigned int idx) __attribute__((alias("glshim_snd_ctl_elem_list_get_numid"))); #endif #if !defined(skip_client_snd_ctl_elem_list_get_subdevice) && !defined(skip_index_snd_ctl_elem_list_get_subdevice) -unsigned int snd_ctl_elem_list_get_subdevice(const snd_ctl_elem_list_t * obj, unsigned int idx) { +unsigned int glshim_snd_ctl_elem_list_get_subdevice(const snd_ctl_elem_list_t * obj, unsigned int idx) { snd_ctl_elem_list_get_subdevice_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_get_subdevice_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t *)obj; @@ -7094,9 +7814,10 @@ unsigned int snd_ctl_elem_list_get_subdevice(const snd_ctl_elem_list_t * obj, un syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_list_get_subdevice(const snd_ctl_elem_list_t * obj, unsigned int idx) __attribute__((alias("glshim_snd_ctl_elem_list_get_subdevice"))); #endif #if !defined(skip_client_snd_ctl_elem_list_get_used) && !defined(skip_index_snd_ctl_elem_list_get_used) -unsigned int snd_ctl_elem_list_get_used(const snd_ctl_elem_list_t * obj) { +unsigned int glshim_snd_ctl_elem_list_get_used(const snd_ctl_elem_list_t * obj) { snd_ctl_elem_list_get_used_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_get_used_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t *)obj; @@ -7104,9 +7825,10 @@ unsigned int snd_ctl_elem_list_get_used(const snd_ctl_elem_list_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_list_get_used(const snd_ctl_elem_list_t * obj) __attribute__((alias("glshim_snd_ctl_elem_list_get_used"))); #endif #if !defined(skip_client_snd_ctl_elem_list_malloc) && !defined(skip_index_snd_ctl_elem_list_malloc) -int snd_ctl_elem_list_malloc(snd_ctl_elem_list_t ** ptr) { +int glshim_snd_ctl_elem_list_malloc(snd_ctl_elem_list_t ** ptr) { snd_ctl_elem_list_malloc_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_malloc_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t **)ptr; @@ -7114,27 +7836,30 @@ int snd_ctl_elem_list_malloc(snd_ctl_elem_list_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_list_malloc(snd_ctl_elem_list_t ** ptr) __attribute__((alias("glshim_snd_ctl_elem_list_malloc"))); #endif #if !defined(skip_client_snd_ctl_elem_list_set_offset) && !defined(skip_index_snd_ctl_elem_list_set_offset) -void snd_ctl_elem_list_set_offset(snd_ctl_elem_list_t * obj, unsigned int val) { +void glshim_snd_ctl_elem_list_set_offset(snd_ctl_elem_list_t * obj, unsigned int val) { snd_ctl_elem_list_set_offset_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_set_offset_INDEX; packed_data.args.a1 = (snd_ctl_elem_list_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_list_set_offset(snd_ctl_elem_list_t * obj, unsigned int val) __attribute__((alias("glshim_snd_ctl_elem_list_set_offset"))); #endif #if !defined(skip_client_snd_ctl_elem_list_sizeof) && !defined(skip_index_snd_ctl_elem_list_sizeof) -size_t snd_ctl_elem_list_sizeof() { +size_t glshim_snd_ctl_elem_list_sizeof() { snd_ctl_elem_list_sizeof_INDEXED packed_data; packed_data.func = snd_ctl_elem_list_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_ctl_elem_list_sizeof() __attribute__((alias("glshim_snd_ctl_elem_list_sizeof"))); #endif #if !defined(skip_client_snd_ctl_elem_lock) && !defined(skip_index_snd_ctl_elem_lock) -int snd_ctl_elem_lock(snd_ctl_t * ctl, snd_ctl_elem_id_t * id) { +int glshim_snd_ctl_elem_lock(snd_ctl_t * ctl, snd_ctl_elem_id_t * id) { snd_ctl_elem_lock_INDEXED packed_data; packed_data.func = snd_ctl_elem_lock_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7143,9 +7868,10 @@ int snd_ctl_elem_lock(snd_ctl_t * ctl, snd_ctl_elem_id_t * id) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_lock(snd_ctl_t * ctl, snd_ctl_elem_id_t * id) __attribute__((alias("glshim_snd_ctl_elem_lock"))); #endif #if !defined(skip_client_snd_ctl_elem_read) && !defined(skip_index_snd_ctl_elem_read) -int snd_ctl_elem_read(snd_ctl_t * ctl, snd_ctl_elem_value_t * value) { +int glshim_snd_ctl_elem_read(snd_ctl_t * ctl, snd_ctl_elem_value_t * value) { snd_ctl_elem_read_INDEXED packed_data; packed_data.func = snd_ctl_elem_read_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7154,9 +7880,10 @@ int snd_ctl_elem_read(snd_ctl_t * ctl, snd_ctl_elem_value_t * value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_read(snd_ctl_t * ctl, snd_ctl_elem_value_t * value) __attribute__((alias("glshim_snd_ctl_elem_read"))); #endif #if !defined(skip_client_snd_ctl_elem_remove) && !defined(skip_index_snd_ctl_elem_remove) -int snd_ctl_elem_remove(snd_ctl_t * ctl, snd_ctl_elem_id_t * id) { +int glshim_snd_ctl_elem_remove(snd_ctl_t * ctl, snd_ctl_elem_id_t * id) { snd_ctl_elem_remove_INDEXED packed_data; packed_data.func = snd_ctl_elem_remove_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7165,9 +7892,10 @@ int snd_ctl_elem_remove(snd_ctl_t * ctl, snd_ctl_elem_id_t * id) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_remove(snd_ctl_t * ctl, snd_ctl_elem_id_t * id) __attribute__((alias("glshim_snd_ctl_elem_remove"))); #endif #if !defined(skip_client_snd_ctl_elem_set_bytes) && !defined(skip_index_snd_ctl_elem_set_bytes) -void snd_ctl_elem_set_bytes(snd_ctl_elem_value_t * obj, void * data, size_t size) { +void glshim_snd_ctl_elem_set_bytes(snd_ctl_elem_value_t * obj, void * data, size_t size) { snd_ctl_elem_set_bytes_INDEXED packed_data; packed_data.func = snd_ctl_elem_set_bytes_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7175,9 +7903,10 @@ void snd_ctl_elem_set_bytes(snd_ctl_elem_value_t * obj, void * data, size_t size packed_data.args.a3 = (size_t)size; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_set_bytes(snd_ctl_elem_value_t * obj, void * data, size_t size) __attribute__((alias("glshim_snd_ctl_elem_set_bytes"))); #endif #if !defined(skip_client_snd_ctl_elem_tlv_command) && !defined(skip_index_snd_ctl_elem_tlv_command) -int snd_ctl_elem_tlv_command(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, const unsigned int * tlv) { +int glshim_snd_ctl_elem_tlv_command(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, const unsigned int * tlv) { snd_ctl_elem_tlv_command_INDEXED packed_data; packed_data.func = snd_ctl_elem_tlv_command_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7187,9 +7916,10 @@ int snd_ctl_elem_tlv_command(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, cons syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_tlv_command(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, const unsigned int * tlv) __attribute__((alias("glshim_snd_ctl_elem_tlv_command"))); #endif #if !defined(skip_client_snd_ctl_elem_tlv_read) && !defined(skip_index_snd_ctl_elem_tlv_read) -int snd_ctl_elem_tlv_read(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, unsigned int * tlv, unsigned int tlv_size) { +int glshim_snd_ctl_elem_tlv_read(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, unsigned int * tlv, unsigned int tlv_size) { snd_ctl_elem_tlv_read_INDEXED packed_data; packed_data.func = snd_ctl_elem_tlv_read_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7200,9 +7930,10 @@ int snd_ctl_elem_tlv_read(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, unsigne syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_tlv_read(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, unsigned int * tlv, unsigned int tlv_size) __attribute__((alias("glshim_snd_ctl_elem_tlv_read"))); #endif #if !defined(skip_client_snd_ctl_elem_tlv_write) && !defined(skip_index_snd_ctl_elem_tlv_write) -int snd_ctl_elem_tlv_write(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, const unsigned int * tlv) { +int glshim_snd_ctl_elem_tlv_write(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, const unsigned int * tlv) { snd_ctl_elem_tlv_write_INDEXED packed_data; packed_data.func = snd_ctl_elem_tlv_write_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7212,9 +7943,10 @@ int snd_ctl_elem_tlv_write(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, const syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_tlv_write(snd_ctl_t * ctl, const snd_ctl_elem_id_t * id, const unsigned int * tlv) __attribute__((alias("glshim_snd_ctl_elem_tlv_write"))); #endif #if !defined(skip_client_snd_ctl_elem_type_name) && !defined(skip_index_snd_ctl_elem_type_name) -const char * snd_ctl_elem_type_name(snd_ctl_elem_type_t type) { +const char * glshim_snd_ctl_elem_type_name(snd_ctl_elem_type_t type) { snd_ctl_elem_type_name_INDEXED packed_data; packed_data.func = snd_ctl_elem_type_name_INDEX; packed_data.args.a1 = (snd_ctl_elem_type_t)type; @@ -7222,9 +7954,10 @@ const char * snd_ctl_elem_type_name(snd_ctl_elem_type_t type) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_elem_type_name(snd_ctl_elem_type_t type) __attribute__((alias("glshim_snd_ctl_elem_type_name"))); #endif #if !defined(skip_client_snd_ctl_elem_unlock) && !defined(skip_index_snd_ctl_elem_unlock) -int snd_ctl_elem_unlock(snd_ctl_t * ctl, snd_ctl_elem_id_t * id) { +int glshim_snd_ctl_elem_unlock(snd_ctl_t * ctl, snd_ctl_elem_id_t * id) { snd_ctl_elem_unlock_INDEXED packed_data; packed_data.func = snd_ctl_elem_unlock_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7233,34 +7966,38 @@ int snd_ctl_elem_unlock(snd_ctl_t * ctl, snd_ctl_elem_id_t * id) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_unlock(snd_ctl_t * ctl, snd_ctl_elem_id_t * id) __attribute__((alias("glshim_snd_ctl_elem_unlock"))); #endif #if !defined(skip_client_snd_ctl_elem_value_clear) && !defined(skip_index_snd_ctl_elem_value_clear) -void snd_ctl_elem_value_clear(snd_ctl_elem_value_t * obj) { +void glshim_snd_ctl_elem_value_clear(snd_ctl_elem_value_t * obj) { snd_ctl_elem_value_clear_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_clear_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_clear(snd_ctl_elem_value_t * obj) __attribute__((alias("glshim_snd_ctl_elem_value_clear"))); #endif #if !defined(skip_client_snd_ctl_elem_value_copy) && !defined(skip_index_snd_ctl_elem_value_copy) -void snd_ctl_elem_value_copy(snd_ctl_elem_value_t * dst, const snd_ctl_elem_value_t * src) { +void glshim_snd_ctl_elem_value_copy(snd_ctl_elem_value_t * dst, const snd_ctl_elem_value_t * src) { snd_ctl_elem_value_copy_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_copy_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)dst; packed_data.args.a2 = (snd_ctl_elem_value_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_copy(snd_ctl_elem_value_t * dst, const snd_ctl_elem_value_t * src) __attribute__((alias("glshim_snd_ctl_elem_value_copy"))); #endif #if !defined(skip_client_snd_ctl_elem_value_free) && !defined(skip_index_snd_ctl_elem_value_free) -void snd_ctl_elem_value_free(snd_ctl_elem_value_t * obj) { +void glshim_snd_ctl_elem_value_free(snd_ctl_elem_value_t * obj) { snd_ctl_elem_value_free_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_free_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_free(snd_ctl_elem_value_t * obj) __attribute__((alias("glshim_snd_ctl_elem_value_free"))); #endif #if !defined(skip_client_snd_ctl_elem_value_get_boolean) && !defined(skip_index_snd_ctl_elem_value_get_boolean) -int snd_ctl_elem_value_get_boolean(const snd_ctl_elem_value_t * obj, unsigned int idx) { +int glshim_snd_ctl_elem_value_get_boolean(const snd_ctl_elem_value_t * obj, unsigned int idx) { snd_ctl_elem_value_get_boolean_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_get_boolean_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7269,9 +8006,10 @@ int snd_ctl_elem_value_get_boolean(const snd_ctl_elem_value_t * obj, unsigned in syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_value_get_boolean(const snd_ctl_elem_value_t * obj, unsigned int idx) __attribute__((alias("glshim_snd_ctl_elem_value_get_boolean"))); #endif #if !defined(skip_client_snd_ctl_elem_value_get_byte) && !defined(skip_index_snd_ctl_elem_value_get_byte) -unsigned char snd_ctl_elem_value_get_byte(const snd_ctl_elem_value_t * obj, unsigned int idx) { +unsigned char glshim_snd_ctl_elem_value_get_byte(const snd_ctl_elem_value_t * obj, unsigned int idx) { snd_ctl_elem_value_get_byte_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_get_byte_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7280,9 +8018,10 @@ unsigned char snd_ctl_elem_value_get_byte(const snd_ctl_elem_value_t * obj, unsi syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned char snd_ctl_elem_value_get_byte(const snd_ctl_elem_value_t * obj, unsigned int idx) __attribute__((alias("glshim_snd_ctl_elem_value_get_byte"))); #endif #if !defined(skip_client_snd_ctl_elem_value_get_bytes) && !defined(skip_index_snd_ctl_elem_value_get_bytes) -const void * snd_ctl_elem_value_get_bytes(const snd_ctl_elem_value_t * obj) { +const void * glshim_snd_ctl_elem_value_get_bytes(const snd_ctl_elem_value_t * obj) { snd_ctl_elem_value_get_bytes_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_get_bytes_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7290,9 +8029,10 @@ const void * snd_ctl_elem_value_get_bytes(const snd_ctl_elem_value_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const void * snd_ctl_elem_value_get_bytes(const snd_ctl_elem_value_t * obj) __attribute__((alias("glshim_snd_ctl_elem_value_get_bytes"))); #endif #if !defined(skip_client_snd_ctl_elem_value_get_device) && !defined(skip_index_snd_ctl_elem_value_get_device) -unsigned int snd_ctl_elem_value_get_device(const snd_ctl_elem_value_t * obj) { +unsigned int glshim_snd_ctl_elem_value_get_device(const snd_ctl_elem_value_t * obj) { snd_ctl_elem_value_get_device_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_get_device_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7300,9 +8040,10 @@ unsigned int snd_ctl_elem_value_get_device(const snd_ctl_elem_value_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_value_get_device(const snd_ctl_elem_value_t * obj) __attribute__((alias("glshim_snd_ctl_elem_value_get_device"))); #endif #if !defined(skip_client_snd_ctl_elem_value_get_enumerated) && !defined(skip_index_snd_ctl_elem_value_get_enumerated) -unsigned int snd_ctl_elem_value_get_enumerated(const snd_ctl_elem_value_t * obj, unsigned int idx) { +unsigned int glshim_snd_ctl_elem_value_get_enumerated(const snd_ctl_elem_value_t * obj, unsigned int idx) { snd_ctl_elem_value_get_enumerated_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_get_enumerated_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7311,27 +8052,30 @@ unsigned int snd_ctl_elem_value_get_enumerated(const snd_ctl_elem_value_t * obj, syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_value_get_enumerated(const snd_ctl_elem_value_t * obj, unsigned int idx) __attribute__((alias("glshim_snd_ctl_elem_value_get_enumerated"))); #endif #if !defined(skip_client_snd_ctl_elem_value_get_id) && !defined(skip_index_snd_ctl_elem_value_get_id) -void snd_ctl_elem_value_get_id(const snd_ctl_elem_value_t * obj, snd_ctl_elem_id_t * ptr) { +void glshim_snd_ctl_elem_value_get_id(const snd_ctl_elem_value_t * obj, snd_ctl_elem_id_t * ptr) { snd_ctl_elem_value_get_id_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_get_id_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; packed_data.args.a2 = (snd_ctl_elem_id_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_get_id(const snd_ctl_elem_value_t * obj, snd_ctl_elem_id_t * ptr) __attribute__((alias("glshim_snd_ctl_elem_value_get_id"))); #endif #if !defined(skip_client_snd_ctl_elem_value_get_iec958) && !defined(skip_index_snd_ctl_elem_value_get_iec958) -void snd_ctl_elem_value_get_iec958(const snd_ctl_elem_value_t * obj, snd_aes_iec958_t * ptr) { +void glshim_snd_ctl_elem_value_get_iec958(const snd_ctl_elem_value_t * obj, snd_aes_iec958_t * ptr) { snd_ctl_elem_value_get_iec958_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_get_iec958_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; packed_data.args.a2 = (snd_aes_iec958_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_get_iec958(const snd_ctl_elem_value_t * obj, snd_aes_iec958_t * ptr) __attribute__((alias("glshim_snd_ctl_elem_value_get_iec958"))); #endif #if !defined(skip_client_snd_ctl_elem_value_get_index) && !defined(skip_index_snd_ctl_elem_value_get_index) -unsigned int snd_ctl_elem_value_get_index(const snd_ctl_elem_value_t * obj) { +unsigned int glshim_snd_ctl_elem_value_get_index(const snd_ctl_elem_value_t * obj) { snd_ctl_elem_value_get_index_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_get_index_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7339,9 +8083,10 @@ unsigned int snd_ctl_elem_value_get_index(const snd_ctl_elem_value_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_value_get_index(const snd_ctl_elem_value_t * obj) __attribute__((alias("glshim_snd_ctl_elem_value_get_index"))); #endif #if !defined(skip_client_snd_ctl_elem_value_get_integer) && !defined(skip_index_snd_ctl_elem_value_get_integer) -long snd_ctl_elem_value_get_integer(const snd_ctl_elem_value_t * obj, unsigned int idx) { +long glshim_snd_ctl_elem_value_get_integer(const snd_ctl_elem_value_t * obj, unsigned int idx) { snd_ctl_elem_value_get_integer_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_get_integer_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7350,9 +8095,10 @@ long snd_ctl_elem_value_get_integer(const snd_ctl_elem_value_t * obj, unsigned i syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long snd_ctl_elem_value_get_integer(const snd_ctl_elem_value_t * obj, unsigned int idx) __attribute__((alias("glshim_snd_ctl_elem_value_get_integer"))); #endif #if !defined(skip_client_snd_ctl_elem_value_get_integer64) && !defined(skip_index_snd_ctl_elem_value_get_integer64) -long long snd_ctl_elem_value_get_integer64(const snd_ctl_elem_value_t * obj, unsigned int idx) { +long long glshim_snd_ctl_elem_value_get_integer64(const snd_ctl_elem_value_t * obj, unsigned int idx) { snd_ctl_elem_value_get_integer64_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_get_integer64_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7361,9 +8107,10 @@ long long snd_ctl_elem_value_get_integer64(const snd_ctl_elem_value_t * obj, uns syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long long snd_ctl_elem_value_get_integer64(const snd_ctl_elem_value_t * obj, unsigned int idx) __attribute__((alias("glshim_snd_ctl_elem_value_get_integer64"))); #endif #if !defined(skip_client_snd_ctl_elem_value_get_interface) && !defined(skip_index_snd_ctl_elem_value_get_interface) -snd_ctl_elem_iface_t snd_ctl_elem_value_get_interface(const snd_ctl_elem_value_t * obj) { +snd_ctl_elem_iface_t glshim_snd_ctl_elem_value_get_interface(const snd_ctl_elem_value_t * obj) { snd_ctl_elem_value_get_interface_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_get_interface_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7371,9 +8118,10 @@ snd_ctl_elem_iface_t snd_ctl_elem_value_get_interface(const snd_ctl_elem_value_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_ctl_elem_iface_t snd_ctl_elem_value_get_interface(const snd_ctl_elem_value_t * obj) __attribute__((alias("glshim_snd_ctl_elem_value_get_interface"))); #endif #if !defined(skip_client_snd_ctl_elem_value_get_name) && !defined(skip_index_snd_ctl_elem_value_get_name) -const char * snd_ctl_elem_value_get_name(const snd_ctl_elem_value_t * obj) { +const char * glshim_snd_ctl_elem_value_get_name(const snd_ctl_elem_value_t * obj) { snd_ctl_elem_value_get_name_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_get_name_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7381,9 +8129,10 @@ const char * snd_ctl_elem_value_get_name(const snd_ctl_elem_value_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_elem_value_get_name(const snd_ctl_elem_value_t * obj) __attribute__((alias("glshim_snd_ctl_elem_value_get_name"))); #endif #if !defined(skip_client_snd_ctl_elem_value_get_numid) && !defined(skip_index_snd_ctl_elem_value_get_numid) -unsigned int snd_ctl_elem_value_get_numid(const snd_ctl_elem_value_t * obj) { +unsigned int glshim_snd_ctl_elem_value_get_numid(const snd_ctl_elem_value_t * obj) { snd_ctl_elem_value_get_numid_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_get_numid_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7391,9 +8140,10 @@ unsigned int snd_ctl_elem_value_get_numid(const snd_ctl_elem_value_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_value_get_numid(const snd_ctl_elem_value_t * obj) __attribute__((alias("glshim_snd_ctl_elem_value_get_numid"))); #endif #if !defined(skip_client_snd_ctl_elem_value_get_subdevice) && !defined(skip_index_snd_ctl_elem_value_get_subdevice) -unsigned int snd_ctl_elem_value_get_subdevice(const snd_ctl_elem_value_t * obj) { +unsigned int glshim_snd_ctl_elem_value_get_subdevice(const snd_ctl_elem_value_t * obj) { snd_ctl_elem_value_get_subdevice_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_get_subdevice_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7401,9 +8151,10 @@ unsigned int snd_ctl_elem_value_get_subdevice(const snd_ctl_elem_value_t * obj) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_elem_value_get_subdevice(const snd_ctl_elem_value_t * obj) __attribute__((alias("glshim_snd_ctl_elem_value_get_subdevice"))); #endif #if !defined(skip_client_snd_ctl_elem_value_malloc) && !defined(skip_index_snd_ctl_elem_value_malloc) -int snd_ctl_elem_value_malloc(snd_ctl_elem_value_t ** ptr) { +int glshim_snd_ctl_elem_value_malloc(snd_ctl_elem_value_t ** ptr) { snd_ctl_elem_value_malloc_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_malloc_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t **)ptr; @@ -7411,9 +8162,10 @@ int snd_ctl_elem_value_malloc(snd_ctl_elem_value_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_value_malloc(snd_ctl_elem_value_t ** ptr) __attribute__((alias("glshim_snd_ctl_elem_value_malloc"))); #endif #if !defined(skip_client_snd_ctl_elem_value_set_boolean) && !defined(skip_index_snd_ctl_elem_value_set_boolean) -void snd_ctl_elem_value_set_boolean(snd_ctl_elem_value_t * obj, unsigned int idx, long val) { +void glshim_snd_ctl_elem_value_set_boolean(snd_ctl_elem_value_t * obj, unsigned int idx, long val) { snd_ctl_elem_value_set_boolean_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_set_boolean_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7421,9 +8173,10 @@ void snd_ctl_elem_value_set_boolean(snd_ctl_elem_value_t * obj, unsigned int idx packed_data.args.a3 = (long)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_set_boolean(snd_ctl_elem_value_t * obj, unsigned int idx, long val) __attribute__((alias("glshim_snd_ctl_elem_value_set_boolean"))); #endif #if !defined(skip_client_snd_ctl_elem_value_set_byte) && !defined(skip_index_snd_ctl_elem_value_set_byte) -void snd_ctl_elem_value_set_byte(snd_ctl_elem_value_t * obj, unsigned int idx, unsigned char val) { +void glshim_snd_ctl_elem_value_set_byte(snd_ctl_elem_value_t * obj, unsigned int idx, unsigned char val) { snd_ctl_elem_value_set_byte_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_set_byte_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7431,18 +8184,20 @@ void snd_ctl_elem_value_set_byte(snd_ctl_elem_value_t * obj, unsigned int idx, u packed_data.args.a3 = (unsigned char)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_set_byte(snd_ctl_elem_value_t * obj, unsigned int idx, unsigned char val) __attribute__((alias("glshim_snd_ctl_elem_value_set_byte"))); #endif #if !defined(skip_client_snd_ctl_elem_value_set_device) && !defined(skip_index_snd_ctl_elem_value_set_device) -void snd_ctl_elem_value_set_device(snd_ctl_elem_value_t * obj, unsigned int val) { +void glshim_snd_ctl_elem_value_set_device(snd_ctl_elem_value_t * obj, unsigned int val) { snd_ctl_elem_value_set_device_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_set_device_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_set_device(snd_ctl_elem_value_t * obj, unsigned int val) __attribute__((alias("glshim_snd_ctl_elem_value_set_device"))); #endif #if !defined(skip_client_snd_ctl_elem_value_set_enumerated) && !defined(skip_index_snd_ctl_elem_value_set_enumerated) -void snd_ctl_elem_value_set_enumerated(snd_ctl_elem_value_t * obj, unsigned int idx, unsigned int val) { +void glshim_snd_ctl_elem_value_set_enumerated(snd_ctl_elem_value_t * obj, unsigned int idx, unsigned int val) { snd_ctl_elem_value_set_enumerated_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_set_enumerated_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7450,36 +8205,40 @@ void snd_ctl_elem_value_set_enumerated(snd_ctl_elem_value_t * obj, unsigned int packed_data.args.a3 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_set_enumerated(snd_ctl_elem_value_t * obj, unsigned int idx, unsigned int val) __attribute__((alias("glshim_snd_ctl_elem_value_set_enumerated"))); #endif #if !defined(skip_client_snd_ctl_elem_value_set_id) && !defined(skip_index_snd_ctl_elem_value_set_id) -void snd_ctl_elem_value_set_id(snd_ctl_elem_value_t * obj, const snd_ctl_elem_id_t * ptr) { +void glshim_snd_ctl_elem_value_set_id(snd_ctl_elem_value_t * obj, const snd_ctl_elem_id_t * ptr) { snd_ctl_elem_value_set_id_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_set_id_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; packed_data.args.a2 = (snd_ctl_elem_id_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_set_id(snd_ctl_elem_value_t * obj, const snd_ctl_elem_id_t * ptr) __attribute__((alias("glshim_snd_ctl_elem_value_set_id"))); #endif #if !defined(skip_client_snd_ctl_elem_value_set_iec958) && !defined(skip_index_snd_ctl_elem_value_set_iec958) -void snd_ctl_elem_value_set_iec958(snd_ctl_elem_value_t * obj, const snd_aes_iec958_t * ptr) { +void glshim_snd_ctl_elem_value_set_iec958(snd_ctl_elem_value_t * obj, const snd_aes_iec958_t * ptr) { snd_ctl_elem_value_set_iec958_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_set_iec958_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; packed_data.args.a2 = (snd_aes_iec958_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_set_iec958(snd_ctl_elem_value_t * obj, const snd_aes_iec958_t * ptr) __attribute__((alias("glshim_snd_ctl_elem_value_set_iec958"))); #endif #if !defined(skip_client_snd_ctl_elem_value_set_index) && !defined(skip_index_snd_ctl_elem_value_set_index) -void snd_ctl_elem_value_set_index(snd_ctl_elem_value_t * obj, unsigned int val) { +void glshim_snd_ctl_elem_value_set_index(snd_ctl_elem_value_t * obj, unsigned int val) { snd_ctl_elem_value_set_index_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_set_index_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_set_index(snd_ctl_elem_value_t * obj, unsigned int val) __attribute__((alias("glshim_snd_ctl_elem_value_set_index"))); #endif #if !defined(skip_client_snd_ctl_elem_value_set_integer) && !defined(skip_index_snd_ctl_elem_value_set_integer) -void snd_ctl_elem_value_set_integer(snd_ctl_elem_value_t * obj, unsigned int idx, long val) { +void glshim_snd_ctl_elem_value_set_integer(snd_ctl_elem_value_t * obj, unsigned int idx, long val) { snd_ctl_elem_value_set_integer_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_set_integer_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7487,9 +8246,10 @@ void snd_ctl_elem_value_set_integer(snd_ctl_elem_value_t * obj, unsigned int idx packed_data.args.a3 = (long)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_set_integer(snd_ctl_elem_value_t * obj, unsigned int idx, long val) __attribute__((alias("glshim_snd_ctl_elem_value_set_integer"))); #endif #if !defined(skip_client_snd_ctl_elem_value_set_integer64) && !defined(skip_index_snd_ctl_elem_value_set_integer64) -void snd_ctl_elem_value_set_integer64(snd_ctl_elem_value_t * obj, unsigned int idx, long long val) { +void glshim_snd_ctl_elem_value_set_integer64(snd_ctl_elem_value_t * obj, unsigned int idx, long long val) { snd_ctl_elem_value_set_integer64_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_set_integer64_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; @@ -7497,54 +8257,60 @@ void snd_ctl_elem_value_set_integer64(snd_ctl_elem_value_t * obj, unsigned int i packed_data.args.a3 = (long long)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_set_integer64(snd_ctl_elem_value_t * obj, unsigned int idx, long long val) __attribute__((alias("glshim_snd_ctl_elem_value_set_integer64"))); #endif #if !defined(skip_client_snd_ctl_elem_value_set_interface) && !defined(skip_index_snd_ctl_elem_value_set_interface) -void snd_ctl_elem_value_set_interface(snd_ctl_elem_value_t * obj, snd_ctl_elem_iface_t val) { +void glshim_snd_ctl_elem_value_set_interface(snd_ctl_elem_value_t * obj, snd_ctl_elem_iface_t val) { snd_ctl_elem_value_set_interface_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_set_interface_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; packed_data.args.a2 = (snd_ctl_elem_iface_t)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_set_interface(snd_ctl_elem_value_t * obj, snd_ctl_elem_iface_t val) __attribute__((alias("glshim_snd_ctl_elem_value_set_interface"))); #endif #if !defined(skip_client_snd_ctl_elem_value_set_name) && !defined(skip_index_snd_ctl_elem_value_set_name) -void snd_ctl_elem_value_set_name(snd_ctl_elem_value_t * obj, const char * val) { +void glshim_snd_ctl_elem_value_set_name(snd_ctl_elem_value_t * obj, const char * val) { snd_ctl_elem_value_set_name_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_set_name_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; packed_data.args.a2 = (char *)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_set_name(snd_ctl_elem_value_t * obj, const char * val) __attribute__((alias("glshim_snd_ctl_elem_value_set_name"))); #endif #if !defined(skip_client_snd_ctl_elem_value_set_numid) && !defined(skip_index_snd_ctl_elem_value_set_numid) -void snd_ctl_elem_value_set_numid(snd_ctl_elem_value_t * obj, unsigned int val) { +void glshim_snd_ctl_elem_value_set_numid(snd_ctl_elem_value_t * obj, unsigned int val) { snd_ctl_elem_value_set_numid_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_set_numid_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_set_numid(snd_ctl_elem_value_t * obj, unsigned int val) __attribute__((alias("glshim_snd_ctl_elem_value_set_numid"))); #endif #if !defined(skip_client_snd_ctl_elem_value_set_subdevice) && !defined(skip_index_snd_ctl_elem_value_set_subdevice) -void snd_ctl_elem_value_set_subdevice(snd_ctl_elem_value_t * obj, unsigned int val) { +void glshim_snd_ctl_elem_value_set_subdevice(snd_ctl_elem_value_t * obj, unsigned int val) { snd_ctl_elem_value_set_subdevice_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_set_subdevice_INDEX; packed_data.args.a1 = (snd_ctl_elem_value_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_elem_value_set_subdevice(snd_ctl_elem_value_t * obj, unsigned int val) __attribute__((alias("glshim_snd_ctl_elem_value_set_subdevice"))); #endif #if !defined(skip_client_snd_ctl_elem_value_sizeof) && !defined(skip_index_snd_ctl_elem_value_sizeof) -size_t snd_ctl_elem_value_sizeof() { +size_t glshim_snd_ctl_elem_value_sizeof() { snd_ctl_elem_value_sizeof_INDEXED packed_data; packed_data.func = snd_ctl_elem_value_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_ctl_elem_value_sizeof() __attribute__((alias("glshim_snd_ctl_elem_value_sizeof"))); #endif #if !defined(skip_client_snd_ctl_elem_write) && !defined(skip_index_snd_ctl_elem_write) -int snd_ctl_elem_write(snd_ctl_t * ctl, snd_ctl_elem_value_t * value) { +int glshim_snd_ctl_elem_write(snd_ctl_t * ctl, snd_ctl_elem_value_t * value) { snd_ctl_elem_write_INDEXED packed_data; packed_data.func = snd_ctl_elem_write_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7553,26 +8319,29 @@ int snd_ctl_elem_write(snd_ctl_t * ctl, snd_ctl_elem_value_t * value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_elem_write(snd_ctl_t * ctl, snd_ctl_elem_value_t * value) __attribute__((alias("glshim_snd_ctl_elem_write"))); #endif #if !defined(skip_client_snd_ctl_event_clear) && !defined(skip_index_snd_ctl_event_clear) -void snd_ctl_event_clear(snd_ctl_event_t * obj) { +void glshim_snd_ctl_event_clear(snd_ctl_event_t * obj) { snd_ctl_event_clear_INDEXED packed_data; packed_data.func = snd_ctl_event_clear_INDEX; packed_data.args.a1 = (snd_ctl_event_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_event_clear(snd_ctl_event_t * obj) __attribute__((alias("glshim_snd_ctl_event_clear"))); #endif #if !defined(skip_client_snd_ctl_event_copy) && !defined(skip_index_snd_ctl_event_copy) -void snd_ctl_event_copy(snd_ctl_event_t * dst, const snd_ctl_event_t * src) { +void glshim_snd_ctl_event_copy(snd_ctl_event_t * dst, const snd_ctl_event_t * src) { snd_ctl_event_copy_INDEXED packed_data; packed_data.func = snd_ctl_event_copy_INDEX; packed_data.args.a1 = (snd_ctl_event_t *)dst; packed_data.args.a2 = (snd_ctl_event_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_event_copy(snd_ctl_event_t * dst, const snd_ctl_event_t * src) __attribute__((alias("glshim_snd_ctl_event_copy"))); #endif #if !defined(skip_client_snd_ctl_event_elem_get_device) && !defined(skip_index_snd_ctl_event_elem_get_device) -unsigned int snd_ctl_event_elem_get_device(const snd_ctl_event_t * obj) { +unsigned int glshim_snd_ctl_event_elem_get_device(const snd_ctl_event_t * obj) { snd_ctl_event_elem_get_device_INDEXED packed_data; packed_data.func = snd_ctl_event_elem_get_device_INDEX; packed_data.args.a1 = (snd_ctl_event_t *)obj; @@ -7580,18 +8349,20 @@ unsigned int snd_ctl_event_elem_get_device(const snd_ctl_event_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_event_elem_get_device(const snd_ctl_event_t * obj) __attribute__((alias("glshim_snd_ctl_event_elem_get_device"))); #endif #if !defined(skip_client_snd_ctl_event_elem_get_id) && !defined(skip_index_snd_ctl_event_elem_get_id) -void snd_ctl_event_elem_get_id(const snd_ctl_event_t * obj, snd_ctl_elem_id_t * ptr) { +void glshim_snd_ctl_event_elem_get_id(const snd_ctl_event_t * obj, snd_ctl_elem_id_t * ptr) { snd_ctl_event_elem_get_id_INDEXED packed_data; packed_data.func = snd_ctl_event_elem_get_id_INDEX; packed_data.args.a1 = (snd_ctl_event_t *)obj; packed_data.args.a2 = (snd_ctl_elem_id_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_event_elem_get_id(const snd_ctl_event_t * obj, snd_ctl_elem_id_t * ptr) __attribute__((alias("glshim_snd_ctl_event_elem_get_id"))); #endif #if !defined(skip_client_snd_ctl_event_elem_get_index) && !defined(skip_index_snd_ctl_event_elem_get_index) -unsigned int snd_ctl_event_elem_get_index(const snd_ctl_event_t * obj) { +unsigned int glshim_snd_ctl_event_elem_get_index(const snd_ctl_event_t * obj) { snd_ctl_event_elem_get_index_INDEXED packed_data; packed_data.func = snd_ctl_event_elem_get_index_INDEX; packed_data.args.a1 = (snd_ctl_event_t *)obj; @@ -7599,9 +8370,10 @@ unsigned int snd_ctl_event_elem_get_index(const snd_ctl_event_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_event_elem_get_index(const snd_ctl_event_t * obj) __attribute__((alias("glshim_snd_ctl_event_elem_get_index"))); #endif #if !defined(skip_client_snd_ctl_event_elem_get_interface) && !defined(skip_index_snd_ctl_event_elem_get_interface) -snd_ctl_elem_iface_t snd_ctl_event_elem_get_interface(const snd_ctl_event_t * obj) { +snd_ctl_elem_iface_t glshim_snd_ctl_event_elem_get_interface(const snd_ctl_event_t * obj) { snd_ctl_event_elem_get_interface_INDEXED packed_data; packed_data.func = snd_ctl_event_elem_get_interface_INDEX; packed_data.args.a1 = (snd_ctl_event_t *)obj; @@ -7609,9 +8381,10 @@ snd_ctl_elem_iface_t snd_ctl_event_elem_get_interface(const snd_ctl_event_t * ob syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_ctl_elem_iface_t snd_ctl_event_elem_get_interface(const snd_ctl_event_t * obj) __attribute__((alias("glshim_snd_ctl_event_elem_get_interface"))); #endif #if !defined(skip_client_snd_ctl_event_elem_get_mask) && !defined(skip_index_snd_ctl_event_elem_get_mask) -unsigned int snd_ctl_event_elem_get_mask(const snd_ctl_event_t * obj) { +unsigned int glshim_snd_ctl_event_elem_get_mask(const snd_ctl_event_t * obj) { snd_ctl_event_elem_get_mask_INDEXED packed_data; packed_data.func = snd_ctl_event_elem_get_mask_INDEX; packed_data.args.a1 = (snd_ctl_event_t *)obj; @@ -7619,9 +8392,10 @@ unsigned int snd_ctl_event_elem_get_mask(const snd_ctl_event_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_event_elem_get_mask(const snd_ctl_event_t * obj) __attribute__((alias("glshim_snd_ctl_event_elem_get_mask"))); #endif #if !defined(skip_client_snd_ctl_event_elem_get_name) && !defined(skip_index_snd_ctl_event_elem_get_name) -const char * snd_ctl_event_elem_get_name(const snd_ctl_event_t * obj) { +const char * glshim_snd_ctl_event_elem_get_name(const snd_ctl_event_t * obj) { snd_ctl_event_elem_get_name_INDEXED packed_data; packed_data.func = snd_ctl_event_elem_get_name_INDEX; packed_data.args.a1 = (snd_ctl_event_t *)obj; @@ -7629,9 +8403,10 @@ const char * snd_ctl_event_elem_get_name(const snd_ctl_event_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_event_elem_get_name(const snd_ctl_event_t * obj) __attribute__((alias("glshim_snd_ctl_event_elem_get_name"))); #endif #if !defined(skip_client_snd_ctl_event_elem_get_numid) && !defined(skip_index_snd_ctl_event_elem_get_numid) -unsigned int snd_ctl_event_elem_get_numid(const snd_ctl_event_t * obj) { +unsigned int glshim_snd_ctl_event_elem_get_numid(const snd_ctl_event_t * obj) { snd_ctl_event_elem_get_numid_INDEXED packed_data; packed_data.func = snd_ctl_event_elem_get_numid_INDEX; packed_data.args.a1 = (snd_ctl_event_t *)obj; @@ -7639,9 +8414,10 @@ unsigned int snd_ctl_event_elem_get_numid(const snd_ctl_event_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_event_elem_get_numid(const snd_ctl_event_t * obj) __attribute__((alias("glshim_snd_ctl_event_elem_get_numid"))); #endif #if !defined(skip_client_snd_ctl_event_elem_get_subdevice) && !defined(skip_index_snd_ctl_event_elem_get_subdevice) -unsigned int snd_ctl_event_elem_get_subdevice(const snd_ctl_event_t * obj) { +unsigned int glshim_snd_ctl_event_elem_get_subdevice(const snd_ctl_event_t * obj) { snd_ctl_event_elem_get_subdevice_INDEXED packed_data; packed_data.func = snd_ctl_event_elem_get_subdevice_INDEX; packed_data.args.a1 = (snd_ctl_event_t *)obj; @@ -7649,17 +8425,19 @@ unsigned int snd_ctl_event_elem_get_subdevice(const snd_ctl_event_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_ctl_event_elem_get_subdevice(const snd_ctl_event_t * obj) __attribute__((alias("glshim_snd_ctl_event_elem_get_subdevice"))); #endif #if !defined(skip_client_snd_ctl_event_free) && !defined(skip_index_snd_ctl_event_free) -void snd_ctl_event_free(snd_ctl_event_t * obj) { +void glshim_snd_ctl_event_free(snd_ctl_event_t * obj) { snd_ctl_event_free_INDEXED packed_data; packed_data.func = snd_ctl_event_free_INDEX; packed_data.args.a1 = (snd_ctl_event_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_ctl_event_free(snd_ctl_event_t * obj) __attribute__((alias("glshim_snd_ctl_event_free"))); #endif #if !defined(skip_client_snd_ctl_event_get_type) && !defined(skip_index_snd_ctl_event_get_type) -snd_ctl_event_type_t snd_ctl_event_get_type(const snd_ctl_event_t * obj) { +snd_ctl_event_type_t glshim_snd_ctl_event_get_type(const snd_ctl_event_t * obj) { snd_ctl_event_get_type_INDEXED packed_data; packed_data.func = snd_ctl_event_get_type_INDEX; packed_data.args.a1 = (snd_ctl_event_t *)obj; @@ -7667,9 +8445,10 @@ snd_ctl_event_type_t snd_ctl_event_get_type(const snd_ctl_event_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_ctl_event_type_t snd_ctl_event_get_type(const snd_ctl_event_t * obj) __attribute__((alias("glshim_snd_ctl_event_get_type"))); #endif #if !defined(skip_client_snd_ctl_event_malloc) && !defined(skip_index_snd_ctl_event_malloc) -int snd_ctl_event_malloc(snd_ctl_event_t ** ptr) { +int glshim_snd_ctl_event_malloc(snd_ctl_event_t ** ptr) { snd_ctl_event_malloc_INDEXED packed_data; packed_data.func = snd_ctl_event_malloc_INDEX; packed_data.args.a1 = (snd_ctl_event_t **)ptr; @@ -7677,18 +8456,20 @@ int snd_ctl_event_malloc(snd_ctl_event_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_event_malloc(snd_ctl_event_t ** ptr) __attribute__((alias("glshim_snd_ctl_event_malloc"))); #endif #if !defined(skip_client_snd_ctl_event_sizeof) && !defined(skip_index_snd_ctl_event_sizeof) -size_t snd_ctl_event_sizeof() { +size_t glshim_snd_ctl_event_sizeof() { snd_ctl_event_sizeof_INDEXED packed_data; packed_data.func = snd_ctl_event_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_ctl_event_sizeof() __attribute__((alias("glshim_snd_ctl_event_sizeof"))); #endif #if !defined(skip_client_snd_ctl_event_type_name) && !defined(skip_index_snd_ctl_event_type_name) -const char * snd_ctl_event_type_name(snd_ctl_event_type_t type) { +const char * glshim_snd_ctl_event_type_name(snd_ctl_event_type_t type) { snd_ctl_event_type_name_INDEXED packed_data; packed_data.func = snd_ctl_event_type_name_INDEX; packed_data.args.a1 = (snd_ctl_event_type_t)type; @@ -7696,9 +8477,10 @@ const char * snd_ctl_event_type_name(snd_ctl_event_type_t type) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_event_type_name(snd_ctl_event_type_t type) __attribute__((alias("glshim_snd_ctl_event_type_name"))); #endif #if !defined(skip_client_snd_ctl_get_power_state) && !defined(skip_index_snd_ctl_get_power_state) -int snd_ctl_get_power_state(snd_ctl_t * ctl, unsigned int * state) { +int glshim_snd_ctl_get_power_state(snd_ctl_t * ctl, unsigned int * state) { snd_ctl_get_power_state_INDEXED packed_data; packed_data.func = snd_ctl_get_power_state_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7707,9 +8489,10 @@ int snd_ctl_get_power_state(snd_ctl_t * ctl, unsigned int * state) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_get_power_state(snd_ctl_t * ctl, unsigned int * state) __attribute__((alias("glshim_snd_ctl_get_power_state"))); #endif #if !defined(skip_client_snd_ctl_hwdep_info) && !defined(skip_index_snd_ctl_hwdep_info) -int snd_ctl_hwdep_info(snd_ctl_t * ctl, snd_hwdep_info_t * info) { +int glshim_snd_ctl_hwdep_info(snd_ctl_t * ctl, snd_hwdep_info_t * info) { snd_ctl_hwdep_info_INDEXED packed_data; packed_data.func = snd_ctl_hwdep_info_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7718,9 +8501,10 @@ int snd_ctl_hwdep_info(snd_ctl_t * ctl, snd_hwdep_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_hwdep_info(snd_ctl_t * ctl, snd_hwdep_info_t * info) __attribute__((alias("glshim_snd_ctl_hwdep_info"))); #endif #if !defined(skip_client_snd_ctl_hwdep_next_device) && !defined(skip_index_snd_ctl_hwdep_next_device) -int snd_ctl_hwdep_next_device(snd_ctl_t * ctl, int * device) { +int glshim_snd_ctl_hwdep_next_device(snd_ctl_t * ctl, int * device) { snd_ctl_hwdep_next_device_INDEXED packed_data; packed_data.func = snd_ctl_hwdep_next_device_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7729,9 +8513,10 @@ int snd_ctl_hwdep_next_device(snd_ctl_t * ctl, int * device) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_hwdep_next_device(snd_ctl_t * ctl, int * device) __attribute__((alias("glshim_snd_ctl_hwdep_next_device"))); #endif #if !defined(skip_client_snd_ctl_name) && !defined(skip_index_snd_ctl_name) -const char * snd_ctl_name(snd_ctl_t * ctl) { +const char * glshim_snd_ctl_name(snd_ctl_t * ctl) { snd_ctl_name_INDEXED packed_data; packed_data.func = snd_ctl_name_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7739,9 +8524,10 @@ const char * snd_ctl_name(snd_ctl_t * ctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_ctl_name(snd_ctl_t * ctl) __attribute__((alias("glshim_snd_ctl_name"))); #endif #if !defined(skip_client_snd_ctl_nonblock) && !defined(skip_index_snd_ctl_nonblock) -int snd_ctl_nonblock(snd_ctl_t * ctl, int nonblock) { +int glshim_snd_ctl_nonblock(snd_ctl_t * ctl, int nonblock) { snd_ctl_nonblock_INDEXED packed_data; packed_data.func = snd_ctl_nonblock_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7750,9 +8536,10 @@ int snd_ctl_nonblock(snd_ctl_t * ctl, int nonblock) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_nonblock(snd_ctl_t * ctl, int nonblock) __attribute__((alias("glshim_snd_ctl_nonblock"))); #endif #if !defined(skip_client_snd_ctl_open) && !defined(skip_index_snd_ctl_open) -int snd_ctl_open(snd_ctl_t ** ctl, const char * name, int mode) { +int glshim_snd_ctl_open(snd_ctl_t ** ctl, const char * name, int mode) { snd_ctl_open_INDEXED packed_data; packed_data.func = snd_ctl_open_INDEX; packed_data.args.a1 = (snd_ctl_t **)ctl; @@ -7762,9 +8549,10 @@ int snd_ctl_open(snd_ctl_t ** ctl, const char * name, int mode) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_open(snd_ctl_t ** ctl, const char * name, int mode) __attribute__((alias("glshim_snd_ctl_open"))); #endif #if !defined(skip_client_snd_ctl_open_lconf) && !defined(skip_index_snd_ctl_open_lconf) -int snd_ctl_open_lconf(snd_ctl_t ** ctl, const char * name, int mode, snd_config_t * lconf) { +int glshim_snd_ctl_open_lconf(snd_ctl_t ** ctl, const char * name, int mode, snd_config_t * lconf) { snd_ctl_open_lconf_INDEXED packed_data; packed_data.func = snd_ctl_open_lconf_INDEX; packed_data.args.a1 = (snd_ctl_t **)ctl; @@ -7775,9 +8563,10 @@ int snd_ctl_open_lconf(snd_ctl_t ** ctl, const char * name, int mode, snd_config syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_open_lconf(snd_ctl_t ** ctl, const char * name, int mode, snd_config_t * lconf) __attribute__((alias("glshim_snd_ctl_open_lconf"))); #endif #if !defined(skip_client_snd_ctl_pcm_info) && !defined(skip_index_snd_ctl_pcm_info) -int snd_ctl_pcm_info(snd_ctl_t * ctl, snd_pcm_info_t * info) { +int glshim_snd_ctl_pcm_info(snd_ctl_t * ctl, snd_pcm_info_t * info) { snd_ctl_pcm_info_INDEXED packed_data; packed_data.func = snd_ctl_pcm_info_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7786,9 +8575,10 @@ int snd_ctl_pcm_info(snd_ctl_t * ctl, snd_pcm_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_pcm_info(snd_ctl_t * ctl, snd_pcm_info_t * info) __attribute__((alias("glshim_snd_ctl_pcm_info"))); #endif #if !defined(skip_client_snd_ctl_pcm_next_device) && !defined(skip_index_snd_ctl_pcm_next_device) -int snd_ctl_pcm_next_device(snd_ctl_t * ctl, int * device) { +int glshim_snd_ctl_pcm_next_device(snd_ctl_t * ctl, int * device) { snd_ctl_pcm_next_device_INDEXED packed_data; packed_data.func = snd_ctl_pcm_next_device_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7797,9 +8587,10 @@ int snd_ctl_pcm_next_device(snd_ctl_t * ctl, int * device) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_pcm_next_device(snd_ctl_t * ctl, int * device) __attribute__((alias("glshim_snd_ctl_pcm_next_device"))); #endif #if !defined(skip_client_snd_ctl_pcm_prefer_subdevice) && !defined(skip_index_snd_ctl_pcm_prefer_subdevice) -int snd_ctl_pcm_prefer_subdevice(snd_ctl_t * ctl, int subdev) { +int glshim_snd_ctl_pcm_prefer_subdevice(snd_ctl_t * ctl, int subdev) { snd_ctl_pcm_prefer_subdevice_INDEXED packed_data; packed_data.func = snd_ctl_pcm_prefer_subdevice_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7808,9 +8599,10 @@ int snd_ctl_pcm_prefer_subdevice(snd_ctl_t * ctl, int subdev) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_pcm_prefer_subdevice(snd_ctl_t * ctl, int subdev) __attribute__((alias("glshim_snd_ctl_pcm_prefer_subdevice"))); #endif #if !defined(skip_client_snd_ctl_poll_descriptors) && !defined(skip_index_snd_ctl_poll_descriptors) -int snd_ctl_poll_descriptors(snd_ctl_t * ctl, struct pollfd * pfds, unsigned int space) { +int glshim_snd_ctl_poll_descriptors(snd_ctl_t * ctl, struct pollfd * pfds, unsigned int space) { snd_ctl_poll_descriptors_INDEXED packed_data; packed_data.func = snd_ctl_poll_descriptors_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7820,9 +8612,10 @@ int snd_ctl_poll_descriptors(snd_ctl_t * ctl, struct pollfd * pfds, unsigned int syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_poll_descriptors(snd_ctl_t * ctl, struct pollfd * pfds, unsigned int space) __attribute__((alias("glshim_snd_ctl_poll_descriptors"))); #endif #if !defined(skip_client_snd_ctl_poll_descriptors_count) && !defined(skip_index_snd_ctl_poll_descriptors_count) -int snd_ctl_poll_descriptors_count(snd_ctl_t * ctl) { +int glshim_snd_ctl_poll_descriptors_count(snd_ctl_t * ctl) { snd_ctl_poll_descriptors_count_INDEXED packed_data; packed_data.func = snd_ctl_poll_descriptors_count_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7830,9 +8623,10 @@ int snd_ctl_poll_descriptors_count(snd_ctl_t * ctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_poll_descriptors_count(snd_ctl_t * ctl) __attribute__((alias("glshim_snd_ctl_poll_descriptors_count"))); #endif #if !defined(skip_client_snd_ctl_poll_descriptors_revents) && !defined(skip_index_snd_ctl_poll_descriptors_revents) -int snd_ctl_poll_descriptors_revents(snd_ctl_t * ctl, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) { +int glshim_snd_ctl_poll_descriptors_revents(snd_ctl_t * ctl, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) { snd_ctl_poll_descriptors_revents_INDEXED packed_data; packed_data.func = snd_ctl_poll_descriptors_revents_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7843,9 +8637,10 @@ int snd_ctl_poll_descriptors_revents(snd_ctl_t * ctl, struct pollfd * pfds, unsi syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_poll_descriptors_revents(snd_ctl_t * ctl, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) __attribute__((alias("glshim_snd_ctl_poll_descriptors_revents"))); #endif #if !defined(skip_client_snd_ctl_rawmidi_info) && !defined(skip_index_snd_ctl_rawmidi_info) -int snd_ctl_rawmidi_info(snd_ctl_t * ctl, snd_rawmidi_info_t * info) { +int glshim_snd_ctl_rawmidi_info(snd_ctl_t * ctl, snd_rawmidi_info_t * info) { snd_ctl_rawmidi_info_INDEXED packed_data; packed_data.func = snd_ctl_rawmidi_info_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7854,9 +8649,10 @@ int snd_ctl_rawmidi_info(snd_ctl_t * ctl, snd_rawmidi_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_rawmidi_info(snd_ctl_t * ctl, snd_rawmidi_info_t * info) __attribute__((alias("glshim_snd_ctl_rawmidi_info"))); #endif #if !defined(skip_client_snd_ctl_rawmidi_next_device) && !defined(skip_index_snd_ctl_rawmidi_next_device) -int snd_ctl_rawmidi_next_device(snd_ctl_t * ctl, int * device) { +int glshim_snd_ctl_rawmidi_next_device(snd_ctl_t * ctl, int * device) { snd_ctl_rawmidi_next_device_INDEXED packed_data; packed_data.func = snd_ctl_rawmidi_next_device_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7865,9 +8661,10 @@ int snd_ctl_rawmidi_next_device(snd_ctl_t * ctl, int * device) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_rawmidi_next_device(snd_ctl_t * ctl, int * device) __attribute__((alias("glshim_snd_ctl_rawmidi_next_device"))); #endif #if !defined(skip_client_snd_ctl_rawmidi_prefer_subdevice) && !defined(skip_index_snd_ctl_rawmidi_prefer_subdevice) -int snd_ctl_rawmidi_prefer_subdevice(snd_ctl_t * ctl, int subdev) { +int glshim_snd_ctl_rawmidi_prefer_subdevice(snd_ctl_t * ctl, int subdev) { snd_ctl_rawmidi_prefer_subdevice_INDEXED packed_data; packed_data.func = snd_ctl_rawmidi_prefer_subdevice_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7876,9 +8673,10 @@ int snd_ctl_rawmidi_prefer_subdevice(snd_ctl_t * ctl, int subdev) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_rawmidi_prefer_subdevice(snd_ctl_t * ctl, int subdev) __attribute__((alias("glshim_snd_ctl_rawmidi_prefer_subdevice"))); #endif #if !defined(skip_client_snd_ctl_read) && !defined(skip_index_snd_ctl_read) -int snd_ctl_read(snd_ctl_t * ctl, snd_ctl_event_t * event) { +int glshim_snd_ctl_read(snd_ctl_t * ctl, snd_ctl_event_t * event) { snd_ctl_read_INDEXED packed_data; packed_data.func = snd_ctl_read_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7887,9 +8685,10 @@ int snd_ctl_read(snd_ctl_t * ctl, snd_ctl_event_t * event) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_read(snd_ctl_t * ctl, snd_ctl_event_t * event) __attribute__((alias("glshim_snd_ctl_read"))); #endif #if !defined(skip_client_snd_ctl_set_power_state) && !defined(skip_index_snd_ctl_set_power_state) -int snd_ctl_set_power_state(snd_ctl_t * ctl, unsigned int state) { +int glshim_snd_ctl_set_power_state(snd_ctl_t * ctl, unsigned int state) { snd_ctl_set_power_state_INDEXED packed_data; packed_data.func = snd_ctl_set_power_state_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7898,9 +8697,10 @@ int snd_ctl_set_power_state(snd_ctl_t * ctl, unsigned int state) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_set_power_state(snd_ctl_t * ctl, unsigned int state) __attribute__((alias("glshim_snd_ctl_set_power_state"))); #endif #if !defined(skip_client_snd_ctl_subscribe_events) && !defined(skip_index_snd_ctl_subscribe_events) -int snd_ctl_subscribe_events(snd_ctl_t * ctl, int subscribe) { +int glshim_snd_ctl_subscribe_events(snd_ctl_t * ctl, int subscribe) { snd_ctl_subscribe_events_INDEXED packed_data; packed_data.func = snd_ctl_subscribe_events_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7909,9 +8709,10 @@ int snd_ctl_subscribe_events(snd_ctl_t * ctl, int subscribe) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_subscribe_events(snd_ctl_t * ctl, int subscribe) __attribute__((alias("glshim_snd_ctl_subscribe_events"))); #endif #if !defined(skip_client_snd_ctl_type) && !defined(skip_index_snd_ctl_type) -snd_ctl_type_t snd_ctl_type(snd_ctl_t * ctl) { +snd_ctl_type_t glshim_snd_ctl_type(snd_ctl_t * ctl) { snd_ctl_type_INDEXED packed_data; packed_data.func = snd_ctl_type_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7919,9 +8720,10 @@ snd_ctl_type_t snd_ctl_type(snd_ctl_t * ctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_ctl_type_t snd_ctl_type(snd_ctl_t * ctl) __attribute__((alias("glshim_snd_ctl_type"))); #endif #if !defined(skip_client_snd_ctl_wait) && !defined(skip_index_snd_ctl_wait) -int snd_ctl_wait(snd_ctl_t * ctl, int timeout) { +int glshim_snd_ctl_wait(snd_ctl_t * ctl, int timeout) { snd_ctl_wait_INDEXED packed_data; packed_data.func = snd_ctl_wait_INDEX; packed_data.args.a1 = (snd_ctl_t *)ctl; @@ -7930,9 +8732,10 @@ int snd_ctl_wait(snd_ctl_t * ctl, int timeout) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_ctl_wait(snd_ctl_t * ctl, int timeout) __attribute__((alias("glshim_snd_ctl_wait"))); #endif #if !defined(skip_client_snd_dlclose) && !defined(skip_index_snd_dlclose) -int snd_dlclose(void * handle) { +int glshim_snd_dlclose(void * handle) { snd_dlclose_INDEXED packed_data; packed_data.func = snd_dlclose_INDEX; packed_data.args.a1 = (void *)handle; @@ -7940,9 +8743,10 @@ int snd_dlclose(void * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_dlclose(void * handle) __attribute__((alias("glshim_snd_dlclose"))); #endif #if !defined(skip_client_snd_dlopen) && !defined(skip_index_snd_dlopen) -void * snd_dlopen(const char * file, int mode) { +void * glshim_snd_dlopen(const char * file, int mode) { snd_dlopen_INDEXED packed_data; packed_data.func = snd_dlopen_INDEX; packed_data.args.a1 = (char *)file; @@ -7951,9 +8755,10 @@ void * snd_dlopen(const char * file, int mode) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +void * snd_dlopen(const char * file, int mode) __attribute__((alias("glshim_snd_dlopen"))); #endif #if !defined(skip_client_snd_dlsym) && !defined(skip_index_snd_dlsym) -void * snd_dlsym(void * handle, const char * name, const char * version) { +void * glshim_snd_dlsym(void * handle, const char * name, const char * version) { snd_dlsym_INDEXED packed_data; packed_data.func = snd_dlsym_INDEX; packed_data.args.a1 = (void *)handle; @@ -7963,9 +8768,10 @@ void * snd_dlsym(void * handle, const char * name, const char * version) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +void * snd_dlsym(void * handle, const char * name, const char * version) __attribute__((alias("glshim_snd_dlsym"))); #endif #if !defined(skip_client_snd_hctl_close) && !defined(skip_index_snd_hctl_close) -int snd_hctl_close(snd_hctl_t * hctl) { +int glshim_snd_hctl_close(snd_hctl_t * hctl) { snd_hctl_close_INDEXED packed_data; packed_data.func = snd_hctl_close_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -7973,9 +8779,10 @@ int snd_hctl_close(snd_hctl_t * hctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_close(snd_hctl_t * hctl) __attribute__((alias("glshim_snd_hctl_close"))); #endif #if !defined(skip_client_snd_hctl_compare_fast) && !defined(skip_index_snd_hctl_compare_fast) -int snd_hctl_compare_fast(const snd_hctl_elem_t * c1, const snd_hctl_elem_t * c2) { +int glshim_snd_hctl_compare_fast(const snd_hctl_elem_t * c1, const snd_hctl_elem_t * c2) { snd_hctl_compare_fast_INDEXED packed_data; packed_data.func = snd_hctl_compare_fast_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)c1; @@ -7984,9 +8791,10 @@ int snd_hctl_compare_fast(const snd_hctl_elem_t * c1, const snd_hctl_elem_t * c2 syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_compare_fast(const snd_hctl_elem_t * c1, const snd_hctl_elem_t * c2) __attribute__((alias("glshim_snd_hctl_compare_fast"))); #endif #if !defined(skip_client_snd_hctl_ctl) && !defined(skip_index_snd_hctl_ctl) -snd_ctl_t * snd_hctl_ctl(snd_hctl_t * hctl) { +snd_ctl_t * glshim_snd_hctl_ctl(snd_hctl_t * hctl) { snd_hctl_ctl_INDEXED packed_data; packed_data.func = snd_hctl_ctl_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -7994,9 +8802,10 @@ snd_ctl_t * snd_hctl_ctl(snd_hctl_t * hctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_ctl_t * snd_hctl_ctl(snd_hctl_t * hctl) __attribute__((alias("glshim_snd_hctl_ctl"))); #endif #if !defined(skip_client_snd_hctl_elem_get_callback_private) && !defined(skip_index_snd_hctl_elem_get_callback_private) -void * snd_hctl_elem_get_callback_private(const snd_hctl_elem_t * obj) { +void * glshim_snd_hctl_elem_get_callback_private(const snd_hctl_elem_t * obj) { snd_hctl_elem_get_callback_private_INDEXED packed_data; packed_data.func = snd_hctl_elem_get_callback_private_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)obj; @@ -8004,9 +8813,10 @@ void * snd_hctl_elem_get_callback_private(const snd_hctl_elem_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +void * snd_hctl_elem_get_callback_private(const snd_hctl_elem_t * obj) __attribute__((alias("glshim_snd_hctl_elem_get_callback_private"))); #endif #if !defined(skip_client_snd_hctl_elem_get_device) && !defined(skip_index_snd_hctl_elem_get_device) -unsigned int snd_hctl_elem_get_device(const snd_hctl_elem_t * obj) { +unsigned int glshim_snd_hctl_elem_get_device(const snd_hctl_elem_t * obj) { snd_hctl_elem_get_device_INDEXED packed_data; packed_data.func = snd_hctl_elem_get_device_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)obj; @@ -8014,9 +8824,10 @@ unsigned int snd_hctl_elem_get_device(const snd_hctl_elem_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_hctl_elem_get_device(const snd_hctl_elem_t * obj) __attribute__((alias("glshim_snd_hctl_elem_get_device"))); #endif #if !defined(skip_client_snd_hctl_elem_get_hctl) && !defined(skip_index_snd_hctl_elem_get_hctl) -snd_hctl_t * snd_hctl_elem_get_hctl(snd_hctl_elem_t * elem) { +snd_hctl_t * glshim_snd_hctl_elem_get_hctl(snd_hctl_elem_t * elem) { snd_hctl_elem_get_hctl_INDEXED packed_data; packed_data.func = snd_hctl_elem_get_hctl_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)elem; @@ -8024,18 +8835,20 @@ snd_hctl_t * snd_hctl_elem_get_hctl(snd_hctl_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_hctl_t * snd_hctl_elem_get_hctl(snd_hctl_elem_t * elem) __attribute__((alias("glshim_snd_hctl_elem_get_hctl"))); #endif #if !defined(skip_client_snd_hctl_elem_get_id) && !defined(skip_index_snd_hctl_elem_get_id) -void snd_hctl_elem_get_id(const snd_hctl_elem_t * obj, snd_ctl_elem_id_t * ptr) { +void glshim_snd_hctl_elem_get_id(const snd_hctl_elem_t * obj, snd_ctl_elem_id_t * ptr) { snd_hctl_elem_get_id_INDEXED packed_data; packed_data.func = snd_hctl_elem_get_id_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)obj; packed_data.args.a2 = (snd_ctl_elem_id_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_hctl_elem_get_id(const snd_hctl_elem_t * obj, snd_ctl_elem_id_t * ptr) __attribute__((alias("glshim_snd_hctl_elem_get_id"))); #endif #if !defined(skip_client_snd_hctl_elem_get_index) && !defined(skip_index_snd_hctl_elem_get_index) -unsigned int snd_hctl_elem_get_index(const snd_hctl_elem_t * obj) { +unsigned int glshim_snd_hctl_elem_get_index(const snd_hctl_elem_t * obj) { snd_hctl_elem_get_index_INDEXED packed_data; packed_data.func = snd_hctl_elem_get_index_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)obj; @@ -8043,9 +8856,10 @@ unsigned int snd_hctl_elem_get_index(const snd_hctl_elem_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_hctl_elem_get_index(const snd_hctl_elem_t * obj) __attribute__((alias("glshim_snd_hctl_elem_get_index"))); #endif #if !defined(skip_client_snd_hctl_elem_get_interface) && !defined(skip_index_snd_hctl_elem_get_interface) -snd_ctl_elem_iface_t snd_hctl_elem_get_interface(const snd_hctl_elem_t * obj) { +snd_ctl_elem_iface_t glshim_snd_hctl_elem_get_interface(const snd_hctl_elem_t * obj) { snd_hctl_elem_get_interface_INDEXED packed_data; packed_data.func = snd_hctl_elem_get_interface_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)obj; @@ -8053,9 +8867,10 @@ snd_ctl_elem_iface_t snd_hctl_elem_get_interface(const snd_hctl_elem_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_ctl_elem_iface_t snd_hctl_elem_get_interface(const snd_hctl_elem_t * obj) __attribute__((alias("glshim_snd_hctl_elem_get_interface"))); #endif #if !defined(skip_client_snd_hctl_elem_get_name) && !defined(skip_index_snd_hctl_elem_get_name) -const char * snd_hctl_elem_get_name(const snd_hctl_elem_t * obj) { +const char * glshim_snd_hctl_elem_get_name(const snd_hctl_elem_t * obj) { snd_hctl_elem_get_name_INDEXED packed_data; packed_data.func = snd_hctl_elem_get_name_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)obj; @@ -8063,9 +8878,10 @@ const char * snd_hctl_elem_get_name(const snd_hctl_elem_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_hctl_elem_get_name(const snd_hctl_elem_t * obj) __attribute__((alias("glshim_snd_hctl_elem_get_name"))); #endif #if !defined(skip_client_snd_hctl_elem_get_numid) && !defined(skip_index_snd_hctl_elem_get_numid) -unsigned int snd_hctl_elem_get_numid(const snd_hctl_elem_t * obj) { +unsigned int glshim_snd_hctl_elem_get_numid(const snd_hctl_elem_t * obj) { snd_hctl_elem_get_numid_INDEXED packed_data; packed_data.func = snd_hctl_elem_get_numid_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)obj; @@ -8073,9 +8889,10 @@ unsigned int snd_hctl_elem_get_numid(const snd_hctl_elem_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_hctl_elem_get_numid(const snd_hctl_elem_t * obj) __attribute__((alias("glshim_snd_hctl_elem_get_numid"))); #endif #if !defined(skip_client_snd_hctl_elem_get_subdevice) && !defined(skip_index_snd_hctl_elem_get_subdevice) -unsigned int snd_hctl_elem_get_subdevice(const snd_hctl_elem_t * obj) { +unsigned int glshim_snd_hctl_elem_get_subdevice(const snd_hctl_elem_t * obj) { snd_hctl_elem_get_subdevice_INDEXED packed_data; packed_data.func = snd_hctl_elem_get_subdevice_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)obj; @@ -8083,9 +8900,10 @@ unsigned int snd_hctl_elem_get_subdevice(const snd_hctl_elem_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_hctl_elem_get_subdevice(const snd_hctl_elem_t * obj) __attribute__((alias("glshim_snd_hctl_elem_get_subdevice"))); #endif #if !defined(skip_client_snd_hctl_elem_info) && !defined(skip_index_snd_hctl_elem_info) -int snd_hctl_elem_info(snd_hctl_elem_t * elem, snd_ctl_elem_info_t * info) { +int glshim_snd_hctl_elem_info(snd_hctl_elem_t * elem, snd_ctl_elem_info_t * info) { snd_hctl_elem_info_INDEXED packed_data; packed_data.func = snd_hctl_elem_info_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)elem; @@ -8094,9 +8912,10 @@ int snd_hctl_elem_info(snd_hctl_elem_t * elem, snd_ctl_elem_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_elem_info(snd_hctl_elem_t * elem, snd_ctl_elem_info_t * info) __attribute__((alias("glshim_snd_hctl_elem_info"))); #endif #if !defined(skip_client_snd_hctl_elem_next) && !defined(skip_index_snd_hctl_elem_next) -snd_hctl_elem_t * snd_hctl_elem_next(snd_hctl_elem_t * elem) { +snd_hctl_elem_t * glshim_snd_hctl_elem_next(snd_hctl_elem_t * elem) { snd_hctl_elem_next_INDEXED packed_data; packed_data.func = snd_hctl_elem_next_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)elem; @@ -8104,9 +8923,10 @@ snd_hctl_elem_t * snd_hctl_elem_next(snd_hctl_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_hctl_elem_t * snd_hctl_elem_next(snd_hctl_elem_t * elem) __attribute__((alias("glshim_snd_hctl_elem_next"))); #endif #if !defined(skip_client_snd_hctl_elem_prev) && !defined(skip_index_snd_hctl_elem_prev) -snd_hctl_elem_t * snd_hctl_elem_prev(snd_hctl_elem_t * elem) { +snd_hctl_elem_t * glshim_snd_hctl_elem_prev(snd_hctl_elem_t * elem) { snd_hctl_elem_prev_INDEXED packed_data; packed_data.func = snd_hctl_elem_prev_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)elem; @@ -8114,9 +8934,10 @@ snd_hctl_elem_t * snd_hctl_elem_prev(snd_hctl_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_hctl_elem_t * snd_hctl_elem_prev(snd_hctl_elem_t * elem) __attribute__((alias("glshim_snd_hctl_elem_prev"))); #endif #if !defined(skip_client_snd_hctl_elem_read) && !defined(skip_index_snd_hctl_elem_read) -int snd_hctl_elem_read(snd_hctl_elem_t * elem, snd_ctl_elem_value_t * value) { +int glshim_snd_hctl_elem_read(snd_hctl_elem_t * elem, snd_ctl_elem_value_t * value) { snd_hctl_elem_read_INDEXED packed_data; packed_data.func = snd_hctl_elem_read_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)elem; @@ -8125,27 +8946,30 @@ int snd_hctl_elem_read(snd_hctl_elem_t * elem, snd_ctl_elem_value_t * value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_elem_read(snd_hctl_elem_t * elem, snd_ctl_elem_value_t * value) __attribute__((alias("glshim_snd_hctl_elem_read"))); #endif #if !defined(skip_client_snd_hctl_elem_set_callback) && !defined(skip_index_snd_hctl_elem_set_callback) -void snd_hctl_elem_set_callback(snd_hctl_elem_t * obj, snd_hctl_elem_callback_t val) { +void glshim_snd_hctl_elem_set_callback(snd_hctl_elem_t * obj, snd_hctl_elem_callback_t val) { snd_hctl_elem_set_callback_INDEXED packed_data; packed_data.func = snd_hctl_elem_set_callback_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)obj; packed_data.args.a2 = (snd_hctl_elem_callback_t)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_hctl_elem_set_callback(snd_hctl_elem_t * obj, snd_hctl_elem_callback_t val) __attribute__((alias("glshim_snd_hctl_elem_set_callback"))); #endif #if !defined(skip_client_snd_hctl_elem_set_callback_private) && !defined(skip_index_snd_hctl_elem_set_callback_private) -void snd_hctl_elem_set_callback_private(snd_hctl_elem_t * obj, void * val) { +void glshim_snd_hctl_elem_set_callback_private(snd_hctl_elem_t * obj, void * val) { snd_hctl_elem_set_callback_private_INDEXED packed_data; packed_data.func = snd_hctl_elem_set_callback_private_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)obj; packed_data.args.a2 = (void *)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_hctl_elem_set_callback_private(snd_hctl_elem_t * obj, void * val) __attribute__((alias("glshim_snd_hctl_elem_set_callback_private"))); #endif #if !defined(skip_client_snd_hctl_elem_tlv_command) && !defined(skip_index_snd_hctl_elem_tlv_command) -int snd_hctl_elem_tlv_command(snd_hctl_elem_t * elem, const unsigned int * tlv) { +int glshim_snd_hctl_elem_tlv_command(snd_hctl_elem_t * elem, const unsigned int * tlv) { snd_hctl_elem_tlv_command_INDEXED packed_data; packed_data.func = snd_hctl_elem_tlv_command_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)elem; @@ -8154,9 +8978,10 @@ int snd_hctl_elem_tlv_command(snd_hctl_elem_t * elem, const unsigned int * tlv) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_elem_tlv_command(snd_hctl_elem_t * elem, const unsigned int * tlv) __attribute__((alias("glshim_snd_hctl_elem_tlv_command"))); #endif #if !defined(skip_client_snd_hctl_elem_tlv_read) && !defined(skip_index_snd_hctl_elem_tlv_read) -int snd_hctl_elem_tlv_read(snd_hctl_elem_t * elem, unsigned int * tlv, unsigned int tlv_size) { +int glshim_snd_hctl_elem_tlv_read(snd_hctl_elem_t * elem, unsigned int * tlv, unsigned int tlv_size) { snd_hctl_elem_tlv_read_INDEXED packed_data; packed_data.func = snd_hctl_elem_tlv_read_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)elem; @@ -8166,9 +8991,10 @@ int snd_hctl_elem_tlv_read(snd_hctl_elem_t * elem, unsigned int * tlv, unsigned syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_elem_tlv_read(snd_hctl_elem_t * elem, unsigned int * tlv, unsigned int tlv_size) __attribute__((alias("glshim_snd_hctl_elem_tlv_read"))); #endif #if !defined(skip_client_snd_hctl_elem_tlv_write) && !defined(skip_index_snd_hctl_elem_tlv_write) -int snd_hctl_elem_tlv_write(snd_hctl_elem_t * elem, const unsigned int * tlv) { +int glshim_snd_hctl_elem_tlv_write(snd_hctl_elem_t * elem, const unsigned int * tlv) { snd_hctl_elem_tlv_write_INDEXED packed_data; packed_data.func = snd_hctl_elem_tlv_write_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)elem; @@ -8177,9 +9003,10 @@ int snd_hctl_elem_tlv_write(snd_hctl_elem_t * elem, const unsigned int * tlv) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_elem_tlv_write(snd_hctl_elem_t * elem, const unsigned int * tlv) __attribute__((alias("glshim_snd_hctl_elem_tlv_write"))); #endif #if !defined(skip_client_snd_hctl_elem_write) && !defined(skip_index_snd_hctl_elem_write) -int snd_hctl_elem_write(snd_hctl_elem_t * elem, snd_ctl_elem_value_t * value) { +int glshim_snd_hctl_elem_write(snd_hctl_elem_t * elem, snd_ctl_elem_value_t * value) { snd_hctl_elem_write_INDEXED packed_data; packed_data.func = snd_hctl_elem_write_INDEX; packed_data.args.a1 = (snd_hctl_elem_t *)elem; @@ -8188,9 +9015,10 @@ int snd_hctl_elem_write(snd_hctl_elem_t * elem, snd_ctl_elem_value_t * value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_elem_write(snd_hctl_elem_t * elem, snd_ctl_elem_value_t * value) __attribute__((alias("glshim_snd_hctl_elem_write"))); #endif #if !defined(skip_client_snd_hctl_find_elem) && !defined(skip_index_snd_hctl_find_elem) -snd_hctl_elem_t * snd_hctl_find_elem(snd_hctl_t * hctl, const snd_ctl_elem_id_t * id) { +snd_hctl_elem_t * glshim_snd_hctl_find_elem(snd_hctl_t * hctl, const snd_ctl_elem_id_t * id) { snd_hctl_find_elem_INDEXED packed_data; packed_data.func = snd_hctl_find_elem_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -8199,9 +9027,10 @@ snd_hctl_elem_t * snd_hctl_find_elem(snd_hctl_t * hctl, const snd_ctl_elem_id_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_hctl_elem_t * snd_hctl_find_elem(snd_hctl_t * hctl, const snd_ctl_elem_id_t * id) __attribute__((alias("glshim_snd_hctl_find_elem"))); #endif #if !defined(skip_client_snd_hctl_first_elem) && !defined(skip_index_snd_hctl_first_elem) -snd_hctl_elem_t * snd_hctl_first_elem(snd_hctl_t * hctl) { +snd_hctl_elem_t * glshim_snd_hctl_first_elem(snd_hctl_t * hctl) { snd_hctl_first_elem_INDEXED packed_data; packed_data.func = snd_hctl_first_elem_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -8209,9 +9038,10 @@ snd_hctl_elem_t * snd_hctl_first_elem(snd_hctl_t * hctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_hctl_elem_t * snd_hctl_first_elem(snd_hctl_t * hctl) __attribute__((alias("glshim_snd_hctl_first_elem"))); #endif #if !defined(skip_client_snd_hctl_free) && !defined(skip_index_snd_hctl_free) -int snd_hctl_free(snd_hctl_t * hctl) { +int glshim_snd_hctl_free(snd_hctl_t * hctl) { snd_hctl_free_INDEXED packed_data; packed_data.func = snd_hctl_free_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -8219,9 +9049,10 @@ int snd_hctl_free(snd_hctl_t * hctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_free(snd_hctl_t * hctl) __attribute__((alias("glshim_snd_hctl_free"))); #endif #if !defined(skip_client_snd_hctl_get_callback_private) && !defined(skip_index_snd_hctl_get_callback_private) -void * snd_hctl_get_callback_private(snd_hctl_t * hctl) { +void * glshim_snd_hctl_get_callback_private(snd_hctl_t * hctl) { snd_hctl_get_callback_private_INDEXED packed_data; packed_data.func = snd_hctl_get_callback_private_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -8229,9 +9060,10 @@ void * snd_hctl_get_callback_private(snd_hctl_t * hctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +void * snd_hctl_get_callback_private(snd_hctl_t * hctl) __attribute__((alias("glshim_snd_hctl_get_callback_private"))); #endif #if !defined(skip_client_snd_hctl_get_count) && !defined(skip_index_snd_hctl_get_count) -unsigned int snd_hctl_get_count(snd_hctl_t * hctl) { +unsigned int glshim_snd_hctl_get_count(snd_hctl_t * hctl) { snd_hctl_get_count_INDEXED packed_data; packed_data.func = snd_hctl_get_count_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -8239,9 +9071,10 @@ unsigned int snd_hctl_get_count(snd_hctl_t * hctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_hctl_get_count(snd_hctl_t * hctl) __attribute__((alias("glshim_snd_hctl_get_count"))); #endif #if !defined(skip_client_snd_hctl_handle_events) && !defined(skip_index_snd_hctl_handle_events) -int snd_hctl_handle_events(snd_hctl_t * hctl) { +int glshim_snd_hctl_handle_events(snd_hctl_t * hctl) { snd_hctl_handle_events_INDEXED packed_data; packed_data.func = snd_hctl_handle_events_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -8249,9 +9082,10 @@ int snd_hctl_handle_events(snd_hctl_t * hctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_handle_events(snd_hctl_t * hctl) __attribute__((alias("glshim_snd_hctl_handle_events"))); #endif #if !defined(skip_client_snd_hctl_last_elem) && !defined(skip_index_snd_hctl_last_elem) -snd_hctl_elem_t * snd_hctl_last_elem(snd_hctl_t * hctl) { +snd_hctl_elem_t * glshim_snd_hctl_last_elem(snd_hctl_t * hctl) { snd_hctl_last_elem_INDEXED packed_data; packed_data.func = snd_hctl_last_elem_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -8259,9 +9093,10 @@ snd_hctl_elem_t * snd_hctl_last_elem(snd_hctl_t * hctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_hctl_elem_t * snd_hctl_last_elem(snd_hctl_t * hctl) __attribute__((alias("glshim_snd_hctl_last_elem"))); #endif #if !defined(skip_client_snd_hctl_load) && !defined(skip_index_snd_hctl_load) -int snd_hctl_load(snd_hctl_t * hctl) { +int glshim_snd_hctl_load(snd_hctl_t * hctl) { snd_hctl_load_INDEXED packed_data; packed_data.func = snd_hctl_load_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -8269,9 +9104,10 @@ int snd_hctl_load(snd_hctl_t * hctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_load(snd_hctl_t * hctl) __attribute__((alias("glshim_snd_hctl_load"))); #endif #if !defined(skip_client_snd_hctl_name) && !defined(skip_index_snd_hctl_name) -const char * snd_hctl_name(snd_hctl_t * hctl) { +const char * glshim_snd_hctl_name(snd_hctl_t * hctl) { snd_hctl_name_INDEXED packed_data; packed_data.func = snd_hctl_name_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -8279,9 +9115,10 @@ const char * snd_hctl_name(snd_hctl_t * hctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_hctl_name(snd_hctl_t * hctl) __attribute__((alias("glshim_snd_hctl_name"))); #endif #if !defined(skip_client_snd_hctl_nonblock) && !defined(skip_index_snd_hctl_nonblock) -int snd_hctl_nonblock(snd_hctl_t * hctl, int nonblock) { +int glshim_snd_hctl_nonblock(snd_hctl_t * hctl, int nonblock) { snd_hctl_nonblock_INDEXED packed_data; packed_data.func = snd_hctl_nonblock_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -8290,9 +9127,10 @@ int snd_hctl_nonblock(snd_hctl_t * hctl, int nonblock) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_nonblock(snd_hctl_t * hctl, int nonblock) __attribute__((alias("glshim_snd_hctl_nonblock"))); #endif #if !defined(skip_client_snd_hctl_open) && !defined(skip_index_snd_hctl_open) -int snd_hctl_open(snd_hctl_t ** hctl, const char * name, int mode) { +int glshim_snd_hctl_open(snd_hctl_t ** hctl, const char * name, int mode) { snd_hctl_open_INDEXED packed_data; packed_data.func = snd_hctl_open_INDEX; packed_data.args.a1 = (snd_hctl_t **)hctl; @@ -8302,9 +9140,10 @@ int snd_hctl_open(snd_hctl_t ** hctl, const char * name, int mode) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_open(snd_hctl_t ** hctl, const char * name, int mode) __attribute__((alias("glshim_snd_hctl_open"))); #endif #if !defined(skip_client_snd_hctl_open_ctl) && !defined(skip_index_snd_hctl_open_ctl) -int snd_hctl_open_ctl(snd_hctl_t ** hctlp, snd_ctl_t * ctl) { +int glshim_snd_hctl_open_ctl(snd_hctl_t ** hctlp, snd_ctl_t * ctl) { snd_hctl_open_ctl_INDEXED packed_data; packed_data.func = snd_hctl_open_ctl_INDEX; packed_data.args.a1 = (snd_hctl_t **)hctlp; @@ -8313,9 +9152,10 @@ int snd_hctl_open_ctl(snd_hctl_t ** hctlp, snd_ctl_t * ctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_open_ctl(snd_hctl_t ** hctlp, snd_ctl_t * ctl) __attribute__((alias("glshim_snd_hctl_open_ctl"))); #endif #if !defined(skip_client_snd_hctl_poll_descriptors) && !defined(skip_index_snd_hctl_poll_descriptors) -int snd_hctl_poll_descriptors(snd_hctl_t * hctl, struct pollfd * pfds, unsigned int space) { +int glshim_snd_hctl_poll_descriptors(snd_hctl_t * hctl, struct pollfd * pfds, unsigned int space) { snd_hctl_poll_descriptors_INDEXED packed_data; packed_data.func = snd_hctl_poll_descriptors_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -8325,9 +9165,10 @@ int snd_hctl_poll_descriptors(snd_hctl_t * hctl, struct pollfd * pfds, unsigned syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_poll_descriptors(snd_hctl_t * hctl, struct pollfd * pfds, unsigned int space) __attribute__((alias("glshim_snd_hctl_poll_descriptors"))); #endif #if !defined(skip_client_snd_hctl_poll_descriptors_count) && !defined(skip_index_snd_hctl_poll_descriptors_count) -int snd_hctl_poll_descriptors_count(snd_hctl_t * hctl) { +int glshim_snd_hctl_poll_descriptors_count(snd_hctl_t * hctl) { snd_hctl_poll_descriptors_count_INDEXED packed_data; packed_data.func = snd_hctl_poll_descriptors_count_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -8335,9 +9176,10 @@ int snd_hctl_poll_descriptors_count(snd_hctl_t * hctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_poll_descriptors_count(snd_hctl_t * hctl) __attribute__((alias("glshim_snd_hctl_poll_descriptors_count"))); #endif #if !defined(skip_client_snd_hctl_poll_descriptors_revents) && !defined(skip_index_snd_hctl_poll_descriptors_revents) -int snd_hctl_poll_descriptors_revents(snd_hctl_t * ctl, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) { +int glshim_snd_hctl_poll_descriptors_revents(snd_hctl_t * ctl, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) { snd_hctl_poll_descriptors_revents_INDEXED packed_data; packed_data.func = snd_hctl_poll_descriptors_revents_INDEX; packed_data.args.a1 = (snd_hctl_t *)ctl; @@ -8348,27 +9190,30 @@ int snd_hctl_poll_descriptors_revents(snd_hctl_t * ctl, struct pollfd * pfds, un syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_poll_descriptors_revents(snd_hctl_t * ctl, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) __attribute__((alias("glshim_snd_hctl_poll_descriptors_revents"))); #endif #if !defined(skip_client_snd_hctl_set_callback) && !defined(skip_index_snd_hctl_set_callback) -void snd_hctl_set_callback(snd_hctl_t * hctl, snd_hctl_callback_t callback) { +void glshim_snd_hctl_set_callback(snd_hctl_t * hctl, snd_hctl_callback_t callback) { snd_hctl_set_callback_INDEXED packed_data; packed_data.func = snd_hctl_set_callback_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; packed_data.args.a2 = (snd_hctl_callback_t)callback; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_hctl_set_callback(snd_hctl_t * hctl, snd_hctl_callback_t callback) __attribute__((alias("glshim_snd_hctl_set_callback"))); #endif #if !defined(skip_client_snd_hctl_set_callback_private) && !defined(skip_index_snd_hctl_set_callback_private) -void snd_hctl_set_callback_private(snd_hctl_t * hctl, void * data) { +void glshim_snd_hctl_set_callback_private(snd_hctl_t * hctl, void * data) { snd_hctl_set_callback_private_INDEXED packed_data; packed_data.func = snd_hctl_set_callback_private_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; packed_data.args.a2 = (void *)data; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_hctl_set_callback_private(snd_hctl_t * hctl, void * data) __attribute__((alias("glshim_snd_hctl_set_callback_private"))); #endif #if !defined(skip_client_snd_hctl_set_compare) && !defined(skip_index_snd_hctl_set_compare) -int snd_hctl_set_compare(snd_hctl_t * hctl, snd_hctl_compare_t hsort) { +int glshim_snd_hctl_set_compare(snd_hctl_t * hctl, snd_hctl_compare_t hsort) { snd_hctl_set_compare_INDEXED packed_data; packed_data.func = snd_hctl_set_compare_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -8377,9 +9222,10 @@ int snd_hctl_set_compare(snd_hctl_t * hctl, snd_hctl_compare_t hsort) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_set_compare(snd_hctl_t * hctl, snd_hctl_compare_t hsort) __attribute__((alias("glshim_snd_hctl_set_compare"))); #endif #if !defined(skip_client_snd_hctl_wait) && !defined(skip_index_snd_hctl_wait) -int snd_hctl_wait(snd_hctl_t * hctl, int timeout) { +int glshim_snd_hctl_wait(snd_hctl_t * hctl, int timeout) { snd_hctl_wait_INDEXED packed_data; packed_data.func = snd_hctl_wait_INDEX; packed_data.args.a1 = (snd_hctl_t *)hctl; @@ -8388,9 +9234,10 @@ int snd_hctl_wait(snd_hctl_t * hctl, int timeout) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hctl_wait(snd_hctl_t * hctl, int timeout) __attribute__((alias("glshim_snd_hctl_wait"))); #endif #if !defined(skip_client_snd_hwdep_close) && !defined(skip_index_snd_hwdep_close) -int snd_hwdep_close(snd_hwdep_t * hwdep) { +int glshim_snd_hwdep_close(snd_hwdep_t * hwdep) { snd_hwdep_close_INDEXED packed_data; packed_data.func = snd_hwdep_close_INDEX; packed_data.args.a1 = (snd_hwdep_t *)hwdep; @@ -8398,26 +9245,29 @@ int snd_hwdep_close(snd_hwdep_t * hwdep) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hwdep_close(snd_hwdep_t * hwdep) __attribute__((alias("glshim_snd_hwdep_close"))); #endif #if !defined(skip_client_snd_hwdep_dsp_image_copy) && !defined(skip_index_snd_hwdep_dsp_image_copy) -void snd_hwdep_dsp_image_copy(snd_hwdep_dsp_image_t * dst, const snd_hwdep_dsp_image_t * src) { +void glshim_snd_hwdep_dsp_image_copy(snd_hwdep_dsp_image_t * dst, const snd_hwdep_dsp_image_t * src) { snd_hwdep_dsp_image_copy_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_image_copy_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_image_t *)dst; packed_data.args.a2 = (snd_hwdep_dsp_image_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_hwdep_dsp_image_copy(snd_hwdep_dsp_image_t * dst, const snd_hwdep_dsp_image_t * src) __attribute__((alias("glshim_snd_hwdep_dsp_image_copy"))); #endif #if !defined(skip_client_snd_hwdep_dsp_image_free) && !defined(skip_index_snd_hwdep_dsp_image_free) -void snd_hwdep_dsp_image_free(snd_hwdep_dsp_image_t * obj) { +void glshim_snd_hwdep_dsp_image_free(snd_hwdep_dsp_image_t * obj) { snd_hwdep_dsp_image_free_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_image_free_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_image_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_hwdep_dsp_image_free(snd_hwdep_dsp_image_t * obj) __attribute__((alias("glshim_snd_hwdep_dsp_image_free"))); #endif #if !defined(skip_client_snd_hwdep_dsp_image_get_image) && !defined(skip_index_snd_hwdep_dsp_image_get_image) -const void * snd_hwdep_dsp_image_get_image(const snd_hwdep_dsp_image_t * obj) { +const void * glshim_snd_hwdep_dsp_image_get_image(const snd_hwdep_dsp_image_t * obj) { snd_hwdep_dsp_image_get_image_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_image_get_image_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_image_t *)obj; @@ -8425,9 +9275,10 @@ const void * snd_hwdep_dsp_image_get_image(const snd_hwdep_dsp_image_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const void * snd_hwdep_dsp_image_get_image(const snd_hwdep_dsp_image_t * obj) __attribute__((alias("glshim_snd_hwdep_dsp_image_get_image"))); #endif #if !defined(skip_client_snd_hwdep_dsp_image_get_index) && !defined(skip_index_snd_hwdep_dsp_image_get_index) -unsigned int snd_hwdep_dsp_image_get_index(const snd_hwdep_dsp_image_t * obj) { +unsigned int glshim_snd_hwdep_dsp_image_get_index(const snd_hwdep_dsp_image_t * obj) { snd_hwdep_dsp_image_get_index_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_image_get_index_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_image_t *)obj; @@ -8435,9 +9286,10 @@ unsigned int snd_hwdep_dsp_image_get_index(const snd_hwdep_dsp_image_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_hwdep_dsp_image_get_index(const snd_hwdep_dsp_image_t * obj) __attribute__((alias("glshim_snd_hwdep_dsp_image_get_index"))); #endif #if !defined(skip_client_snd_hwdep_dsp_image_get_length) && !defined(skip_index_snd_hwdep_dsp_image_get_length) -size_t snd_hwdep_dsp_image_get_length(const snd_hwdep_dsp_image_t * obj) { +size_t glshim_snd_hwdep_dsp_image_get_length(const snd_hwdep_dsp_image_t * obj) { snd_hwdep_dsp_image_get_length_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_image_get_length_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_image_t *)obj; @@ -8445,9 +9297,10 @@ size_t snd_hwdep_dsp_image_get_length(const snd_hwdep_dsp_image_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_hwdep_dsp_image_get_length(const snd_hwdep_dsp_image_t * obj) __attribute__((alias("glshim_snd_hwdep_dsp_image_get_length"))); #endif #if !defined(skip_client_snd_hwdep_dsp_image_get_name) && !defined(skip_index_snd_hwdep_dsp_image_get_name) -const char * snd_hwdep_dsp_image_get_name(const snd_hwdep_dsp_image_t * obj) { +const char * glshim_snd_hwdep_dsp_image_get_name(const snd_hwdep_dsp_image_t * obj) { snd_hwdep_dsp_image_get_name_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_image_get_name_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_image_t *)obj; @@ -8455,9 +9308,10 @@ const char * snd_hwdep_dsp_image_get_name(const snd_hwdep_dsp_image_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_hwdep_dsp_image_get_name(const snd_hwdep_dsp_image_t * obj) __attribute__((alias("glshim_snd_hwdep_dsp_image_get_name"))); #endif #if !defined(skip_client_snd_hwdep_dsp_image_malloc) && !defined(skip_index_snd_hwdep_dsp_image_malloc) -int snd_hwdep_dsp_image_malloc(snd_hwdep_dsp_image_t ** ptr) { +int glshim_snd_hwdep_dsp_image_malloc(snd_hwdep_dsp_image_t ** ptr) { snd_hwdep_dsp_image_malloc_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_image_malloc_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_image_t **)ptr; @@ -8465,54 +9319,60 @@ int snd_hwdep_dsp_image_malloc(snd_hwdep_dsp_image_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hwdep_dsp_image_malloc(snd_hwdep_dsp_image_t ** ptr) __attribute__((alias("glshim_snd_hwdep_dsp_image_malloc"))); #endif #if !defined(skip_client_snd_hwdep_dsp_image_set_image) && !defined(skip_index_snd_hwdep_dsp_image_set_image) -void snd_hwdep_dsp_image_set_image(snd_hwdep_dsp_image_t * obj, void * buffer) { +void glshim_snd_hwdep_dsp_image_set_image(snd_hwdep_dsp_image_t * obj, void * buffer) { snd_hwdep_dsp_image_set_image_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_image_set_image_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_image_t *)obj; packed_data.args.a2 = (void *)buffer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_hwdep_dsp_image_set_image(snd_hwdep_dsp_image_t * obj, void * buffer) __attribute__((alias("glshim_snd_hwdep_dsp_image_set_image"))); #endif #if !defined(skip_client_snd_hwdep_dsp_image_set_index) && !defined(skip_index_snd_hwdep_dsp_image_set_index) -void snd_hwdep_dsp_image_set_index(snd_hwdep_dsp_image_t * obj, unsigned int _index) { +void glshim_snd_hwdep_dsp_image_set_index(snd_hwdep_dsp_image_t * obj, unsigned int _index) { snd_hwdep_dsp_image_set_index_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_image_set_index_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_image_t *)obj; packed_data.args.a2 = (unsigned int)_index; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_hwdep_dsp_image_set_index(snd_hwdep_dsp_image_t * obj, unsigned int _index) __attribute__((alias("glshim_snd_hwdep_dsp_image_set_index"))); #endif #if !defined(skip_client_snd_hwdep_dsp_image_set_length) && !defined(skip_index_snd_hwdep_dsp_image_set_length) -void snd_hwdep_dsp_image_set_length(snd_hwdep_dsp_image_t * obj, size_t length) { +void glshim_snd_hwdep_dsp_image_set_length(snd_hwdep_dsp_image_t * obj, size_t length) { snd_hwdep_dsp_image_set_length_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_image_set_length_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_image_t *)obj; packed_data.args.a2 = (size_t)length; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_hwdep_dsp_image_set_length(snd_hwdep_dsp_image_t * obj, size_t length) __attribute__((alias("glshim_snd_hwdep_dsp_image_set_length"))); #endif #if !defined(skip_client_snd_hwdep_dsp_image_set_name) && !defined(skip_index_snd_hwdep_dsp_image_set_name) -void snd_hwdep_dsp_image_set_name(snd_hwdep_dsp_image_t * obj, const char * name) { +void glshim_snd_hwdep_dsp_image_set_name(snd_hwdep_dsp_image_t * obj, const char * name) { snd_hwdep_dsp_image_set_name_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_image_set_name_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_image_t *)obj; packed_data.args.a2 = (char *)name; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_hwdep_dsp_image_set_name(snd_hwdep_dsp_image_t * obj, const char * name) __attribute__((alias("glshim_snd_hwdep_dsp_image_set_name"))); #endif #if !defined(skip_client_snd_hwdep_dsp_image_sizeof) && !defined(skip_index_snd_hwdep_dsp_image_sizeof) -size_t snd_hwdep_dsp_image_sizeof() { +size_t glshim_snd_hwdep_dsp_image_sizeof() { snd_hwdep_dsp_image_sizeof_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_image_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_hwdep_dsp_image_sizeof() __attribute__((alias("glshim_snd_hwdep_dsp_image_sizeof"))); #endif #if !defined(skip_client_snd_hwdep_dsp_load) && !defined(skip_index_snd_hwdep_dsp_load) -int snd_hwdep_dsp_load(snd_hwdep_t * hwdep, snd_hwdep_dsp_image_t * block) { +int glshim_snd_hwdep_dsp_load(snd_hwdep_t * hwdep, snd_hwdep_dsp_image_t * block) { snd_hwdep_dsp_load_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_load_INDEX; packed_data.args.a1 = (snd_hwdep_t *)hwdep; @@ -8521,9 +9381,10 @@ int snd_hwdep_dsp_load(snd_hwdep_t * hwdep, snd_hwdep_dsp_image_t * block) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hwdep_dsp_load(snd_hwdep_t * hwdep, snd_hwdep_dsp_image_t * block) __attribute__((alias("glshim_snd_hwdep_dsp_load"))); #endif #if !defined(skip_client_snd_hwdep_dsp_status) && !defined(skip_index_snd_hwdep_dsp_status) -int snd_hwdep_dsp_status(snd_hwdep_t * hwdep, snd_hwdep_dsp_status_t * status) { +int glshim_snd_hwdep_dsp_status(snd_hwdep_t * hwdep, snd_hwdep_dsp_status_t * status) { snd_hwdep_dsp_status_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_status_INDEX; packed_data.args.a1 = (snd_hwdep_t *)hwdep; @@ -8532,26 +9393,29 @@ int snd_hwdep_dsp_status(snd_hwdep_t * hwdep, snd_hwdep_dsp_status_t * status) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hwdep_dsp_status(snd_hwdep_t * hwdep, snd_hwdep_dsp_status_t * status) __attribute__((alias("glshim_snd_hwdep_dsp_status"))); #endif #if !defined(skip_client_snd_hwdep_dsp_status_copy) && !defined(skip_index_snd_hwdep_dsp_status_copy) -void snd_hwdep_dsp_status_copy(snd_hwdep_dsp_status_t * dst, const snd_hwdep_dsp_status_t * src) { +void glshim_snd_hwdep_dsp_status_copy(snd_hwdep_dsp_status_t * dst, const snd_hwdep_dsp_status_t * src) { snd_hwdep_dsp_status_copy_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_status_copy_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_status_t *)dst; packed_data.args.a2 = (snd_hwdep_dsp_status_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_hwdep_dsp_status_copy(snd_hwdep_dsp_status_t * dst, const snd_hwdep_dsp_status_t * src) __attribute__((alias("glshim_snd_hwdep_dsp_status_copy"))); #endif #if !defined(skip_client_snd_hwdep_dsp_status_free) && !defined(skip_index_snd_hwdep_dsp_status_free) -void snd_hwdep_dsp_status_free(snd_hwdep_dsp_status_t * obj) { +void glshim_snd_hwdep_dsp_status_free(snd_hwdep_dsp_status_t * obj) { snd_hwdep_dsp_status_free_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_status_free_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_status_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_hwdep_dsp_status_free(snd_hwdep_dsp_status_t * obj) __attribute__((alias("glshim_snd_hwdep_dsp_status_free"))); #endif #if !defined(skip_client_snd_hwdep_dsp_status_get_chip_ready) && !defined(skip_index_snd_hwdep_dsp_status_get_chip_ready) -unsigned int snd_hwdep_dsp_status_get_chip_ready(const snd_hwdep_dsp_status_t * obj) { +unsigned int glshim_snd_hwdep_dsp_status_get_chip_ready(const snd_hwdep_dsp_status_t * obj) { snd_hwdep_dsp_status_get_chip_ready_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_status_get_chip_ready_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_status_t *)obj; @@ -8559,9 +9423,10 @@ unsigned int snd_hwdep_dsp_status_get_chip_ready(const snd_hwdep_dsp_status_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_hwdep_dsp_status_get_chip_ready(const snd_hwdep_dsp_status_t * obj) __attribute__((alias("glshim_snd_hwdep_dsp_status_get_chip_ready"))); #endif #if !defined(skip_client_snd_hwdep_dsp_status_get_dsp_loaded) && !defined(skip_index_snd_hwdep_dsp_status_get_dsp_loaded) -unsigned int snd_hwdep_dsp_status_get_dsp_loaded(const snd_hwdep_dsp_status_t * obj) { +unsigned int glshim_snd_hwdep_dsp_status_get_dsp_loaded(const snd_hwdep_dsp_status_t * obj) { snd_hwdep_dsp_status_get_dsp_loaded_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_status_get_dsp_loaded_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_status_t *)obj; @@ -8569,9 +9434,10 @@ unsigned int snd_hwdep_dsp_status_get_dsp_loaded(const snd_hwdep_dsp_status_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_hwdep_dsp_status_get_dsp_loaded(const snd_hwdep_dsp_status_t * obj) __attribute__((alias("glshim_snd_hwdep_dsp_status_get_dsp_loaded"))); #endif #if !defined(skip_client_snd_hwdep_dsp_status_get_id) && !defined(skip_index_snd_hwdep_dsp_status_get_id) -const char * snd_hwdep_dsp_status_get_id(const snd_hwdep_dsp_status_t * obj) { +const char * glshim_snd_hwdep_dsp_status_get_id(const snd_hwdep_dsp_status_t * obj) { snd_hwdep_dsp_status_get_id_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_status_get_id_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_status_t *)obj; @@ -8579,9 +9445,10 @@ const char * snd_hwdep_dsp_status_get_id(const snd_hwdep_dsp_status_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_hwdep_dsp_status_get_id(const snd_hwdep_dsp_status_t * obj) __attribute__((alias("glshim_snd_hwdep_dsp_status_get_id"))); #endif #if !defined(skip_client_snd_hwdep_dsp_status_get_num_dsps) && !defined(skip_index_snd_hwdep_dsp_status_get_num_dsps) -unsigned int snd_hwdep_dsp_status_get_num_dsps(const snd_hwdep_dsp_status_t * obj) { +unsigned int glshim_snd_hwdep_dsp_status_get_num_dsps(const snd_hwdep_dsp_status_t * obj) { snd_hwdep_dsp_status_get_num_dsps_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_status_get_num_dsps_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_status_t *)obj; @@ -8589,9 +9456,10 @@ unsigned int snd_hwdep_dsp_status_get_num_dsps(const snd_hwdep_dsp_status_t * ob syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_hwdep_dsp_status_get_num_dsps(const snd_hwdep_dsp_status_t * obj) __attribute__((alias("glshim_snd_hwdep_dsp_status_get_num_dsps"))); #endif #if !defined(skip_client_snd_hwdep_dsp_status_get_version) && !defined(skip_index_snd_hwdep_dsp_status_get_version) -unsigned int snd_hwdep_dsp_status_get_version(const snd_hwdep_dsp_status_t * obj) { +unsigned int glshim_snd_hwdep_dsp_status_get_version(const snd_hwdep_dsp_status_t * obj) { snd_hwdep_dsp_status_get_version_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_status_get_version_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_status_t *)obj; @@ -8599,9 +9467,10 @@ unsigned int snd_hwdep_dsp_status_get_version(const snd_hwdep_dsp_status_t * obj syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_hwdep_dsp_status_get_version(const snd_hwdep_dsp_status_t * obj) __attribute__((alias("glshim_snd_hwdep_dsp_status_get_version"))); #endif #if !defined(skip_client_snd_hwdep_dsp_status_malloc) && !defined(skip_index_snd_hwdep_dsp_status_malloc) -int snd_hwdep_dsp_status_malloc(snd_hwdep_dsp_status_t ** ptr) { +int glshim_snd_hwdep_dsp_status_malloc(snd_hwdep_dsp_status_t ** ptr) { snd_hwdep_dsp_status_malloc_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_status_malloc_INDEX; packed_data.args.a1 = (snd_hwdep_dsp_status_t **)ptr; @@ -8609,18 +9478,20 @@ int snd_hwdep_dsp_status_malloc(snd_hwdep_dsp_status_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hwdep_dsp_status_malloc(snd_hwdep_dsp_status_t ** ptr) __attribute__((alias("glshim_snd_hwdep_dsp_status_malloc"))); #endif #if !defined(skip_client_snd_hwdep_dsp_status_sizeof) && !defined(skip_index_snd_hwdep_dsp_status_sizeof) -size_t snd_hwdep_dsp_status_sizeof() { +size_t glshim_snd_hwdep_dsp_status_sizeof() { snd_hwdep_dsp_status_sizeof_INDEXED packed_data; packed_data.func = snd_hwdep_dsp_status_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_hwdep_dsp_status_sizeof() __attribute__((alias("glshim_snd_hwdep_dsp_status_sizeof"))); #endif #if !defined(skip_client_snd_hwdep_info) && !defined(skip_index_snd_hwdep_info) -int snd_hwdep_info(snd_hwdep_t * hwdep, snd_hwdep_info_t * info) { +int glshim_snd_hwdep_info(snd_hwdep_t * hwdep, snd_hwdep_info_t * info) { snd_hwdep_info_INDEXED packed_data; packed_data.func = snd_hwdep_info_INDEX; packed_data.args.a1 = (snd_hwdep_t *)hwdep; @@ -8629,18 +9500,20 @@ int snd_hwdep_info(snd_hwdep_t * hwdep, snd_hwdep_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hwdep_info(snd_hwdep_t * hwdep, snd_hwdep_info_t * info) __attribute__((alias("glshim_snd_hwdep_info"))); #endif #if !defined(skip_client_snd_hwdep_info_sizeof) && !defined(skip_index_snd_hwdep_info_sizeof) -size_t snd_hwdep_info_sizeof() { +size_t glshim_snd_hwdep_info_sizeof() { snd_hwdep_info_sizeof_INDEXED packed_data; packed_data.func = snd_hwdep_info_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_hwdep_info_sizeof() __attribute__((alias("glshim_snd_hwdep_info_sizeof"))); #endif #if !defined(skip_client_snd_hwdep_ioctl) && !defined(skip_index_snd_hwdep_ioctl) -int snd_hwdep_ioctl(snd_hwdep_t * hwdep, unsigned int request, void * arg) { +int glshim_snd_hwdep_ioctl(snd_hwdep_t * hwdep, unsigned int request, void * arg) { snd_hwdep_ioctl_INDEXED packed_data; packed_data.func = snd_hwdep_ioctl_INDEX; packed_data.args.a1 = (snd_hwdep_t *)hwdep; @@ -8650,9 +9523,10 @@ int snd_hwdep_ioctl(snd_hwdep_t * hwdep, unsigned int request, void * arg) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hwdep_ioctl(snd_hwdep_t * hwdep, unsigned int request, void * arg) __attribute__((alias("glshim_snd_hwdep_ioctl"))); #endif #if !defined(skip_client_snd_hwdep_nonblock) && !defined(skip_index_snd_hwdep_nonblock) -int snd_hwdep_nonblock(snd_hwdep_t * hwdep, int nonblock) { +int glshim_snd_hwdep_nonblock(snd_hwdep_t * hwdep, int nonblock) { snd_hwdep_nonblock_INDEXED packed_data; packed_data.func = snd_hwdep_nonblock_INDEX; packed_data.args.a1 = (snd_hwdep_t *)hwdep; @@ -8661,9 +9535,10 @@ int snd_hwdep_nonblock(snd_hwdep_t * hwdep, int nonblock) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hwdep_nonblock(snd_hwdep_t * hwdep, int nonblock) __attribute__((alias("glshim_snd_hwdep_nonblock"))); #endif #if !defined(skip_client_snd_hwdep_open) && !defined(skip_index_snd_hwdep_open) -int snd_hwdep_open(snd_hwdep_t ** hwdep, const char * name, int mode) { +int glshim_snd_hwdep_open(snd_hwdep_t ** hwdep, const char * name, int mode) { snd_hwdep_open_INDEXED packed_data; packed_data.func = snd_hwdep_open_INDEX; packed_data.args.a1 = (snd_hwdep_t **)hwdep; @@ -8673,9 +9548,10 @@ int snd_hwdep_open(snd_hwdep_t ** hwdep, const char * name, int mode) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hwdep_open(snd_hwdep_t ** hwdep, const char * name, int mode) __attribute__((alias("glshim_snd_hwdep_open"))); #endif #if !defined(skip_client_snd_hwdep_poll_descriptors) && !defined(skip_index_snd_hwdep_poll_descriptors) -int snd_hwdep_poll_descriptors(snd_hwdep_t * hwdep, struct pollfd * pfds, unsigned int space) { +int glshim_snd_hwdep_poll_descriptors(snd_hwdep_t * hwdep, struct pollfd * pfds, unsigned int space) { snd_hwdep_poll_descriptors_INDEXED packed_data; packed_data.func = snd_hwdep_poll_descriptors_INDEX; packed_data.args.a1 = (snd_hwdep_t *)hwdep; @@ -8685,9 +9561,10 @@ int snd_hwdep_poll_descriptors(snd_hwdep_t * hwdep, struct pollfd * pfds, unsign syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hwdep_poll_descriptors(snd_hwdep_t * hwdep, struct pollfd * pfds, unsigned int space) __attribute__((alias("glshim_snd_hwdep_poll_descriptors"))); #endif #if !defined(skip_client_snd_hwdep_poll_descriptors_revents) && !defined(skip_index_snd_hwdep_poll_descriptors_revents) -int snd_hwdep_poll_descriptors_revents(snd_hwdep_t * hwdep, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) { +int glshim_snd_hwdep_poll_descriptors_revents(snd_hwdep_t * hwdep, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) { snd_hwdep_poll_descriptors_revents_INDEXED packed_data; packed_data.func = snd_hwdep_poll_descriptors_revents_INDEX; packed_data.args.a1 = (snd_hwdep_t *)hwdep; @@ -8698,9 +9575,10 @@ int snd_hwdep_poll_descriptors_revents(snd_hwdep_t * hwdep, struct pollfd * pfds syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_hwdep_poll_descriptors_revents(snd_hwdep_t * hwdep, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) __attribute__((alias("glshim_snd_hwdep_poll_descriptors_revents"))); #endif #if !defined(skip_client_snd_hwdep_read) && !defined(skip_index_snd_hwdep_read) -ssize_t snd_hwdep_read(snd_hwdep_t * hwdep, void * buffer, size_t size) { +ssize_t glshim_snd_hwdep_read(snd_hwdep_t * hwdep, void * buffer, size_t size) { snd_hwdep_read_INDEXED packed_data; packed_data.func = snd_hwdep_read_INDEX; packed_data.args.a1 = (snd_hwdep_t *)hwdep; @@ -8710,9 +9588,10 @@ ssize_t snd_hwdep_read(snd_hwdep_t * hwdep, void * buffer, size_t size) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +ssize_t snd_hwdep_read(snd_hwdep_t * hwdep, void * buffer, size_t size) __attribute__((alias("glshim_snd_hwdep_read"))); #endif #if !defined(skip_client_snd_hwdep_write) && !defined(skip_index_snd_hwdep_write) -ssize_t snd_hwdep_write(snd_hwdep_t * hwdep, const void * buffer, size_t size) { +ssize_t glshim_snd_hwdep_write(snd_hwdep_t * hwdep, const void * buffer, size_t size) { snd_hwdep_write_INDEXED packed_data; packed_data.func = snd_hwdep_write_INDEX; packed_data.args.a1 = (snd_hwdep_t *)hwdep; @@ -8722,9 +9601,10 @@ ssize_t snd_hwdep_write(snd_hwdep_t * hwdep, const void * buffer, size_t size) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +ssize_t snd_hwdep_write(snd_hwdep_t * hwdep, const void * buffer, size_t size) __attribute__((alias("glshim_snd_hwdep_write"))); #endif #if !defined(skip_client_snd_input_buffer_open) && !defined(skip_index_snd_input_buffer_open) -int snd_input_buffer_open(snd_input_t ** inputp, const char * buffer, ssize_t size) { +int glshim_snd_input_buffer_open(snd_input_t ** inputp, const char * buffer, ssize_t size) { snd_input_buffer_open_INDEXED packed_data; packed_data.func = snd_input_buffer_open_INDEX; packed_data.args.a1 = (snd_input_t **)inputp; @@ -8734,9 +9614,10 @@ int snd_input_buffer_open(snd_input_t ** inputp, const char * buffer, ssize_t si syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_input_buffer_open(snd_input_t ** inputp, const char * buffer, ssize_t size) __attribute__((alias("glshim_snd_input_buffer_open"))); #endif #if !defined(skip_client_snd_input_close) && !defined(skip_index_snd_input_close) -int snd_input_close(snd_input_t * input) { +int glshim_snd_input_close(snd_input_t * input) { snd_input_close_INDEXED packed_data; packed_data.func = snd_input_close_INDEX; packed_data.args.a1 = (snd_input_t *)input; @@ -8744,9 +9625,10 @@ int snd_input_close(snd_input_t * input) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_input_close(snd_input_t * input) __attribute__((alias("glshim_snd_input_close"))); #endif #if !defined(skip_client_snd_input_getc) && !defined(skip_index_snd_input_getc) -int snd_input_getc(snd_input_t * input) { +int glshim_snd_input_getc(snd_input_t * input) { snd_input_getc_INDEXED packed_data; packed_data.func = snd_input_getc_INDEX; packed_data.args.a1 = (snd_input_t *)input; @@ -8754,9 +9636,10 @@ int snd_input_getc(snd_input_t * input) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_input_getc(snd_input_t * input) __attribute__((alias("glshim_snd_input_getc"))); #endif #if !defined(skip_client_snd_input_gets) && !defined(skip_index_snd_input_gets) -char * snd_input_gets(snd_input_t * input, char * str, size_t size) { +char * glshim_snd_input_gets(snd_input_t * input, char * str, size_t size) { snd_input_gets_INDEXED packed_data; packed_data.func = snd_input_gets_INDEX; packed_data.args.a1 = (snd_input_t *)input; @@ -8766,9 +9649,10 @@ char * snd_input_gets(snd_input_t * input, char * str, size_t size) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +char * snd_input_gets(snd_input_t * input, char * str, size_t size) __attribute__((alias("glshim_snd_input_gets"))); #endif #if !defined(skip_client_snd_input_stdio_attach) && !defined(skip_index_snd_input_stdio_attach) -int snd_input_stdio_attach(snd_input_t ** inputp, FILE * fp, int _close) { +int glshim_snd_input_stdio_attach(snd_input_t ** inputp, FILE * fp, int _close) { snd_input_stdio_attach_INDEXED packed_data; packed_data.func = snd_input_stdio_attach_INDEX; packed_data.args.a1 = (snd_input_t **)inputp; @@ -8778,9 +9662,10 @@ int snd_input_stdio_attach(snd_input_t ** inputp, FILE * fp, int _close) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_input_stdio_attach(snd_input_t ** inputp, FILE * fp, int _close) __attribute__((alias("glshim_snd_input_stdio_attach"))); #endif #if !defined(skip_client_snd_input_stdio_open) && !defined(skip_index_snd_input_stdio_open) -int snd_input_stdio_open(snd_input_t ** inputp, const char * file, const char * mode) { +int glshim_snd_input_stdio_open(snd_input_t ** inputp, const char * file, const char * mode) { snd_input_stdio_open_INDEXED packed_data; packed_data.func = snd_input_stdio_open_INDEX; packed_data.args.a1 = (snd_input_t **)inputp; @@ -8790,9 +9675,10 @@ int snd_input_stdio_open(snd_input_t ** inputp, const char * file, const char * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_input_stdio_open(snd_input_t ** inputp, const char * file, const char * mode) __attribute__((alias("glshim_snd_input_stdio_open"))); #endif #if !defined(skip_client_snd_input_ungetc) && !defined(skip_index_snd_input_ungetc) -int snd_input_ungetc(snd_input_t * input, int c) { +int glshim_snd_input_ungetc(snd_input_t * input, int c) { snd_input_ungetc_INDEXED packed_data; packed_data.func = snd_input_ungetc_INDEX; packed_data.args.a1 = (snd_input_t *)input; @@ -8801,9 +9687,10 @@ int snd_input_ungetc(snd_input_t * input, int c) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_input_ungetc(snd_input_t * input, int c) __attribute__((alias("glshim_snd_input_ungetc"))); #endif #if !defined(skip_client_snd_lib_error_set_handler) && !defined(skip_index_snd_lib_error_set_handler) -int snd_lib_error_set_handler(snd_lib_error_handler_t handler) { +int glshim_snd_lib_error_set_handler(snd_lib_error_handler_t handler) { snd_lib_error_set_handler_INDEXED packed_data; packed_data.func = snd_lib_error_set_handler_INDEX; packed_data.args.a1 = (snd_lib_error_handler_t)handler; @@ -8811,9 +9698,10 @@ int snd_lib_error_set_handler(snd_lib_error_handler_t handler) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_lib_error_set_handler(snd_lib_error_handler_t handler) __attribute__((alias("glshim_snd_lib_error_set_handler"))); #endif #if !defined(skip_client_snd_midi_event_decode) && !defined(skip_index_snd_midi_event_decode) -long snd_midi_event_decode(snd_midi_event_t * dev, unsigned char * buf, long count, const snd_seq_event_t * ev) { +long glshim_snd_midi_event_decode(snd_midi_event_t * dev, unsigned char * buf, long count, const snd_seq_event_t * ev) { snd_midi_event_decode_INDEXED packed_data; packed_data.func = snd_midi_event_decode_INDEX; packed_data.args.a1 = (snd_midi_event_t *)dev; @@ -8824,9 +9712,10 @@ long snd_midi_event_decode(snd_midi_event_t * dev, unsigned char * buf, long cou syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long snd_midi_event_decode(snd_midi_event_t * dev, unsigned char * buf, long count, const snd_seq_event_t * ev) __attribute__((alias("glshim_snd_midi_event_decode"))); #endif #if !defined(skip_client_snd_midi_event_encode) && !defined(skip_index_snd_midi_event_encode) -long snd_midi_event_encode(snd_midi_event_t * dev, const unsigned char * buf, long count, snd_seq_event_t * ev) { +long glshim_snd_midi_event_encode(snd_midi_event_t * dev, const unsigned char * buf, long count, snd_seq_event_t * ev) { snd_midi_event_encode_INDEXED packed_data; packed_data.func = snd_midi_event_encode_INDEX; packed_data.args.a1 = (snd_midi_event_t *)dev; @@ -8837,9 +9726,10 @@ long snd_midi_event_encode(snd_midi_event_t * dev, const unsigned char * buf, lo syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long snd_midi_event_encode(snd_midi_event_t * dev, const unsigned char * buf, long count, snd_seq_event_t * ev) __attribute__((alias("glshim_snd_midi_event_encode"))); #endif #if !defined(skip_client_snd_midi_event_encode_byte) && !defined(skip_index_snd_midi_event_encode_byte) -int snd_midi_event_encode_byte(snd_midi_event_t * dev, int c, snd_seq_event_t * ev) { +int glshim_snd_midi_event_encode_byte(snd_midi_event_t * dev, int c, snd_seq_event_t * ev) { snd_midi_event_encode_byte_INDEXED packed_data; packed_data.func = snd_midi_event_encode_byte_INDEX; packed_data.args.a1 = (snd_midi_event_t *)dev; @@ -8849,25 +9739,28 @@ int snd_midi_event_encode_byte(snd_midi_event_t * dev, int c, snd_seq_event_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_midi_event_encode_byte(snd_midi_event_t * dev, int c, snd_seq_event_t * ev) __attribute__((alias("glshim_snd_midi_event_encode_byte"))); #endif #if !defined(skip_client_snd_midi_event_free) && !defined(skip_index_snd_midi_event_free) -void snd_midi_event_free(snd_midi_event_t * dev) { +void glshim_snd_midi_event_free(snd_midi_event_t * dev) { snd_midi_event_free_INDEXED packed_data; packed_data.func = snd_midi_event_free_INDEX; packed_data.args.a1 = (snd_midi_event_t *)dev; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_midi_event_free(snd_midi_event_t * dev) __attribute__((alias("glshim_snd_midi_event_free"))); #endif #if !defined(skip_client_snd_midi_event_init) && !defined(skip_index_snd_midi_event_init) -void snd_midi_event_init(snd_midi_event_t * dev) { +void glshim_snd_midi_event_init(snd_midi_event_t * dev) { snd_midi_event_init_INDEXED packed_data; packed_data.func = snd_midi_event_init_INDEX; packed_data.args.a1 = (snd_midi_event_t *)dev; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_midi_event_init(snd_midi_event_t * dev) __attribute__((alias("glshim_snd_midi_event_init"))); #endif #if !defined(skip_client_snd_midi_event_new) && !defined(skip_index_snd_midi_event_new) -int snd_midi_event_new(size_t bufsize, snd_midi_event_t ** rdev) { +int glshim_snd_midi_event_new(size_t bufsize, snd_midi_event_t ** rdev) { snd_midi_event_new_INDEXED packed_data; packed_data.func = snd_midi_event_new_INDEX; packed_data.args.a1 = (size_t)bufsize; @@ -8876,34 +9769,38 @@ int snd_midi_event_new(size_t bufsize, snd_midi_event_t ** rdev) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_midi_event_new(size_t bufsize, snd_midi_event_t ** rdev) __attribute__((alias("glshim_snd_midi_event_new"))); #endif #if !defined(skip_client_snd_midi_event_no_status) && !defined(skip_index_snd_midi_event_no_status) -void snd_midi_event_no_status(snd_midi_event_t * dev, int on) { +void glshim_snd_midi_event_no_status(snd_midi_event_t * dev, int on) { snd_midi_event_no_status_INDEXED packed_data; packed_data.func = snd_midi_event_no_status_INDEX; packed_data.args.a1 = (snd_midi_event_t *)dev; packed_data.args.a2 = (int)on; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_midi_event_no_status(snd_midi_event_t * dev, int on) __attribute__((alias("glshim_snd_midi_event_no_status"))); #endif #if !defined(skip_client_snd_midi_event_reset_decode) && !defined(skip_index_snd_midi_event_reset_decode) -void snd_midi_event_reset_decode(snd_midi_event_t * dev) { +void glshim_snd_midi_event_reset_decode(snd_midi_event_t * dev) { snd_midi_event_reset_decode_INDEXED packed_data; packed_data.func = snd_midi_event_reset_decode_INDEX; packed_data.args.a1 = (snd_midi_event_t *)dev; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_midi_event_reset_decode(snd_midi_event_t * dev) __attribute__((alias("glshim_snd_midi_event_reset_decode"))); #endif #if !defined(skip_client_snd_midi_event_reset_encode) && !defined(skip_index_snd_midi_event_reset_encode) -void snd_midi_event_reset_encode(snd_midi_event_t * dev) { +void glshim_snd_midi_event_reset_encode(snd_midi_event_t * dev) { snd_midi_event_reset_encode_INDEXED packed_data; packed_data.func = snd_midi_event_reset_encode_INDEX; packed_data.args.a1 = (snd_midi_event_t *)dev; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_midi_event_reset_encode(snd_midi_event_t * dev) __attribute__((alias("glshim_snd_midi_event_reset_encode"))); #endif #if !defined(skip_client_snd_midi_event_resize_buffer) && !defined(skip_index_snd_midi_event_resize_buffer) -int snd_midi_event_resize_buffer(snd_midi_event_t * dev, size_t bufsize) { +int glshim_snd_midi_event_resize_buffer(snd_midi_event_t * dev, size_t bufsize) { snd_midi_event_resize_buffer_INDEXED packed_data; packed_data.func = snd_midi_event_resize_buffer_INDEX; packed_data.args.a1 = (snd_midi_event_t *)dev; @@ -8912,9 +9809,10 @@ int snd_midi_event_resize_buffer(snd_midi_event_t * dev, size_t bufsize) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_midi_event_resize_buffer(snd_midi_event_t * dev, size_t bufsize) __attribute__((alias("glshim_snd_midi_event_resize_buffer"))); #endif #if !defined(skip_client_snd_mixer_attach) && !defined(skip_index_snd_mixer_attach) -int snd_mixer_attach(snd_mixer_t * mixer, const char * name) { +int glshim_snd_mixer_attach(snd_mixer_t * mixer, const char * name) { snd_mixer_attach_INDEXED packed_data; packed_data.func = snd_mixer_attach_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -8923,9 +9821,10 @@ int snd_mixer_attach(snd_mixer_t * mixer, const char * name) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_attach(snd_mixer_t * mixer, const char * name) __attribute__((alias("glshim_snd_mixer_attach"))); #endif #if !defined(skip_client_snd_mixer_attach_hctl) && !defined(skip_index_snd_mixer_attach_hctl) -int snd_mixer_attach_hctl(snd_mixer_t * mixer, snd_hctl_t * hctl) { +int glshim_snd_mixer_attach_hctl(snd_mixer_t * mixer, snd_hctl_t * hctl) { snd_mixer_attach_hctl_INDEXED packed_data; packed_data.func = snd_mixer_attach_hctl_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -8934,26 +9833,29 @@ int snd_mixer_attach_hctl(snd_mixer_t * mixer, snd_hctl_t * hctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_attach_hctl(snd_mixer_t * mixer, snd_hctl_t * hctl) __attribute__((alias("glshim_snd_mixer_attach_hctl"))); #endif #if !defined(skip_client_snd_mixer_class_copy) && !defined(skip_index_snd_mixer_class_copy) -void snd_mixer_class_copy(snd_mixer_class_t * dst, const snd_mixer_class_t * src) { +void glshim_snd_mixer_class_copy(snd_mixer_class_t * dst, const snd_mixer_class_t * src) { snd_mixer_class_copy_INDEXED packed_data; packed_data.func = snd_mixer_class_copy_INDEX; packed_data.args.a1 = (snd_mixer_class_t *)dst; packed_data.args.a2 = (snd_mixer_class_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_mixer_class_copy(snd_mixer_class_t * dst, const snd_mixer_class_t * src) __attribute__((alias("glshim_snd_mixer_class_copy"))); #endif #if !defined(skip_client_snd_mixer_class_free) && !defined(skip_index_snd_mixer_class_free) -void snd_mixer_class_free(snd_mixer_class_t * obj) { +void glshim_snd_mixer_class_free(snd_mixer_class_t * obj) { snd_mixer_class_free_INDEXED packed_data; packed_data.func = snd_mixer_class_free_INDEX; packed_data.args.a1 = (snd_mixer_class_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_mixer_class_free(snd_mixer_class_t * obj) __attribute__((alias("glshim_snd_mixer_class_free"))); #endif #if !defined(skip_client_snd_mixer_class_get_compare) && !defined(skip_index_snd_mixer_class_get_compare) -snd_mixer_compare_t snd_mixer_class_get_compare(const snd_mixer_class_t * class_) { +snd_mixer_compare_t glshim_snd_mixer_class_get_compare(const snd_mixer_class_t * class_) { snd_mixer_class_get_compare_INDEXED packed_data; packed_data.func = snd_mixer_class_get_compare_INDEX; packed_data.args.a1 = (snd_mixer_class_t *)class_; @@ -8961,9 +9863,10 @@ snd_mixer_compare_t snd_mixer_class_get_compare(const snd_mixer_class_t * class_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_mixer_compare_t snd_mixer_class_get_compare(const snd_mixer_class_t * class_) __attribute__((alias("glshim_snd_mixer_class_get_compare"))); #endif #if !defined(skip_client_snd_mixer_class_get_event) && !defined(skip_index_snd_mixer_class_get_event) -snd_mixer_event_t snd_mixer_class_get_event(const snd_mixer_class_t * class_) { +snd_mixer_event_t glshim_snd_mixer_class_get_event(const snd_mixer_class_t * class_) { snd_mixer_class_get_event_INDEXED packed_data; packed_data.func = snd_mixer_class_get_event_INDEX; packed_data.args.a1 = (snd_mixer_class_t *)class_; @@ -8971,9 +9874,10 @@ snd_mixer_event_t snd_mixer_class_get_event(const snd_mixer_class_t * class_) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_mixer_event_t snd_mixer_class_get_event(const snd_mixer_class_t * class_) __attribute__((alias("glshim_snd_mixer_class_get_event"))); #endif #if !defined(skip_client_snd_mixer_class_get_mixer) && !defined(skip_index_snd_mixer_class_get_mixer) -snd_mixer_t * snd_mixer_class_get_mixer(const snd_mixer_class_t * class_) { +snd_mixer_t * glshim_snd_mixer_class_get_mixer(const snd_mixer_class_t * class_) { snd_mixer_class_get_mixer_INDEXED packed_data; packed_data.func = snd_mixer_class_get_mixer_INDEX; packed_data.args.a1 = (snd_mixer_class_t *)class_; @@ -8981,9 +9885,10 @@ snd_mixer_t * snd_mixer_class_get_mixer(const snd_mixer_class_t * class_) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_mixer_t * snd_mixer_class_get_mixer(const snd_mixer_class_t * class_) __attribute__((alias("glshim_snd_mixer_class_get_mixer"))); #endif #if !defined(skip_client_snd_mixer_class_get_private) && !defined(skip_index_snd_mixer_class_get_private) -void * snd_mixer_class_get_private(const snd_mixer_class_t * class_) { +void * glshim_snd_mixer_class_get_private(const snd_mixer_class_t * class_) { snd_mixer_class_get_private_INDEXED packed_data; packed_data.func = snd_mixer_class_get_private_INDEX; packed_data.args.a1 = (snd_mixer_class_t *)class_; @@ -8991,9 +9896,10 @@ void * snd_mixer_class_get_private(const snd_mixer_class_t * class_) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +void * snd_mixer_class_get_private(const snd_mixer_class_t * class_) __attribute__((alias("glshim_snd_mixer_class_get_private"))); #endif #if !defined(skip_client_snd_mixer_class_malloc) && !defined(skip_index_snd_mixer_class_malloc) -int snd_mixer_class_malloc(snd_mixer_class_t ** ptr) { +int glshim_snd_mixer_class_malloc(snd_mixer_class_t ** ptr) { snd_mixer_class_malloc_INDEXED packed_data; packed_data.func = snd_mixer_class_malloc_INDEX; packed_data.args.a1 = (snd_mixer_class_t **)ptr; @@ -9001,9 +9907,10 @@ int snd_mixer_class_malloc(snd_mixer_class_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_class_malloc(snd_mixer_class_t ** ptr) __attribute__((alias("glshim_snd_mixer_class_malloc"))); #endif #if !defined(skip_client_snd_mixer_class_register) && !defined(skip_index_snd_mixer_class_register) -int snd_mixer_class_register(snd_mixer_class_t * class_, snd_mixer_t * mixer) { +int glshim_snd_mixer_class_register(snd_mixer_class_t * class_, snd_mixer_t * mixer) { snd_mixer_class_register_INDEXED packed_data; packed_data.func = snd_mixer_class_register_INDEX; packed_data.args.a1 = (snd_mixer_class_t *)class_; @@ -9012,9 +9919,10 @@ int snd_mixer_class_register(snd_mixer_class_t * class_, snd_mixer_t * mixer) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_class_register(snd_mixer_class_t * class_, snd_mixer_t * mixer) __attribute__((alias("glshim_snd_mixer_class_register"))); #endif #if !defined(skip_client_snd_mixer_class_set_compare) && !defined(skip_index_snd_mixer_class_set_compare) -int snd_mixer_class_set_compare(snd_mixer_class_t * class_, snd_mixer_compare_t compare) { +int glshim_snd_mixer_class_set_compare(snd_mixer_class_t * class_, snd_mixer_compare_t compare) { snd_mixer_class_set_compare_INDEXED packed_data; packed_data.func = snd_mixer_class_set_compare_INDEX; packed_data.args.a1 = (snd_mixer_class_t *)class_; @@ -9023,9 +9931,10 @@ int snd_mixer_class_set_compare(snd_mixer_class_t * class_, snd_mixer_compare_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_class_set_compare(snd_mixer_class_t * class_, snd_mixer_compare_t compare) __attribute__((alias("glshim_snd_mixer_class_set_compare"))); #endif #if !defined(skip_client_snd_mixer_class_set_event) && !defined(skip_index_snd_mixer_class_set_event) -int snd_mixer_class_set_event(snd_mixer_class_t * class_, snd_mixer_event_t event) { +int glshim_snd_mixer_class_set_event(snd_mixer_class_t * class_, snd_mixer_event_t event) { snd_mixer_class_set_event_INDEXED packed_data; packed_data.func = snd_mixer_class_set_event_INDEX; packed_data.args.a1 = (snd_mixer_class_t *)class_; @@ -9034,9 +9943,10 @@ int snd_mixer_class_set_event(snd_mixer_class_t * class_, snd_mixer_event_t even syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_class_set_event(snd_mixer_class_t * class_, snd_mixer_event_t event) __attribute__((alias("glshim_snd_mixer_class_set_event"))); #endif #if !defined(skip_client_snd_mixer_class_set_private) && !defined(skip_index_snd_mixer_class_set_private) -int snd_mixer_class_set_private(snd_mixer_class_t * class_, void * private_data) { +int glshim_snd_mixer_class_set_private(snd_mixer_class_t * class_, void * private_data) { snd_mixer_class_set_private_INDEXED packed_data; packed_data.func = snd_mixer_class_set_private_INDEX; packed_data.args.a1 = (snd_mixer_class_t *)class_; @@ -9045,18 +9955,20 @@ int snd_mixer_class_set_private(snd_mixer_class_t * class_, void * private_data) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_class_set_private(snd_mixer_class_t * class_, void * private_data) __attribute__((alias("glshim_snd_mixer_class_set_private"))); #endif #if !defined(skip_client_snd_mixer_class_sizeof) && !defined(skip_index_snd_mixer_class_sizeof) -size_t snd_mixer_class_sizeof() { +size_t glshim_snd_mixer_class_sizeof() { snd_mixer_class_sizeof_INDEXED packed_data; packed_data.func = snd_mixer_class_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_mixer_class_sizeof() __attribute__((alias("glshim_snd_mixer_class_sizeof"))); #endif #if !defined(skip_client_snd_mixer_class_unregister) && !defined(skip_index_snd_mixer_class_unregister) -int snd_mixer_class_unregister(snd_mixer_class_t * clss) { +int glshim_snd_mixer_class_unregister(snd_mixer_class_t * clss) { snd_mixer_class_unregister_INDEXED packed_data; packed_data.func = snd_mixer_class_unregister_INDEX; packed_data.args.a1 = (snd_mixer_class_t *)clss; @@ -9064,9 +9976,10 @@ int snd_mixer_class_unregister(snd_mixer_class_t * clss) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_class_unregister(snd_mixer_class_t * clss) __attribute__((alias("glshim_snd_mixer_class_unregister"))); #endif #if !defined(skip_client_snd_mixer_close) && !defined(skip_index_snd_mixer_close) -int snd_mixer_close(snd_mixer_t * mixer) { +int glshim_snd_mixer_close(snd_mixer_t * mixer) { snd_mixer_close_INDEXED packed_data; packed_data.func = snd_mixer_close_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -9074,9 +9987,10 @@ int snd_mixer_close(snd_mixer_t * mixer) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_close(snd_mixer_t * mixer) __attribute__((alias("glshim_snd_mixer_close"))); #endif #if !defined(skip_client_snd_mixer_detach) && !defined(skip_index_snd_mixer_detach) -int snd_mixer_detach(snd_mixer_t * mixer, const char * name) { +int glshim_snd_mixer_detach(snd_mixer_t * mixer, const char * name) { snd_mixer_detach_INDEXED packed_data; packed_data.func = snd_mixer_detach_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -9085,9 +9999,10 @@ int snd_mixer_detach(snd_mixer_t * mixer, const char * name) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_detach(snd_mixer_t * mixer, const char * name) __attribute__((alias("glshim_snd_mixer_detach"))); #endif #if !defined(skip_client_snd_mixer_detach_hctl) && !defined(skip_index_snd_mixer_detach_hctl) -int snd_mixer_detach_hctl(snd_mixer_t * mixer, snd_hctl_t * hctl) { +int glshim_snd_mixer_detach_hctl(snd_mixer_t * mixer, snd_hctl_t * hctl) { snd_mixer_detach_hctl_INDEXED packed_data; packed_data.func = snd_mixer_detach_hctl_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -9096,9 +10011,10 @@ int snd_mixer_detach_hctl(snd_mixer_t * mixer, snd_hctl_t * hctl) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_detach_hctl(snd_mixer_t * mixer, snd_hctl_t * hctl) __attribute__((alias("glshim_snd_mixer_detach_hctl"))); #endif #if !defined(skip_client_snd_mixer_elem_add) && !defined(skip_index_snd_mixer_elem_add) -int snd_mixer_elem_add(snd_mixer_elem_t * elem, snd_mixer_class_t * class_) { +int glshim_snd_mixer_elem_add(snd_mixer_elem_t * elem, snd_mixer_class_t * class_) { snd_mixer_elem_add_INDEXED packed_data; packed_data.func = snd_mixer_elem_add_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9107,9 +10023,10 @@ int snd_mixer_elem_add(snd_mixer_elem_t * elem, snd_mixer_class_t * class_) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_elem_add(snd_mixer_elem_t * elem, snd_mixer_class_t * class_) __attribute__((alias("glshim_snd_mixer_elem_add"))); #endif #if !defined(skip_client_snd_mixer_elem_attach) && !defined(skip_index_snd_mixer_elem_attach) -int snd_mixer_elem_attach(snd_mixer_elem_t * melem, snd_hctl_elem_t * helem) { +int glshim_snd_mixer_elem_attach(snd_mixer_elem_t * melem, snd_hctl_elem_t * helem) { snd_mixer_elem_attach_INDEXED packed_data; packed_data.func = snd_mixer_elem_attach_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)melem; @@ -9118,9 +10035,10 @@ int snd_mixer_elem_attach(snd_mixer_elem_t * melem, snd_hctl_elem_t * helem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_elem_attach(snd_mixer_elem_t * melem, snd_hctl_elem_t * helem) __attribute__((alias("glshim_snd_mixer_elem_attach"))); #endif #if !defined(skip_client_snd_mixer_elem_detach) && !defined(skip_index_snd_mixer_elem_detach) -int snd_mixer_elem_detach(snd_mixer_elem_t * melem, snd_hctl_elem_t * helem) { +int glshim_snd_mixer_elem_detach(snd_mixer_elem_t * melem, snd_hctl_elem_t * helem) { snd_mixer_elem_detach_INDEXED packed_data; packed_data.func = snd_mixer_elem_detach_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)melem; @@ -9129,9 +10047,10 @@ int snd_mixer_elem_detach(snd_mixer_elem_t * melem, snd_hctl_elem_t * helem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_elem_detach(snd_mixer_elem_t * melem, snd_hctl_elem_t * helem) __attribute__((alias("glshim_snd_mixer_elem_detach"))); #endif #if !defined(skip_client_snd_mixer_elem_empty) && !defined(skip_index_snd_mixer_elem_empty) -int snd_mixer_elem_empty(snd_mixer_elem_t * melem) { +int glshim_snd_mixer_elem_empty(snd_mixer_elem_t * melem) { snd_mixer_elem_empty_INDEXED packed_data; packed_data.func = snd_mixer_elem_empty_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)melem; @@ -9139,17 +10058,19 @@ int snd_mixer_elem_empty(snd_mixer_elem_t * melem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_elem_empty(snd_mixer_elem_t * melem) __attribute__((alias("glshim_snd_mixer_elem_empty"))); #endif #if !defined(skip_client_snd_mixer_elem_free) && !defined(skip_index_snd_mixer_elem_free) -void snd_mixer_elem_free(snd_mixer_elem_t * elem) { +void glshim_snd_mixer_elem_free(snd_mixer_elem_t * elem) { snd_mixer_elem_free_INDEXED packed_data; packed_data.func = snd_mixer_elem_free_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_mixer_elem_free(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_elem_free"))); #endif #if !defined(skip_client_snd_mixer_elem_get_callback_private) && !defined(skip_index_snd_mixer_elem_get_callback_private) -void * snd_mixer_elem_get_callback_private(const snd_mixer_elem_t * obj) { +void * glshim_snd_mixer_elem_get_callback_private(const snd_mixer_elem_t * obj) { snd_mixer_elem_get_callback_private_INDEXED packed_data; packed_data.func = snd_mixer_elem_get_callback_private_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)obj; @@ -9157,9 +10078,10 @@ void * snd_mixer_elem_get_callback_private(const snd_mixer_elem_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +void * snd_mixer_elem_get_callback_private(const snd_mixer_elem_t * obj) __attribute__((alias("glshim_snd_mixer_elem_get_callback_private"))); #endif #if !defined(skip_client_snd_mixer_elem_get_private) && !defined(skip_index_snd_mixer_elem_get_private) -void * snd_mixer_elem_get_private(const snd_mixer_elem_t * melem) { +void * glshim_snd_mixer_elem_get_private(const snd_mixer_elem_t * melem) { snd_mixer_elem_get_private_INDEXED packed_data; packed_data.func = snd_mixer_elem_get_private_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)melem; @@ -9167,9 +10089,10 @@ void * snd_mixer_elem_get_private(const snd_mixer_elem_t * melem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +void * snd_mixer_elem_get_private(const snd_mixer_elem_t * melem) __attribute__((alias("glshim_snd_mixer_elem_get_private"))); #endif #if !defined(skip_client_snd_mixer_elem_get_type) && !defined(skip_index_snd_mixer_elem_get_type) -snd_mixer_elem_type_t snd_mixer_elem_get_type(const snd_mixer_elem_t * obj) { +snd_mixer_elem_type_t glshim_snd_mixer_elem_get_type(const snd_mixer_elem_t * obj) { snd_mixer_elem_get_type_INDEXED packed_data; packed_data.func = snd_mixer_elem_get_type_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)obj; @@ -9177,9 +10100,10 @@ snd_mixer_elem_type_t snd_mixer_elem_get_type(const snd_mixer_elem_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_mixer_elem_type_t snd_mixer_elem_get_type(const snd_mixer_elem_t * obj) __attribute__((alias("glshim_snd_mixer_elem_get_type"))); #endif #if !defined(skip_client_snd_mixer_elem_info) && !defined(skip_index_snd_mixer_elem_info) -int snd_mixer_elem_info(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_elem_info(snd_mixer_elem_t * elem) { snd_mixer_elem_info_INDEXED packed_data; packed_data.func = snd_mixer_elem_info_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9187,9 +10111,10 @@ int snd_mixer_elem_info(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_elem_info(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_elem_info"))); #endif #if !defined(skip_client_snd_mixer_elem_next) && !defined(skip_index_snd_mixer_elem_next) -snd_mixer_elem_t * snd_mixer_elem_next(snd_mixer_elem_t * elem) { +snd_mixer_elem_t * glshim_snd_mixer_elem_next(snd_mixer_elem_t * elem) { snd_mixer_elem_next_INDEXED packed_data; packed_data.func = snd_mixer_elem_next_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9197,9 +10122,10 @@ snd_mixer_elem_t * snd_mixer_elem_next(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_mixer_elem_t * snd_mixer_elem_next(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_elem_next"))); #endif #if !defined(skip_client_snd_mixer_elem_prev) && !defined(skip_index_snd_mixer_elem_prev) -snd_mixer_elem_t * snd_mixer_elem_prev(snd_mixer_elem_t * elem) { +snd_mixer_elem_t * glshim_snd_mixer_elem_prev(snd_mixer_elem_t * elem) { snd_mixer_elem_prev_INDEXED packed_data; packed_data.func = snd_mixer_elem_prev_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9207,9 +10133,10 @@ snd_mixer_elem_t * snd_mixer_elem_prev(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_mixer_elem_t * snd_mixer_elem_prev(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_elem_prev"))); #endif #if !defined(skip_client_snd_mixer_elem_remove) && !defined(skip_index_snd_mixer_elem_remove) -int snd_mixer_elem_remove(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_elem_remove(snd_mixer_elem_t * elem) { snd_mixer_elem_remove_INDEXED packed_data; packed_data.func = snd_mixer_elem_remove_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9217,27 +10144,30 @@ int snd_mixer_elem_remove(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_elem_remove(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_elem_remove"))); #endif #if !defined(skip_client_snd_mixer_elem_set_callback) && !defined(skip_index_snd_mixer_elem_set_callback) -void snd_mixer_elem_set_callback(snd_mixer_elem_t * obj, snd_mixer_elem_callback_t val) { +void glshim_snd_mixer_elem_set_callback(snd_mixer_elem_t * obj, snd_mixer_elem_callback_t val) { snd_mixer_elem_set_callback_INDEXED packed_data; packed_data.func = snd_mixer_elem_set_callback_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)obj; packed_data.args.a2 = (snd_mixer_elem_callback_t)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_mixer_elem_set_callback(snd_mixer_elem_t * obj, snd_mixer_elem_callback_t val) __attribute__((alias("glshim_snd_mixer_elem_set_callback"))); #endif #if !defined(skip_client_snd_mixer_elem_set_callback_private) && !defined(skip_index_snd_mixer_elem_set_callback_private) -void snd_mixer_elem_set_callback_private(snd_mixer_elem_t * obj, void * val) { +void glshim_snd_mixer_elem_set_callback_private(snd_mixer_elem_t * obj, void * val) { snd_mixer_elem_set_callback_private_INDEXED packed_data; packed_data.func = snd_mixer_elem_set_callback_private_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)obj; packed_data.args.a2 = (void *)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_mixer_elem_set_callback_private(snd_mixer_elem_t * obj, void * val) __attribute__((alias("glshim_snd_mixer_elem_set_callback_private"))); #endif #if !defined(skip_client_snd_mixer_elem_value) && !defined(skip_index_snd_mixer_elem_value) -int snd_mixer_elem_value(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_elem_value(snd_mixer_elem_t * elem) { snd_mixer_elem_value_INDEXED packed_data; packed_data.func = snd_mixer_elem_value_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9245,9 +10175,10 @@ int snd_mixer_elem_value(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_elem_value(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_elem_value"))); #endif #if !defined(skip_client_snd_mixer_find_selem) && !defined(skip_index_snd_mixer_find_selem) -snd_mixer_elem_t * snd_mixer_find_selem(snd_mixer_t * mixer, const snd_mixer_selem_id_t * id) { +snd_mixer_elem_t * glshim_snd_mixer_find_selem(snd_mixer_t * mixer, const snd_mixer_selem_id_t * id) { snd_mixer_find_selem_INDEXED packed_data; packed_data.func = snd_mixer_find_selem_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -9256,9 +10187,10 @@ snd_mixer_elem_t * snd_mixer_find_selem(snd_mixer_t * mixer, const snd_mixer_sel syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_mixer_elem_t * snd_mixer_find_selem(snd_mixer_t * mixer, const snd_mixer_selem_id_t * id) __attribute__((alias("glshim_snd_mixer_find_selem"))); #endif #if !defined(skip_client_snd_mixer_first_elem) && !defined(skip_index_snd_mixer_first_elem) -snd_mixer_elem_t * snd_mixer_first_elem(snd_mixer_t * mixer) { +snd_mixer_elem_t * glshim_snd_mixer_first_elem(snd_mixer_t * mixer) { snd_mixer_first_elem_INDEXED packed_data; packed_data.func = snd_mixer_first_elem_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -9266,17 +10198,19 @@ snd_mixer_elem_t * snd_mixer_first_elem(snd_mixer_t * mixer) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_mixer_elem_t * snd_mixer_first_elem(snd_mixer_t * mixer) __attribute__((alias("glshim_snd_mixer_first_elem"))); #endif #if !defined(skip_client_snd_mixer_free) && !defined(skip_index_snd_mixer_free) -void snd_mixer_free(snd_mixer_t * mixer) { +void glshim_snd_mixer_free(snd_mixer_t * mixer) { snd_mixer_free_INDEXED packed_data; packed_data.func = snd_mixer_free_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_mixer_free(snd_mixer_t * mixer) __attribute__((alias("glshim_snd_mixer_free"))); #endif #if !defined(skip_client_snd_mixer_get_callback_private) && !defined(skip_index_snd_mixer_get_callback_private) -void * snd_mixer_get_callback_private(const snd_mixer_t * obj) { +void * glshim_snd_mixer_get_callback_private(const snd_mixer_t * obj) { snd_mixer_get_callback_private_INDEXED packed_data; packed_data.func = snd_mixer_get_callback_private_INDEX; packed_data.args.a1 = (snd_mixer_t *)obj; @@ -9284,9 +10218,10 @@ void * snd_mixer_get_callback_private(const snd_mixer_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +void * snd_mixer_get_callback_private(const snd_mixer_t * obj) __attribute__((alias("glshim_snd_mixer_get_callback_private"))); #endif #if !defined(skip_client_snd_mixer_get_count) && !defined(skip_index_snd_mixer_get_count) -unsigned int snd_mixer_get_count(const snd_mixer_t * obj) { +unsigned int glshim_snd_mixer_get_count(const snd_mixer_t * obj) { snd_mixer_get_count_INDEXED packed_data; packed_data.func = snd_mixer_get_count_INDEX; packed_data.args.a1 = (snd_mixer_t *)obj; @@ -9294,9 +10229,10 @@ unsigned int snd_mixer_get_count(const snd_mixer_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_mixer_get_count(const snd_mixer_t * obj) __attribute__((alias("glshim_snd_mixer_get_count"))); #endif #if !defined(skip_client_snd_mixer_get_hctl) && !defined(skip_index_snd_mixer_get_hctl) -int snd_mixer_get_hctl(snd_mixer_t * mixer, const char * name, snd_hctl_t ** hctl) { +int glshim_snd_mixer_get_hctl(snd_mixer_t * mixer, const char * name, snd_hctl_t ** hctl) { snd_mixer_get_hctl_INDEXED packed_data; packed_data.func = snd_mixer_get_hctl_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -9306,9 +10242,10 @@ int snd_mixer_get_hctl(snd_mixer_t * mixer, const char * name, snd_hctl_t ** hct syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_get_hctl(snd_mixer_t * mixer, const char * name, snd_hctl_t ** hctl) __attribute__((alias("glshim_snd_mixer_get_hctl"))); #endif #if !defined(skip_client_snd_mixer_handle_events) && !defined(skip_index_snd_mixer_handle_events) -int snd_mixer_handle_events(snd_mixer_t * mixer) { +int glshim_snd_mixer_handle_events(snd_mixer_t * mixer) { snd_mixer_handle_events_INDEXED packed_data; packed_data.func = snd_mixer_handle_events_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -9316,9 +10253,10 @@ int snd_mixer_handle_events(snd_mixer_t * mixer) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_handle_events(snd_mixer_t * mixer) __attribute__((alias("glshim_snd_mixer_handle_events"))); #endif #if !defined(skip_client_snd_mixer_last_elem) && !defined(skip_index_snd_mixer_last_elem) -snd_mixer_elem_t * snd_mixer_last_elem(snd_mixer_t * mixer) { +snd_mixer_elem_t * glshim_snd_mixer_last_elem(snd_mixer_t * mixer) { snd_mixer_last_elem_INDEXED packed_data; packed_data.func = snd_mixer_last_elem_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -9326,9 +10264,10 @@ snd_mixer_elem_t * snd_mixer_last_elem(snd_mixer_t * mixer) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_mixer_elem_t * snd_mixer_last_elem(snd_mixer_t * mixer) __attribute__((alias("glshim_snd_mixer_last_elem"))); #endif #if !defined(skip_client_snd_mixer_load) && !defined(skip_index_snd_mixer_load) -int snd_mixer_load(snd_mixer_t * mixer) { +int glshim_snd_mixer_load(snd_mixer_t * mixer) { snd_mixer_load_INDEXED packed_data; packed_data.func = snd_mixer_load_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -9336,9 +10275,10 @@ int snd_mixer_load(snd_mixer_t * mixer) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_load(snd_mixer_t * mixer) __attribute__((alias("glshim_snd_mixer_load"))); #endif #if !defined(skip_client_snd_mixer_open) && !defined(skip_index_snd_mixer_open) -int snd_mixer_open(snd_mixer_t ** mixer, int mode) { +int glshim_snd_mixer_open(snd_mixer_t ** mixer, int mode) { snd_mixer_open_INDEXED packed_data; packed_data.func = snd_mixer_open_INDEX; packed_data.args.a1 = (snd_mixer_t **)mixer; @@ -9347,9 +10287,10 @@ int snd_mixer_open(snd_mixer_t ** mixer, int mode) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_open(snd_mixer_t ** mixer, int mode) __attribute__((alias("glshim_snd_mixer_open"))); #endif #if !defined(skip_client_snd_mixer_poll_descriptors) && !defined(skip_index_snd_mixer_poll_descriptors) -int snd_mixer_poll_descriptors(snd_mixer_t * mixer, struct pollfd * pfds, unsigned int space) { +int glshim_snd_mixer_poll_descriptors(snd_mixer_t * mixer, struct pollfd * pfds, unsigned int space) { snd_mixer_poll_descriptors_INDEXED packed_data; packed_data.func = snd_mixer_poll_descriptors_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -9359,9 +10300,10 @@ int snd_mixer_poll_descriptors(snd_mixer_t * mixer, struct pollfd * pfds, unsign syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_poll_descriptors(snd_mixer_t * mixer, struct pollfd * pfds, unsigned int space) __attribute__((alias("glshim_snd_mixer_poll_descriptors"))); #endif #if !defined(skip_client_snd_mixer_poll_descriptors_count) && !defined(skip_index_snd_mixer_poll_descriptors_count) -int snd_mixer_poll_descriptors_count(snd_mixer_t * mixer) { +int glshim_snd_mixer_poll_descriptors_count(snd_mixer_t * mixer) { snd_mixer_poll_descriptors_count_INDEXED packed_data; packed_data.func = snd_mixer_poll_descriptors_count_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -9369,9 +10311,10 @@ int snd_mixer_poll_descriptors_count(snd_mixer_t * mixer) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_poll_descriptors_count(snd_mixer_t * mixer) __attribute__((alias("glshim_snd_mixer_poll_descriptors_count"))); #endif #if !defined(skip_client_snd_mixer_poll_descriptors_revents) && !defined(skip_index_snd_mixer_poll_descriptors_revents) -int snd_mixer_poll_descriptors_revents(snd_mixer_t * mixer, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) { +int glshim_snd_mixer_poll_descriptors_revents(snd_mixer_t * mixer, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) { snd_mixer_poll_descriptors_revents_INDEXED packed_data; packed_data.func = snd_mixer_poll_descriptors_revents_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -9382,9 +10325,10 @@ int snd_mixer_poll_descriptors_revents(snd_mixer_t * mixer, struct pollfd * pfds syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_poll_descriptors_revents(snd_mixer_t * mixer, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) __attribute__((alias("glshim_snd_mixer_poll_descriptors_revents"))); #endif #if !defined(skip_client_snd_mixer_selem_channel_name) && !defined(skip_index_snd_mixer_selem_channel_name) -const char * snd_mixer_selem_channel_name(snd_mixer_selem_channel_id_t channel) { +const char * glshim_snd_mixer_selem_channel_name(snd_mixer_selem_channel_id_t channel) { snd_mixer_selem_channel_name_INDEXED packed_data; packed_data.func = snd_mixer_selem_channel_name_INDEX; packed_data.args.a1 = (snd_mixer_selem_channel_id_t)channel; @@ -9392,9 +10336,10 @@ const char * snd_mixer_selem_channel_name(snd_mixer_selem_channel_id_t channel) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_mixer_selem_channel_name(snd_mixer_selem_channel_id_t channel) __attribute__((alias("glshim_snd_mixer_selem_channel_name"))); #endif #if !defined(skip_client_snd_mixer_selem_get_capture_dB) && !defined(skip_index_snd_mixer_selem_get_capture_dB) -int snd_mixer_selem_get_capture_dB(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long * value) { +int glshim_snd_mixer_selem_get_capture_dB(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long * value) { snd_mixer_selem_get_capture_dB_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_capture_dB_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9404,9 +10349,10 @@ int snd_mixer_selem_get_capture_dB(snd_mixer_elem_t * elem, snd_mixer_selem_chan syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_get_capture_dB(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long * value) __attribute__((alias("glshim_snd_mixer_selem_get_capture_dB"))); #endif #if !defined(skip_client_snd_mixer_selem_get_capture_dB_range) && !defined(skip_index_snd_mixer_selem_get_capture_dB_range) -int snd_mixer_selem_get_capture_dB_range(snd_mixer_elem_t * elem, long * min, long * max) { +int glshim_snd_mixer_selem_get_capture_dB_range(snd_mixer_elem_t * elem, long * min, long * max) { snd_mixer_selem_get_capture_dB_range_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_capture_dB_range_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9416,9 +10362,10 @@ int snd_mixer_selem_get_capture_dB_range(snd_mixer_elem_t * elem, long * min, lo syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_get_capture_dB_range(snd_mixer_elem_t * elem, long * min, long * max) __attribute__((alias("glshim_snd_mixer_selem_get_capture_dB_range"))); #endif #if !defined(skip_client_snd_mixer_selem_get_capture_group) && !defined(skip_index_snd_mixer_selem_get_capture_group) -int snd_mixer_selem_get_capture_group(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_get_capture_group(snd_mixer_elem_t * elem) { snd_mixer_selem_get_capture_group_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_capture_group_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9426,9 +10373,10 @@ int snd_mixer_selem_get_capture_group(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_get_capture_group(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_get_capture_group"))); #endif #if !defined(skip_client_snd_mixer_selem_get_capture_switch) && !defined(skip_index_snd_mixer_selem_get_capture_switch) -int snd_mixer_selem_get_capture_switch(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, int * value) { +int glshim_snd_mixer_selem_get_capture_switch(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, int * value) { snd_mixer_selem_get_capture_switch_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_capture_switch_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9438,9 +10386,10 @@ int snd_mixer_selem_get_capture_switch(snd_mixer_elem_t * elem, snd_mixer_selem_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_get_capture_switch(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, int * value) __attribute__((alias("glshim_snd_mixer_selem_get_capture_switch"))); #endif #if !defined(skip_client_snd_mixer_selem_get_capture_volume) && !defined(skip_index_snd_mixer_selem_get_capture_volume) -int snd_mixer_selem_get_capture_volume(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long * value) { +int glshim_snd_mixer_selem_get_capture_volume(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long * value) { snd_mixer_selem_get_capture_volume_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_capture_volume_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9450,9 +10399,10 @@ int snd_mixer_selem_get_capture_volume(snd_mixer_elem_t * elem, snd_mixer_selem_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_get_capture_volume(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long * value) __attribute__((alias("glshim_snd_mixer_selem_get_capture_volume"))); #endif #if !defined(skip_client_snd_mixer_selem_get_capture_volume_range) && !defined(skip_index_snd_mixer_selem_get_capture_volume_range) -int snd_mixer_selem_get_capture_volume_range(snd_mixer_elem_t * elem, long * min, long * max) { +int glshim_snd_mixer_selem_get_capture_volume_range(snd_mixer_elem_t * elem, long * min, long * max) { snd_mixer_selem_get_capture_volume_range_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_capture_volume_range_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9462,9 +10412,10 @@ int snd_mixer_selem_get_capture_volume_range(snd_mixer_elem_t * elem, long * min syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_get_capture_volume_range(snd_mixer_elem_t * elem, long * min, long * max) __attribute__((alias("glshim_snd_mixer_selem_get_capture_volume_range"))); #endif #if !defined(skip_client_snd_mixer_selem_get_enum_item) && !defined(skip_index_snd_mixer_selem_get_enum_item) -int snd_mixer_selem_get_enum_item(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, unsigned int * idxp) { +int glshim_snd_mixer_selem_get_enum_item(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, unsigned int * idxp) { snd_mixer_selem_get_enum_item_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_enum_item_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9474,9 +10425,10 @@ int snd_mixer_selem_get_enum_item(snd_mixer_elem_t * elem, snd_mixer_selem_chann syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_get_enum_item(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, unsigned int * idxp) __attribute__((alias("glshim_snd_mixer_selem_get_enum_item"))); #endif #if !defined(skip_client_snd_mixer_selem_get_enum_item_name) && !defined(skip_index_snd_mixer_selem_get_enum_item_name) -int snd_mixer_selem_get_enum_item_name(snd_mixer_elem_t * elem, unsigned int idx, size_t maxlen, char * str) { +int glshim_snd_mixer_selem_get_enum_item_name(snd_mixer_elem_t * elem, unsigned int idx, size_t maxlen, char * str) { snd_mixer_selem_get_enum_item_name_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_enum_item_name_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9487,9 +10439,10 @@ int snd_mixer_selem_get_enum_item_name(snd_mixer_elem_t * elem, unsigned int idx syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_get_enum_item_name(snd_mixer_elem_t * elem, unsigned int idx, size_t maxlen, char * str) __attribute__((alias("glshim_snd_mixer_selem_get_enum_item_name"))); #endif #if !defined(skip_client_snd_mixer_selem_get_enum_items) && !defined(skip_index_snd_mixer_selem_get_enum_items) -int snd_mixer_selem_get_enum_items(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_get_enum_items(snd_mixer_elem_t * elem) { snd_mixer_selem_get_enum_items_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_enum_items_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9497,18 +10450,20 @@ int snd_mixer_selem_get_enum_items(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_get_enum_items(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_get_enum_items"))); #endif #if !defined(skip_client_snd_mixer_selem_get_id) && !defined(skip_index_snd_mixer_selem_get_id) -void snd_mixer_selem_get_id(snd_mixer_elem_t * element, snd_mixer_selem_id_t * id) { +void glshim_snd_mixer_selem_get_id(snd_mixer_elem_t * element, snd_mixer_selem_id_t * id) { snd_mixer_selem_get_id_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_id_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)element; packed_data.args.a2 = (snd_mixer_selem_id_t *)id; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_mixer_selem_get_id(snd_mixer_elem_t * element, snd_mixer_selem_id_t * id) __attribute__((alias("glshim_snd_mixer_selem_get_id"))); #endif #if !defined(skip_client_snd_mixer_selem_get_index) && !defined(skip_index_snd_mixer_selem_get_index) -unsigned int snd_mixer_selem_get_index(snd_mixer_elem_t * elem) { +unsigned int glshim_snd_mixer_selem_get_index(snd_mixer_elem_t * elem) { snd_mixer_selem_get_index_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_index_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9516,9 +10471,10 @@ unsigned int snd_mixer_selem_get_index(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_mixer_selem_get_index(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_get_index"))); #endif #if !defined(skip_client_snd_mixer_selem_get_name) && !defined(skip_index_snd_mixer_selem_get_name) -const char * snd_mixer_selem_get_name(snd_mixer_elem_t * elem) { +const char * glshim_snd_mixer_selem_get_name(snd_mixer_elem_t * elem) { snd_mixer_selem_get_name_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_name_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9526,9 +10482,10 @@ const char * snd_mixer_selem_get_name(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_mixer_selem_get_name(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_get_name"))); #endif #if !defined(skip_client_snd_mixer_selem_get_playback_dB) && !defined(skip_index_snd_mixer_selem_get_playback_dB) -int snd_mixer_selem_get_playback_dB(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long * value) { +int glshim_snd_mixer_selem_get_playback_dB(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long * value) { snd_mixer_selem_get_playback_dB_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_playback_dB_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9538,9 +10495,10 @@ int snd_mixer_selem_get_playback_dB(snd_mixer_elem_t * elem, snd_mixer_selem_cha syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_get_playback_dB(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long * value) __attribute__((alias("glshim_snd_mixer_selem_get_playback_dB"))); #endif #if !defined(skip_client_snd_mixer_selem_get_playback_dB_range) && !defined(skip_index_snd_mixer_selem_get_playback_dB_range) -int snd_mixer_selem_get_playback_dB_range(snd_mixer_elem_t * elem, long * min, long * max) { +int glshim_snd_mixer_selem_get_playback_dB_range(snd_mixer_elem_t * elem, long * min, long * max) { snd_mixer_selem_get_playback_dB_range_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_playback_dB_range_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9550,9 +10508,10 @@ int snd_mixer_selem_get_playback_dB_range(snd_mixer_elem_t * elem, long * min, l syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_get_playback_dB_range(snd_mixer_elem_t * elem, long * min, long * max) __attribute__((alias("glshim_snd_mixer_selem_get_playback_dB_range"))); #endif #if !defined(skip_client_snd_mixer_selem_get_playback_switch) && !defined(skip_index_snd_mixer_selem_get_playback_switch) -int snd_mixer_selem_get_playback_switch(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, int * value) { +int glshim_snd_mixer_selem_get_playback_switch(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, int * value) { snd_mixer_selem_get_playback_switch_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_playback_switch_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9562,9 +10521,10 @@ int snd_mixer_selem_get_playback_switch(snd_mixer_elem_t * elem, snd_mixer_selem syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_get_playback_switch(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, int * value) __attribute__((alias("glshim_snd_mixer_selem_get_playback_switch"))); #endif #if !defined(skip_client_snd_mixer_selem_get_playback_volume) && !defined(skip_index_snd_mixer_selem_get_playback_volume) -int snd_mixer_selem_get_playback_volume(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long * value) { +int glshim_snd_mixer_selem_get_playback_volume(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long * value) { snd_mixer_selem_get_playback_volume_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_playback_volume_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9574,9 +10534,10 @@ int snd_mixer_selem_get_playback_volume(snd_mixer_elem_t * elem, snd_mixer_selem syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_get_playback_volume(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long * value) __attribute__((alias("glshim_snd_mixer_selem_get_playback_volume"))); #endif #if !defined(skip_client_snd_mixer_selem_get_playback_volume_range) && !defined(skip_index_snd_mixer_selem_get_playback_volume_range) -int snd_mixer_selem_get_playback_volume_range(snd_mixer_elem_t * elem, long * min, long * max) { +int glshim_snd_mixer_selem_get_playback_volume_range(snd_mixer_elem_t * elem, long * min, long * max) { snd_mixer_selem_get_playback_volume_range_INDEXED packed_data; packed_data.func = snd_mixer_selem_get_playback_volume_range_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9586,9 +10547,10 @@ int snd_mixer_selem_get_playback_volume_range(snd_mixer_elem_t * elem, long * mi syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_get_playback_volume_range(snd_mixer_elem_t * elem, long * min, long * max) __attribute__((alias("glshim_snd_mixer_selem_get_playback_volume_range"))); #endif #if !defined(skip_client_snd_mixer_selem_has_capture_channel) && !defined(skip_index_snd_mixer_selem_has_capture_channel) -int snd_mixer_selem_has_capture_channel(snd_mixer_elem_t * obj, snd_mixer_selem_channel_id_t channel) { +int glshim_snd_mixer_selem_has_capture_channel(snd_mixer_elem_t * obj, snd_mixer_selem_channel_id_t channel) { snd_mixer_selem_has_capture_channel_INDEXED packed_data; packed_data.func = snd_mixer_selem_has_capture_channel_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)obj; @@ -9597,9 +10559,10 @@ int snd_mixer_selem_has_capture_channel(snd_mixer_elem_t * obj, snd_mixer_selem_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_has_capture_channel(snd_mixer_elem_t * obj, snd_mixer_selem_channel_id_t channel) __attribute__((alias("glshim_snd_mixer_selem_has_capture_channel"))); #endif #if !defined(skip_client_snd_mixer_selem_has_capture_switch) && !defined(skip_index_snd_mixer_selem_has_capture_switch) -int snd_mixer_selem_has_capture_switch(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_has_capture_switch(snd_mixer_elem_t * elem) { snd_mixer_selem_has_capture_switch_INDEXED packed_data; packed_data.func = snd_mixer_selem_has_capture_switch_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9607,9 +10570,10 @@ int snd_mixer_selem_has_capture_switch(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_has_capture_switch(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_has_capture_switch"))); #endif #if !defined(skip_client_snd_mixer_selem_has_capture_switch_exclusive) && !defined(skip_index_snd_mixer_selem_has_capture_switch_exclusive) -int snd_mixer_selem_has_capture_switch_exclusive(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_has_capture_switch_exclusive(snd_mixer_elem_t * elem) { snd_mixer_selem_has_capture_switch_exclusive_INDEXED packed_data; packed_data.func = snd_mixer_selem_has_capture_switch_exclusive_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9617,9 +10581,10 @@ int snd_mixer_selem_has_capture_switch_exclusive(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_has_capture_switch_exclusive(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_has_capture_switch_exclusive"))); #endif #if !defined(skip_client_snd_mixer_selem_has_capture_switch_joined) && !defined(skip_index_snd_mixer_selem_has_capture_switch_joined) -int snd_mixer_selem_has_capture_switch_joined(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_has_capture_switch_joined(snd_mixer_elem_t * elem) { snd_mixer_selem_has_capture_switch_joined_INDEXED packed_data; packed_data.func = snd_mixer_selem_has_capture_switch_joined_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9627,9 +10592,10 @@ int snd_mixer_selem_has_capture_switch_joined(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_has_capture_switch_joined(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_has_capture_switch_joined"))); #endif #if !defined(skip_client_snd_mixer_selem_has_capture_volume) && !defined(skip_index_snd_mixer_selem_has_capture_volume) -int snd_mixer_selem_has_capture_volume(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_has_capture_volume(snd_mixer_elem_t * elem) { snd_mixer_selem_has_capture_volume_INDEXED packed_data; packed_data.func = snd_mixer_selem_has_capture_volume_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9637,9 +10603,10 @@ int snd_mixer_selem_has_capture_volume(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_has_capture_volume(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_has_capture_volume"))); #endif #if !defined(skip_client_snd_mixer_selem_has_capture_volume_joined) && !defined(skip_index_snd_mixer_selem_has_capture_volume_joined) -int snd_mixer_selem_has_capture_volume_joined(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_has_capture_volume_joined(snd_mixer_elem_t * elem) { snd_mixer_selem_has_capture_volume_joined_INDEXED packed_data; packed_data.func = snd_mixer_selem_has_capture_volume_joined_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9647,9 +10614,10 @@ int snd_mixer_selem_has_capture_volume_joined(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_has_capture_volume_joined(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_has_capture_volume_joined"))); #endif #if !defined(skip_client_snd_mixer_selem_has_common_switch) && !defined(skip_index_snd_mixer_selem_has_common_switch) -int snd_mixer_selem_has_common_switch(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_has_common_switch(snd_mixer_elem_t * elem) { snd_mixer_selem_has_common_switch_INDEXED packed_data; packed_data.func = snd_mixer_selem_has_common_switch_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9657,9 +10625,10 @@ int snd_mixer_selem_has_common_switch(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_has_common_switch(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_has_common_switch"))); #endif #if !defined(skip_client_snd_mixer_selem_has_common_volume) && !defined(skip_index_snd_mixer_selem_has_common_volume) -int snd_mixer_selem_has_common_volume(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_has_common_volume(snd_mixer_elem_t * elem) { snd_mixer_selem_has_common_volume_INDEXED packed_data; packed_data.func = snd_mixer_selem_has_common_volume_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9667,9 +10636,10 @@ int snd_mixer_selem_has_common_volume(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_has_common_volume(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_has_common_volume"))); #endif #if !defined(skip_client_snd_mixer_selem_has_playback_channel) && !defined(skip_index_snd_mixer_selem_has_playback_channel) -int snd_mixer_selem_has_playback_channel(snd_mixer_elem_t * obj, snd_mixer_selem_channel_id_t channel) { +int glshim_snd_mixer_selem_has_playback_channel(snd_mixer_elem_t * obj, snd_mixer_selem_channel_id_t channel) { snd_mixer_selem_has_playback_channel_INDEXED packed_data; packed_data.func = snd_mixer_selem_has_playback_channel_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)obj; @@ -9678,9 +10648,10 @@ int snd_mixer_selem_has_playback_channel(snd_mixer_elem_t * obj, snd_mixer_selem syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_has_playback_channel(snd_mixer_elem_t * obj, snd_mixer_selem_channel_id_t channel) __attribute__((alias("glshim_snd_mixer_selem_has_playback_channel"))); #endif #if !defined(skip_client_snd_mixer_selem_has_playback_switch) && !defined(skip_index_snd_mixer_selem_has_playback_switch) -int snd_mixer_selem_has_playback_switch(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_has_playback_switch(snd_mixer_elem_t * elem) { snd_mixer_selem_has_playback_switch_INDEXED packed_data; packed_data.func = snd_mixer_selem_has_playback_switch_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9688,9 +10659,10 @@ int snd_mixer_selem_has_playback_switch(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_has_playback_switch(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_has_playback_switch"))); #endif #if !defined(skip_client_snd_mixer_selem_has_playback_switch_joined) && !defined(skip_index_snd_mixer_selem_has_playback_switch_joined) -int snd_mixer_selem_has_playback_switch_joined(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_has_playback_switch_joined(snd_mixer_elem_t * elem) { snd_mixer_selem_has_playback_switch_joined_INDEXED packed_data; packed_data.func = snd_mixer_selem_has_playback_switch_joined_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9698,9 +10670,10 @@ int snd_mixer_selem_has_playback_switch_joined(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_has_playback_switch_joined(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_has_playback_switch_joined"))); #endif #if !defined(skip_client_snd_mixer_selem_has_playback_volume) && !defined(skip_index_snd_mixer_selem_has_playback_volume) -int snd_mixer_selem_has_playback_volume(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_has_playback_volume(snd_mixer_elem_t * elem) { snd_mixer_selem_has_playback_volume_INDEXED packed_data; packed_data.func = snd_mixer_selem_has_playback_volume_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9708,9 +10681,10 @@ int snd_mixer_selem_has_playback_volume(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_has_playback_volume(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_has_playback_volume"))); #endif #if !defined(skip_client_snd_mixer_selem_has_playback_volume_joined) && !defined(skip_index_snd_mixer_selem_has_playback_volume_joined) -int snd_mixer_selem_has_playback_volume_joined(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_has_playback_volume_joined(snd_mixer_elem_t * elem) { snd_mixer_selem_has_playback_volume_joined_INDEXED packed_data; packed_data.func = snd_mixer_selem_has_playback_volume_joined_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9718,26 +10692,29 @@ int snd_mixer_selem_has_playback_volume_joined(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_has_playback_volume_joined(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_has_playback_volume_joined"))); #endif #if !defined(skip_client_snd_mixer_selem_id_copy) && !defined(skip_index_snd_mixer_selem_id_copy) -void snd_mixer_selem_id_copy(snd_mixer_selem_id_t * dst, const snd_mixer_selem_id_t * src) { +void glshim_snd_mixer_selem_id_copy(snd_mixer_selem_id_t * dst, const snd_mixer_selem_id_t * src) { snd_mixer_selem_id_copy_INDEXED packed_data; packed_data.func = snd_mixer_selem_id_copy_INDEX; packed_data.args.a1 = (snd_mixer_selem_id_t *)dst; packed_data.args.a2 = (snd_mixer_selem_id_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_mixer_selem_id_copy(snd_mixer_selem_id_t * dst, const snd_mixer_selem_id_t * src) __attribute__((alias("glshim_snd_mixer_selem_id_copy"))); #endif #if !defined(skip_client_snd_mixer_selem_id_free) && !defined(skip_index_snd_mixer_selem_id_free) -void snd_mixer_selem_id_free(snd_mixer_selem_id_t * obj) { +void glshim_snd_mixer_selem_id_free(snd_mixer_selem_id_t * obj) { snd_mixer_selem_id_free_INDEXED packed_data; packed_data.func = snd_mixer_selem_id_free_INDEX; packed_data.args.a1 = (snd_mixer_selem_id_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_mixer_selem_id_free(snd_mixer_selem_id_t * obj) __attribute__((alias("glshim_snd_mixer_selem_id_free"))); #endif #if !defined(skip_client_snd_mixer_selem_id_get_index) && !defined(skip_index_snd_mixer_selem_id_get_index) -unsigned int snd_mixer_selem_id_get_index(const snd_mixer_selem_id_t * obj) { +unsigned int glshim_snd_mixer_selem_id_get_index(const snd_mixer_selem_id_t * obj) { snd_mixer_selem_id_get_index_INDEXED packed_data; packed_data.func = snd_mixer_selem_id_get_index_INDEX; packed_data.args.a1 = (snd_mixer_selem_id_t *)obj; @@ -9745,9 +10722,10 @@ unsigned int snd_mixer_selem_id_get_index(const snd_mixer_selem_id_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_mixer_selem_id_get_index(const snd_mixer_selem_id_t * obj) __attribute__((alias("glshim_snd_mixer_selem_id_get_index"))); #endif #if !defined(skip_client_snd_mixer_selem_id_get_name) && !defined(skip_index_snd_mixer_selem_id_get_name) -const char * snd_mixer_selem_id_get_name(const snd_mixer_selem_id_t * obj) { +const char * glshim_snd_mixer_selem_id_get_name(const snd_mixer_selem_id_t * obj) { snd_mixer_selem_id_get_name_INDEXED packed_data; packed_data.func = snd_mixer_selem_id_get_name_INDEX; packed_data.args.a1 = (snd_mixer_selem_id_t *)obj; @@ -9755,9 +10733,10 @@ const char * snd_mixer_selem_id_get_name(const snd_mixer_selem_id_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_mixer_selem_id_get_name(const snd_mixer_selem_id_t * obj) __attribute__((alias("glshim_snd_mixer_selem_id_get_name"))); #endif #if !defined(skip_client_snd_mixer_selem_id_malloc) && !defined(skip_index_snd_mixer_selem_id_malloc) -int snd_mixer_selem_id_malloc(snd_mixer_selem_id_t ** ptr) { +int glshim_snd_mixer_selem_id_malloc(snd_mixer_selem_id_t ** ptr) { snd_mixer_selem_id_malloc_INDEXED packed_data; packed_data.func = snd_mixer_selem_id_malloc_INDEX; packed_data.args.a1 = (snd_mixer_selem_id_t **)ptr; @@ -9765,36 +10744,40 @@ int snd_mixer_selem_id_malloc(snd_mixer_selem_id_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_id_malloc(snd_mixer_selem_id_t ** ptr) __attribute__((alias("glshim_snd_mixer_selem_id_malloc"))); #endif #if !defined(skip_client_snd_mixer_selem_id_set_index) && !defined(skip_index_snd_mixer_selem_id_set_index) -void snd_mixer_selem_id_set_index(snd_mixer_selem_id_t * obj, unsigned int val) { +void glshim_snd_mixer_selem_id_set_index(snd_mixer_selem_id_t * obj, unsigned int val) { snd_mixer_selem_id_set_index_INDEXED packed_data; packed_data.func = snd_mixer_selem_id_set_index_INDEX; packed_data.args.a1 = (snd_mixer_selem_id_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_mixer_selem_id_set_index(snd_mixer_selem_id_t * obj, unsigned int val) __attribute__((alias("glshim_snd_mixer_selem_id_set_index"))); #endif #if !defined(skip_client_snd_mixer_selem_id_set_name) && !defined(skip_index_snd_mixer_selem_id_set_name) -void snd_mixer_selem_id_set_name(snd_mixer_selem_id_t * obj, const char * val) { +void glshim_snd_mixer_selem_id_set_name(snd_mixer_selem_id_t * obj, const char * val) { snd_mixer_selem_id_set_name_INDEXED packed_data; packed_data.func = snd_mixer_selem_id_set_name_INDEX; packed_data.args.a1 = (snd_mixer_selem_id_t *)obj; packed_data.args.a2 = (char *)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_mixer_selem_id_set_name(snd_mixer_selem_id_t * obj, const char * val) __attribute__((alias("glshim_snd_mixer_selem_id_set_name"))); #endif #if !defined(skip_client_snd_mixer_selem_id_sizeof) && !defined(skip_index_snd_mixer_selem_id_sizeof) -size_t snd_mixer_selem_id_sizeof() { +size_t glshim_snd_mixer_selem_id_sizeof() { snd_mixer_selem_id_sizeof_INDEXED packed_data; packed_data.func = snd_mixer_selem_id_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_mixer_selem_id_sizeof() __attribute__((alias("glshim_snd_mixer_selem_id_sizeof"))); #endif #if !defined(skip_client_snd_mixer_selem_is_active) && !defined(skip_index_snd_mixer_selem_is_active) -int snd_mixer_selem_is_active(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_is_active(snd_mixer_elem_t * elem) { snd_mixer_selem_is_active_INDEXED packed_data; packed_data.func = snd_mixer_selem_is_active_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9802,9 +10785,10 @@ int snd_mixer_selem_is_active(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_is_active(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_is_active"))); #endif #if !defined(skip_client_snd_mixer_selem_is_capture_mono) && !defined(skip_index_snd_mixer_selem_is_capture_mono) -int snd_mixer_selem_is_capture_mono(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_is_capture_mono(snd_mixer_elem_t * elem) { snd_mixer_selem_is_capture_mono_INDEXED packed_data; packed_data.func = snd_mixer_selem_is_capture_mono_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9812,9 +10796,10 @@ int snd_mixer_selem_is_capture_mono(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_is_capture_mono(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_is_capture_mono"))); #endif #if !defined(skip_client_snd_mixer_selem_is_enum_capture) && !defined(skip_index_snd_mixer_selem_is_enum_capture) -int snd_mixer_selem_is_enum_capture(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_is_enum_capture(snd_mixer_elem_t * elem) { snd_mixer_selem_is_enum_capture_INDEXED packed_data; packed_data.func = snd_mixer_selem_is_enum_capture_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9822,9 +10807,10 @@ int snd_mixer_selem_is_enum_capture(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_is_enum_capture(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_is_enum_capture"))); #endif #if !defined(skip_client_snd_mixer_selem_is_enum_playback) && !defined(skip_index_snd_mixer_selem_is_enum_playback) -int snd_mixer_selem_is_enum_playback(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_is_enum_playback(snd_mixer_elem_t * elem) { snd_mixer_selem_is_enum_playback_INDEXED packed_data; packed_data.func = snd_mixer_selem_is_enum_playback_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9832,9 +10818,10 @@ int snd_mixer_selem_is_enum_playback(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_is_enum_playback(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_is_enum_playback"))); #endif #if !defined(skip_client_snd_mixer_selem_is_enumerated) && !defined(skip_index_snd_mixer_selem_is_enumerated) -int snd_mixer_selem_is_enumerated(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_is_enumerated(snd_mixer_elem_t * elem) { snd_mixer_selem_is_enumerated_INDEXED packed_data; packed_data.func = snd_mixer_selem_is_enumerated_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9842,9 +10829,10 @@ int snd_mixer_selem_is_enumerated(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_is_enumerated(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_is_enumerated"))); #endif #if !defined(skip_client_snd_mixer_selem_is_playback_mono) && !defined(skip_index_snd_mixer_selem_is_playback_mono) -int snd_mixer_selem_is_playback_mono(snd_mixer_elem_t * elem) { +int glshim_snd_mixer_selem_is_playback_mono(snd_mixer_elem_t * elem) { snd_mixer_selem_is_playback_mono_INDEXED packed_data; packed_data.func = snd_mixer_selem_is_playback_mono_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9852,9 +10840,10 @@ int snd_mixer_selem_is_playback_mono(snd_mixer_elem_t * elem) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_is_playback_mono(snd_mixer_elem_t * elem) __attribute__((alias("glshim_snd_mixer_selem_is_playback_mono"))); #endif #if !defined(skip_client_snd_mixer_selem_register) && !defined(skip_index_snd_mixer_selem_register) -int snd_mixer_selem_register(snd_mixer_t * mixer, struct snd_mixer_selem_regopt * options, snd_mixer_class_t ** classp) { +int glshim_snd_mixer_selem_register(snd_mixer_t * mixer, struct snd_mixer_selem_regopt * options, snd_mixer_class_t ** classp) { snd_mixer_selem_register_INDEXED packed_data; packed_data.func = snd_mixer_selem_register_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -9864,9 +10853,10 @@ int snd_mixer_selem_register(snd_mixer_t * mixer, struct snd_mixer_selem_regopt syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_register(snd_mixer_t * mixer, struct snd_mixer_selem_regopt * options, snd_mixer_class_t ** classp) __attribute__((alias("glshim_snd_mixer_selem_register"))); #endif #if !defined(skip_client_snd_mixer_selem_set_capture_dB) && !defined(skip_index_snd_mixer_selem_set_capture_dB) -int snd_mixer_selem_set_capture_dB(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long value, int dir) { +int glshim_snd_mixer_selem_set_capture_dB(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long value, int dir) { snd_mixer_selem_set_capture_dB_INDEXED packed_data; packed_data.func = snd_mixer_selem_set_capture_dB_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9877,9 +10867,10 @@ int snd_mixer_selem_set_capture_dB(snd_mixer_elem_t * elem, snd_mixer_selem_chan syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_set_capture_dB(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long value, int dir) __attribute__((alias("glshim_snd_mixer_selem_set_capture_dB"))); #endif #if !defined(skip_client_snd_mixer_selem_set_capture_dB_all) && !defined(skip_index_snd_mixer_selem_set_capture_dB_all) -int snd_mixer_selem_set_capture_dB_all(snd_mixer_elem_t * elem, long value, int dir) { +int glshim_snd_mixer_selem_set_capture_dB_all(snd_mixer_elem_t * elem, long value, int dir) { snd_mixer_selem_set_capture_dB_all_INDEXED packed_data; packed_data.func = snd_mixer_selem_set_capture_dB_all_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9889,9 +10880,10 @@ int snd_mixer_selem_set_capture_dB_all(snd_mixer_elem_t * elem, long value, int syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_set_capture_dB_all(snd_mixer_elem_t * elem, long value, int dir) __attribute__((alias("glshim_snd_mixer_selem_set_capture_dB_all"))); #endif #if !defined(skip_client_snd_mixer_selem_set_capture_switch) && !defined(skip_index_snd_mixer_selem_set_capture_switch) -int snd_mixer_selem_set_capture_switch(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, int value) { +int glshim_snd_mixer_selem_set_capture_switch(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, int value) { snd_mixer_selem_set_capture_switch_INDEXED packed_data; packed_data.func = snd_mixer_selem_set_capture_switch_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9901,9 +10893,10 @@ int snd_mixer_selem_set_capture_switch(snd_mixer_elem_t * elem, snd_mixer_selem_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_set_capture_switch(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, int value) __attribute__((alias("glshim_snd_mixer_selem_set_capture_switch"))); #endif #if !defined(skip_client_snd_mixer_selem_set_capture_switch_all) && !defined(skip_index_snd_mixer_selem_set_capture_switch_all) -int snd_mixer_selem_set_capture_switch_all(snd_mixer_elem_t * elem, int value) { +int glshim_snd_mixer_selem_set_capture_switch_all(snd_mixer_elem_t * elem, int value) { snd_mixer_selem_set_capture_switch_all_INDEXED packed_data; packed_data.func = snd_mixer_selem_set_capture_switch_all_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9912,9 +10905,10 @@ int snd_mixer_selem_set_capture_switch_all(snd_mixer_elem_t * elem, int value) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_set_capture_switch_all(snd_mixer_elem_t * elem, int value) __attribute__((alias("glshim_snd_mixer_selem_set_capture_switch_all"))); #endif #if !defined(skip_client_snd_mixer_selem_set_capture_volume) && !defined(skip_index_snd_mixer_selem_set_capture_volume) -int snd_mixer_selem_set_capture_volume(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long value) { +int glshim_snd_mixer_selem_set_capture_volume(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long value) { snd_mixer_selem_set_capture_volume_INDEXED packed_data; packed_data.func = snd_mixer_selem_set_capture_volume_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9924,9 +10918,10 @@ int snd_mixer_selem_set_capture_volume(snd_mixer_elem_t * elem, snd_mixer_selem_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_set_capture_volume(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long value) __attribute__((alias("glshim_snd_mixer_selem_set_capture_volume"))); #endif #if !defined(skip_client_snd_mixer_selem_set_capture_volume_all) && !defined(skip_index_snd_mixer_selem_set_capture_volume_all) -int snd_mixer_selem_set_capture_volume_all(snd_mixer_elem_t * elem, long value) { +int glshim_snd_mixer_selem_set_capture_volume_all(snd_mixer_elem_t * elem, long value) { snd_mixer_selem_set_capture_volume_all_INDEXED packed_data; packed_data.func = snd_mixer_selem_set_capture_volume_all_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9935,9 +10930,10 @@ int snd_mixer_selem_set_capture_volume_all(snd_mixer_elem_t * elem, long value) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_set_capture_volume_all(snd_mixer_elem_t * elem, long value) __attribute__((alias("glshim_snd_mixer_selem_set_capture_volume_all"))); #endif #if !defined(skip_client_snd_mixer_selem_set_capture_volume_range) && !defined(skip_index_snd_mixer_selem_set_capture_volume_range) -int snd_mixer_selem_set_capture_volume_range(snd_mixer_elem_t * elem, long min, long max) { +int glshim_snd_mixer_selem_set_capture_volume_range(snd_mixer_elem_t * elem, long min, long max) { snd_mixer_selem_set_capture_volume_range_INDEXED packed_data; packed_data.func = snd_mixer_selem_set_capture_volume_range_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9947,9 +10943,10 @@ int snd_mixer_selem_set_capture_volume_range(snd_mixer_elem_t * elem, long min, syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_set_capture_volume_range(snd_mixer_elem_t * elem, long min, long max) __attribute__((alias("glshim_snd_mixer_selem_set_capture_volume_range"))); #endif #if !defined(skip_client_snd_mixer_selem_set_enum_item) && !defined(skip_index_snd_mixer_selem_set_enum_item) -int snd_mixer_selem_set_enum_item(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, unsigned int idx) { +int glshim_snd_mixer_selem_set_enum_item(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, unsigned int idx) { snd_mixer_selem_set_enum_item_INDEXED packed_data; packed_data.func = snd_mixer_selem_set_enum_item_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9959,9 +10956,10 @@ int snd_mixer_selem_set_enum_item(snd_mixer_elem_t * elem, snd_mixer_selem_chann syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_set_enum_item(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, unsigned int idx) __attribute__((alias("glshim_snd_mixer_selem_set_enum_item"))); #endif #if !defined(skip_client_snd_mixer_selem_set_playback_dB) && !defined(skip_index_snd_mixer_selem_set_playback_dB) -int snd_mixer_selem_set_playback_dB(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long value, int dir) { +int glshim_snd_mixer_selem_set_playback_dB(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long value, int dir) { snd_mixer_selem_set_playback_dB_INDEXED packed_data; packed_data.func = snd_mixer_selem_set_playback_dB_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9972,9 +10970,10 @@ int snd_mixer_selem_set_playback_dB(snd_mixer_elem_t * elem, snd_mixer_selem_cha syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_set_playback_dB(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long value, int dir) __attribute__((alias("glshim_snd_mixer_selem_set_playback_dB"))); #endif #if !defined(skip_client_snd_mixer_selem_set_playback_dB_all) && !defined(skip_index_snd_mixer_selem_set_playback_dB_all) -int snd_mixer_selem_set_playback_dB_all(snd_mixer_elem_t * elem, long value, int dir) { +int glshim_snd_mixer_selem_set_playback_dB_all(snd_mixer_elem_t * elem, long value, int dir) { snd_mixer_selem_set_playback_dB_all_INDEXED packed_data; packed_data.func = snd_mixer_selem_set_playback_dB_all_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9984,9 +10983,10 @@ int snd_mixer_selem_set_playback_dB_all(snd_mixer_elem_t * elem, long value, int syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_set_playback_dB_all(snd_mixer_elem_t * elem, long value, int dir) __attribute__((alias("glshim_snd_mixer_selem_set_playback_dB_all"))); #endif #if !defined(skip_client_snd_mixer_selem_set_playback_switch) && !defined(skip_index_snd_mixer_selem_set_playback_switch) -int snd_mixer_selem_set_playback_switch(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, int value) { +int glshim_snd_mixer_selem_set_playback_switch(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, int value) { snd_mixer_selem_set_playback_switch_INDEXED packed_data; packed_data.func = snd_mixer_selem_set_playback_switch_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -9996,9 +10996,10 @@ int snd_mixer_selem_set_playback_switch(snd_mixer_elem_t * elem, snd_mixer_selem syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_set_playback_switch(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, int value) __attribute__((alias("glshim_snd_mixer_selem_set_playback_switch"))); #endif #if !defined(skip_client_snd_mixer_selem_set_playback_switch_all) && !defined(skip_index_snd_mixer_selem_set_playback_switch_all) -int snd_mixer_selem_set_playback_switch_all(snd_mixer_elem_t * elem, int value) { +int glshim_snd_mixer_selem_set_playback_switch_all(snd_mixer_elem_t * elem, int value) { snd_mixer_selem_set_playback_switch_all_INDEXED packed_data; packed_data.func = snd_mixer_selem_set_playback_switch_all_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -10007,9 +11008,10 @@ int snd_mixer_selem_set_playback_switch_all(snd_mixer_elem_t * elem, int value) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_set_playback_switch_all(snd_mixer_elem_t * elem, int value) __attribute__((alias("glshim_snd_mixer_selem_set_playback_switch_all"))); #endif #if !defined(skip_client_snd_mixer_selem_set_playback_volume) && !defined(skip_index_snd_mixer_selem_set_playback_volume) -int snd_mixer_selem_set_playback_volume(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long value) { +int glshim_snd_mixer_selem_set_playback_volume(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long value) { snd_mixer_selem_set_playback_volume_INDEXED packed_data; packed_data.func = snd_mixer_selem_set_playback_volume_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -10019,9 +11021,10 @@ int snd_mixer_selem_set_playback_volume(snd_mixer_elem_t * elem, snd_mixer_selem syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_set_playback_volume(snd_mixer_elem_t * elem, snd_mixer_selem_channel_id_t channel, long value) __attribute__((alias("glshim_snd_mixer_selem_set_playback_volume"))); #endif #if !defined(skip_client_snd_mixer_selem_set_playback_volume_all) && !defined(skip_index_snd_mixer_selem_set_playback_volume_all) -int snd_mixer_selem_set_playback_volume_all(snd_mixer_elem_t * elem, long value) { +int glshim_snd_mixer_selem_set_playback_volume_all(snd_mixer_elem_t * elem, long value) { snd_mixer_selem_set_playback_volume_all_INDEXED packed_data; packed_data.func = snd_mixer_selem_set_playback_volume_all_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -10030,9 +11033,10 @@ int snd_mixer_selem_set_playback_volume_all(snd_mixer_elem_t * elem, long value) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_set_playback_volume_all(snd_mixer_elem_t * elem, long value) __attribute__((alias("glshim_snd_mixer_selem_set_playback_volume_all"))); #endif #if !defined(skip_client_snd_mixer_selem_set_playback_volume_range) && !defined(skip_index_snd_mixer_selem_set_playback_volume_range) -int snd_mixer_selem_set_playback_volume_range(snd_mixer_elem_t * elem, long min, long max) { +int glshim_snd_mixer_selem_set_playback_volume_range(snd_mixer_elem_t * elem, long min, long max) { snd_mixer_selem_set_playback_volume_range_INDEXED packed_data; packed_data.func = snd_mixer_selem_set_playback_volume_range_INDEX; packed_data.args.a1 = (snd_mixer_elem_t *)elem; @@ -10042,27 +11046,30 @@ int snd_mixer_selem_set_playback_volume_range(snd_mixer_elem_t * elem, long min, syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_selem_set_playback_volume_range(snd_mixer_elem_t * elem, long min, long max) __attribute__((alias("glshim_snd_mixer_selem_set_playback_volume_range"))); #endif #if !defined(skip_client_snd_mixer_set_callback) && !defined(skip_index_snd_mixer_set_callback) -void snd_mixer_set_callback(snd_mixer_t * obj, snd_mixer_callback_t val) { +void glshim_snd_mixer_set_callback(snd_mixer_t * obj, snd_mixer_callback_t val) { snd_mixer_set_callback_INDEXED packed_data; packed_data.func = snd_mixer_set_callback_INDEX; packed_data.args.a1 = (snd_mixer_t *)obj; packed_data.args.a2 = (snd_mixer_callback_t)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_mixer_set_callback(snd_mixer_t * obj, snd_mixer_callback_t val) __attribute__((alias("glshim_snd_mixer_set_callback"))); #endif #if !defined(skip_client_snd_mixer_set_callback_private) && !defined(skip_index_snd_mixer_set_callback_private) -void snd_mixer_set_callback_private(snd_mixer_t * obj, void * val) { +void glshim_snd_mixer_set_callback_private(snd_mixer_t * obj, void * val) { snd_mixer_set_callback_private_INDEXED packed_data; packed_data.func = snd_mixer_set_callback_private_INDEX; packed_data.args.a1 = (snd_mixer_t *)obj; packed_data.args.a2 = (void *)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_mixer_set_callback_private(snd_mixer_t * obj, void * val) __attribute__((alias("glshim_snd_mixer_set_callback_private"))); #endif #if !defined(skip_client_snd_mixer_set_compare) && !defined(skip_index_snd_mixer_set_compare) -int snd_mixer_set_compare(snd_mixer_t * mixer, snd_mixer_compare_t msort) { +int glshim_snd_mixer_set_compare(snd_mixer_t * mixer, snd_mixer_compare_t msort) { snd_mixer_set_compare_INDEXED packed_data; packed_data.func = snd_mixer_set_compare_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -10071,9 +11078,10 @@ int snd_mixer_set_compare(snd_mixer_t * mixer, snd_mixer_compare_t msort) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_set_compare(snd_mixer_t * mixer, snd_mixer_compare_t msort) __attribute__((alias("glshim_snd_mixer_set_compare"))); #endif #if !defined(skip_client_snd_mixer_wait) && !defined(skip_index_snd_mixer_wait) -int snd_mixer_wait(snd_mixer_t * mixer, int timeout) { +int glshim_snd_mixer_wait(snd_mixer_t * mixer, int timeout) { snd_mixer_wait_INDEXED packed_data; packed_data.func = snd_mixer_wait_INDEX; packed_data.args.a1 = (snd_mixer_t *)mixer; @@ -10082,9 +11090,10 @@ int snd_mixer_wait(snd_mixer_t * mixer, int timeout) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_mixer_wait(snd_mixer_t * mixer, int timeout) __attribute__((alias("glshim_snd_mixer_wait"))); #endif #if !defined(skip_client_snd_names_list) && !defined(skip_index_snd_names_list) -int snd_names_list(const char * iface, snd_devname_t ** list) { +int glshim_snd_names_list(const char * iface, snd_devname_t ** list) { snd_names_list_INDEXED packed_data; packed_data.func = snd_names_list_INDEX; packed_data.args.a1 = (char *)iface; @@ -10093,17 +11102,19 @@ int snd_names_list(const char * iface, snd_devname_t ** list) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_names_list(const char * iface, snd_devname_t ** list) __attribute__((alias("glshim_snd_names_list"))); #endif #if !defined(skip_client_snd_names_list_free) && !defined(skip_index_snd_names_list_free) -void snd_names_list_free(snd_devname_t * list) { +void glshim_snd_names_list_free(snd_devname_t * list) { snd_names_list_free_INDEXED packed_data; packed_data.func = snd_names_list_free_INDEX; packed_data.args.a1 = (snd_devname_t *)list; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_names_list_free(snd_devname_t * list) __attribute__((alias("glshim_snd_names_list_free"))); #endif #if !defined(skip_client_snd_output_buffer_open) && !defined(skip_index_snd_output_buffer_open) -int snd_output_buffer_open(snd_output_t ** outputp) { +int glshim_snd_output_buffer_open(snd_output_t ** outputp) { snd_output_buffer_open_INDEXED packed_data; packed_data.func = snd_output_buffer_open_INDEX; packed_data.args.a1 = (snd_output_t **)outputp; @@ -10111,9 +11122,10 @@ int snd_output_buffer_open(snd_output_t ** outputp) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_output_buffer_open(snd_output_t ** outputp) __attribute__((alias("glshim_snd_output_buffer_open"))); #endif #if !defined(skip_client_snd_output_buffer_string) && !defined(skip_index_snd_output_buffer_string) -size_t snd_output_buffer_string(snd_output_t * output, char ** buf) { +size_t glshim_snd_output_buffer_string(snd_output_t * output, char ** buf) { snd_output_buffer_string_INDEXED packed_data; packed_data.func = snd_output_buffer_string_INDEX; packed_data.args.a1 = (snd_output_t *)output; @@ -10122,9 +11134,10 @@ size_t snd_output_buffer_string(snd_output_t * output, char ** buf) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_output_buffer_string(snd_output_t * output, char ** buf) __attribute__((alias("glshim_snd_output_buffer_string"))); #endif #if !defined(skip_client_snd_output_close) && !defined(skip_index_snd_output_close) -int snd_output_close(snd_output_t * output) { +int glshim_snd_output_close(snd_output_t * output) { snd_output_close_INDEXED packed_data; packed_data.func = snd_output_close_INDEX; packed_data.args.a1 = (snd_output_t *)output; @@ -10132,9 +11145,10 @@ int snd_output_close(snd_output_t * output) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_output_close(snd_output_t * output) __attribute__((alias("glshim_snd_output_close"))); #endif #if !defined(skip_client_snd_output_flush) && !defined(skip_index_snd_output_flush) -int snd_output_flush(snd_output_t * output) { +int glshim_snd_output_flush(snd_output_t * output) { snd_output_flush_INDEXED packed_data; packed_data.func = snd_output_flush_INDEX; packed_data.args.a1 = (snd_output_t *)output; @@ -10142,9 +11156,10 @@ int snd_output_flush(snd_output_t * output) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_output_flush(snd_output_t * output) __attribute__((alias("glshim_snd_output_flush"))); #endif #if !defined(skip_client_snd_output_putc) && !defined(skip_index_snd_output_putc) -int snd_output_putc(snd_output_t * output, int c) { +int glshim_snd_output_putc(snd_output_t * output, int c) { snd_output_putc_INDEXED packed_data; packed_data.func = snd_output_putc_INDEX; packed_data.args.a1 = (snd_output_t *)output; @@ -10153,9 +11168,10 @@ int snd_output_putc(snd_output_t * output, int c) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_output_putc(snd_output_t * output, int c) __attribute__((alias("glshim_snd_output_putc"))); #endif #if !defined(skip_client_snd_output_puts) && !defined(skip_index_snd_output_puts) -int snd_output_puts(snd_output_t * output, const char * str) { +int glshim_snd_output_puts(snd_output_t * output, const char * str) { snd_output_puts_INDEXED packed_data; packed_data.func = snd_output_puts_INDEX; packed_data.args.a1 = (snd_output_t *)output; @@ -10164,9 +11180,10 @@ int snd_output_puts(snd_output_t * output, const char * str) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_output_puts(snd_output_t * output, const char * str) __attribute__((alias("glshim_snd_output_puts"))); #endif #if !defined(skip_client_snd_output_stdio_attach) && !defined(skip_index_snd_output_stdio_attach) -int snd_output_stdio_attach(snd_output_t ** outputp, FILE * fp, int _close) { +int glshim_snd_output_stdio_attach(snd_output_t ** outputp, FILE * fp, int _close) { snd_output_stdio_attach_INDEXED packed_data; packed_data.func = snd_output_stdio_attach_INDEX; packed_data.args.a1 = (snd_output_t **)outputp; @@ -10176,9 +11193,10 @@ int snd_output_stdio_attach(snd_output_t ** outputp, FILE * fp, int _close) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_output_stdio_attach(snd_output_t ** outputp, FILE * fp, int _close) __attribute__((alias("glshim_snd_output_stdio_attach"))); #endif #if !defined(skip_client_snd_output_stdio_open) && !defined(skip_index_snd_output_stdio_open) -int snd_output_stdio_open(snd_output_t ** outputp, const char * file, const char * mode) { +int glshim_snd_output_stdio_open(snd_output_t ** outputp, const char * file, const char * mode) { snd_output_stdio_open_INDEXED packed_data; packed_data.func = snd_output_stdio_open_INDEX; packed_data.args.a1 = (snd_output_t **)outputp; @@ -10188,9 +11206,10 @@ int snd_output_stdio_open(snd_output_t ** outputp, const char * file, const char syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_output_stdio_open(snd_output_t ** outputp, const char * file, const char * mode) __attribute__((alias("glshim_snd_output_stdio_open"))); #endif #if !defined(skip_client_snd_output_vprintf) && !defined(skip_index_snd_output_vprintf) -int snd_output_vprintf(snd_output_t * output, const char * format, va_list args) { +int glshim_snd_output_vprintf(snd_output_t * output, const char * format, va_list args) { snd_output_vprintf_INDEXED packed_data; packed_data.func = snd_output_vprintf_INDEX; packed_data.args.a1 = (snd_output_t *)output; @@ -10200,26 +11219,29 @@ int snd_output_vprintf(snd_output_t * output, const char * format, va_list args) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_output_vprintf(snd_output_t * output, const char * format, va_list args) __attribute__((alias("glshim_snd_output_vprintf"))); #endif #if !defined(skip_client_snd_pcm_access_mask_any) && !defined(skip_index_snd_pcm_access_mask_any) -void snd_pcm_access_mask_any(snd_pcm_access_mask_t * mask) { +void glshim_snd_pcm_access_mask_any(snd_pcm_access_mask_t * mask) { snd_pcm_access_mask_any_INDEXED packed_data; packed_data.func = snd_pcm_access_mask_any_INDEX; packed_data.args.a1 = (snd_pcm_access_mask_t *)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_access_mask_any(snd_pcm_access_mask_t * mask) __attribute__((alias("glshim_snd_pcm_access_mask_any"))); #endif #if !defined(skip_client_snd_pcm_access_mask_copy) && !defined(skip_index_snd_pcm_access_mask_copy) -void snd_pcm_access_mask_copy(snd_pcm_access_mask_t * dst, const snd_pcm_access_mask_t * src) { +void glshim_snd_pcm_access_mask_copy(snd_pcm_access_mask_t * dst, const snd_pcm_access_mask_t * src) { snd_pcm_access_mask_copy_INDEXED packed_data; packed_data.func = snd_pcm_access_mask_copy_INDEX; packed_data.args.a1 = (snd_pcm_access_mask_t *)dst; packed_data.args.a2 = (snd_pcm_access_mask_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_access_mask_copy(snd_pcm_access_mask_t * dst, const snd_pcm_access_mask_t * src) __attribute__((alias("glshim_snd_pcm_access_mask_copy"))); #endif #if !defined(skip_client_snd_pcm_access_mask_empty) && !defined(skip_index_snd_pcm_access_mask_empty) -int snd_pcm_access_mask_empty(const snd_pcm_access_mask_t * mask) { +int glshim_snd_pcm_access_mask_empty(const snd_pcm_access_mask_t * mask) { snd_pcm_access_mask_empty_INDEXED packed_data; packed_data.func = snd_pcm_access_mask_empty_INDEX; packed_data.args.a1 = (snd_pcm_access_mask_t *)mask; @@ -10227,17 +11249,19 @@ int snd_pcm_access_mask_empty(const snd_pcm_access_mask_t * mask) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_access_mask_empty(const snd_pcm_access_mask_t * mask) __attribute__((alias("glshim_snd_pcm_access_mask_empty"))); #endif #if !defined(skip_client_snd_pcm_access_mask_free) && !defined(skip_index_snd_pcm_access_mask_free) -void snd_pcm_access_mask_free(snd_pcm_access_mask_t * obj) { +void glshim_snd_pcm_access_mask_free(snd_pcm_access_mask_t * obj) { snd_pcm_access_mask_free_INDEXED packed_data; packed_data.func = snd_pcm_access_mask_free_INDEX; packed_data.args.a1 = (snd_pcm_access_mask_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_access_mask_free(snd_pcm_access_mask_t * obj) __attribute__((alias("glshim_snd_pcm_access_mask_free"))); #endif #if !defined(skip_client_snd_pcm_access_mask_malloc) && !defined(skip_index_snd_pcm_access_mask_malloc) -int snd_pcm_access_mask_malloc(snd_pcm_access_mask_t ** ptr) { +int glshim_snd_pcm_access_mask_malloc(snd_pcm_access_mask_t ** ptr) { snd_pcm_access_mask_malloc_INDEXED packed_data; packed_data.func = snd_pcm_access_mask_malloc_INDEX; packed_data.args.a1 = (snd_pcm_access_mask_t **)ptr; @@ -10245,44 +11269,49 @@ int snd_pcm_access_mask_malloc(snd_pcm_access_mask_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_access_mask_malloc(snd_pcm_access_mask_t ** ptr) __attribute__((alias("glshim_snd_pcm_access_mask_malloc"))); #endif #if !defined(skip_client_snd_pcm_access_mask_none) && !defined(skip_index_snd_pcm_access_mask_none) -void snd_pcm_access_mask_none(snd_pcm_access_mask_t * mask) { +void glshim_snd_pcm_access_mask_none(snd_pcm_access_mask_t * mask) { snd_pcm_access_mask_none_INDEXED packed_data; packed_data.func = snd_pcm_access_mask_none_INDEX; packed_data.args.a1 = (snd_pcm_access_mask_t *)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_access_mask_none(snd_pcm_access_mask_t * mask) __attribute__((alias("glshim_snd_pcm_access_mask_none"))); #endif #if !defined(skip_client_snd_pcm_access_mask_reset) && !defined(skip_index_snd_pcm_access_mask_reset) -void snd_pcm_access_mask_reset(snd_pcm_access_mask_t * mask, snd_pcm_access_t val) { +void glshim_snd_pcm_access_mask_reset(snd_pcm_access_mask_t * mask, snd_pcm_access_t val) { snd_pcm_access_mask_reset_INDEXED packed_data; packed_data.func = snd_pcm_access_mask_reset_INDEX; packed_data.args.a1 = (snd_pcm_access_mask_t *)mask; packed_data.args.a2 = (snd_pcm_access_t)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_access_mask_reset(snd_pcm_access_mask_t * mask, snd_pcm_access_t val) __attribute__((alias("glshim_snd_pcm_access_mask_reset"))); #endif #if !defined(skip_client_snd_pcm_access_mask_set) && !defined(skip_index_snd_pcm_access_mask_set) -void snd_pcm_access_mask_set(snd_pcm_access_mask_t * mask, snd_pcm_access_t val) { +void glshim_snd_pcm_access_mask_set(snd_pcm_access_mask_t * mask, snd_pcm_access_t val) { snd_pcm_access_mask_set_INDEXED packed_data; packed_data.func = snd_pcm_access_mask_set_INDEX; packed_data.args.a1 = (snd_pcm_access_mask_t *)mask; packed_data.args.a2 = (snd_pcm_access_t)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_access_mask_set(snd_pcm_access_mask_t * mask, snd_pcm_access_t val) __attribute__((alias("glshim_snd_pcm_access_mask_set"))); #endif #if !defined(skip_client_snd_pcm_access_mask_sizeof) && !defined(skip_index_snd_pcm_access_mask_sizeof) -size_t snd_pcm_access_mask_sizeof() { +size_t glshim_snd_pcm_access_mask_sizeof() { snd_pcm_access_mask_sizeof_INDEXED packed_data; packed_data.func = snd_pcm_access_mask_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_pcm_access_mask_sizeof() __attribute__((alias("glshim_snd_pcm_access_mask_sizeof"))); #endif #if !defined(skip_client_snd_pcm_access_mask_test) && !defined(skip_index_snd_pcm_access_mask_test) -int snd_pcm_access_mask_test(const snd_pcm_access_mask_t * mask, snd_pcm_access_t val) { +int glshim_snd_pcm_access_mask_test(const snd_pcm_access_mask_t * mask, snd_pcm_access_t val) { snd_pcm_access_mask_test_INDEXED packed_data; packed_data.func = snd_pcm_access_mask_test_INDEX; packed_data.args.a1 = (snd_pcm_access_mask_t *)mask; @@ -10291,9 +11320,10 @@ int snd_pcm_access_mask_test(const snd_pcm_access_mask_t * mask, snd_pcm_access_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_access_mask_test(const snd_pcm_access_mask_t * mask, snd_pcm_access_t val) __attribute__((alias("glshim_snd_pcm_access_mask_test"))); #endif #if !defined(skip_client_snd_pcm_access_name) && !defined(skip_index_snd_pcm_access_name) -const char * snd_pcm_access_name(const snd_pcm_access_t _access) { +const char * glshim_snd_pcm_access_name(const snd_pcm_access_t _access) { snd_pcm_access_name_INDEXED packed_data; packed_data.func = snd_pcm_access_name_INDEX; packed_data.args.a1 = (snd_pcm_access_t)_access; @@ -10301,9 +11331,10 @@ const char * snd_pcm_access_name(const snd_pcm_access_t _access) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_access_name(const snd_pcm_access_t _access) __attribute__((alias("glshim_snd_pcm_access_name"))); #endif #if !defined(skip_client_snd_pcm_area_copy) && !defined(skip_index_snd_pcm_area_copy) -int snd_pcm_area_copy(const snd_pcm_channel_area_t * dst_channel, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t * src_channel, snd_pcm_uframes_t src_offset, unsigned int samples, snd_pcm_format_t format) { +int glshim_snd_pcm_area_copy(const snd_pcm_channel_area_t * dst_channel, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t * src_channel, snd_pcm_uframes_t src_offset, unsigned int samples, snd_pcm_format_t format) { snd_pcm_area_copy_INDEXED packed_data; packed_data.func = snd_pcm_area_copy_INDEX; packed_data.args.a1 = (snd_pcm_channel_area_t *)dst_channel; @@ -10316,9 +11347,10 @@ int snd_pcm_area_copy(const snd_pcm_channel_area_t * dst_channel, snd_pcm_uframe syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_area_copy(const snd_pcm_channel_area_t * dst_channel, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t * src_channel, snd_pcm_uframes_t src_offset, unsigned int samples, snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_area_copy"))); #endif #if !defined(skip_client_snd_pcm_area_silence) && !defined(skip_index_snd_pcm_area_silence) -int snd_pcm_area_silence(const snd_pcm_channel_area_t * dst_channel, snd_pcm_uframes_t dst_offset, unsigned int samples, snd_pcm_format_t format) { +int glshim_snd_pcm_area_silence(const snd_pcm_channel_area_t * dst_channel, snd_pcm_uframes_t dst_offset, unsigned int samples, snd_pcm_format_t format) { snd_pcm_area_silence_INDEXED packed_data; packed_data.func = snd_pcm_area_silence_INDEX; packed_data.args.a1 = (snd_pcm_channel_area_t *)dst_channel; @@ -10329,9 +11361,10 @@ int snd_pcm_area_silence(const snd_pcm_channel_area_t * dst_channel, snd_pcm_ufr syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_area_silence(const snd_pcm_channel_area_t * dst_channel, snd_pcm_uframes_t dst_offset, unsigned int samples, snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_area_silence"))); #endif #if !defined(skip_client_snd_pcm_areas_copy) && !defined(skip_index_snd_pcm_areas_copy) -int snd_pcm_areas_copy(const snd_pcm_channel_area_t * dst_channels, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t * src_channels, snd_pcm_uframes_t src_offset, unsigned int channels, snd_pcm_uframes_t frames, snd_pcm_format_t format) { +int glshim_snd_pcm_areas_copy(const snd_pcm_channel_area_t * dst_channels, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t * src_channels, snd_pcm_uframes_t src_offset, unsigned int channels, snd_pcm_uframes_t frames, snd_pcm_format_t format) { snd_pcm_areas_copy_INDEXED packed_data; packed_data.func = snd_pcm_areas_copy_INDEX; packed_data.args.a1 = (snd_pcm_channel_area_t *)dst_channels; @@ -10345,9 +11378,10 @@ int snd_pcm_areas_copy(const snd_pcm_channel_area_t * dst_channels, snd_pcm_ufra syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_areas_copy(const snd_pcm_channel_area_t * dst_channels, snd_pcm_uframes_t dst_offset, const snd_pcm_channel_area_t * src_channels, snd_pcm_uframes_t src_offset, unsigned int channels, snd_pcm_uframes_t frames, snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_areas_copy"))); #endif #if !defined(skip_client_snd_pcm_areas_silence) && !defined(skip_index_snd_pcm_areas_silence) -int snd_pcm_areas_silence(const snd_pcm_channel_area_t * dst_channels, snd_pcm_uframes_t dst_offset, unsigned int channels, snd_pcm_uframes_t frames, snd_pcm_format_t format) { +int glshim_snd_pcm_areas_silence(const snd_pcm_channel_area_t * dst_channels, snd_pcm_uframes_t dst_offset, unsigned int channels, snd_pcm_uframes_t frames, snd_pcm_format_t format) { snd_pcm_areas_silence_INDEXED packed_data; packed_data.func = snd_pcm_areas_silence_INDEX; packed_data.args.a1 = (snd_pcm_channel_area_t *)dst_channels; @@ -10359,9 +11393,10 @@ int snd_pcm_areas_silence(const snd_pcm_channel_area_t * dst_channels, snd_pcm_u syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_areas_silence(const snd_pcm_channel_area_t * dst_channels, snd_pcm_uframes_t dst_offset, unsigned int channels, snd_pcm_uframes_t frames, snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_areas_silence"))); #endif #if !defined(skip_client_snd_pcm_avail_update) && !defined(skip_index_snd_pcm_avail_update) -snd_pcm_sframes_t snd_pcm_avail_update(snd_pcm_t * pcm) { +snd_pcm_sframes_t glshim_snd_pcm_avail_update(snd_pcm_t * pcm) { snd_pcm_avail_update_INDEXED packed_data; packed_data.func = snd_pcm_avail_update_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10369,9 +11404,10 @@ snd_pcm_sframes_t snd_pcm_avail_update(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_sframes_t snd_pcm_avail_update(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_avail_update"))); #endif #if !defined(skip_client_snd_pcm_build_linear_format) && !defined(skip_index_snd_pcm_build_linear_format) -snd_pcm_format_t snd_pcm_build_linear_format(int width, int pwidth, int unsignd, int big_endian) { +snd_pcm_format_t glshim_snd_pcm_build_linear_format(int width, int pwidth, int unsignd, int big_endian) { snd_pcm_build_linear_format_INDEXED packed_data; packed_data.func = snd_pcm_build_linear_format_INDEX; packed_data.args.a1 = (int)width; @@ -10382,9 +11418,10 @@ snd_pcm_format_t snd_pcm_build_linear_format(int width, int pwidth, int unsignd, syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_format_t snd_pcm_build_linear_format(int width, int pwidth, int unsignd, int big_endian) __attribute__((alias("glshim_snd_pcm_build_linear_format"))); #endif #if !defined(skip_client_snd_pcm_bytes_to_frames) && !defined(skip_index_snd_pcm_bytes_to_frames) -snd_pcm_sframes_t snd_pcm_bytes_to_frames(snd_pcm_t * pcm, ssize_t bytes) { +snd_pcm_sframes_t glshim_snd_pcm_bytes_to_frames(snd_pcm_t * pcm, ssize_t bytes) { snd_pcm_bytes_to_frames_INDEXED packed_data; packed_data.func = snd_pcm_bytes_to_frames_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10393,9 +11430,10 @@ snd_pcm_sframes_t snd_pcm_bytes_to_frames(snd_pcm_t * pcm, ssize_t bytes) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_sframes_t snd_pcm_bytes_to_frames(snd_pcm_t * pcm, ssize_t bytes) __attribute__((alias("glshim_snd_pcm_bytes_to_frames"))); #endif #if !defined(skip_client_snd_pcm_bytes_to_samples) && !defined(skip_index_snd_pcm_bytes_to_samples) -long snd_pcm_bytes_to_samples(snd_pcm_t * pcm, ssize_t bytes) { +long glshim_snd_pcm_bytes_to_samples(snd_pcm_t * pcm, ssize_t bytes) { snd_pcm_bytes_to_samples_INDEXED packed_data; packed_data.func = snd_pcm_bytes_to_samples_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10404,9 +11442,10 @@ long snd_pcm_bytes_to_samples(snd_pcm_t * pcm, ssize_t bytes) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long snd_pcm_bytes_to_samples(snd_pcm_t * pcm, ssize_t bytes) __attribute__((alias("glshim_snd_pcm_bytes_to_samples"))); #endif #if !defined(skip_client_snd_pcm_close) && !defined(skip_index_snd_pcm_close) -int snd_pcm_close(snd_pcm_t * pcm) { +int glshim_snd_pcm_close(snd_pcm_t * pcm) { snd_pcm_close_INDEXED packed_data; packed_data.func = snd_pcm_close_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10414,9 +11453,10 @@ int snd_pcm_close(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_close(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_close"))); #endif #if !defined(skip_client_snd_pcm_delay) && !defined(skip_index_snd_pcm_delay) -int snd_pcm_delay(snd_pcm_t * pcm, snd_pcm_sframes_t * delayp) { +int glshim_snd_pcm_delay(snd_pcm_t * pcm, snd_pcm_sframes_t * delayp) { snd_pcm_delay_INDEXED packed_data; packed_data.func = snd_pcm_delay_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10425,9 +11465,10 @@ int snd_pcm_delay(snd_pcm_t * pcm, snd_pcm_sframes_t * delayp) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_delay(snd_pcm_t * pcm, snd_pcm_sframes_t * delayp) __attribute__((alias("glshim_snd_pcm_delay"))); #endif #if !defined(skip_client_snd_pcm_drain) && !defined(skip_index_snd_pcm_drain) -int snd_pcm_drain(snd_pcm_t * pcm) { +int glshim_snd_pcm_drain(snd_pcm_t * pcm) { snd_pcm_drain_INDEXED packed_data; packed_data.func = snd_pcm_drain_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10435,9 +11476,10 @@ int snd_pcm_drain(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_drain(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_drain"))); #endif #if !defined(skip_client_snd_pcm_drop) && !defined(skip_index_snd_pcm_drop) -int snd_pcm_drop(snd_pcm_t * pcm) { +int glshim_snd_pcm_drop(snd_pcm_t * pcm) { snd_pcm_drop_INDEXED packed_data; packed_data.func = snd_pcm_drop_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10445,9 +11487,10 @@ int snd_pcm_drop(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_drop(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_drop"))); #endif #if !defined(skip_client_snd_pcm_dump) && !defined(skip_index_snd_pcm_dump) -int snd_pcm_dump(snd_pcm_t * pcm, snd_output_t * out) { +int glshim_snd_pcm_dump(snd_pcm_t * pcm, snd_output_t * out) { snd_pcm_dump_INDEXED packed_data; packed_data.func = snd_pcm_dump_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10456,9 +11499,10 @@ int snd_pcm_dump(snd_pcm_t * pcm, snd_output_t * out) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_dump(snd_pcm_t * pcm, snd_output_t * out) __attribute__((alias("glshim_snd_pcm_dump"))); #endif #if !defined(skip_client_snd_pcm_dump_hw_setup) && !defined(skip_index_snd_pcm_dump_hw_setup) -int snd_pcm_dump_hw_setup(snd_pcm_t * pcm, snd_output_t * out) { +int glshim_snd_pcm_dump_hw_setup(snd_pcm_t * pcm, snd_output_t * out) { snd_pcm_dump_hw_setup_INDEXED packed_data; packed_data.func = snd_pcm_dump_hw_setup_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10467,9 +11511,10 @@ int snd_pcm_dump_hw_setup(snd_pcm_t * pcm, snd_output_t * out) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_dump_hw_setup(snd_pcm_t * pcm, snd_output_t * out) __attribute__((alias("glshim_snd_pcm_dump_hw_setup"))); #endif #if !defined(skip_client_snd_pcm_dump_setup) && !defined(skip_index_snd_pcm_dump_setup) -int snd_pcm_dump_setup(snd_pcm_t * pcm, snd_output_t * out) { +int glshim_snd_pcm_dump_setup(snd_pcm_t * pcm, snd_output_t * out) { snd_pcm_dump_setup_INDEXED packed_data; packed_data.func = snd_pcm_dump_setup_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10478,9 +11523,10 @@ int snd_pcm_dump_setup(snd_pcm_t * pcm, snd_output_t * out) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_dump_setup(snd_pcm_t * pcm, snd_output_t * out) __attribute__((alias("glshim_snd_pcm_dump_setup"))); #endif #if !defined(skip_client_snd_pcm_dump_sw_setup) && !defined(skip_index_snd_pcm_dump_sw_setup) -int snd_pcm_dump_sw_setup(snd_pcm_t * pcm, snd_output_t * out) { +int glshim_snd_pcm_dump_sw_setup(snd_pcm_t * pcm, snd_output_t * out) { snd_pcm_dump_sw_setup_INDEXED packed_data; packed_data.func = snd_pcm_dump_sw_setup_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10489,9 +11535,10 @@ int snd_pcm_dump_sw_setup(snd_pcm_t * pcm, snd_output_t * out) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_dump_sw_setup(snd_pcm_t * pcm, snd_output_t * out) __attribute__((alias("glshim_snd_pcm_dump_sw_setup"))); #endif #if !defined(skip_client_snd_pcm_format_big_endian) && !defined(skip_index_snd_pcm_format_big_endian) -int snd_pcm_format_big_endian(snd_pcm_format_t format) { +int glshim_snd_pcm_format_big_endian(snd_pcm_format_t format) { snd_pcm_format_big_endian_INDEXED packed_data; packed_data.func = snd_pcm_format_big_endian_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10499,9 +11546,10 @@ int snd_pcm_format_big_endian(snd_pcm_format_t format) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_format_big_endian(snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_format_big_endian"))); #endif #if !defined(skip_client_snd_pcm_format_cpu_endian) && !defined(skip_index_snd_pcm_format_cpu_endian) -int snd_pcm_format_cpu_endian(snd_pcm_format_t format) { +int glshim_snd_pcm_format_cpu_endian(snd_pcm_format_t format) { snd_pcm_format_cpu_endian_INDEXED packed_data; packed_data.func = snd_pcm_format_cpu_endian_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10509,9 +11557,10 @@ int snd_pcm_format_cpu_endian(snd_pcm_format_t format) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_format_cpu_endian(snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_format_cpu_endian"))); #endif #if !defined(skip_client_snd_pcm_format_description) && !defined(skip_index_snd_pcm_format_description) -const char * snd_pcm_format_description(const snd_pcm_format_t format) { +const char * glshim_snd_pcm_format_description(const snd_pcm_format_t format) { snd_pcm_format_description_INDEXED packed_data; packed_data.func = snd_pcm_format_description_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10519,9 +11568,10 @@ const char * snd_pcm_format_description(const snd_pcm_format_t format) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_format_description(const snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_format_description"))); #endif #if !defined(skip_client_snd_pcm_format_float) && !defined(skip_index_snd_pcm_format_float) -int snd_pcm_format_float(snd_pcm_format_t format) { +int glshim_snd_pcm_format_float(snd_pcm_format_t format) { snd_pcm_format_float_INDEXED packed_data; packed_data.func = snd_pcm_format_float_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10529,9 +11579,10 @@ int snd_pcm_format_float(snd_pcm_format_t format) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_format_float(snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_format_float"))); #endif #if !defined(skip_client_snd_pcm_format_linear) && !defined(skip_index_snd_pcm_format_linear) -int snd_pcm_format_linear(snd_pcm_format_t format) { +int glshim_snd_pcm_format_linear(snd_pcm_format_t format) { snd_pcm_format_linear_INDEXED packed_data; packed_data.func = snd_pcm_format_linear_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10539,9 +11590,10 @@ int snd_pcm_format_linear(snd_pcm_format_t format) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_format_linear(snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_format_linear"))); #endif #if !defined(skip_client_snd_pcm_format_little_endian) && !defined(skip_index_snd_pcm_format_little_endian) -int snd_pcm_format_little_endian(snd_pcm_format_t format) { +int glshim_snd_pcm_format_little_endian(snd_pcm_format_t format) { snd_pcm_format_little_endian_INDEXED packed_data; packed_data.func = snd_pcm_format_little_endian_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10549,26 +11601,29 @@ int snd_pcm_format_little_endian(snd_pcm_format_t format) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_format_little_endian(snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_format_little_endian"))); #endif #if !defined(skip_client_snd_pcm_format_mask_any) && !defined(skip_index_snd_pcm_format_mask_any) -void snd_pcm_format_mask_any(snd_pcm_format_mask_t * mask) { +void glshim_snd_pcm_format_mask_any(snd_pcm_format_mask_t * mask) { snd_pcm_format_mask_any_INDEXED packed_data; packed_data.func = snd_pcm_format_mask_any_INDEX; packed_data.args.a1 = (snd_pcm_format_mask_t *)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_format_mask_any(snd_pcm_format_mask_t * mask) __attribute__((alias("glshim_snd_pcm_format_mask_any"))); #endif #if !defined(skip_client_snd_pcm_format_mask_copy) && !defined(skip_index_snd_pcm_format_mask_copy) -void snd_pcm_format_mask_copy(snd_pcm_format_mask_t * dst, const snd_pcm_format_mask_t * src) { +void glshim_snd_pcm_format_mask_copy(snd_pcm_format_mask_t * dst, const snd_pcm_format_mask_t * src) { snd_pcm_format_mask_copy_INDEXED packed_data; packed_data.func = snd_pcm_format_mask_copy_INDEX; packed_data.args.a1 = (snd_pcm_format_mask_t *)dst; packed_data.args.a2 = (snd_pcm_format_mask_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_format_mask_copy(snd_pcm_format_mask_t * dst, const snd_pcm_format_mask_t * src) __attribute__((alias("glshim_snd_pcm_format_mask_copy"))); #endif #if !defined(skip_client_snd_pcm_format_mask_empty) && !defined(skip_index_snd_pcm_format_mask_empty) -int snd_pcm_format_mask_empty(const snd_pcm_format_mask_t * mask) { +int glshim_snd_pcm_format_mask_empty(const snd_pcm_format_mask_t * mask) { snd_pcm_format_mask_empty_INDEXED packed_data; packed_data.func = snd_pcm_format_mask_empty_INDEX; packed_data.args.a1 = (snd_pcm_format_mask_t *)mask; @@ -10576,17 +11631,19 @@ int snd_pcm_format_mask_empty(const snd_pcm_format_mask_t * mask) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_format_mask_empty(const snd_pcm_format_mask_t * mask) __attribute__((alias("glshim_snd_pcm_format_mask_empty"))); #endif #if !defined(skip_client_snd_pcm_format_mask_free) && !defined(skip_index_snd_pcm_format_mask_free) -void snd_pcm_format_mask_free(snd_pcm_format_mask_t * obj) { +void glshim_snd_pcm_format_mask_free(snd_pcm_format_mask_t * obj) { snd_pcm_format_mask_free_INDEXED packed_data; packed_data.func = snd_pcm_format_mask_free_INDEX; packed_data.args.a1 = (snd_pcm_format_mask_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_format_mask_free(snd_pcm_format_mask_t * obj) __attribute__((alias("glshim_snd_pcm_format_mask_free"))); #endif #if !defined(skip_client_snd_pcm_format_mask_malloc) && !defined(skip_index_snd_pcm_format_mask_malloc) -int snd_pcm_format_mask_malloc(snd_pcm_format_mask_t ** ptr) { +int glshim_snd_pcm_format_mask_malloc(snd_pcm_format_mask_t ** ptr) { snd_pcm_format_mask_malloc_INDEXED packed_data; packed_data.func = snd_pcm_format_mask_malloc_INDEX; packed_data.args.a1 = (snd_pcm_format_mask_t **)ptr; @@ -10594,44 +11651,49 @@ int snd_pcm_format_mask_malloc(snd_pcm_format_mask_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_format_mask_malloc(snd_pcm_format_mask_t ** ptr) __attribute__((alias("glshim_snd_pcm_format_mask_malloc"))); #endif #if !defined(skip_client_snd_pcm_format_mask_none) && !defined(skip_index_snd_pcm_format_mask_none) -void snd_pcm_format_mask_none(snd_pcm_format_mask_t * mask) { +void glshim_snd_pcm_format_mask_none(snd_pcm_format_mask_t * mask) { snd_pcm_format_mask_none_INDEXED packed_data; packed_data.func = snd_pcm_format_mask_none_INDEX; packed_data.args.a1 = (snd_pcm_format_mask_t *)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_format_mask_none(snd_pcm_format_mask_t * mask) __attribute__((alias("glshim_snd_pcm_format_mask_none"))); #endif #if !defined(skip_client_snd_pcm_format_mask_reset) && !defined(skip_index_snd_pcm_format_mask_reset) -void snd_pcm_format_mask_reset(snd_pcm_format_mask_t * mask, snd_pcm_format_t val) { +void glshim_snd_pcm_format_mask_reset(snd_pcm_format_mask_t * mask, snd_pcm_format_t val) { snd_pcm_format_mask_reset_INDEXED packed_data; packed_data.func = snd_pcm_format_mask_reset_INDEX; packed_data.args.a1 = (snd_pcm_format_mask_t *)mask; packed_data.args.a2 = (snd_pcm_format_t)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_format_mask_reset(snd_pcm_format_mask_t * mask, snd_pcm_format_t val) __attribute__((alias("glshim_snd_pcm_format_mask_reset"))); #endif #if !defined(skip_client_snd_pcm_format_mask_set) && !defined(skip_index_snd_pcm_format_mask_set) -void snd_pcm_format_mask_set(snd_pcm_format_mask_t * mask, snd_pcm_format_t val) { +void glshim_snd_pcm_format_mask_set(snd_pcm_format_mask_t * mask, snd_pcm_format_t val) { snd_pcm_format_mask_set_INDEXED packed_data; packed_data.func = snd_pcm_format_mask_set_INDEX; packed_data.args.a1 = (snd_pcm_format_mask_t *)mask; packed_data.args.a2 = (snd_pcm_format_t)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_format_mask_set(snd_pcm_format_mask_t * mask, snd_pcm_format_t val) __attribute__((alias("glshim_snd_pcm_format_mask_set"))); #endif #if !defined(skip_client_snd_pcm_format_mask_sizeof) && !defined(skip_index_snd_pcm_format_mask_sizeof) -size_t snd_pcm_format_mask_sizeof() { +size_t glshim_snd_pcm_format_mask_sizeof() { snd_pcm_format_mask_sizeof_INDEXED packed_data; packed_data.func = snd_pcm_format_mask_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_pcm_format_mask_sizeof() __attribute__((alias("glshim_snd_pcm_format_mask_sizeof"))); #endif #if !defined(skip_client_snd_pcm_format_mask_test) && !defined(skip_index_snd_pcm_format_mask_test) -int snd_pcm_format_mask_test(const snd_pcm_format_mask_t * mask, snd_pcm_format_t val) { +int glshim_snd_pcm_format_mask_test(const snd_pcm_format_mask_t * mask, snd_pcm_format_t val) { snd_pcm_format_mask_test_INDEXED packed_data; packed_data.func = snd_pcm_format_mask_test_INDEX; packed_data.args.a1 = (snd_pcm_format_mask_t *)mask; @@ -10640,9 +11702,10 @@ int snd_pcm_format_mask_test(const snd_pcm_format_mask_t * mask, snd_pcm_format_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_format_mask_test(const snd_pcm_format_mask_t * mask, snd_pcm_format_t val) __attribute__((alias("glshim_snd_pcm_format_mask_test"))); #endif #if !defined(skip_client_snd_pcm_format_name) && !defined(skip_index_snd_pcm_format_name) -const char * snd_pcm_format_name(const snd_pcm_format_t format) { +const char * glshim_snd_pcm_format_name(const snd_pcm_format_t format) { snd_pcm_format_name_INDEXED packed_data; packed_data.func = snd_pcm_format_name_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10650,9 +11713,10 @@ const char * snd_pcm_format_name(const snd_pcm_format_t format) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_format_name(const snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_format_name"))); #endif #if !defined(skip_client_snd_pcm_format_physical_width) && !defined(skip_index_snd_pcm_format_physical_width) -int snd_pcm_format_physical_width(snd_pcm_format_t format) { +int glshim_snd_pcm_format_physical_width(snd_pcm_format_t format) { snd_pcm_format_physical_width_INDEXED packed_data; packed_data.func = snd_pcm_format_physical_width_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10660,9 +11724,10 @@ int snd_pcm_format_physical_width(snd_pcm_format_t format) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_format_physical_width(snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_format_physical_width"))); #endif #if !defined(skip_client_snd_pcm_format_set_silence) && !defined(skip_index_snd_pcm_format_set_silence) -int snd_pcm_format_set_silence(snd_pcm_format_t format, void * buf, unsigned int samples) { +int glshim_snd_pcm_format_set_silence(snd_pcm_format_t format, void * buf, unsigned int samples) { snd_pcm_format_set_silence_INDEXED packed_data; packed_data.func = snd_pcm_format_set_silence_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10672,9 +11737,10 @@ int snd_pcm_format_set_silence(snd_pcm_format_t format, void * buf, unsigned int syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_format_set_silence(snd_pcm_format_t format, void * buf, unsigned int samples) __attribute__((alias("glshim_snd_pcm_format_set_silence"))); #endif #if !defined(skip_client_snd_pcm_format_signed) && !defined(skip_index_snd_pcm_format_signed) -int snd_pcm_format_signed(snd_pcm_format_t format) { +int glshim_snd_pcm_format_signed(snd_pcm_format_t format) { snd_pcm_format_signed_INDEXED packed_data; packed_data.func = snd_pcm_format_signed_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10682,9 +11748,10 @@ int snd_pcm_format_signed(snd_pcm_format_t format) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_format_signed(snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_format_signed"))); #endif #if !defined(skip_client_snd_pcm_format_silence) && !defined(skip_index_snd_pcm_format_silence) -u_int8_t snd_pcm_format_silence(snd_pcm_format_t format) { +u_int8_t glshim_snd_pcm_format_silence(snd_pcm_format_t format) { snd_pcm_format_silence_INDEXED packed_data; packed_data.func = snd_pcm_format_silence_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10692,9 +11759,10 @@ u_int8_t snd_pcm_format_silence(snd_pcm_format_t format) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +u_int8_t snd_pcm_format_silence(snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_format_silence"))); #endif #if !defined(skip_client_snd_pcm_format_silence_16) && !defined(skip_index_snd_pcm_format_silence_16) -u_int16_t snd_pcm_format_silence_16(snd_pcm_format_t format) { +u_int16_t glshim_snd_pcm_format_silence_16(snd_pcm_format_t format) { snd_pcm_format_silence_16_INDEXED packed_data; packed_data.func = snd_pcm_format_silence_16_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10702,9 +11770,10 @@ u_int16_t snd_pcm_format_silence_16(snd_pcm_format_t format) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +u_int16_t snd_pcm_format_silence_16(snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_format_silence_16"))); #endif #if !defined(skip_client_snd_pcm_format_silence_32) && !defined(skip_index_snd_pcm_format_silence_32) -u_int32_t snd_pcm_format_silence_32(snd_pcm_format_t format) { +u_int32_t glshim_snd_pcm_format_silence_32(snd_pcm_format_t format) { snd_pcm_format_silence_32_INDEXED packed_data; packed_data.func = snd_pcm_format_silence_32_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10712,9 +11781,10 @@ u_int32_t snd_pcm_format_silence_32(snd_pcm_format_t format) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +u_int32_t snd_pcm_format_silence_32(snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_format_silence_32"))); #endif #if !defined(skip_client_snd_pcm_format_silence_64) && !defined(skip_index_snd_pcm_format_silence_64) -u_int64_t snd_pcm_format_silence_64(snd_pcm_format_t format) { +u_int64_t glshim_snd_pcm_format_silence_64(snd_pcm_format_t format) { snd_pcm_format_silence_64_INDEXED packed_data; packed_data.func = snd_pcm_format_silence_64_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10722,9 +11792,10 @@ u_int64_t snd_pcm_format_silence_64(snd_pcm_format_t format) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +u_int64_t snd_pcm_format_silence_64(snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_format_silence_64"))); #endif #if !defined(skip_client_snd_pcm_format_size) && !defined(skip_index_snd_pcm_format_size) -ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples) { +ssize_t glshim_snd_pcm_format_size(snd_pcm_format_t format, size_t samples) { snd_pcm_format_size_INDEXED packed_data; packed_data.func = snd_pcm_format_size_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10733,9 +11804,10 @@ ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples) __attribute__((alias("glshim_snd_pcm_format_size"))); #endif #if !defined(skip_client_snd_pcm_format_unsigned) && !defined(skip_index_snd_pcm_format_unsigned) -int snd_pcm_format_unsigned(snd_pcm_format_t format) { +int glshim_snd_pcm_format_unsigned(snd_pcm_format_t format) { snd_pcm_format_unsigned_INDEXED packed_data; packed_data.func = snd_pcm_format_unsigned_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10743,9 +11815,10 @@ int snd_pcm_format_unsigned(snd_pcm_format_t format) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_format_unsigned(snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_format_unsigned"))); #endif #if !defined(skip_client_snd_pcm_format_value) && !defined(skip_index_snd_pcm_format_value) -snd_pcm_format_t snd_pcm_format_value(const char* name) { +snd_pcm_format_t glshim_snd_pcm_format_value(const char* name) { snd_pcm_format_value_INDEXED packed_data; packed_data.func = snd_pcm_format_value_INDEX; packed_data.args.a1 = (char*)name; @@ -10753,9 +11826,10 @@ snd_pcm_format_t snd_pcm_format_value(const char* name) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_format_t snd_pcm_format_value(const char* name) __attribute__((alias("glshim_snd_pcm_format_value"))); #endif #if !defined(skip_client_snd_pcm_format_width) && !defined(skip_index_snd_pcm_format_width) -int snd_pcm_format_width(snd_pcm_format_t format) { +int glshim_snd_pcm_format_width(snd_pcm_format_t format) { snd_pcm_format_width_INDEXED packed_data; packed_data.func = snd_pcm_format_width_INDEX; packed_data.args.a1 = (snd_pcm_format_t)format; @@ -10763,9 +11837,10 @@ int snd_pcm_format_width(snd_pcm_format_t format) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_format_width(snd_pcm_format_t format) __attribute__((alias("glshim_snd_pcm_format_width"))); #endif #if !defined(skip_client_snd_pcm_forward) && !defined(skip_index_snd_pcm_forward) -snd_pcm_sframes_t snd_pcm_forward(snd_pcm_t * pcm, snd_pcm_uframes_t frames) { +snd_pcm_sframes_t glshim_snd_pcm_forward(snd_pcm_t * pcm, snd_pcm_uframes_t frames) { snd_pcm_forward_INDEXED packed_data; packed_data.func = snd_pcm_forward_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10774,9 +11849,10 @@ snd_pcm_sframes_t snd_pcm_forward(snd_pcm_t * pcm, snd_pcm_uframes_t frames) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_sframes_t snd_pcm_forward(snd_pcm_t * pcm, snd_pcm_uframes_t frames) __attribute__((alias("glshim_snd_pcm_forward"))); #endif #if !defined(skip_client_snd_pcm_frames_to_bytes) && !defined(skip_index_snd_pcm_frames_to_bytes) -ssize_t snd_pcm_frames_to_bytes(snd_pcm_t * pcm, snd_pcm_sframes_t frames) { +ssize_t glshim_snd_pcm_frames_to_bytes(snd_pcm_t * pcm, snd_pcm_sframes_t frames) { snd_pcm_frames_to_bytes_INDEXED packed_data; packed_data.func = snd_pcm_frames_to_bytes_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10785,9 +11861,10 @@ ssize_t snd_pcm_frames_to_bytes(snd_pcm_t * pcm, snd_pcm_sframes_t frames) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +ssize_t snd_pcm_frames_to_bytes(snd_pcm_t * pcm, snd_pcm_sframes_t frames) __attribute__((alias("glshim_snd_pcm_frames_to_bytes"))); #endif #if !defined(skip_client_snd_pcm_get_params) && !defined(skip_index_snd_pcm_get_params) -int snd_pcm_get_params(snd_pcm_t * pcm, snd_pcm_uframes_t * buffer_size, snd_pcm_uframes_t * period_size) { +int glshim_snd_pcm_get_params(snd_pcm_t * pcm, snd_pcm_uframes_t * buffer_size, snd_pcm_uframes_t * period_size) { snd_pcm_get_params_INDEXED packed_data; packed_data.func = snd_pcm_get_params_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10797,9 +11874,10 @@ int snd_pcm_get_params(snd_pcm_t * pcm, snd_pcm_uframes_t * buffer_size, snd_pcm syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_get_params(snd_pcm_t * pcm, snd_pcm_uframes_t * buffer_size, snd_pcm_uframes_t * period_size) __attribute__((alias("glshim_snd_pcm_get_params"))); #endif #if !defined(skip_client_snd_pcm_hook_add) && !defined(skip_index_snd_pcm_hook_add) -int snd_pcm_hook_add(snd_pcm_hook_t ** hookp, snd_pcm_t * pcm, snd_pcm_hook_type_t type, snd_pcm_hook_func_t func, void * private_data) { +int glshim_snd_pcm_hook_add(snd_pcm_hook_t ** hookp, snd_pcm_t * pcm, snd_pcm_hook_type_t type, snd_pcm_hook_func_t func, void * private_data) { snd_pcm_hook_add_INDEXED packed_data; packed_data.func = snd_pcm_hook_add_INDEX; packed_data.args.a1 = (snd_pcm_hook_t **)hookp; @@ -10811,9 +11889,10 @@ int snd_pcm_hook_add(snd_pcm_hook_t ** hookp, snd_pcm_t * pcm, snd_pcm_hook_type syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hook_add(snd_pcm_hook_t ** hookp, snd_pcm_t * pcm, snd_pcm_hook_type_t type, snd_pcm_hook_func_t func, void * private_data) __attribute__((alias("glshim_snd_pcm_hook_add"))); #endif #if !defined(skip_client_snd_pcm_hook_get_pcm) && !defined(skip_index_snd_pcm_hook_get_pcm) -snd_pcm_t * snd_pcm_hook_get_pcm(snd_pcm_hook_t * hook) { +snd_pcm_t * glshim_snd_pcm_hook_get_pcm(snd_pcm_hook_t * hook) { snd_pcm_hook_get_pcm_INDEXED packed_data; packed_data.func = snd_pcm_hook_get_pcm_INDEX; packed_data.args.a1 = (snd_pcm_hook_t *)hook; @@ -10821,9 +11900,10 @@ snd_pcm_t * snd_pcm_hook_get_pcm(snd_pcm_hook_t * hook) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_t * snd_pcm_hook_get_pcm(snd_pcm_hook_t * hook) __attribute__((alias("glshim_snd_pcm_hook_get_pcm"))); #endif #if !defined(skip_client_snd_pcm_hook_get_private) && !defined(skip_index_snd_pcm_hook_get_private) -void * snd_pcm_hook_get_private(snd_pcm_hook_t * hook) { +void * glshim_snd_pcm_hook_get_private(snd_pcm_hook_t * hook) { snd_pcm_hook_get_private_INDEXED packed_data; packed_data.func = snd_pcm_hook_get_private_INDEX; packed_data.args.a1 = (snd_pcm_hook_t *)hook; @@ -10831,9 +11911,10 @@ void * snd_pcm_hook_get_private(snd_pcm_hook_t * hook) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +void * snd_pcm_hook_get_private(snd_pcm_hook_t * hook) __attribute__((alias("glshim_snd_pcm_hook_get_private"))); #endif #if !defined(skip_client_snd_pcm_hook_remove) && !defined(skip_index_snd_pcm_hook_remove) -int snd_pcm_hook_remove(snd_pcm_hook_t * hook) { +int glshim_snd_pcm_hook_remove(snd_pcm_hook_t * hook) { snd_pcm_hook_remove_INDEXED packed_data; packed_data.func = snd_pcm_hook_remove_INDEX; packed_data.args.a1 = (snd_pcm_hook_t *)hook; @@ -10841,18 +11922,20 @@ int snd_pcm_hook_remove(snd_pcm_hook_t * hook) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hook_remove(snd_pcm_hook_t * hook) __attribute__((alias("glshim_snd_pcm_hook_remove"))); #endif #if !defined(skip_client_snd_pcm_hook_set_private) && !defined(skip_index_snd_pcm_hook_set_private) -void snd_pcm_hook_set_private(snd_pcm_hook_t * hook, void * private_data) { +void glshim_snd_pcm_hook_set_private(snd_pcm_hook_t * hook, void * private_data) { snd_pcm_hook_set_private_INDEXED packed_data; packed_data.func = snd_pcm_hook_set_private_INDEX; packed_data.args.a1 = (snd_pcm_hook_t *)hook; packed_data.args.a2 = (void *)private_data; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_hook_set_private(snd_pcm_hook_t * hook, void * private_data) __attribute__((alias("glshim_snd_pcm_hook_set_private"))); #endif #if !defined(skip_client_snd_pcm_hw_free) && !defined(skip_index_snd_pcm_hw_free) -int snd_pcm_hw_free(snd_pcm_t * pcm) { +int glshim_snd_pcm_hw_free(snd_pcm_t * pcm) { snd_pcm_hw_free_INDEXED packed_data; packed_data.func = snd_pcm_hw_free_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10860,9 +11943,10 @@ int snd_pcm_hw_free(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_free(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_hw_free"))); #endif #if !defined(skip_client_snd_pcm_hw_params) && !defined(skip_index_snd_pcm_hw_params) -int snd_pcm_hw_params(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) { snd_pcm_hw_params_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10871,9 +11955,10 @@ int snd_pcm_hw_params(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params"))); #endif #if !defined(skip_client_snd_pcm_hw_params_any) && !defined(skip_index_snd_pcm_hw_params_any) -int snd_pcm_hw_params_any(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_any(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) { snd_pcm_hw_params_any_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_any_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10882,9 +11967,10 @@ int snd_pcm_hw_params_any(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_any(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_any"))); #endif #if !defined(skip_client_snd_pcm_hw_params_can_mmap_sample_resolution) && !defined(skip_index_snd_pcm_hw_params_can_mmap_sample_resolution) -int snd_pcm_hw_params_can_mmap_sample_resolution(const snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_can_mmap_sample_resolution(const snd_pcm_hw_params_t * params) { snd_pcm_hw_params_can_mmap_sample_resolution_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_can_mmap_sample_resolution_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -10892,9 +11978,10 @@ int snd_pcm_hw_params_can_mmap_sample_resolution(const snd_pcm_hw_params_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_can_mmap_sample_resolution(const snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_can_mmap_sample_resolution"))); #endif #if !defined(skip_client_snd_pcm_hw_params_can_overrange) && !defined(skip_index_snd_pcm_hw_params_can_overrange) -int snd_pcm_hw_params_can_overrange(const snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_can_overrange(const snd_pcm_hw_params_t * params) { snd_pcm_hw_params_can_overrange_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_can_overrange_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -10902,9 +11989,10 @@ int snd_pcm_hw_params_can_overrange(const snd_pcm_hw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_can_overrange(const snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_can_overrange"))); #endif #if !defined(skip_client_snd_pcm_hw_params_can_pause) && !defined(skip_index_snd_pcm_hw_params_can_pause) -int snd_pcm_hw_params_can_pause(const snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_can_pause(const snd_pcm_hw_params_t * params) { snd_pcm_hw_params_can_pause_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_can_pause_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -10912,9 +12000,10 @@ int snd_pcm_hw_params_can_pause(const snd_pcm_hw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_can_pause(const snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_can_pause"))); #endif #if !defined(skip_client_snd_pcm_hw_params_can_resume) && !defined(skip_index_snd_pcm_hw_params_can_resume) -int snd_pcm_hw_params_can_resume(const snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_can_resume(const snd_pcm_hw_params_t * params) { snd_pcm_hw_params_can_resume_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_can_resume_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -10922,9 +12011,10 @@ int snd_pcm_hw_params_can_resume(const snd_pcm_hw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_can_resume(const snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_can_resume"))); #endif #if !defined(skip_client_snd_pcm_hw_params_can_sync_start) && !defined(skip_index_snd_pcm_hw_params_can_sync_start) -int snd_pcm_hw_params_can_sync_start(const snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_can_sync_start(const snd_pcm_hw_params_t * params) { snd_pcm_hw_params_can_sync_start_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_can_sync_start_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -10932,18 +12022,20 @@ int snd_pcm_hw_params_can_sync_start(const snd_pcm_hw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_can_sync_start(const snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_can_sync_start"))); #endif #if !defined(skip_client_snd_pcm_hw_params_copy) && !defined(skip_index_snd_pcm_hw_params_copy) -void snd_pcm_hw_params_copy(snd_pcm_hw_params_t * dst, const snd_pcm_hw_params_t * src) { +void glshim_snd_pcm_hw_params_copy(snd_pcm_hw_params_t * dst, const snd_pcm_hw_params_t * src) { snd_pcm_hw_params_copy_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_copy_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)dst; packed_data.args.a2 = (snd_pcm_hw_params_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_hw_params_copy(snd_pcm_hw_params_t * dst, const snd_pcm_hw_params_t * src) __attribute__((alias("glshim_snd_pcm_hw_params_copy"))); #endif #if !defined(skip_client_snd_pcm_hw_params_current) && !defined(skip_index_snd_pcm_hw_params_current) -int snd_pcm_hw_params_current(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_current(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) { snd_pcm_hw_params_current_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_current_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -10952,9 +12044,10 @@ int snd_pcm_hw_params_current(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_current(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_current"))); #endif #if !defined(skip_client_snd_pcm_hw_params_dump) && !defined(skip_index_snd_pcm_hw_params_dump) -int snd_pcm_hw_params_dump(snd_pcm_hw_params_t * params, snd_output_t * out) { +int glshim_snd_pcm_hw_params_dump(snd_pcm_hw_params_t * params, snd_output_t * out) { snd_pcm_hw_params_dump_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_dump_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -10963,17 +12056,19 @@ int snd_pcm_hw_params_dump(snd_pcm_hw_params_t * params, snd_output_t * out) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_dump(snd_pcm_hw_params_t * params, snd_output_t * out) __attribute__((alias("glshim_snd_pcm_hw_params_dump"))); #endif #if !defined(skip_client_snd_pcm_hw_params_free) && !defined(skip_index_snd_pcm_hw_params_free) -void snd_pcm_hw_params_free(snd_pcm_hw_params_t * obj) { +void glshim_snd_pcm_hw_params_free(snd_pcm_hw_params_t * obj) { snd_pcm_hw_params_free_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_free_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_hw_params_free(snd_pcm_hw_params_t * obj) __attribute__((alias("glshim_snd_pcm_hw_params_free"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_access) && !defined(skip_index_snd_pcm_hw_params_get_access) -int snd_pcm_hw_params_get_access(const snd_pcm_hw_params_t * params, snd_pcm_access_t * _access) { +int glshim_snd_pcm_hw_params_get_access(const snd_pcm_hw_params_t * params, snd_pcm_access_t * _access) { snd_pcm_hw_params_get_access_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_access_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -10982,9 +12077,10 @@ int snd_pcm_hw_params_get_access(const snd_pcm_hw_params_t * params, snd_pcm_acc syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_access(const snd_pcm_hw_params_t * params, snd_pcm_access_t * _access) __attribute__((alias("glshim_snd_pcm_hw_params_get_access"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_access_mask) && !defined(skip_index_snd_pcm_hw_params_get_access_mask) -int snd_pcm_hw_params_get_access_mask(snd_pcm_hw_params_t * params, snd_pcm_access_mask_t * mask) { +int glshim_snd_pcm_hw_params_get_access_mask(snd_pcm_hw_params_t * params, snd_pcm_access_mask_t * mask) { snd_pcm_hw_params_get_access_mask_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_access_mask_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -10993,9 +12089,10 @@ int snd_pcm_hw_params_get_access_mask(snd_pcm_hw_params_t * params, snd_pcm_acce syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_access_mask(snd_pcm_hw_params_t * params, snd_pcm_access_mask_t * mask) __attribute__((alias("glshim_snd_pcm_hw_params_get_access_mask"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_buffer_size) && !defined(skip_index_snd_pcm_hw_params_get_buffer_size) -int snd_pcm_hw_params_get_buffer_size(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_hw_params_get_buffer_size(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { snd_pcm_hw_params_get_buffer_size_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_buffer_size_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11004,9 +12101,10 @@ int snd_pcm_hw_params_get_buffer_size(const snd_pcm_hw_params_t * params, snd_pc syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_buffer_size(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_hw_params_get_buffer_size"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_buffer_size_max) && !defined(skip_index_snd_pcm_hw_params_get_buffer_size_max) -int snd_pcm_hw_params_get_buffer_size_max(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_hw_params_get_buffer_size_max(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { snd_pcm_hw_params_get_buffer_size_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_buffer_size_max_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11015,9 +12113,10 @@ int snd_pcm_hw_params_get_buffer_size_max(const snd_pcm_hw_params_t * params, sn syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_buffer_size_max(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_hw_params_get_buffer_size_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_buffer_size_min) && !defined(skip_index_snd_pcm_hw_params_get_buffer_size_min) -int snd_pcm_hw_params_get_buffer_size_min(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_hw_params_get_buffer_size_min(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { snd_pcm_hw_params_get_buffer_size_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_buffer_size_min_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11026,9 +12125,10 @@ int snd_pcm_hw_params_get_buffer_size_min(const snd_pcm_hw_params_t * params, sn syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_buffer_size_min(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_hw_params_get_buffer_size_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_buffer_time) && !defined(skip_index_snd_pcm_hw_params_get_buffer_time) -int snd_pcm_hw_params_get_buffer_time(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_get_buffer_time(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_get_buffer_time_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_buffer_time_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11038,9 +12138,10 @@ int snd_pcm_hw_params_get_buffer_time(const snd_pcm_hw_params_t * params, unsign syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_buffer_time(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_buffer_time"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_buffer_time_max) && !defined(skip_index_snd_pcm_hw_params_get_buffer_time_max) -int snd_pcm_hw_params_get_buffer_time_max(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_get_buffer_time_max(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_get_buffer_time_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_buffer_time_max_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11050,9 +12151,10 @@ int snd_pcm_hw_params_get_buffer_time_max(const snd_pcm_hw_params_t * params, un syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_buffer_time_max(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_buffer_time_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_buffer_time_min) && !defined(skip_index_snd_pcm_hw_params_get_buffer_time_min) -int snd_pcm_hw_params_get_buffer_time_min(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_get_buffer_time_min(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_get_buffer_time_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_buffer_time_min_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11062,9 +12164,10 @@ int snd_pcm_hw_params_get_buffer_time_min(const snd_pcm_hw_params_t * params, un syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_buffer_time_min(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_buffer_time_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_channels) && !defined(skip_index_snd_pcm_hw_params_get_channels) -int snd_pcm_hw_params_get_channels(const snd_pcm_hw_params_t * params, unsigned int * val) { +int glshim_snd_pcm_hw_params_get_channels(const snd_pcm_hw_params_t * params, unsigned int * val) { snd_pcm_hw_params_get_channels_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_channels_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11073,9 +12176,10 @@ int snd_pcm_hw_params_get_channels(const snd_pcm_hw_params_t * params, unsigned syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_channels(const snd_pcm_hw_params_t * params, unsigned int * val) __attribute__((alias("glshim_snd_pcm_hw_params_get_channels"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_channels_max) && !defined(skip_index_snd_pcm_hw_params_get_channels_max) -int snd_pcm_hw_params_get_channels_max(const snd_pcm_hw_params_t * params, unsigned int * val) { +int glshim_snd_pcm_hw_params_get_channels_max(const snd_pcm_hw_params_t * params, unsigned int * val) { snd_pcm_hw_params_get_channels_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_channels_max_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11084,9 +12188,10 @@ int snd_pcm_hw_params_get_channels_max(const snd_pcm_hw_params_t * params, unsig syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_channels_max(const snd_pcm_hw_params_t * params, unsigned int * val) __attribute__((alias("glshim_snd_pcm_hw_params_get_channels_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_channels_min) && !defined(skip_index_snd_pcm_hw_params_get_channels_min) -int snd_pcm_hw_params_get_channels_min(const snd_pcm_hw_params_t * params, unsigned int * val) { +int glshim_snd_pcm_hw_params_get_channels_min(const snd_pcm_hw_params_t * params, unsigned int * val) { snd_pcm_hw_params_get_channels_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_channels_min_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11095,9 +12200,10 @@ int snd_pcm_hw_params_get_channels_min(const snd_pcm_hw_params_t * params, unsig syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_channels_min(const snd_pcm_hw_params_t * params, unsigned int * val) __attribute__((alias("glshim_snd_pcm_hw_params_get_channels_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_export_buffer) && !defined(skip_index_snd_pcm_hw_params_get_export_buffer) -int snd_pcm_hw_params_get_export_buffer(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) { +int glshim_snd_pcm_hw_params_get_export_buffer(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) { snd_pcm_hw_params_get_export_buffer_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_export_buffer_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11107,9 +12213,10 @@ int snd_pcm_hw_params_get_export_buffer(snd_pcm_t * pcm, snd_pcm_hw_params_t * p syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_export_buffer(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) __attribute__((alias("glshim_snd_pcm_hw_params_get_export_buffer"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_fifo_size) && !defined(skip_index_snd_pcm_hw_params_get_fifo_size) -int snd_pcm_hw_params_get_fifo_size(const snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_get_fifo_size(const snd_pcm_hw_params_t * params) { snd_pcm_hw_params_get_fifo_size_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_fifo_size_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11117,9 +12224,10 @@ int snd_pcm_hw_params_get_fifo_size(const snd_pcm_hw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_fifo_size(const snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_get_fifo_size"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_format) && !defined(skip_index_snd_pcm_hw_params_get_format) -int snd_pcm_hw_params_get_format(const snd_pcm_hw_params_t * params, snd_pcm_format_t * val) { +int glshim_snd_pcm_hw_params_get_format(const snd_pcm_hw_params_t * params, snd_pcm_format_t * val) { snd_pcm_hw_params_get_format_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_format_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11128,18 +12236,20 @@ int snd_pcm_hw_params_get_format(const snd_pcm_hw_params_t * params, snd_pcm_for syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_format(const snd_pcm_hw_params_t * params, snd_pcm_format_t * val) __attribute__((alias("glshim_snd_pcm_hw_params_get_format"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_format_mask) && !defined(skip_index_snd_pcm_hw_params_get_format_mask) -void snd_pcm_hw_params_get_format_mask(snd_pcm_hw_params_t * params, snd_pcm_format_mask_t * mask) { +void glshim_snd_pcm_hw_params_get_format_mask(snd_pcm_hw_params_t * params, snd_pcm_format_mask_t * mask) { snd_pcm_hw_params_get_format_mask_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_format_mask_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; packed_data.args.a2 = (snd_pcm_format_mask_t *)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_hw_params_get_format_mask(snd_pcm_hw_params_t * params, snd_pcm_format_mask_t * mask) __attribute__((alias("glshim_snd_pcm_hw_params_get_format_mask"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_min_align) && !defined(skip_index_snd_pcm_hw_params_get_min_align) -int snd_pcm_hw_params_get_min_align(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_hw_params_get_min_align(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { snd_pcm_hw_params_get_min_align_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_min_align_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11148,9 +12258,10 @@ int snd_pcm_hw_params_get_min_align(const snd_pcm_hw_params_t * params, snd_pcm_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_min_align(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_hw_params_get_min_align"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_period_size) && !defined(skip_index_snd_pcm_hw_params_get_period_size) -int snd_pcm_hw_params_get_period_size(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * frames, int * dir) { +int glshim_snd_pcm_hw_params_get_period_size(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * frames, int * dir) { snd_pcm_hw_params_get_period_size_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_period_size_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11160,9 +12271,10 @@ int snd_pcm_hw_params_get_period_size(const snd_pcm_hw_params_t * params, snd_pc syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_period_size(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * frames, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_period_size"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_period_size_max) && !defined(skip_index_snd_pcm_hw_params_get_period_size_max) -int snd_pcm_hw_params_get_period_size_max(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * frames, int * dir) { +int glshim_snd_pcm_hw_params_get_period_size_max(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * frames, int * dir) { snd_pcm_hw_params_get_period_size_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_period_size_max_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11172,9 +12284,10 @@ int snd_pcm_hw_params_get_period_size_max(const snd_pcm_hw_params_t * params, sn syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_period_size_max(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * frames, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_period_size_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_period_size_min) && !defined(skip_index_snd_pcm_hw_params_get_period_size_min) -int snd_pcm_hw_params_get_period_size_min(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * frames, int * dir) { +int glshim_snd_pcm_hw_params_get_period_size_min(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * frames, int * dir) { snd_pcm_hw_params_get_period_size_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_period_size_min_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11184,9 +12297,10 @@ int snd_pcm_hw_params_get_period_size_min(const snd_pcm_hw_params_t * params, sn syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_period_size_min(const snd_pcm_hw_params_t * params, snd_pcm_uframes_t * frames, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_period_size_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_period_time) && !defined(skip_index_snd_pcm_hw_params_get_period_time) -int snd_pcm_hw_params_get_period_time(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_get_period_time(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_get_period_time_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_period_time_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11196,9 +12310,10 @@ int snd_pcm_hw_params_get_period_time(const snd_pcm_hw_params_t * params, unsign syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_period_time(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_period_time"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_period_time_max) && !defined(skip_index_snd_pcm_hw_params_get_period_time_max) -int snd_pcm_hw_params_get_period_time_max(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_get_period_time_max(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_get_period_time_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_period_time_max_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11208,9 +12323,10 @@ int snd_pcm_hw_params_get_period_time_max(const snd_pcm_hw_params_t * params, un syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_period_time_max(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_period_time_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_period_time_min) && !defined(skip_index_snd_pcm_hw_params_get_period_time_min) -int snd_pcm_hw_params_get_period_time_min(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_get_period_time_min(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_get_period_time_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_period_time_min_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11220,9 +12336,10 @@ int snd_pcm_hw_params_get_period_time_min(const snd_pcm_hw_params_t * params, un syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_period_time_min(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_period_time_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_periods) && !defined(skip_index_snd_pcm_hw_params_get_periods) -int snd_pcm_hw_params_get_periods(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_get_periods(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_get_periods_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_periods_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11232,9 +12349,10 @@ int snd_pcm_hw_params_get_periods(const snd_pcm_hw_params_t * params, unsigned i syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_periods(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_periods"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_periods_max) && !defined(skip_index_snd_pcm_hw_params_get_periods_max) -int snd_pcm_hw_params_get_periods_max(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_get_periods_max(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_get_periods_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_periods_max_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11244,9 +12362,10 @@ int snd_pcm_hw_params_get_periods_max(const snd_pcm_hw_params_t * params, unsign syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_periods_max(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_periods_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_periods_min) && !defined(skip_index_snd_pcm_hw_params_get_periods_min) -int snd_pcm_hw_params_get_periods_min(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_get_periods_min(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_get_periods_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_periods_min_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11256,9 +12375,10 @@ int snd_pcm_hw_params_get_periods_min(const snd_pcm_hw_params_t * params, unsign syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_periods_min(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_periods_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_rate) && !defined(skip_index_snd_pcm_hw_params_get_rate) -int snd_pcm_hw_params_get_rate(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_get_rate(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_get_rate_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_rate_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11268,9 +12388,10 @@ int snd_pcm_hw_params_get_rate(const snd_pcm_hw_params_t * params, unsigned int syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_rate(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_rate"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_rate_max) && !defined(skip_index_snd_pcm_hw_params_get_rate_max) -int snd_pcm_hw_params_get_rate_max(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_get_rate_max(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_get_rate_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_rate_max_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11280,9 +12401,10 @@ int snd_pcm_hw_params_get_rate_max(const snd_pcm_hw_params_t * params, unsigned syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_rate_max(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_rate_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_rate_min) && !defined(skip_index_snd_pcm_hw_params_get_rate_min) -int snd_pcm_hw_params_get_rate_min(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_get_rate_min(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_get_rate_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_rate_min_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11292,9 +12414,10 @@ int snd_pcm_hw_params_get_rate_min(const snd_pcm_hw_params_t * params, unsigned syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_rate_min(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_rate_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_rate_numden) && !defined(skip_index_snd_pcm_hw_params_get_rate_numden) -int snd_pcm_hw_params_get_rate_numden(const snd_pcm_hw_params_t * params, unsigned int * rate_num, unsigned int * rate_den) { +int glshim_snd_pcm_hw_params_get_rate_numden(const snd_pcm_hw_params_t * params, unsigned int * rate_num, unsigned int * rate_den) { snd_pcm_hw_params_get_rate_numden_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_rate_numden_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11304,9 +12427,10 @@ int snd_pcm_hw_params_get_rate_numden(const snd_pcm_hw_params_t * params, unsign syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_rate_numden(const snd_pcm_hw_params_t * params, unsigned int * rate_num, unsigned int * rate_den) __attribute__((alias("glshim_snd_pcm_hw_params_get_rate_numden"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_rate_resample) && !defined(skip_index_snd_pcm_hw_params_get_rate_resample) -int snd_pcm_hw_params_get_rate_resample(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) { +int glshim_snd_pcm_hw_params_get_rate_resample(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) { snd_pcm_hw_params_get_rate_resample_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_rate_resample_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11316,9 +12440,10 @@ int snd_pcm_hw_params_get_rate_resample(snd_pcm_t * pcm, snd_pcm_hw_params_t * p syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_rate_resample(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) __attribute__((alias("glshim_snd_pcm_hw_params_get_rate_resample"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_sbits) && !defined(skip_index_snd_pcm_hw_params_get_sbits) -int snd_pcm_hw_params_get_sbits(const snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_get_sbits(const snd_pcm_hw_params_t * params) { snd_pcm_hw_params_get_sbits_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_sbits_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11326,9 +12451,10 @@ int snd_pcm_hw_params_get_sbits(const snd_pcm_hw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_sbits(const snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_get_sbits"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_subformat) && !defined(skip_index_snd_pcm_hw_params_get_subformat) -int snd_pcm_hw_params_get_subformat(const snd_pcm_hw_params_t * params, snd_pcm_subformat_t * subformat) { +int glshim_snd_pcm_hw_params_get_subformat(const snd_pcm_hw_params_t * params, snd_pcm_subformat_t * subformat) { snd_pcm_hw_params_get_subformat_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_subformat_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11337,18 +12463,20 @@ int snd_pcm_hw_params_get_subformat(const snd_pcm_hw_params_t * params, snd_pcm_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_subformat(const snd_pcm_hw_params_t * params, snd_pcm_subformat_t * subformat) __attribute__((alias("glshim_snd_pcm_hw_params_get_subformat"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_subformat_mask) && !defined(skip_index_snd_pcm_hw_params_get_subformat_mask) -void snd_pcm_hw_params_get_subformat_mask(snd_pcm_hw_params_t * params, snd_pcm_subformat_mask_t * mask) { +void glshim_snd_pcm_hw_params_get_subformat_mask(snd_pcm_hw_params_t * params, snd_pcm_subformat_mask_t * mask) { snd_pcm_hw_params_get_subformat_mask_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_subformat_mask_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; packed_data.args.a2 = (snd_pcm_subformat_mask_t *)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_hw_params_get_subformat_mask(snd_pcm_hw_params_t * params, snd_pcm_subformat_mask_t * mask) __attribute__((alias("glshim_snd_pcm_hw_params_get_subformat_mask"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_tick_time) && !defined(skip_index_snd_pcm_hw_params_get_tick_time) -int snd_pcm_hw_params_get_tick_time(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_get_tick_time(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_get_tick_time_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_tick_time_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11358,9 +12486,10 @@ int snd_pcm_hw_params_get_tick_time(const snd_pcm_hw_params_t * params, unsigned syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_tick_time(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_tick_time"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_tick_time_max) && !defined(skip_index_snd_pcm_hw_params_get_tick_time_max) -int snd_pcm_hw_params_get_tick_time_max(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_get_tick_time_max(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_get_tick_time_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_tick_time_max_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11370,9 +12499,10 @@ int snd_pcm_hw_params_get_tick_time_max(const snd_pcm_hw_params_t * params, unsi syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_tick_time_max(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_tick_time_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_get_tick_time_min) && !defined(skip_index_snd_pcm_hw_params_get_tick_time_min) -int snd_pcm_hw_params_get_tick_time_min(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_get_tick_time_min(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_get_tick_time_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_get_tick_time_min_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11382,9 +12512,10 @@ int snd_pcm_hw_params_get_tick_time_min(const snd_pcm_hw_params_t * params, unsi syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_get_tick_time_min(const snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_get_tick_time_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_is_batch) && !defined(skip_index_snd_pcm_hw_params_is_batch) -int snd_pcm_hw_params_is_batch(const snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_is_batch(const snd_pcm_hw_params_t * params) { snd_pcm_hw_params_is_batch_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_is_batch_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11392,9 +12523,10 @@ int snd_pcm_hw_params_is_batch(const snd_pcm_hw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_is_batch(const snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_is_batch"))); #endif #if !defined(skip_client_snd_pcm_hw_params_is_block_transfer) && !defined(skip_index_snd_pcm_hw_params_is_block_transfer) -int snd_pcm_hw_params_is_block_transfer(const snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_is_block_transfer(const snd_pcm_hw_params_t * params) { snd_pcm_hw_params_is_block_transfer_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_is_block_transfer_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11402,9 +12534,10 @@ int snd_pcm_hw_params_is_block_transfer(const snd_pcm_hw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_is_block_transfer(const snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_is_block_transfer"))); #endif #if !defined(skip_client_snd_pcm_hw_params_is_double) && !defined(skip_index_snd_pcm_hw_params_is_double) -int snd_pcm_hw_params_is_double(const snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_is_double(const snd_pcm_hw_params_t * params) { snd_pcm_hw_params_is_double_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_is_double_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11412,9 +12545,10 @@ int snd_pcm_hw_params_is_double(const snd_pcm_hw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_is_double(const snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_is_double"))); #endif #if !defined(skip_client_snd_pcm_hw_params_is_half_duplex) && !defined(skip_index_snd_pcm_hw_params_is_half_duplex) -int snd_pcm_hw_params_is_half_duplex(const snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_is_half_duplex(const snd_pcm_hw_params_t * params) { snd_pcm_hw_params_is_half_duplex_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_is_half_duplex_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11422,9 +12556,10 @@ int snd_pcm_hw_params_is_half_duplex(const snd_pcm_hw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_is_half_duplex(const snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_is_half_duplex"))); #endif #if !defined(skip_client_snd_pcm_hw_params_is_joint_duplex) && !defined(skip_index_snd_pcm_hw_params_is_joint_duplex) -int snd_pcm_hw_params_is_joint_duplex(const snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_is_joint_duplex(const snd_pcm_hw_params_t * params) { snd_pcm_hw_params_is_joint_duplex_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_is_joint_duplex_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11432,9 +12567,10 @@ int snd_pcm_hw_params_is_joint_duplex(const snd_pcm_hw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_is_joint_duplex(const snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_is_joint_duplex"))); #endif #if !defined(skip_client_snd_pcm_hw_params_is_monotonic) && !defined(skip_index_snd_pcm_hw_params_is_monotonic) -int snd_pcm_hw_params_is_monotonic(const snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_is_monotonic(const snd_pcm_hw_params_t * params) { snd_pcm_hw_params_is_monotonic_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_is_monotonic_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t *)params; @@ -11442,9 +12578,10 @@ int snd_pcm_hw_params_is_monotonic(const snd_pcm_hw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_is_monotonic(const snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_is_monotonic"))); #endif #if !defined(skip_client_snd_pcm_hw_params_malloc) && !defined(skip_index_snd_pcm_hw_params_malloc) -int snd_pcm_hw_params_malloc(snd_pcm_hw_params_t ** ptr) { +int glshim_snd_pcm_hw_params_malloc(snd_pcm_hw_params_t ** ptr) { snd_pcm_hw_params_malloc_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_malloc_INDEX; packed_data.args.a1 = (snd_pcm_hw_params_t **)ptr; @@ -11452,9 +12589,10 @@ int snd_pcm_hw_params_malloc(snd_pcm_hw_params_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_malloc(snd_pcm_hw_params_t ** ptr) __attribute__((alias("glshim_snd_pcm_hw_params_malloc"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_access) && !defined(skip_index_snd_pcm_hw_params_set_access) -int snd_pcm_hw_params_set_access(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_access_t _access) { +int glshim_snd_pcm_hw_params_set_access(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_access_t _access) { snd_pcm_hw_params_set_access_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_access_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11464,9 +12602,10 @@ int snd_pcm_hw_params_set_access(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_access(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_access_t _access) __attribute__((alias("glshim_snd_pcm_hw_params_set_access"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_access_first) && !defined(skip_index_snd_pcm_hw_params_set_access_first) -int snd_pcm_hw_params_set_access_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_access_t * _access) { +int glshim_snd_pcm_hw_params_set_access_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_access_t * _access) { snd_pcm_hw_params_set_access_first_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_access_first_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11476,9 +12615,10 @@ int snd_pcm_hw_params_set_access_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * pa syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_access_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_access_t * _access) __attribute__((alias("glshim_snd_pcm_hw_params_set_access_first"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_access_last) && !defined(skip_index_snd_pcm_hw_params_set_access_last) -int snd_pcm_hw_params_set_access_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_access_t * _access) { +int glshim_snd_pcm_hw_params_set_access_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_access_t * _access) { snd_pcm_hw_params_set_access_last_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_access_last_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11488,9 +12628,10 @@ int snd_pcm_hw_params_set_access_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_access_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_access_t * _access) __attribute__((alias("glshim_snd_pcm_hw_params_set_access_last"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_access_mask) && !defined(skip_index_snd_pcm_hw_params_set_access_mask) -int snd_pcm_hw_params_set_access_mask(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_access_mask_t * mask) { +int glshim_snd_pcm_hw_params_set_access_mask(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_access_mask_t * mask) { snd_pcm_hw_params_set_access_mask_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_access_mask_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11500,9 +12641,10 @@ int snd_pcm_hw_params_set_access_mask(snd_pcm_t * pcm, snd_pcm_hw_params_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_access_mask(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_access_mask_t * mask) __attribute__((alias("glshim_snd_pcm_hw_params_set_access_mask"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_buffer_size) && !defined(skip_index_snd_pcm_hw_params_set_buffer_size) -int snd_pcm_hw_params_set_buffer_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t val) { +int glshim_snd_pcm_hw_params_set_buffer_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t val) { snd_pcm_hw_params_set_buffer_size_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_buffer_size_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11512,9 +12654,10 @@ int snd_pcm_hw_params_set_buffer_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_buffer_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t val) __attribute__((alias("glshim_snd_pcm_hw_params_set_buffer_size"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_buffer_size_first) && !defined(skip_index_snd_pcm_hw_params_set_buffer_size_first) -int snd_pcm_hw_params_set_buffer_size_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_hw_params_set_buffer_size_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { snd_pcm_hw_params_set_buffer_size_first_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_buffer_size_first_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11524,9 +12667,10 @@ int snd_pcm_hw_params_set_buffer_size_first(snd_pcm_t * pcm, snd_pcm_hw_params_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_buffer_size_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_hw_params_set_buffer_size_first"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_buffer_size_last) && !defined(skip_index_snd_pcm_hw_params_set_buffer_size_last) -int snd_pcm_hw_params_set_buffer_size_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_hw_params_set_buffer_size_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { snd_pcm_hw_params_set_buffer_size_last_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_buffer_size_last_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11536,9 +12680,10 @@ int snd_pcm_hw_params_set_buffer_size_last(snd_pcm_t * pcm, snd_pcm_hw_params_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_buffer_size_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_hw_params_set_buffer_size_last"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_buffer_size_max) && !defined(skip_index_snd_pcm_hw_params_set_buffer_size_max) -int snd_pcm_hw_params_set_buffer_size_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_hw_params_set_buffer_size_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { snd_pcm_hw_params_set_buffer_size_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_buffer_size_max_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11548,9 +12693,10 @@ int snd_pcm_hw_params_set_buffer_size_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_buffer_size_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_hw_params_set_buffer_size_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_buffer_size_min) && !defined(skip_index_snd_pcm_hw_params_set_buffer_size_min) -int snd_pcm_hw_params_set_buffer_size_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_hw_params_set_buffer_size_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { snd_pcm_hw_params_set_buffer_size_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_buffer_size_min_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11560,9 +12706,10 @@ int snd_pcm_hw_params_set_buffer_size_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_buffer_size_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_hw_params_set_buffer_size_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_buffer_size_minmax) && !defined(skip_index_snd_pcm_hw_params_set_buffer_size_minmax) -int snd_pcm_hw_params_set_buffer_size_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * min, snd_pcm_uframes_t * max) { +int glshim_snd_pcm_hw_params_set_buffer_size_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * min, snd_pcm_uframes_t * max) { snd_pcm_hw_params_set_buffer_size_minmax_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_buffer_size_minmax_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11573,9 +12720,10 @@ int snd_pcm_hw_params_set_buffer_size_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_buffer_size_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * min, snd_pcm_uframes_t * max) __attribute__((alias("glshim_snd_pcm_hw_params_set_buffer_size_minmax"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_buffer_size_near) && !defined(skip_index_snd_pcm_hw_params_set_buffer_size_near) -int snd_pcm_hw_params_set_buffer_size_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_hw_params_set_buffer_size_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) { snd_pcm_hw_params_set_buffer_size_near_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_buffer_size_near_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11585,9 +12733,10 @@ int snd_pcm_hw_params_set_buffer_size_near(snd_pcm_t * pcm, snd_pcm_hw_params_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_buffer_size_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_hw_params_set_buffer_size_near"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_buffer_time) && !defined(skip_index_snd_pcm_hw_params_set_buffer_time) -int snd_pcm_hw_params_set_buffer_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { +int glshim_snd_pcm_hw_params_set_buffer_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { snd_pcm_hw_params_set_buffer_time_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_buffer_time_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11598,9 +12747,10 @@ int snd_pcm_hw_params_set_buffer_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_buffer_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_buffer_time"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_buffer_time_first) && !defined(skip_index_snd_pcm_hw_params_set_buffer_time_first) -int snd_pcm_hw_params_set_buffer_time_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_buffer_time_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_buffer_time_first_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_buffer_time_first_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11611,9 +12761,10 @@ int snd_pcm_hw_params_set_buffer_time_first(snd_pcm_t * pcm, snd_pcm_hw_params_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_buffer_time_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_buffer_time_first"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_buffer_time_last) && !defined(skip_index_snd_pcm_hw_params_set_buffer_time_last) -int snd_pcm_hw_params_set_buffer_time_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_buffer_time_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_buffer_time_last_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_buffer_time_last_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11624,9 +12775,10 @@ int snd_pcm_hw_params_set_buffer_time_last(snd_pcm_t * pcm, snd_pcm_hw_params_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_buffer_time_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_buffer_time_last"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_buffer_time_max) && !defined(skip_index_snd_pcm_hw_params_set_buffer_time_max) -int snd_pcm_hw_params_set_buffer_time_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_buffer_time_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_buffer_time_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_buffer_time_max_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11637,9 +12789,10 @@ int snd_pcm_hw_params_set_buffer_time_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_buffer_time_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_buffer_time_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_buffer_time_min) && !defined(skip_index_snd_pcm_hw_params_set_buffer_time_min) -int snd_pcm_hw_params_set_buffer_time_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_buffer_time_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_buffer_time_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_buffer_time_min_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11650,9 +12803,10 @@ int snd_pcm_hw_params_set_buffer_time_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_buffer_time_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_buffer_time_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_buffer_time_minmax) && !defined(skip_index_snd_pcm_hw_params_set_buffer_time_minmax) -int snd_pcm_hw_params_set_buffer_time_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, int * mindir, unsigned int * max, int * maxdir) { +int glshim_snd_pcm_hw_params_set_buffer_time_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, int * mindir, unsigned int * max, int * maxdir) { snd_pcm_hw_params_set_buffer_time_minmax_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_buffer_time_minmax_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11665,9 +12819,10 @@ int snd_pcm_hw_params_set_buffer_time_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_buffer_time_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, int * mindir, unsigned int * max, int * maxdir) __attribute__((alias("glshim_snd_pcm_hw_params_set_buffer_time_minmax"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_buffer_time_near) && !defined(skip_index_snd_pcm_hw_params_set_buffer_time_near) -int snd_pcm_hw_params_set_buffer_time_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_buffer_time_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_buffer_time_near_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_buffer_time_near_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11678,9 +12833,10 @@ int snd_pcm_hw_params_set_buffer_time_near(snd_pcm_t * pcm, snd_pcm_hw_params_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_buffer_time_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_buffer_time_near"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_channels) && !defined(skip_index_snd_pcm_hw_params_set_channels) -int snd_pcm_hw_params_set_channels(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val) { +int glshim_snd_pcm_hw_params_set_channels(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val) { snd_pcm_hw_params_set_channels_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_channels_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11690,9 +12846,10 @@ int snd_pcm_hw_params_set_channels(snd_pcm_t * pcm, snd_pcm_hw_params_t * params syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_channels(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val) __attribute__((alias("glshim_snd_pcm_hw_params_set_channels"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_channels_first) && !defined(skip_index_snd_pcm_hw_params_set_channels_first) -int snd_pcm_hw_params_set_channels_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) { +int glshim_snd_pcm_hw_params_set_channels_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) { snd_pcm_hw_params_set_channels_first_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_channels_first_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11702,9 +12859,10 @@ int snd_pcm_hw_params_set_channels_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_channels_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) __attribute__((alias("glshim_snd_pcm_hw_params_set_channels_first"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_channels_last) && !defined(skip_index_snd_pcm_hw_params_set_channels_last) -int snd_pcm_hw_params_set_channels_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) { +int glshim_snd_pcm_hw_params_set_channels_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) { snd_pcm_hw_params_set_channels_last_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_channels_last_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11714,9 +12872,10 @@ int snd_pcm_hw_params_set_channels_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * p syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_channels_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) __attribute__((alias("glshim_snd_pcm_hw_params_set_channels_last"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_channels_max) && !defined(skip_index_snd_pcm_hw_params_set_channels_max) -int snd_pcm_hw_params_set_channels_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) { +int glshim_snd_pcm_hw_params_set_channels_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) { snd_pcm_hw_params_set_channels_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_channels_max_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11726,9 +12885,10 @@ int snd_pcm_hw_params_set_channels_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * pa syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_channels_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) __attribute__((alias("glshim_snd_pcm_hw_params_set_channels_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_channels_min) && !defined(skip_index_snd_pcm_hw_params_set_channels_min) -int snd_pcm_hw_params_set_channels_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) { +int glshim_snd_pcm_hw_params_set_channels_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) { snd_pcm_hw_params_set_channels_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_channels_min_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11738,9 +12898,10 @@ int snd_pcm_hw_params_set_channels_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * pa syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_channels_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) __attribute__((alias("glshim_snd_pcm_hw_params_set_channels_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_channels_minmax) && !defined(skip_index_snd_pcm_hw_params_set_channels_minmax) -int snd_pcm_hw_params_set_channels_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, unsigned int * max) { +int glshim_snd_pcm_hw_params_set_channels_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, unsigned int * max) { snd_pcm_hw_params_set_channels_minmax_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_channels_minmax_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11751,9 +12912,10 @@ int snd_pcm_hw_params_set_channels_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_channels_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, unsigned int * max) __attribute__((alias("glshim_snd_pcm_hw_params_set_channels_minmax"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_channels_near) && !defined(skip_index_snd_pcm_hw_params_set_channels_near) -int snd_pcm_hw_params_set_channels_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) { +int glshim_snd_pcm_hw_params_set_channels_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) { snd_pcm_hw_params_set_channels_near_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_channels_near_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11763,9 +12925,10 @@ int snd_pcm_hw_params_set_channels_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * p syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_channels_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val) __attribute__((alias("glshim_snd_pcm_hw_params_set_channels_near"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_export_buffer) && !defined(skip_index_snd_pcm_hw_params_set_export_buffer) -int snd_pcm_hw_params_set_export_buffer(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val) { +int glshim_snd_pcm_hw_params_set_export_buffer(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val) { snd_pcm_hw_params_set_export_buffer_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_export_buffer_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11775,9 +12938,10 @@ int snd_pcm_hw_params_set_export_buffer(snd_pcm_t * pcm, snd_pcm_hw_params_t * p syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_export_buffer(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val) __attribute__((alias("glshim_snd_pcm_hw_params_set_export_buffer"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_format) && !defined(skip_index_snd_pcm_hw_params_set_format) -int snd_pcm_hw_params_set_format(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_format_t val) { +int glshim_snd_pcm_hw_params_set_format(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_format_t val) { snd_pcm_hw_params_set_format_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_format_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11787,9 +12951,10 @@ int snd_pcm_hw_params_set_format(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_format(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_format_t val) __attribute__((alias("glshim_snd_pcm_hw_params_set_format"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_format_first) && !defined(skip_index_snd_pcm_hw_params_set_format_first) -int snd_pcm_hw_params_set_format_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_format_t * format) { +int glshim_snd_pcm_hw_params_set_format_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_format_t * format) { snd_pcm_hw_params_set_format_first_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_format_first_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11799,9 +12964,10 @@ int snd_pcm_hw_params_set_format_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * pa syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_format_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_format_t * format) __attribute__((alias("glshim_snd_pcm_hw_params_set_format_first"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_format_last) && !defined(skip_index_snd_pcm_hw_params_set_format_last) -int snd_pcm_hw_params_set_format_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_format_t * format) { +int glshim_snd_pcm_hw_params_set_format_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_format_t * format) { snd_pcm_hw_params_set_format_last_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_format_last_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11811,9 +12977,10 @@ int snd_pcm_hw_params_set_format_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_format_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_format_t * format) __attribute__((alias("glshim_snd_pcm_hw_params_set_format_last"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_format_mask) && !defined(skip_index_snd_pcm_hw_params_set_format_mask) -int snd_pcm_hw_params_set_format_mask(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_format_mask_t * mask) { +int glshim_snd_pcm_hw_params_set_format_mask(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_format_mask_t * mask) { snd_pcm_hw_params_set_format_mask_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_format_mask_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11823,9 +12990,10 @@ int snd_pcm_hw_params_set_format_mask(snd_pcm_t * pcm, snd_pcm_hw_params_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_format_mask(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_format_mask_t * mask) __attribute__((alias("glshim_snd_pcm_hw_params_set_format_mask"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_period_size) && !defined(skip_index_snd_pcm_hw_params_set_period_size) -int snd_pcm_hw_params_set_period_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t val, int dir) { +int glshim_snd_pcm_hw_params_set_period_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t val, int dir) { snd_pcm_hw_params_set_period_size_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_period_size_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11836,9 +13004,10 @@ int snd_pcm_hw_params_set_period_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_period_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t val, int dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_period_size"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_period_size_first) && !defined(skip_index_snd_pcm_hw_params_set_period_size_first) -int snd_pcm_hw_params_set_period_size_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val, int * dir) { +int glshim_snd_pcm_hw_params_set_period_size_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val, int * dir) { snd_pcm_hw_params_set_period_size_first_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_period_size_first_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11849,9 +13018,10 @@ int snd_pcm_hw_params_set_period_size_first(snd_pcm_t * pcm, snd_pcm_hw_params_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_period_size_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_period_size_first"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_period_size_integer) && !defined(skip_index_snd_pcm_hw_params_set_period_size_integer) -int snd_pcm_hw_params_set_period_size_integer(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_set_period_size_integer(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) { snd_pcm_hw_params_set_period_size_integer_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_period_size_integer_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11860,9 +13030,10 @@ int snd_pcm_hw_params_set_period_size_integer(snd_pcm_t * pcm, snd_pcm_hw_params syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_period_size_integer(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_set_period_size_integer"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_period_size_last) && !defined(skip_index_snd_pcm_hw_params_set_period_size_last) -int snd_pcm_hw_params_set_period_size_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val, int * dir) { +int glshim_snd_pcm_hw_params_set_period_size_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val, int * dir) { snd_pcm_hw_params_set_period_size_last_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_period_size_last_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11873,9 +13044,10 @@ int snd_pcm_hw_params_set_period_size_last(snd_pcm_t * pcm, snd_pcm_hw_params_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_period_size_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_period_size_last"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_period_size_max) && !defined(skip_index_snd_pcm_hw_params_set_period_size_max) -int snd_pcm_hw_params_set_period_size_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val, int * dir) { +int glshim_snd_pcm_hw_params_set_period_size_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val, int * dir) { snd_pcm_hw_params_set_period_size_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_period_size_max_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11886,9 +13058,10 @@ int snd_pcm_hw_params_set_period_size_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_period_size_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_period_size_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_period_size_min) && !defined(skip_index_snd_pcm_hw_params_set_period_size_min) -int snd_pcm_hw_params_set_period_size_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val, int * dir) { +int glshim_snd_pcm_hw_params_set_period_size_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val, int * dir) { snd_pcm_hw_params_set_period_size_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_period_size_min_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11899,9 +13072,10 @@ int snd_pcm_hw_params_set_period_size_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_period_size_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_period_size_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_period_size_minmax) && !defined(skip_index_snd_pcm_hw_params_set_period_size_minmax) -int snd_pcm_hw_params_set_period_size_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * min, int * mindir, snd_pcm_uframes_t * max, int * maxdir) { +int glshim_snd_pcm_hw_params_set_period_size_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * min, int * mindir, snd_pcm_uframes_t * max, int * maxdir) { snd_pcm_hw_params_set_period_size_minmax_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_period_size_minmax_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11914,9 +13088,10 @@ int snd_pcm_hw_params_set_period_size_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_period_size_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * min, int * mindir, snd_pcm_uframes_t * max, int * maxdir) __attribute__((alias("glshim_snd_pcm_hw_params_set_period_size_minmax"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_period_size_near) && !defined(skip_index_snd_pcm_hw_params_set_period_size_near) -int snd_pcm_hw_params_set_period_size_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val, int * dir) { +int glshim_snd_pcm_hw_params_set_period_size_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val, int * dir) { snd_pcm_hw_params_set_period_size_near_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_period_size_near_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11927,9 +13102,10 @@ int snd_pcm_hw_params_set_period_size_near(snd_pcm_t * pcm, snd_pcm_hw_params_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_period_size_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_period_size_near"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_period_time) && !defined(skip_index_snd_pcm_hw_params_set_period_time) -int snd_pcm_hw_params_set_period_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { +int glshim_snd_pcm_hw_params_set_period_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { snd_pcm_hw_params_set_period_time_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_period_time_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11940,9 +13116,10 @@ int snd_pcm_hw_params_set_period_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_period_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_period_time"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_period_time_first) && !defined(skip_index_snd_pcm_hw_params_set_period_time_first) -int snd_pcm_hw_params_set_period_time_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_period_time_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_period_time_first_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_period_time_first_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11953,9 +13130,10 @@ int snd_pcm_hw_params_set_period_time_first(snd_pcm_t * pcm, snd_pcm_hw_params_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_period_time_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_period_time_first"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_period_time_last) && !defined(skip_index_snd_pcm_hw_params_set_period_time_last) -int snd_pcm_hw_params_set_period_time_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_period_time_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_period_time_last_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_period_time_last_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11966,9 +13144,10 @@ int snd_pcm_hw_params_set_period_time_last(snd_pcm_t * pcm, snd_pcm_hw_params_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_period_time_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_period_time_last"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_period_time_max) && !defined(skip_index_snd_pcm_hw_params_set_period_time_max) -int snd_pcm_hw_params_set_period_time_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_period_time_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_period_time_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_period_time_max_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11979,9 +13158,10 @@ int snd_pcm_hw_params_set_period_time_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_period_time_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_period_time_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_period_time_min) && !defined(skip_index_snd_pcm_hw_params_set_period_time_min) -int snd_pcm_hw_params_set_period_time_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_period_time_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_period_time_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_period_time_min_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -11992,9 +13172,10 @@ int snd_pcm_hw_params_set_period_time_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_period_time_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_period_time_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_period_time_minmax) && !defined(skip_index_snd_pcm_hw_params_set_period_time_minmax) -int snd_pcm_hw_params_set_period_time_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, int * mindir, unsigned int * max, int * maxdir) { +int glshim_snd_pcm_hw_params_set_period_time_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, int * mindir, unsigned int * max, int * maxdir) { snd_pcm_hw_params_set_period_time_minmax_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_period_time_minmax_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12007,9 +13188,10 @@ int snd_pcm_hw_params_set_period_time_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_period_time_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, int * mindir, unsigned int * max, int * maxdir) __attribute__((alias("glshim_snd_pcm_hw_params_set_period_time_minmax"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_period_time_near) && !defined(skip_index_snd_pcm_hw_params_set_period_time_near) -int snd_pcm_hw_params_set_period_time_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_period_time_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_period_time_near_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_period_time_near_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12020,9 +13202,10 @@ int snd_pcm_hw_params_set_period_time_near(snd_pcm_t * pcm, snd_pcm_hw_params_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_period_time_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_period_time_near"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_periods) && !defined(skip_index_snd_pcm_hw_params_set_periods) -int snd_pcm_hw_params_set_periods(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { +int glshim_snd_pcm_hw_params_set_periods(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { snd_pcm_hw_params_set_periods_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_periods_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12033,9 +13216,10 @@ int snd_pcm_hw_params_set_periods(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_periods(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_periods"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_periods_first) && !defined(skip_index_snd_pcm_hw_params_set_periods_first) -int snd_pcm_hw_params_set_periods_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_periods_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_periods_first_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_periods_first_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12046,9 +13230,10 @@ int snd_pcm_hw_params_set_periods_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * p syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_periods_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_periods_first"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_periods_integer) && !defined(skip_index_snd_pcm_hw_params_set_periods_integer) -int snd_pcm_hw_params_set_periods_integer(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) { +int glshim_snd_pcm_hw_params_set_periods_integer(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) { snd_pcm_hw_params_set_periods_integer_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_periods_integer_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12057,9 +13242,10 @@ int snd_pcm_hw_params_set_periods_integer(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_periods_integer(snd_pcm_t * pcm, snd_pcm_hw_params_t * params) __attribute__((alias("glshim_snd_pcm_hw_params_set_periods_integer"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_periods_last) && !defined(skip_index_snd_pcm_hw_params_set_periods_last) -int snd_pcm_hw_params_set_periods_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_periods_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_periods_last_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_periods_last_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12070,9 +13256,10 @@ int snd_pcm_hw_params_set_periods_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * pa syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_periods_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_periods_last"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_periods_max) && !defined(skip_index_snd_pcm_hw_params_set_periods_max) -int snd_pcm_hw_params_set_periods_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_periods_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_periods_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_periods_max_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12083,9 +13270,10 @@ int snd_pcm_hw_params_set_periods_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_periods_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_periods_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_periods_min) && !defined(skip_index_snd_pcm_hw_params_set_periods_min) -int snd_pcm_hw_params_set_periods_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_periods_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_periods_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_periods_min_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12096,9 +13284,10 @@ int snd_pcm_hw_params_set_periods_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_periods_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_periods_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_periods_minmax) && !defined(skip_index_snd_pcm_hw_params_set_periods_minmax) -int snd_pcm_hw_params_set_periods_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, int * mindir, unsigned int * max, int * maxdir) { +int glshim_snd_pcm_hw_params_set_periods_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, int * mindir, unsigned int * max, int * maxdir) { snd_pcm_hw_params_set_periods_minmax_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_periods_minmax_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12111,9 +13300,10 @@ int snd_pcm_hw_params_set_periods_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_periods_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, int * mindir, unsigned int * max, int * maxdir) __attribute__((alias("glshim_snd_pcm_hw_params_set_periods_minmax"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_periods_near) && !defined(skip_index_snd_pcm_hw_params_set_periods_near) -int snd_pcm_hw_params_set_periods_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_periods_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_periods_near_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_periods_near_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12124,9 +13314,10 @@ int snd_pcm_hw_params_set_periods_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * pa syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_periods_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_periods_near"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_rate) && !defined(skip_index_snd_pcm_hw_params_set_rate) -int snd_pcm_hw_params_set_rate(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { +int glshim_snd_pcm_hw_params_set_rate(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { snd_pcm_hw_params_set_rate_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_rate_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12137,9 +13328,10 @@ int snd_pcm_hw_params_set_rate(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, un syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_rate(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_rate"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_rate_first) && !defined(skip_index_snd_pcm_hw_params_set_rate_first) -int snd_pcm_hw_params_set_rate_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_rate_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_rate_first_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_rate_first_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12150,9 +13342,10 @@ int snd_pcm_hw_params_set_rate_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * para syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_rate_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_rate_first"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_rate_last) && !defined(skip_index_snd_pcm_hw_params_set_rate_last) -int snd_pcm_hw_params_set_rate_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_rate_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_rate_last_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_rate_last_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12163,9 +13356,10 @@ int snd_pcm_hw_params_set_rate_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * param syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_rate_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_rate_last"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_rate_max) && !defined(skip_index_snd_pcm_hw_params_set_rate_max) -int snd_pcm_hw_params_set_rate_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_rate_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_rate_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_rate_max_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12176,9 +13370,10 @@ int snd_pcm_hw_params_set_rate_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_rate_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_rate_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_rate_min) && !defined(skip_index_snd_pcm_hw_params_set_rate_min) -int snd_pcm_hw_params_set_rate_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_rate_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_rate_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_rate_min_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12189,9 +13384,10 @@ int snd_pcm_hw_params_set_rate_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_rate_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_rate_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_rate_minmax) && !defined(skip_index_snd_pcm_hw_params_set_rate_minmax) -int snd_pcm_hw_params_set_rate_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, int * mindir, unsigned int * max, int * maxdir) { +int glshim_snd_pcm_hw_params_set_rate_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, int * mindir, unsigned int * max, int * maxdir) { snd_pcm_hw_params_set_rate_minmax_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_rate_minmax_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12204,9 +13400,10 @@ int snd_pcm_hw_params_set_rate_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_rate_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, int * mindir, unsigned int * max, int * maxdir) __attribute__((alias("glshim_snd_pcm_hw_params_set_rate_minmax"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_rate_near) && !defined(skip_index_snd_pcm_hw_params_set_rate_near) -int snd_pcm_hw_params_set_rate_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_rate_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_rate_near_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_rate_near_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12217,9 +13414,10 @@ int snd_pcm_hw_params_set_rate_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * param syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_rate_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_rate_near"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_rate_resample) && !defined(skip_index_snd_pcm_hw_params_set_rate_resample) -int snd_pcm_hw_params_set_rate_resample(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val) { +int glshim_snd_pcm_hw_params_set_rate_resample(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val) { snd_pcm_hw_params_set_rate_resample_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_rate_resample_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12229,9 +13427,10 @@ int snd_pcm_hw_params_set_rate_resample(snd_pcm_t * pcm, snd_pcm_hw_params_t * p syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_rate_resample(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val) __attribute__((alias("glshim_snd_pcm_hw_params_set_rate_resample"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_subformat) && !defined(skip_index_snd_pcm_hw_params_set_subformat) -int snd_pcm_hw_params_set_subformat(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_subformat_t subformat) { +int glshim_snd_pcm_hw_params_set_subformat(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_subformat_t subformat) { snd_pcm_hw_params_set_subformat_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_subformat_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12241,9 +13440,10 @@ int snd_pcm_hw_params_set_subformat(snd_pcm_t * pcm, snd_pcm_hw_params_t * param syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_subformat(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_subformat_t subformat) __attribute__((alias("glshim_snd_pcm_hw_params_set_subformat"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_subformat_first) && !defined(skip_index_snd_pcm_hw_params_set_subformat_first) -int snd_pcm_hw_params_set_subformat_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_subformat_t * subformat) { +int glshim_snd_pcm_hw_params_set_subformat_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_subformat_t * subformat) { snd_pcm_hw_params_set_subformat_first_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_subformat_first_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12253,9 +13453,10 @@ int snd_pcm_hw_params_set_subformat_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_subformat_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_subformat_t * subformat) __attribute__((alias("glshim_snd_pcm_hw_params_set_subformat_first"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_subformat_last) && !defined(skip_index_snd_pcm_hw_params_set_subformat_last) -int snd_pcm_hw_params_set_subformat_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_subformat_t * subformat) { +int glshim_snd_pcm_hw_params_set_subformat_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_subformat_t * subformat) { snd_pcm_hw_params_set_subformat_last_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_subformat_last_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12265,9 +13466,10 @@ int snd_pcm_hw_params_set_subformat_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_subformat_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_subformat_t * subformat) __attribute__((alias("glshim_snd_pcm_hw_params_set_subformat_last"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_subformat_mask) && !defined(skip_index_snd_pcm_hw_params_set_subformat_mask) -int snd_pcm_hw_params_set_subformat_mask(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_subformat_mask_t * mask) { +int glshim_snd_pcm_hw_params_set_subformat_mask(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_subformat_mask_t * mask) { snd_pcm_hw_params_set_subformat_mask_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_subformat_mask_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12277,9 +13479,10 @@ int snd_pcm_hw_params_set_subformat_mask(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_subformat_mask(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_subformat_mask_t * mask) __attribute__((alias("glshim_snd_pcm_hw_params_set_subformat_mask"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_tick_time) && !defined(skip_index_snd_pcm_hw_params_set_tick_time) -int snd_pcm_hw_params_set_tick_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { +int glshim_snd_pcm_hw_params_set_tick_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { snd_pcm_hw_params_set_tick_time_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_tick_time_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12290,9 +13493,10 @@ int snd_pcm_hw_params_set_tick_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * param syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_tick_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_tick_time"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_tick_time_first) && !defined(skip_index_snd_pcm_hw_params_set_tick_time_first) -int snd_pcm_hw_params_set_tick_time_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_tick_time_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_tick_time_first_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_tick_time_first_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12303,9 +13507,10 @@ int snd_pcm_hw_params_set_tick_time_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_tick_time_first(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_tick_time_first"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_tick_time_last) && !defined(skip_index_snd_pcm_hw_params_set_tick_time_last) -int snd_pcm_hw_params_set_tick_time_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_tick_time_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_tick_time_last_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_tick_time_last_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12316,9 +13521,10 @@ int snd_pcm_hw_params_set_tick_time_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_tick_time_last(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_tick_time_last"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_tick_time_max) && !defined(skip_index_snd_pcm_hw_params_set_tick_time_max) -int snd_pcm_hw_params_set_tick_time_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_tick_time_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_tick_time_max_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_tick_time_max_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12329,9 +13535,10 @@ int snd_pcm_hw_params_set_tick_time_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * p syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_tick_time_max(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_tick_time_max"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_tick_time_min) && !defined(skip_index_snd_pcm_hw_params_set_tick_time_min) -int snd_pcm_hw_params_set_tick_time_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_tick_time_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_tick_time_min_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_tick_time_min_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12342,9 +13549,10 @@ int snd_pcm_hw_params_set_tick_time_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * p syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_tick_time_min(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_tick_time_min"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_tick_time_minmax) && !defined(skip_index_snd_pcm_hw_params_set_tick_time_minmax) -int snd_pcm_hw_params_set_tick_time_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, int * mindir, unsigned int * max, int * maxdir) { +int glshim_snd_pcm_hw_params_set_tick_time_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, int * mindir, unsigned int * max, int * maxdir) { snd_pcm_hw_params_set_tick_time_minmax_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_tick_time_minmax_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12357,9 +13565,10 @@ int snd_pcm_hw_params_set_tick_time_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_tick_time_minmax(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * min, int * mindir, unsigned int * max, int * maxdir) __attribute__((alias("glshim_snd_pcm_hw_params_set_tick_time_minmax"))); #endif #if !defined(skip_client_snd_pcm_hw_params_set_tick_time_near) && !defined(skip_index_snd_pcm_hw_params_set_tick_time_near) -int snd_pcm_hw_params_set_tick_time_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { +int glshim_snd_pcm_hw_params_set_tick_time_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) { snd_pcm_hw_params_set_tick_time_near_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_set_tick_time_near_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12370,18 +13579,20 @@ int snd_pcm_hw_params_set_tick_time_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_set_tick_time_near(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int * val, int * dir) __attribute__((alias("glshim_snd_pcm_hw_params_set_tick_time_near"))); #endif #if !defined(skip_client_snd_pcm_hw_params_sizeof) && !defined(skip_index_snd_pcm_hw_params_sizeof) -size_t snd_pcm_hw_params_sizeof() { +size_t glshim_snd_pcm_hw_params_sizeof() { snd_pcm_hw_params_sizeof_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_pcm_hw_params_sizeof() __attribute__((alias("glshim_snd_pcm_hw_params_sizeof"))); #endif #if !defined(skip_client_snd_pcm_hw_params_test_access) && !defined(skip_index_snd_pcm_hw_params_test_access) -int snd_pcm_hw_params_test_access(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_access_t _access) { +int glshim_snd_pcm_hw_params_test_access(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_access_t _access) { snd_pcm_hw_params_test_access_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_test_access_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12391,9 +13602,10 @@ int snd_pcm_hw_params_test_access(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_test_access(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_access_t _access) __attribute__((alias("glshim_snd_pcm_hw_params_test_access"))); #endif #if !defined(skip_client_snd_pcm_hw_params_test_buffer_size) && !defined(skip_index_snd_pcm_hw_params_test_buffer_size) -int snd_pcm_hw_params_test_buffer_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t val) { +int glshim_snd_pcm_hw_params_test_buffer_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t val) { snd_pcm_hw_params_test_buffer_size_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_test_buffer_size_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12403,9 +13615,10 @@ int snd_pcm_hw_params_test_buffer_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * pa syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_test_buffer_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t val) __attribute__((alias("glshim_snd_pcm_hw_params_test_buffer_size"))); #endif #if !defined(skip_client_snd_pcm_hw_params_test_buffer_time) && !defined(skip_index_snd_pcm_hw_params_test_buffer_time) -int snd_pcm_hw_params_test_buffer_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { +int glshim_snd_pcm_hw_params_test_buffer_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { snd_pcm_hw_params_test_buffer_time_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_test_buffer_time_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12416,9 +13629,10 @@ int snd_pcm_hw_params_test_buffer_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * pa syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_test_buffer_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) __attribute__((alias("glshim_snd_pcm_hw_params_test_buffer_time"))); #endif #if !defined(skip_client_snd_pcm_hw_params_test_channels) && !defined(skip_index_snd_pcm_hw_params_test_channels) -int snd_pcm_hw_params_test_channels(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val) { +int glshim_snd_pcm_hw_params_test_channels(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val) { snd_pcm_hw_params_test_channels_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_test_channels_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12428,9 +13642,10 @@ int snd_pcm_hw_params_test_channels(snd_pcm_t * pcm, snd_pcm_hw_params_t * param syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_test_channels(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val) __attribute__((alias("glshim_snd_pcm_hw_params_test_channels"))); #endif #if !defined(skip_client_snd_pcm_hw_params_test_format) && !defined(skip_index_snd_pcm_hw_params_test_format) -int snd_pcm_hw_params_test_format(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_format_t val) { +int glshim_snd_pcm_hw_params_test_format(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_format_t val) { snd_pcm_hw_params_test_format_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_test_format_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12440,9 +13655,10 @@ int snd_pcm_hw_params_test_format(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_test_format(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_format_t val) __attribute__((alias("glshim_snd_pcm_hw_params_test_format"))); #endif #if !defined(skip_client_snd_pcm_hw_params_test_period_size) && !defined(skip_index_snd_pcm_hw_params_test_period_size) -int snd_pcm_hw_params_test_period_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t val, int dir) { +int glshim_snd_pcm_hw_params_test_period_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t val, int dir) { snd_pcm_hw_params_test_period_size_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_test_period_size_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12453,9 +13669,10 @@ int snd_pcm_hw_params_test_period_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * pa syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_test_period_size(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_uframes_t val, int dir) __attribute__((alias("glshim_snd_pcm_hw_params_test_period_size"))); #endif #if !defined(skip_client_snd_pcm_hw_params_test_period_time) && !defined(skip_index_snd_pcm_hw_params_test_period_time) -int snd_pcm_hw_params_test_period_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { +int glshim_snd_pcm_hw_params_test_period_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { snd_pcm_hw_params_test_period_time_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_test_period_time_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12466,9 +13683,10 @@ int snd_pcm_hw_params_test_period_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * pa syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_test_period_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) __attribute__((alias("glshim_snd_pcm_hw_params_test_period_time"))); #endif #if !defined(skip_client_snd_pcm_hw_params_test_periods) && !defined(skip_index_snd_pcm_hw_params_test_periods) -int snd_pcm_hw_params_test_periods(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { +int glshim_snd_pcm_hw_params_test_periods(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { snd_pcm_hw_params_test_periods_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_test_periods_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12479,9 +13697,10 @@ int snd_pcm_hw_params_test_periods(snd_pcm_t * pcm, snd_pcm_hw_params_t * params syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_test_periods(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) __attribute__((alias("glshim_snd_pcm_hw_params_test_periods"))); #endif #if !defined(skip_client_snd_pcm_hw_params_test_rate) && !defined(skip_index_snd_pcm_hw_params_test_rate) -int snd_pcm_hw_params_test_rate(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { +int glshim_snd_pcm_hw_params_test_rate(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { snd_pcm_hw_params_test_rate_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_test_rate_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12492,9 +13711,10 @@ int snd_pcm_hw_params_test_rate(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, u syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_test_rate(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) __attribute__((alias("glshim_snd_pcm_hw_params_test_rate"))); #endif #if !defined(skip_client_snd_pcm_hw_params_test_subformat) && !defined(skip_index_snd_pcm_hw_params_test_subformat) -int snd_pcm_hw_params_test_subformat(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_subformat_t subformat) { +int glshim_snd_pcm_hw_params_test_subformat(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_subformat_t subformat) { snd_pcm_hw_params_test_subformat_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_test_subformat_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12504,9 +13724,10 @@ int snd_pcm_hw_params_test_subformat(snd_pcm_t * pcm, snd_pcm_hw_params_t * para syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_test_subformat(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, snd_pcm_subformat_t subformat) __attribute__((alias("glshim_snd_pcm_hw_params_test_subformat"))); #endif #if !defined(skip_client_snd_pcm_hw_params_test_tick_time) && !defined(skip_index_snd_pcm_hw_params_test_tick_time) -int snd_pcm_hw_params_test_tick_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { +int glshim_snd_pcm_hw_params_test_tick_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) { snd_pcm_hw_params_test_tick_time_INDEXED packed_data; packed_data.func = snd_pcm_hw_params_test_tick_time_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12517,9 +13738,10 @@ int snd_pcm_hw_params_test_tick_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * para syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hw_params_test_tick_time(snd_pcm_t * pcm, snd_pcm_hw_params_t * params, unsigned int val, int dir) __attribute__((alias("glshim_snd_pcm_hw_params_test_tick_time"))); #endif #if !defined(skip_client_snd_pcm_hwsync) && !defined(skip_index_snd_pcm_hwsync) -int snd_pcm_hwsync(snd_pcm_t * pcm) { +int glshim_snd_pcm_hwsync(snd_pcm_t * pcm) { snd_pcm_hwsync_INDEXED packed_data; packed_data.func = snd_pcm_hwsync_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12527,9 +13749,10 @@ int snd_pcm_hwsync(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_hwsync(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_hwsync"))); #endif #if !defined(skip_client_snd_pcm_info) && !defined(skip_index_snd_pcm_info) -int snd_pcm_info(snd_pcm_t * pcm, snd_pcm_info_t * info) { +int glshim_snd_pcm_info(snd_pcm_t * pcm, snd_pcm_info_t * info) { snd_pcm_info_INDEXED packed_data; packed_data.func = snd_pcm_info_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12538,26 +13761,29 @@ int snd_pcm_info(snd_pcm_t * pcm, snd_pcm_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_info(snd_pcm_t * pcm, snd_pcm_info_t * info) __attribute__((alias("glshim_snd_pcm_info"))); #endif #if !defined(skip_client_snd_pcm_info_copy) && !defined(skip_index_snd_pcm_info_copy) -void snd_pcm_info_copy(snd_pcm_info_t * dst, const snd_pcm_info_t * src) { +void glshim_snd_pcm_info_copy(snd_pcm_info_t * dst, const snd_pcm_info_t * src) { snd_pcm_info_copy_INDEXED packed_data; packed_data.func = snd_pcm_info_copy_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)dst; packed_data.args.a2 = (snd_pcm_info_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_info_copy(snd_pcm_info_t * dst, const snd_pcm_info_t * src) __attribute__((alias("glshim_snd_pcm_info_copy"))); #endif #if !defined(skip_client_snd_pcm_info_free) && !defined(skip_index_snd_pcm_info_free) -void snd_pcm_info_free(snd_pcm_info_t * obj) { +void glshim_snd_pcm_info_free(snd_pcm_info_t * obj) { snd_pcm_info_free_INDEXED packed_data; packed_data.func = snd_pcm_info_free_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_info_free(snd_pcm_info_t * obj) __attribute__((alias("glshim_snd_pcm_info_free"))); #endif #if !defined(skip_client_snd_pcm_info_get_card) && !defined(skip_index_snd_pcm_info_get_card) -int snd_pcm_info_get_card(const snd_pcm_info_t * obj) { +int glshim_snd_pcm_info_get_card(const snd_pcm_info_t * obj) { snd_pcm_info_get_card_INDEXED packed_data; packed_data.func = snd_pcm_info_get_card_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; @@ -12565,9 +13791,10 @@ int snd_pcm_info_get_card(const snd_pcm_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_info_get_card(const snd_pcm_info_t * obj) __attribute__((alias("glshim_snd_pcm_info_get_card"))); #endif #if !defined(skip_client_snd_pcm_info_get_class) && !defined(skip_index_snd_pcm_info_get_class) -snd_pcm_class_t snd_pcm_info_get_class(const snd_pcm_info_t * obj) { +snd_pcm_class_t glshim_snd_pcm_info_get_class(const snd_pcm_info_t * obj) { snd_pcm_info_get_class_INDEXED packed_data; packed_data.func = snd_pcm_info_get_class_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; @@ -12575,9 +13802,10 @@ snd_pcm_class_t snd_pcm_info_get_class(const snd_pcm_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_class_t snd_pcm_info_get_class(const snd_pcm_info_t * obj) __attribute__((alias("glshim_snd_pcm_info_get_class"))); #endif #if !defined(skip_client_snd_pcm_info_get_device) && !defined(skip_index_snd_pcm_info_get_device) -unsigned int snd_pcm_info_get_device(const snd_pcm_info_t * obj) { +unsigned int glshim_snd_pcm_info_get_device(const snd_pcm_info_t * obj) { snd_pcm_info_get_device_INDEXED packed_data; packed_data.func = snd_pcm_info_get_device_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; @@ -12585,9 +13813,10 @@ unsigned int snd_pcm_info_get_device(const snd_pcm_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_pcm_info_get_device(const snd_pcm_info_t * obj) __attribute__((alias("glshim_snd_pcm_info_get_device"))); #endif #if !defined(skip_client_snd_pcm_info_get_id) && !defined(skip_index_snd_pcm_info_get_id) -const char * snd_pcm_info_get_id(const snd_pcm_info_t * obj) { +const char * glshim_snd_pcm_info_get_id(const snd_pcm_info_t * obj) { snd_pcm_info_get_id_INDEXED packed_data; packed_data.func = snd_pcm_info_get_id_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; @@ -12595,9 +13824,10 @@ const char * snd_pcm_info_get_id(const snd_pcm_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_info_get_id(const snd_pcm_info_t * obj) __attribute__((alias("glshim_snd_pcm_info_get_id"))); #endif #if !defined(skip_client_snd_pcm_info_get_name) && !defined(skip_index_snd_pcm_info_get_name) -const char * snd_pcm_info_get_name(const snd_pcm_info_t * obj) { +const char * glshim_snd_pcm_info_get_name(const snd_pcm_info_t * obj) { snd_pcm_info_get_name_INDEXED packed_data; packed_data.func = snd_pcm_info_get_name_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; @@ -12605,9 +13835,10 @@ const char * snd_pcm_info_get_name(const snd_pcm_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_info_get_name(const snd_pcm_info_t * obj) __attribute__((alias("glshim_snd_pcm_info_get_name"))); #endif #if !defined(skip_client_snd_pcm_info_get_stream) && !defined(skip_index_snd_pcm_info_get_stream) -snd_pcm_stream_t snd_pcm_info_get_stream(const snd_pcm_info_t * obj) { +snd_pcm_stream_t glshim_snd_pcm_info_get_stream(const snd_pcm_info_t * obj) { snd_pcm_info_get_stream_INDEXED packed_data; packed_data.func = snd_pcm_info_get_stream_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; @@ -12615,9 +13846,10 @@ snd_pcm_stream_t snd_pcm_info_get_stream(const snd_pcm_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_stream_t snd_pcm_info_get_stream(const snd_pcm_info_t * obj) __attribute__((alias("glshim_snd_pcm_info_get_stream"))); #endif #if !defined(skip_client_snd_pcm_info_get_subclass) && !defined(skip_index_snd_pcm_info_get_subclass) -snd_pcm_subclass_t snd_pcm_info_get_subclass(const snd_pcm_info_t * obj) { +snd_pcm_subclass_t glshim_snd_pcm_info_get_subclass(const snd_pcm_info_t * obj) { snd_pcm_info_get_subclass_INDEXED packed_data; packed_data.func = snd_pcm_info_get_subclass_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; @@ -12625,9 +13857,10 @@ snd_pcm_subclass_t snd_pcm_info_get_subclass(const snd_pcm_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_subclass_t snd_pcm_info_get_subclass(const snd_pcm_info_t * obj) __attribute__((alias("glshim_snd_pcm_info_get_subclass"))); #endif #if !defined(skip_client_snd_pcm_info_get_subdevice) && !defined(skip_index_snd_pcm_info_get_subdevice) -unsigned int snd_pcm_info_get_subdevice(const snd_pcm_info_t * obj) { +unsigned int glshim_snd_pcm_info_get_subdevice(const snd_pcm_info_t * obj) { snd_pcm_info_get_subdevice_INDEXED packed_data; packed_data.func = snd_pcm_info_get_subdevice_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; @@ -12635,9 +13868,10 @@ unsigned int snd_pcm_info_get_subdevice(const snd_pcm_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_pcm_info_get_subdevice(const snd_pcm_info_t * obj) __attribute__((alias("glshim_snd_pcm_info_get_subdevice"))); #endif #if !defined(skip_client_snd_pcm_info_get_subdevice_name) && !defined(skip_index_snd_pcm_info_get_subdevice_name) -const char * snd_pcm_info_get_subdevice_name(const snd_pcm_info_t * obj) { +const char * glshim_snd_pcm_info_get_subdevice_name(const snd_pcm_info_t * obj) { snd_pcm_info_get_subdevice_name_INDEXED packed_data; packed_data.func = snd_pcm_info_get_subdevice_name_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; @@ -12645,9 +13879,10 @@ const char * snd_pcm_info_get_subdevice_name(const snd_pcm_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_info_get_subdevice_name(const snd_pcm_info_t * obj) __attribute__((alias("glshim_snd_pcm_info_get_subdevice_name"))); #endif #if !defined(skip_client_snd_pcm_info_get_subdevices_avail) && !defined(skip_index_snd_pcm_info_get_subdevices_avail) -unsigned int snd_pcm_info_get_subdevices_avail(const snd_pcm_info_t * obj) { +unsigned int glshim_snd_pcm_info_get_subdevices_avail(const snd_pcm_info_t * obj) { snd_pcm_info_get_subdevices_avail_INDEXED packed_data; packed_data.func = snd_pcm_info_get_subdevices_avail_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; @@ -12655,9 +13890,10 @@ unsigned int snd_pcm_info_get_subdevices_avail(const snd_pcm_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_pcm_info_get_subdevices_avail(const snd_pcm_info_t * obj) __attribute__((alias("glshim_snd_pcm_info_get_subdevices_avail"))); #endif #if !defined(skip_client_snd_pcm_info_get_subdevices_count) && !defined(skip_index_snd_pcm_info_get_subdevices_count) -unsigned int snd_pcm_info_get_subdevices_count(const snd_pcm_info_t * obj) { +unsigned int glshim_snd_pcm_info_get_subdevices_count(const snd_pcm_info_t * obj) { snd_pcm_info_get_subdevices_count_INDEXED packed_data; packed_data.func = snd_pcm_info_get_subdevices_count_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; @@ -12665,9 +13901,10 @@ unsigned int snd_pcm_info_get_subdevices_count(const snd_pcm_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_pcm_info_get_subdevices_count(const snd_pcm_info_t * obj) __attribute__((alias("glshim_snd_pcm_info_get_subdevices_count"))); #endif #if !defined(skip_client_snd_pcm_info_get_sync) && !defined(skip_index_snd_pcm_info_get_sync) -snd_pcm_sync_id_t snd_pcm_info_get_sync(const snd_pcm_info_t * obj) { +snd_pcm_sync_id_t glshim_snd_pcm_info_get_sync(const snd_pcm_info_t * obj) { snd_pcm_info_get_sync_INDEXED packed_data; packed_data.func = snd_pcm_info_get_sync_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; @@ -12675,9 +13912,10 @@ snd_pcm_sync_id_t snd_pcm_info_get_sync(const snd_pcm_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_sync_id_t snd_pcm_info_get_sync(const snd_pcm_info_t * obj) __attribute__((alias("glshim_snd_pcm_info_get_sync"))); #endif #if !defined(skip_client_snd_pcm_info_malloc) && !defined(skip_index_snd_pcm_info_malloc) -int snd_pcm_info_malloc(snd_pcm_info_t ** ptr) { +int glshim_snd_pcm_info_malloc(snd_pcm_info_t ** ptr) { snd_pcm_info_malloc_INDEXED packed_data; packed_data.func = snd_pcm_info_malloc_INDEX; packed_data.args.a1 = (snd_pcm_info_t **)ptr; @@ -12685,45 +13923,50 @@ int snd_pcm_info_malloc(snd_pcm_info_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_info_malloc(snd_pcm_info_t ** ptr) __attribute__((alias("glshim_snd_pcm_info_malloc"))); #endif #if !defined(skip_client_snd_pcm_info_set_device) && !defined(skip_index_snd_pcm_info_set_device) -void snd_pcm_info_set_device(snd_pcm_info_t * obj, unsigned int val) { +void glshim_snd_pcm_info_set_device(snd_pcm_info_t * obj, unsigned int val) { snd_pcm_info_set_device_INDEXED packed_data; packed_data.func = snd_pcm_info_set_device_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_info_set_device(snd_pcm_info_t * obj, unsigned int val) __attribute__((alias("glshim_snd_pcm_info_set_device"))); #endif #if !defined(skip_client_snd_pcm_info_set_stream) && !defined(skip_index_snd_pcm_info_set_stream) -void snd_pcm_info_set_stream(snd_pcm_info_t * obj, snd_pcm_stream_t val) { +void glshim_snd_pcm_info_set_stream(snd_pcm_info_t * obj, snd_pcm_stream_t val) { snd_pcm_info_set_stream_INDEXED packed_data; packed_data.func = snd_pcm_info_set_stream_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; packed_data.args.a2 = (snd_pcm_stream_t)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_info_set_stream(snd_pcm_info_t * obj, snd_pcm_stream_t val) __attribute__((alias("glshim_snd_pcm_info_set_stream"))); #endif #if !defined(skip_client_snd_pcm_info_set_subdevice) && !defined(skip_index_snd_pcm_info_set_subdevice) -void snd_pcm_info_set_subdevice(snd_pcm_info_t * obj, unsigned int val) { +void glshim_snd_pcm_info_set_subdevice(snd_pcm_info_t * obj, unsigned int val) { snd_pcm_info_set_subdevice_INDEXED packed_data; packed_data.func = snd_pcm_info_set_subdevice_INDEX; packed_data.args.a1 = (snd_pcm_info_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_info_set_subdevice(snd_pcm_info_t * obj, unsigned int val) __attribute__((alias("glshim_snd_pcm_info_set_subdevice"))); #endif #if !defined(skip_client_snd_pcm_info_sizeof) && !defined(skip_index_snd_pcm_info_sizeof) -size_t snd_pcm_info_sizeof() { +size_t glshim_snd_pcm_info_sizeof() { snd_pcm_info_sizeof_INDEXED packed_data; packed_data.func = snd_pcm_info_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_pcm_info_sizeof() __attribute__((alias("glshim_snd_pcm_info_sizeof"))); #endif #if !defined(skip_client_snd_pcm_link) && !defined(skip_index_snd_pcm_link) -int snd_pcm_link(snd_pcm_t * pcm1, snd_pcm_t * pcm2) { +int glshim_snd_pcm_link(snd_pcm_t * pcm1, snd_pcm_t * pcm2) { snd_pcm_link_INDEXED packed_data; packed_data.func = snd_pcm_link_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm1; @@ -12732,9 +13975,10 @@ int snd_pcm_link(snd_pcm_t * pcm1, snd_pcm_t * pcm2) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_link(snd_pcm_t * pcm1, snd_pcm_t * pcm2) __attribute__((alias("glshim_snd_pcm_link"))); #endif #if !defined(skip_client_snd_pcm_meter_add_scope) && !defined(skip_index_snd_pcm_meter_add_scope) -int snd_pcm_meter_add_scope(snd_pcm_t * pcm, snd_pcm_scope_t * scope) { +int glshim_snd_pcm_meter_add_scope(snd_pcm_t * pcm, snd_pcm_scope_t * scope) { snd_pcm_meter_add_scope_INDEXED packed_data; packed_data.func = snd_pcm_meter_add_scope_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12743,9 +13987,10 @@ int snd_pcm_meter_add_scope(snd_pcm_t * pcm, snd_pcm_scope_t * scope) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_meter_add_scope(snd_pcm_t * pcm, snd_pcm_scope_t * scope) __attribute__((alias("glshim_snd_pcm_meter_add_scope"))); #endif #if !defined(skip_client_snd_pcm_meter_get_boundary) && !defined(skip_index_snd_pcm_meter_get_boundary) -snd_pcm_uframes_t snd_pcm_meter_get_boundary(snd_pcm_t * pcm) { +snd_pcm_uframes_t glshim_snd_pcm_meter_get_boundary(snd_pcm_t * pcm) { snd_pcm_meter_get_boundary_INDEXED packed_data; packed_data.func = snd_pcm_meter_get_boundary_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12753,9 +13998,10 @@ snd_pcm_uframes_t snd_pcm_meter_get_boundary(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_uframes_t snd_pcm_meter_get_boundary(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_meter_get_boundary"))); #endif #if !defined(skip_client_snd_pcm_meter_get_bufsize) && !defined(skip_index_snd_pcm_meter_get_bufsize) -snd_pcm_uframes_t snd_pcm_meter_get_bufsize(snd_pcm_t * pcm) { +snd_pcm_uframes_t glshim_snd_pcm_meter_get_bufsize(snd_pcm_t * pcm) { snd_pcm_meter_get_bufsize_INDEXED packed_data; packed_data.func = snd_pcm_meter_get_bufsize_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12763,9 +14009,10 @@ snd_pcm_uframes_t snd_pcm_meter_get_bufsize(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_uframes_t snd_pcm_meter_get_bufsize(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_meter_get_bufsize"))); #endif #if !defined(skip_client_snd_pcm_meter_get_channels) && !defined(skip_index_snd_pcm_meter_get_channels) -unsigned int snd_pcm_meter_get_channels(snd_pcm_t * pcm) { +unsigned int glshim_snd_pcm_meter_get_channels(snd_pcm_t * pcm) { snd_pcm_meter_get_channels_INDEXED packed_data; packed_data.func = snd_pcm_meter_get_channels_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12773,9 +14020,10 @@ unsigned int snd_pcm_meter_get_channels(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_pcm_meter_get_channels(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_meter_get_channels"))); #endif #if !defined(skip_client_snd_pcm_meter_get_now) && !defined(skip_index_snd_pcm_meter_get_now) -snd_pcm_uframes_t snd_pcm_meter_get_now(snd_pcm_t * pcm) { +snd_pcm_uframes_t glshim_snd_pcm_meter_get_now(snd_pcm_t * pcm) { snd_pcm_meter_get_now_INDEXED packed_data; packed_data.func = snd_pcm_meter_get_now_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12783,9 +14031,10 @@ snd_pcm_uframes_t snd_pcm_meter_get_now(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_uframes_t snd_pcm_meter_get_now(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_meter_get_now"))); #endif #if !defined(skip_client_snd_pcm_meter_get_rate) && !defined(skip_index_snd_pcm_meter_get_rate) -unsigned int snd_pcm_meter_get_rate(snd_pcm_t * pcm) { +unsigned int glshim_snd_pcm_meter_get_rate(snd_pcm_t * pcm) { snd_pcm_meter_get_rate_INDEXED packed_data; packed_data.func = snd_pcm_meter_get_rate_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12793,9 +14042,10 @@ unsigned int snd_pcm_meter_get_rate(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_pcm_meter_get_rate(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_meter_get_rate"))); #endif #if !defined(skip_client_snd_pcm_meter_search_scope) && !defined(skip_index_snd_pcm_meter_search_scope) -snd_pcm_scope_t * snd_pcm_meter_search_scope(snd_pcm_t * pcm, const char * name) { +snd_pcm_scope_t * glshim_snd_pcm_meter_search_scope(snd_pcm_t * pcm, const char * name) { snd_pcm_meter_search_scope_INDEXED packed_data; packed_data.func = snd_pcm_meter_search_scope_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12804,9 +14054,10 @@ snd_pcm_scope_t * snd_pcm_meter_search_scope(snd_pcm_t * pcm, const char * name) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_scope_t * snd_pcm_meter_search_scope(snd_pcm_t * pcm, const char * name) __attribute__((alias("glshim_snd_pcm_meter_search_scope"))); #endif #if !defined(skip_client_snd_pcm_mmap_begin) && !defined(skip_index_snd_pcm_mmap_begin) -int snd_pcm_mmap_begin(snd_pcm_t * pcm, const snd_pcm_channel_area_t ** areas, snd_pcm_uframes_t * offset, snd_pcm_uframes_t * frames) { +int glshim_snd_pcm_mmap_begin(snd_pcm_t * pcm, const snd_pcm_channel_area_t ** areas, snd_pcm_uframes_t * offset, snd_pcm_uframes_t * frames) { snd_pcm_mmap_begin_INDEXED packed_data; packed_data.func = snd_pcm_mmap_begin_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12817,9 +14068,10 @@ int snd_pcm_mmap_begin(snd_pcm_t * pcm, const snd_pcm_channel_area_t ** areas, s syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_mmap_begin(snd_pcm_t * pcm, const snd_pcm_channel_area_t ** areas, snd_pcm_uframes_t * offset, snd_pcm_uframes_t * frames) __attribute__((alias("glshim_snd_pcm_mmap_begin"))); #endif #if !defined(skip_client_snd_pcm_mmap_commit) && !defined(skip_index_snd_pcm_mmap_commit) -snd_pcm_sframes_t snd_pcm_mmap_commit(snd_pcm_t * pcm, snd_pcm_uframes_t offset, snd_pcm_uframes_t frames) { +snd_pcm_sframes_t glshim_snd_pcm_mmap_commit(snd_pcm_t * pcm, snd_pcm_uframes_t offset, snd_pcm_uframes_t frames) { snd_pcm_mmap_commit_INDEXED packed_data; packed_data.func = snd_pcm_mmap_commit_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12829,9 +14081,10 @@ snd_pcm_sframes_t snd_pcm_mmap_commit(snd_pcm_t * pcm, snd_pcm_uframes_t offset, syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_sframes_t snd_pcm_mmap_commit(snd_pcm_t * pcm, snd_pcm_uframes_t offset, snd_pcm_uframes_t frames) __attribute__((alias("glshim_snd_pcm_mmap_commit"))); #endif #if !defined(skip_client_snd_pcm_mmap_readi) && !defined(skip_index_snd_pcm_mmap_readi) -snd_pcm_sframes_t snd_pcm_mmap_readi(snd_pcm_t * pcm, void * buffer, snd_pcm_uframes_t size) { +snd_pcm_sframes_t glshim_snd_pcm_mmap_readi(snd_pcm_t * pcm, void * buffer, snd_pcm_uframes_t size) { snd_pcm_mmap_readi_INDEXED packed_data; packed_data.func = snd_pcm_mmap_readi_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12841,9 +14094,10 @@ snd_pcm_sframes_t snd_pcm_mmap_readi(snd_pcm_t * pcm, void * buffer, snd_pcm_ufr syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_sframes_t snd_pcm_mmap_readi(snd_pcm_t * pcm, void * buffer, snd_pcm_uframes_t size) __attribute__((alias("glshim_snd_pcm_mmap_readi"))); #endif #if !defined(skip_client_snd_pcm_mmap_readn) && !defined(skip_index_snd_pcm_mmap_readn) -snd_pcm_sframes_t snd_pcm_mmap_readn(snd_pcm_t * pcm, void ** bufs, snd_pcm_uframes_t size) { +snd_pcm_sframes_t glshim_snd_pcm_mmap_readn(snd_pcm_t * pcm, void ** bufs, snd_pcm_uframes_t size) { snd_pcm_mmap_readn_INDEXED packed_data; packed_data.func = snd_pcm_mmap_readn_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12853,9 +14107,10 @@ snd_pcm_sframes_t snd_pcm_mmap_readn(snd_pcm_t * pcm, void ** bufs, snd_pcm_ufra syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_sframes_t snd_pcm_mmap_readn(snd_pcm_t * pcm, void ** bufs, snd_pcm_uframes_t size) __attribute__((alias("glshim_snd_pcm_mmap_readn"))); #endif #if !defined(skip_client_snd_pcm_mmap_writei) && !defined(skip_index_snd_pcm_mmap_writei) -snd_pcm_sframes_t snd_pcm_mmap_writei(snd_pcm_t * pcm, const void * buffer, snd_pcm_uframes_t size) { +snd_pcm_sframes_t glshim_snd_pcm_mmap_writei(snd_pcm_t * pcm, const void * buffer, snd_pcm_uframes_t size) { snd_pcm_mmap_writei_INDEXED packed_data; packed_data.func = snd_pcm_mmap_writei_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12865,9 +14120,10 @@ snd_pcm_sframes_t snd_pcm_mmap_writei(snd_pcm_t * pcm, const void * buffer, snd_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_sframes_t snd_pcm_mmap_writei(snd_pcm_t * pcm, const void * buffer, snd_pcm_uframes_t size) __attribute__((alias("glshim_snd_pcm_mmap_writei"))); #endif #if !defined(skip_client_snd_pcm_mmap_writen) && !defined(skip_index_snd_pcm_mmap_writen) -snd_pcm_sframes_t snd_pcm_mmap_writen(snd_pcm_t * pcm, void ** bufs, snd_pcm_uframes_t size) { +snd_pcm_sframes_t glshim_snd_pcm_mmap_writen(snd_pcm_t * pcm, void ** bufs, snd_pcm_uframes_t size) { snd_pcm_mmap_writen_INDEXED packed_data; packed_data.func = snd_pcm_mmap_writen_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12877,9 +14133,10 @@ snd_pcm_sframes_t snd_pcm_mmap_writen(snd_pcm_t * pcm, void ** bufs, snd_pcm_ufr syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_sframes_t snd_pcm_mmap_writen(snd_pcm_t * pcm, void ** bufs, snd_pcm_uframes_t size) __attribute__((alias("glshim_snd_pcm_mmap_writen"))); #endif #if !defined(skip_client_snd_pcm_name) && !defined(skip_index_snd_pcm_name) -const char * snd_pcm_name(snd_pcm_t * pcm) { +const char * glshim_snd_pcm_name(snd_pcm_t * pcm) { snd_pcm_name_INDEXED packed_data; packed_data.func = snd_pcm_name_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12887,9 +14144,10 @@ const char * snd_pcm_name(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_name(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_name"))); #endif #if !defined(skip_client_snd_pcm_nonblock) && !defined(skip_index_snd_pcm_nonblock) -int snd_pcm_nonblock(snd_pcm_t * pcm, int nonblock) { +int glshim_snd_pcm_nonblock(snd_pcm_t * pcm, int nonblock) { snd_pcm_nonblock_INDEXED packed_data; packed_data.func = snd_pcm_nonblock_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12898,9 +14156,10 @@ int snd_pcm_nonblock(snd_pcm_t * pcm, int nonblock) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_nonblock(snd_pcm_t * pcm, int nonblock) __attribute__((alias("glshim_snd_pcm_nonblock"))); #endif #if !defined(skip_client_snd_pcm_open) && !defined(skip_index_snd_pcm_open) -int snd_pcm_open(snd_pcm_t ** pcm, const char * name, snd_pcm_stream_t stream, int mode) { +int glshim_snd_pcm_open(snd_pcm_t ** pcm, const char * name, snd_pcm_stream_t stream, int mode) { snd_pcm_open_INDEXED packed_data; packed_data.func = snd_pcm_open_INDEX; packed_data.args.a1 = (snd_pcm_t **)pcm; @@ -12911,9 +14170,10 @@ int snd_pcm_open(snd_pcm_t ** pcm, const char * name, snd_pcm_stream_t stream, i syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_open(snd_pcm_t ** pcm, const char * name, snd_pcm_stream_t stream, int mode) __attribute__((alias("glshim_snd_pcm_open"))); #endif #if !defined(skip_client_snd_pcm_open_lconf) && !defined(skip_index_snd_pcm_open_lconf) -int snd_pcm_open_lconf(snd_pcm_t ** pcm, const char * name, snd_pcm_stream_t stream, int mode, snd_config_t * lconf) { +int glshim_snd_pcm_open_lconf(snd_pcm_t ** pcm, const char * name, snd_pcm_stream_t stream, int mode, snd_config_t * lconf) { snd_pcm_open_lconf_INDEXED packed_data; packed_data.func = snd_pcm_open_lconf_INDEX; packed_data.args.a1 = (snd_pcm_t **)pcm; @@ -12925,9 +14185,10 @@ int snd_pcm_open_lconf(snd_pcm_t ** pcm, const char * name, snd_pcm_stream_t str syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_open_lconf(snd_pcm_t ** pcm, const char * name, snd_pcm_stream_t stream, int mode, snd_config_t * lconf) __attribute__((alias("glshim_snd_pcm_open_lconf"))); #endif #if !defined(skip_client_snd_pcm_pause) && !defined(skip_index_snd_pcm_pause) -int snd_pcm_pause(snd_pcm_t * pcm, int enable) { +int glshim_snd_pcm_pause(snd_pcm_t * pcm, int enable) { snd_pcm_pause_INDEXED packed_data; packed_data.func = snd_pcm_pause_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12936,9 +14197,10 @@ int snd_pcm_pause(snd_pcm_t * pcm, int enable) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_pause(snd_pcm_t * pcm, int enable) __attribute__((alias("glshim_snd_pcm_pause"))); #endif #if !defined(skip_client_snd_pcm_poll_descriptors) && !defined(skip_index_snd_pcm_poll_descriptors) -int snd_pcm_poll_descriptors(snd_pcm_t * pcm, struct pollfd * pfds, unsigned int space) { +int glshim_snd_pcm_poll_descriptors(snd_pcm_t * pcm, struct pollfd * pfds, unsigned int space) { snd_pcm_poll_descriptors_INDEXED packed_data; packed_data.func = snd_pcm_poll_descriptors_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12948,9 +14210,10 @@ int snd_pcm_poll_descriptors(snd_pcm_t * pcm, struct pollfd * pfds, unsigned int syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_poll_descriptors(snd_pcm_t * pcm, struct pollfd * pfds, unsigned int space) __attribute__((alias("glshim_snd_pcm_poll_descriptors"))); #endif #if !defined(skip_client_snd_pcm_poll_descriptors_count) && !defined(skip_index_snd_pcm_poll_descriptors_count) -int snd_pcm_poll_descriptors_count(snd_pcm_t * pcm) { +int glshim_snd_pcm_poll_descriptors_count(snd_pcm_t * pcm) { snd_pcm_poll_descriptors_count_INDEXED packed_data; packed_data.func = snd_pcm_poll_descriptors_count_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12958,9 +14221,10 @@ int snd_pcm_poll_descriptors_count(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_poll_descriptors_count(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_poll_descriptors_count"))); #endif #if !defined(skip_client_snd_pcm_poll_descriptors_revents) && !defined(skip_index_snd_pcm_poll_descriptors_revents) -int snd_pcm_poll_descriptors_revents(snd_pcm_t * pcm, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) { +int glshim_snd_pcm_poll_descriptors_revents(snd_pcm_t * pcm, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) { snd_pcm_poll_descriptors_revents_INDEXED packed_data; packed_data.func = snd_pcm_poll_descriptors_revents_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12971,9 +14235,10 @@ int snd_pcm_poll_descriptors_revents(snd_pcm_t * pcm, struct pollfd * pfds, unsi syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_poll_descriptors_revents(snd_pcm_t * pcm, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) __attribute__((alias("glshim_snd_pcm_poll_descriptors_revents"))); #endif #if !defined(skip_client_snd_pcm_prepare) && !defined(skip_index_snd_pcm_prepare) -int snd_pcm_prepare(snd_pcm_t * pcm) { +int glshim_snd_pcm_prepare(snd_pcm_t * pcm) { snd_pcm_prepare_INDEXED packed_data; packed_data.func = snd_pcm_prepare_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12981,9 +14246,10 @@ int snd_pcm_prepare(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_prepare(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_prepare"))); #endif #if !defined(skip_client_snd_pcm_readi) && !defined(skip_index_snd_pcm_readi) -snd_pcm_sframes_t snd_pcm_readi(snd_pcm_t * pcm, void * buffer, snd_pcm_uframes_t size) { +snd_pcm_sframes_t glshim_snd_pcm_readi(snd_pcm_t * pcm, void * buffer, snd_pcm_uframes_t size) { snd_pcm_readi_INDEXED packed_data; packed_data.func = snd_pcm_readi_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -12993,9 +14259,10 @@ snd_pcm_sframes_t snd_pcm_readi(snd_pcm_t * pcm, void * buffer, snd_pcm_uframes_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_sframes_t snd_pcm_readi(snd_pcm_t * pcm, void * buffer, snd_pcm_uframes_t size) __attribute__((alias("glshim_snd_pcm_readi"))); #endif #if !defined(skip_client_snd_pcm_readn) && !defined(skip_index_snd_pcm_readn) -snd_pcm_sframes_t snd_pcm_readn(snd_pcm_t * pcm, void ** bufs, snd_pcm_uframes_t size) { +snd_pcm_sframes_t glshim_snd_pcm_readn(snd_pcm_t * pcm, void ** bufs, snd_pcm_uframes_t size) { snd_pcm_readn_INDEXED packed_data; packed_data.func = snd_pcm_readn_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13005,9 +14272,10 @@ snd_pcm_sframes_t snd_pcm_readn(snd_pcm_t * pcm, void ** bufs, snd_pcm_uframes_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_sframes_t snd_pcm_readn(snd_pcm_t * pcm, void ** bufs, snd_pcm_uframes_t size) __attribute__((alias("glshim_snd_pcm_readn"))); #endif #if !defined(skip_client_snd_pcm_recover) && !defined(skip_index_snd_pcm_recover) -int snd_pcm_recover(snd_pcm_t * pcm, int err, int silent) { +int glshim_snd_pcm_recover(snd_pcm_t * pcm, int err, int silent) { snd_pcm_recover_INDEXED packed_data; packed_data.func = snd_pcm_recover_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13017,9 +14285,10 @@ int snd_pcm_recover(snd_pcm_t * pcm, int err, int silent) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_recover(snd_pcm_t * pcm, int err, int silent) __attribute__((alias("glshim_snd_pcm_recover"))); #endif #if !defined(skip_client_snd_pcm_reset) && !defined(skip_index_snd_pcm_reset) -int snd_pcm_reset(snd_pcm_t * pcm) { +int glshim_snd_pcm_reset(snd_pcm_t * pcm) { snd_pcm_reset_INDEXED packed_data; packed_data.func = snd_pcm_reset_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13027,9 +14296,10 @@ int snd_pcm_reset(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_reset(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_reset"))); #endif #if !defined(skip_client_snd_pcm_resume) && !defined(skip_index_snd_pcm_resume) -int snd_pcm_resume(snd_pcm_t * pcm) { +int glshim_snd_pcm_resume(snd_pcm_t * pcm) { snd_pcm_resume_INDEXED packed_data; packed_data.func = snd_pcm_resume_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13037,9 +14307,10 @@ int snd_pcm_resume(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_resume(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_resume"))); #endif #if !defined(skip_client_snd_pcm_rewind) && !defined(skip_index_snd_pcm_rewind) -snd_pcm_sframes_t snd_pcm_rewind(snd_pcm_t * pcm, snd_pcm_uframes_t frames) { +snd_pcm_sframes_t glshim_snd_pcm_rewind(snd_pcm_t * pcm, snd_pcm_uframes_t frames) { snd_pcm_rewind_INDEXED packed_data; packed_data.func = snd_pcm_rewind_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13048,9 +14319,10 @@ snd_pcm_sframes_t snd_pcm_rewind(snd_pcm_t * pcm, snd_pcm_uframes_t frames) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_sframes_t snd_pcm_rewind(snd_pcm_t * pcm, snd_pcm_uframes_t frames) __attribute__((alias("glshim_snd_pcm_rewind"))); #endif #if !defined(skip_client_snd_pcm_samples_to_bytes) && !defined(skip_index_snd_pcm_samples_to_bytes) -ssize_t snd_pcm_samples_to_bytes(snd_pcm_t * pcm, long samples) { +ssize_t glshim_snd_pcm_samples_to_bytes(snd_pcm_t * pcm, long samples) { snd_pcm_samples_to_bytes_INDEXED packed_data; packed_data.func = snd_pcm_samples_to_bytes_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13059,9 +14331,10 @@ ssize_t snd_pcm_samples_to_bytes(snd_pcm_t * pcm, long samples) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +ssize_t snd_pcm_samples_to_bytes(snd_pcm_t * pcm, long samples) __attribute__((alias("glshim_snd_pcm_samples_to_bytes"))); #endif #if !defined(skip_client_snd_pcm_scope_get_callback_private) && !defined(skip_index_snd_pcm_scope_get_callback_private) -void * snd_pcm_scope_get_callback_private(snd_pcm_scope_t * scope) { +void * glshim_snd_pcm_scope_get_callback_private(snd_pcm_scope_t * scope) { snd_pcm_scope_get_callback_private_INDEXED packed_data; packed_data.func = snd_pcm_scope_get_callback_private_INDEX; packed_data.args.a1 = (snd_pcm_scope_t *)scope; @@ -13069,9 +14342,10 @@ void * snd_pcm_scope_get_callback_private(snd_pcm_scope_t * scope) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +void * snd_pcm_scope_get_callback_private(snd_pcm_scope_t * scope) __attribute__((alias("glshim_snd_pcm_scope_get_callback_private"))); #endif #if !defined(skip_client_snd_pcm_scope_get_name) && !defined(skip_index_snd_pcm_scope_get_name) -const char * snd_pcm_scope_get_name(snd_pcm_scope_t * scope) { +const char * glshim_snd_pcm_scope_get_name(snd_pcm_scope_t * scope) { snd_pcm_scope_get_name_INDEXED packed_data; packed_data.func = snd_pcm_scope_get_name_INDEX; packed_data.args.a1 = (snd_pcm_scope_t *)scope; @@ -13079,9 +14353,10 @@ const char * snd_pcm_scope_get_name(snd_pcm_scope_t * scope) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_scope_get_name(snd_pcm_scope_t * scope) __attribute__((alias("glshim_snd_pcm_scope_get_name"))); #endif #if !defined(skip_client_snd_pcm_scope_malloc) && !defined(skip_index_snd_pcm_scope_malloc) -int snd_pcm_scope_malloc(snd_pcm_scope_t ** ptr) { +int glshim_snd_pcm_scope_malloc(snd_pcm_scope_t ** ptr) { snd_pcm_scope_malloc_INDEXED packed_data; packed_data.func = snd_pcm_scope_malloc_INDEX; packed_data.args.a1 = (snd_pcm_scope_t **)ptr; @@ -13089,9 +14364,10 @@ int snd_pcm_scope_malloc(snd_pcm_scope_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_scope_malloc(snd_pcm_scope_t ** ptr) __attribute__((alias("glshim_snd_pcm_scope_malloc"))); #endif #if !defined(skip_client_snd_pcm_scope_s16_get_channel_buffer) && !defined(skip_index_snd_pcm_scope_s16_get_channel_buffer) -int16_t * snd_pcm_scope_s16_get_channel_buffer(snd_pcm_scope_t * scope, unsigned int channel) { +int16_t * glshim_snd_pcm_scope_s16_get_channel_buffer(snd_pcm_scope_t * scope, unsigned int channel) { snd_pcm_scope_s16_get_channel_buffer_INDEXED packed_data; packed_data.func = snd_pcm_scope_s16_get_channel_buffer_INDEX; packed_data.args.a1 = (snd_pcm_scope_t *)scope; @@ -13100,9 +14376,10 @@ int16_t * snd_pcm_scope_s16_get_channel_buffer(snd_pcm_scope_t * scope, unsigned syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int16_t * snd_pcm_scope_s16_get_channel_buffer(snd_pcm_scope_t * scope, unsigned int channel) __attribute__((alias("glshim_snd_pcm_scope_s16_get_channel_buffer"))); #endif #if !defined(skip_client_snd_pcm_scope_s16_open) && !defined(skip_index_snd_pcm_scope_s16_open) -int snd_pcm_scope_s16_open(snd_pcm_t * pcm, const char * name, snd_pcm_scope_t ** scopep) { +int glshim_snd_pcm_scope_s16_open(snd_pcm_t * pcm, const char * name, snd_pcm_scope_t ** scopep) { snd_pcm_scope_s16_open_INDEXED packed_data; packed_data.func = snd_pcm_scope_s16_open_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13112,36 +14389,40 @@ int snd_pcm_scope_s16_open(snd_pcm_t * pcm, const char * name, snd_pcm_scope_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_scope_s16_open(snd_pcm_t * pcm, const char * name, snd_pcm_scope_t ** scopep) __attribute__((alias("glshim_snd_pcm_scope_s16_open"))); #endif #if !defined(skip_client_snd_pcm_scope_set_callback_private) && !defined(skip_index_snd_pcm_scope_set_callback_private) -void snd_pcm_scope_set_callback_private(snd_pcm_scope_t * scope, void * val) { +void glshim_snd_pcm_scope_set_callback_private(snd_pcm_scope_t * scope, void * val) { snd_pcm_scope_set_callback_private_INDEXED packed_data; packed_data.func = snd_pcm_scope_set_callback_private_INDEX; packed_data.args.a1 = (snd_pcm_scope_t *)scope; packed_data.args.a2 = (void *)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_scope_set_callback_private(snd_pcm_scope_t * scope, void * val) __attribute__((alias("glshim_snd_pcm_scope_set_callback_private"))); #endif #if !defined(skip_client_snd_pcm_scope_set_name) && !defined(skip_index_snd_pcm_scope_set_name) -void snd_pcm_scope_set_name(snd_pcm_scope_t * scope, const char * val) { +void glshim_snd_pcm_scope_set_name(snd_pcm_scope_t * scope, const char * val) { snd_pcm_scope_set_name_INDEXED packed_data; packed_data.func = snd_pcm_scope_set_name_INDEX; packed_data.args.a1 = (snd_pcm_scope_t *)scope; packed_data.args.a2 = (char *)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_scope_set_name(snd_pcm_scope_t * scope, const char * val) __attribute__((alias("glshim_snd_pcm_scope_set_name"))); #endif #if !defined(skip_client_snd_pcm_scope_set_ops) && !defined(skip_index_snd_pcm_scope_set_ops) -void snd_pcm_scope_set_ops(snd_pcm_scope_t * scope, const snd_pcm_scope_ops_t * val) { +void glshim_snd_pcm_scope_set_ops(snd_pcm_scope_t * scope, const snd_pcm_scope_ops_t * val) { snd_pcm_scope_set_ops_INDEXED packed_data; packed_data.func = snd_pcm_scope_set_ops_INDEX; packed_data.args.a1 = (snd_pcm_scope_t *)scope; packed_data.args.a2 = (snd_pcm_scope_ops_t *)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_scope_set_ops(snd_pcm_scope_t * scope, const snd_pcm_scope_ops_t * val) __attribute__((alias("glshim_snd_pcm_scope_set_ops"))); #endif #if !defined(skip_client_snd_pcm_set_params) && !defined(skip_index_snd_pcm_set_params) -int snd_pcm_set_params(snd_pcm_t * pcm, snd_pcm_format_t format, snd_pcm_access_t access, unsigned int channels, unsigned int rate, int soft_resample, unsigned int latency) { +int glshim_snd_pcm_set_params(snd_pcm_t * pcm, snd_pcm_format_t format, snd_pcm_access_t access, unsigned int channels, unsigned int rate, int soft_resample, unsigned int latency) { snd_pcm_set_params_INDEXED packed_data; packed_data.func = snd_pcm_set_params_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13155,9 +14436,10 @@ int snd_pcm_set_params(snd_pcm_t * pcm, snd_pcm_format_t format, snd_pcm_access_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_set_params(snd_pcm_t * pcm, snd_pcm_format_t format, snd_pcm_access_t access, unsigned int channels, unsigned int rate, int soft_resample, unsigned int latency) __attribute__((alias("glshim_snd_pcm_set_params"))); #endif #if !defined(skip_client_snd_pcm_start) && !defined(skip_index_snd_pcm_start) -int snd_pcm_start(snd_pcm_t * pcm) { +int glshim_snd_pcm_start(snd_pcm_t * pcm) { snd_pcm_start_INDEXED packed_data; packed_data.func = snd_pcm_start_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13165,9 +14447,10 @@ int snd_pcm_start(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_start(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_start"))); #endif #if !defined(skip_client_snd_pcm_start_mode_name) && !defined(skip_index_snd_pcm_start_mode_name) -const char * snd_pcm_start_mode_name(snd_pcm_start_t mode) { +const char * glshim_snd_pcm_start_mode_name(snd_pcm_start_t mode) { snd_pcm_start_mode_name_INDEXED packed_data; packed_data.func = snd_pcm_start_mode_name_INDEX; packed_data.args.a1 = (snd_pcm_start_t)mode; @@ -13175,9 +14458,10 @@ const char * snd_pcm_start_mode_name(snd_pcm_start_t mode) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_start_mode_name(snd_pcm_start_t mode) __attribute__((alias("glshim_snd_pcm_start_mode_name"))); #endif #if !defined(skip_client_snd_pcm_state) && !defined(skip_index_snd_pcm_state) -snd_pcm_state_t snd_pcm_state(snd_pcm_t * pcm) { +snd_pcm_state_t glshim_snd_pcm_state(snd_pcm_t * pcm) { snd_pcm_state_INDEXED packed_data; packed_data.func = snd_pcm_state_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13185,9 +14469,10 @@ snd_pcm_state_t snd_pcm_state(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_state_t snd_pcm_state(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_state"))); #endif #if !defined(skip_client_snd_pcm_state_name) && !defined(skip_index_snd_pcm_state_name) -const char * snd_pcm_state_name(const snd_pcm_state_t state) { +const char * glshim_snd_pcm_state_name(const snd_pcm_state_t state) { snd_pcm_state_name_INDEXED packed_data; packed_data.func = snd_pcm_state_name_INDEX; packed_data.args.a1 = (snd_pcm_state_t)state; @@ -13195,9 +14480,10 @@ const char * snd_pcm_state_name(const snd_pcm_state_t state) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_state_name(const snd_pcm_state_t state) __attribute__((alias("glshim_snd_pcm_state_name"))); #endif #if !defined(skip_client_snd_pcm_status) && !defined(skip_index_snd_pcm_status) -int snd_pcm_status(snd_pcm_t * pcm, snd_pcm_status_t * status) { +int glshim_snd_pcm_status(snd_pcm_t * pcm, snd_pcm_status_t * status) { snd_pcm_status_INDEXED packed_data; packed_data.func = snd_pcm_status_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13206,18 +14492,20 @@ int snd_pcm_status(snd_pcm_t * pcm, snd_pcm_status_t * status) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_status(snd_pcm_t * pcm, snd_pcm_status_t * status) __attribute__((alias("glshim_snd_pcm_status"))); #endif #if !defined(skip_client_snd_pcm_status_copy) && !defined(skip_index_snd_pcm_status_copy) -void snd_pcm_status_copy(snd_pcm_status_t * dst, const snd_pcm_status_t * src) { +void glshim_snd_pcm_status_copy(snd_pcm_status_t * dst, const snd_pcm_status_t * src) { snd_pcm_status_copy_INDEXED packed_data; packed_data.func = snd_pcm_status_copy_INDEX; packed_data.args.a1 = (snd_pcm_status_t *)dst; packed_data.args.a2 = (snd_pcm_status_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_status_copy(snd_pcm_status_t * dst, const snd_pcm_status_t * src) __attribute__((alias("glshim_snd_pcm_status_copy"))); #endif #if !defined(skip_client_snd_pcm_status_dump) && !defined(skip_index_snd_pcm_status_dump) -int snd_pcm_status_dump(snd_pcm_status_t * status, snd_output_t * out) { +int glshim_snd_pcm_status_dump(snd_pcm_status_t * status, snd_output_t * out) { snd_pcm_status_dump_INDEXED packed_data; packed_data.func = snd_pcm_status_dump_INDEX; packed_data.args.a1 = (snd_pcm_status_t *)status; @@ -13226,17 +14514,19 @@ int snd_pcm_status_dump(snd_pcm_status_t * status, snd_output_t * out) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_status_dump(snd_pcm_status_t * status, snd_output_t * out) __attribute__((alias("glshim_snd_pcm_status_dump"))); #endif #if !defined(skip_client_snd_pcm_status_free) && !defined(skip_index_snd_pcm_status_free) -void snd_pcm_status_free(snd_pcm_status_t * obj) { +void glshim_snd_pcm_status_free(snd_pcm_status_t * obj) { snd_pcm_status_free_INDEXED packed_data; packed_data.func = snd_pcm_status_free_INDEX; packed_data.args.a1 = (snd_pcm_status_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_status_free(snd_pcm_status_t * obj) __attribute__((alias("glshim_snd_pcm_status_free"))); #endif #if !defined(skip_client_snd_pcm_status_get_avail) && !defined(skip_index_snd_pcm_status_get_avail) -snd_pcm_uframes_t snd_pcm_status_get_avail(const snd_pcm_status_t * obj) { +snd_pcm_uframes_t glshim_snd_pcm_status_get_avail(const snd_pcm_status_t * obj) { snd_pcm_status_get_avail_INDEXED packed_data; packed_data.func = snd_pcm_status_get_avail_INDEX; packed_data.args.a1 = (snd_pcm_status_t *)obj; @@ -13244,9 +14534,10 @@ snd_pcm_uframes_t snd_pcm_status_get_avail(const snd_pcm_status_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_uframes_t snd_pcm_status_get_avail(const snd_pcm_status_t * obj) __attribute__((alias("glshim_snd_pcm_status_get_avail"))); #endif #if !defined(skip_client_snd_pcm_status_get_avail_max) && !defined(skip_index_snd_pcm_status_get_avail_max) -snd_pcm_uframes_t snd_pcm_status_get_avail_max(const snd_pcm_status_t * obj) { +snd_pcm_uframes_t glshim_snd_pcm_status_get_avail_max(const snd_pcm_status_t * obj) { snd_pcm_status_get_avail_max_INDEXED packed_data; packed_data.func = snd_pcm_status_get_avail_max_INDEX; packed_data.args.a1 = (snd_pcm_status_t *)obj; @@ -13254,9 +14545,10 @@ snd_pcm_uframes_t snd_pcm_status_get_avail_max(const snd_pcm_status_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_uframes_t snd_pcm_status_get_avail_max(const snd_pcm_status_t * obj) __attribute__((alias("glshim_snd_pcm_status_get_avail_max"))); #endif #if !defined(skip_client_snd_pcm_status_get_delay) && !defined(skip_index_snd_pcm_status_get_delay) -snd_pcm_sframes_t snd_pcm_status_get_delay(const snd_pcm_status_t * obj) { +snd_pcm_sframes_t glshim_snd_pcm_status_get_delay(const snd_pcm_status_t * obj) { snd_pcm_status_get_delay_INDEXED packed_data; packed_data.func = snd_pcm_status_get_delay_INDEX; packed_data.args.a1 = (snd_pcm_status_t *)obj; @@ -13264,18 +14556,20 @@ snd_pcm_sframes_t snd_pcm_status_get_delay(const snd_pcm_status_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_sframes_t snd_pcm_status_get_delay(const snd_pcm_status_t * obj) __attribute__((alias("glshim_snd_pcm_status_get_delay"))); #endif #if !defined(skip_client_snd_pcm_status_get_htstamp) && !defined(skip_index_snd_pcm_status_get_htstamp) -void snd_pcm_status_get_htstamp(const snd_pcm_status_t * obj, snd_htimestamp_t * ptr) { +void glshim_snd_pcm_status_get_htstamp(const snd_pcm_status_t * obj, snd_htimestamp_t * ptr) { snd_pcm_status_get_htstamp_INDEXED packed_data; packed_data.func = snd_pcm_status_get_htstamp_INDEX; packed_data.args.a1 = (snd_pcm_status_t *)obj; packed_data.args.a2 = (snd_htimestamp_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_status_get_htstamp(const snd_pcm_status_t * obj, snd_htimestamp_t * ptr) __attribute__((alias("glshim_snd_pcm_status_get_htstamp"))); #endif #if !defined(skip_client_snd_pcm_status_get_overrange) && !defined(skip_index_snd_pcm_status_get_overrange) -snd_pcm_uframes_t snd_pcm_status_get_overrange(const snd_pcm_status_t * obj) { +snd_pcm_uframes_t glshim_snd_pcm_status_get_overrange(const snd_pcm_status_t * obj) { snd_pcm_status_get_overrange_INDEXED packed_data; packed_data.func = snd_pcm_status_get_overrange_INDEX; packed_data.args.a1 = (snd_pcm_status_t *)obj; @@ -13283,9 +14577,10 @@ snd_pcm_uframes_t snd_pcm_status_get_overrange(const snd_pcm_status_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_uframes_t snd_pcm_status_get_overrange(const snd_pcm_status_t * obj) __attribute__((alias("glshim_snd_pcm_status_get_overrange"))); #endif #if !defined(skip_client_snd_pcm_status_get_state) && !defined(skip_index_snd_pcm_status_get_state) -snd_pcm_state_t snd_pcm_status_get_state(const snd_pcm_status_t * obj) { +snd_pcm_state_t glshim_snd_pcm_status_get_state(const snd_pcm_status_t * obj) { snd_pcm_status_get_state_INDEXED packed_data; packed_data.func = snd_pcm_status_get_state_INDEX; packed_data.args.a1 = (snd_pcm_status_t *)obj; @@ -13293,36 +14588,40 @@ snd_pcm_state_t snd_pcm_status_get_state(const snd_pcm_status_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_state_t snd_pcm_status_get_state(const snd_pcm_status_t * obj) __attribute__((alias("glshim_snd_pcm_status_get_state"))); #endif #if !defined(skip_client_snd_pcm_status_get_trigger_htstamp) && !defined(skip_index_snd_pcm_status_get_trigger_htstamp) -void snd_pcm_status_get_trigger_htstamp(const snd_pcm_status_t * obj, snd_htimestamp_t * ptr) { +void glshim_snd_pcm_status_get_trigger_htstamp(const snd_pcm_status_t * obj, snd_htimestamp_t * ptr) { snd_pcm_status_get_trigger_htstamp_INDEXED packed_data; packed_data.func = snd_pcm_status_get_trigger_htstamp_INDEX; packed_data.args.a1 = (snd_pcm_status_t *)obj; packed_data.args.a2 = (snd_htimestamp_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_status_get_trigger_htstamp(const snd_pcm_status_t * obj, snd_htimestamp_t * ptr) __attribute__((alias("glshim_snd_pcm_status_get_trigger_htstamp"))); #endif #if !defined(skip_client_snd_pcm_status_get_trigger_tstamp) && !defined(skip_index_snd_pcm_status_get_trigger_tstamp) -void snd_pcm_status_get_trigger_tstamp(const snd_pcm_status_t * obj, snd_timestamp_t * ptr) { +void glshim_snd_pcm_status_get_trigger_tstamp(const snd_pcm_status_t * obj, snd_timestamp_t * ptr) { snd_pcm_status_get_trigger_tstamp_INDEXED packed_data; packed_data.func = snd_pcm_status_get_trigger_tstamp_INDEX; packed_data.args.a1 = (snd_pcm_status_t *)obj; packed_data.args.a2 = (snd_timestamp_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_status_get_trigger_tstamp(const snd_pcm_status_t * obj, snd_timestamp_t * ptr) __attribute__((alias("glshim_snd_pcm_status_get_trigger_tstamp"))); #endif #if !defined(skip_client_snd_pcm_status_get_tstamp) && !defined(skip_index_snd_pcm_status_get_tstamp) -void snd_pcm_status_get_tstamp(const snd_pcm_status_t * obj, snd_timestamp_t * ptr) { +void glshim_snd_pcm_status_get_tstamp(const snd_pcm_status_t * obj, snd_timestamp_t * ptr) { snd_pcm_status_get_tstamp_INDEXED packed_data; packed_data.func = snd_pcm_status_get_tstamp_INDEX; packed_data.args.a1 = (snd_pcm_status_t *)obj; packed_data.args.a2 = (snd_timestamp_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_status_get_tstamp(const snd_pcm_status_t * obj, snd_timestamp_t * ptr) __attribute__((alias("glshim_snd_pcm_status_get_tstamp"))); #endif #if !defined(skip_client_snd_pcm_status_malloc) && !defined(skip_index_snd_pcm_status_malloc) -int snd_pcm_status_malloc(snd_pcm_status_t ** ptr) { +int glshim_snd_pcm_status_malloc(snd_pcm_status_t ** ptr) { snd_pcm_status_malloc_INDEXED packed_data; packed_data.func = snd_pcm_status_malloc_INDEX; packed_data.args.a1 = (snd_pcm_status_t **)ptr; @@ -13330,18 +14629,20 @@ int snd_pcm_status_malloc(snd_pcm_status_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_status_malloc(snd_pcm_status_t ** ptr) __attribute__((alias("glshim_snd_pcm_status_malloc"))); #endif #if !defined(skip_client_snd_pcm_status_sizeof) && !defined(skip_index_snd_pcm_status_sizeof) -size_t snd_pcm_status_sizeof() { +size_t glshim_snd_pcm_status_sizeof() { snd_pcm_status_sizeof_INDEXED packed_data; packed_data.func = snd_pcm_status_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_pcm_status_sizeof() __attribute__((alias("glshim_snd_pcm_status_sizeof"))); #endif #if !defined(skip_client_snd_pcm_stream) && !defined(skip_index_snd_pcm_stream) -snd_pcm_stream_t snd_pcm_stream(snd_pcm_t * pcm) { +snd_pcm_stream_t glshim_snd_pcm_stream(snd_pcm_t * pcm) { snd_pcm_stream_INDEXED packed_data; packed_data.func = snd_pcm_stream_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13349,9 +14650,10 @@ snd_pcm_stream_t snd_pcm_stream(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_stream_t snd_pcm_stream(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_stream"))); #endif #if !defined(skip_client_snd_pcm_stream_name) && !defined(skip_index_snd_pcm_stream_name) -const char * snd_pcm_stream_name(const snd_pcm_stream_t stream) { +const char * glshim_snd_pcm_stream_name(const snd_pcm_stream_t stream) { snd_pcm_stream_name_INDEXED packed_data; packed_data.func = snd_pcm_stream_name_INDEX; packed_data.args.a1 = (snd_pcm_stream_t)stream; @@ -13359,9 +14661,10 @@ const char * snd_pcm_stream_name(const snd_pcm_stream_t stream) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_stream_name(const snd_pcm_stream_t stream) __attribute__((alias("glshim_snd_pcm_stream_name"))); #endif #if !defined(skip_client_snd_pcm_subformat_description) && !defined(skip_index_snd_pcm_subformat_description) -const char * snd_pcm_subformat_description(const snd_pcm_subformat_t subformat) { +const char * glshim_snd_pcm_subformat_description(const snd_pcm_subformat_t subformat) { snd_pcm_subformat_description_INDEXED packed_data; packed_data.func = snd_pcm_subformat_description_INDEX; packed_data.args.a1 = (snd_pcm_subformat_t)subformat; @@ -13369,26 +14672,29 @@ const char * snd_pcm_subformat_description(const snd_pcm_subformat_t subformat) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_subformat_description(const snd_pcm_subformat_t subformat) __attribute__((alias("glshim_snd_pcm_subformat_description"))); #endif #if !defined(skip_client_snd_pcm_subformat_mask_any) && !defined(skip_index_snd_pcm_subformat_mask_any) -void snd_pcm_subformat_mask_any(snd_pcm_subformat_mask_t * mask) { +void glshim_snd_pcm_subformat_mask_any(snd_pcm_subformat_mask_t * mask) { snd_pcm_subformat_mask_any_INDEXED packed_data; packed_data.func = snd_pcm_subformat_mask_any_INDEX; packed_data.args.a1 = (snd_pcm_subformat_mask_t *)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_subformat_mask_any(snd_pcm_subformat_mask_t * mask) __attribute__((alias("glshim_snd_pcm_subformat_mask_any"))); #endif #if !defined(skip_client_snd_pcm_subformat_mask_copy) && !defined(skip_index_snd_pcm_subformat_mask_copy) -void snd_pcm_subformat_mask_copy(snd_pcm_subformat_mask_t * dst, const snd_pcm_subformat_mask_t * src) { +void glshim_snd_pcm_subformat_mask_copy(snd_pcm_subformat_mask_t * dst, const snd_pcm_subformat_mask_t * src) { snd_pcm_subformat_mask_copy_INDEXED packed_data; packed_data.func = snd_pcm_subformat_mask_copy_INDEX; packed_data.args.a1 = (snd_pcm_subformat_mask_t *)dst; packed_data.args.a2 = (snd_pcm_subformat_mask_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_subformat_mask_copy(snd_pcm_subformat_mask_t * dst, const snd_pcm_subformat_mask_t * src) __attribute__((alias("glshim_snd_pcm_subformat_mask_copy"))); #endif #if !defined(skip_client_snd_pcm_subformat_mask_empty) && !defined(skip_index_snd_pcm_subformat_mask_empty) -int snd_pcm_subformat_mask_empty(const snd_pcm_subformat_mask_t * mask) { +int glshim_snd_pcm_subformat_mask_empty(const snd_pcm_subformat_mask_t * mask) { snd_pcm_subformat_mask_empty_INDEXED packed_data; packed_data.func = snd_pcm_subformat_mask_empty_INDEX; packed_data.args.a1 = (snd_pcm_subformat_mask_t *)mask; @@ -13396,17 +14702,19 @@ int snd_pcm_subformat_mask_empty(const snd_pcm_subformat_mask_t * mask) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_subformat_mask_empty(const snd_pcm_subformat_mask_t * mask) __attribute__((alias("glshim_snd_pcm_subformat_mask_empty"))); #endif #if !defined(skip_client_snd_pcm_subformat_mask_free) && !defined(skip_index_snd_pcm_subformat_mask_free) -void snd_pcm_subformat_mask_free(snd_pcm_subformat_mask_t * obj) { +void glshim_snd_pcm_subformat_mask_free(snd_pcm_subformat_mask_t * obj) { snd_pcm_subformat_mask_free_INDEXED packed_data; packed_data.func = snd_pcm_subformat_mask_free_INDEX; packed_data.args.a1 = (snd_pcm_subformat_mask_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_subformat_mask_free(snd_pcm_subformat_mask_t * obj) __attribute__((alias("glshim_snd_pcm_subformat_mask_free"))); #endif #if !defined(skip_client_snd_pcm_subformat_mask_malloc) && !defined(skip_index_snd_pcm_subformat_mask_malloc) -int snd_pcm_subformat_mask_malloc(snd_pcm_subformat_mask_t ** ptr) { +int glshim_snd_pcm_subformat_mask_malloc(snd_pcm_subformat_mask_t ** ptr) { snd_pcm_subformat_mask_malloc_INDEXED packed_data; packed_data.func = snd_pcm_subformat_mask_malloc_INDEX; packed_data.args.a1 = (snd_pcm_subformat_mask_t **)ptr; @@ -13414,44 +14722,49 @@ int snd_pcm_subformat_mask_malloc(snd_pcm_subformat_mask_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_subformat_mask_malloc(snd_pcm_subformat_mask_t ** ptr) __attribute__((alias("glshim_snd_pcm_subformat_mask_malloc"))); #endif #if !defined(skip_client_snd_pcm_subformat_mask_none) && !defined(skip_index_snd_pcm_subformat_mask_none) -void snd_pcm_subformat_mask_none(snd_pcm_subformat_mask_t * mask) { +void glshim_snd_pcm_subformat_mask_none(snd_pcm_subformat_mask_t * mask) { snd_pcm_subformat_mask_none_INDEXED packed_data; packed_data.func = snd_pcm_subformat_mask_none_INDEX; packed_data.args.a1 = (snd_pcm_subformat_mask_t *)mask; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_subformat_mask_none(snd_pcm_subformat_mask_t * mask) __attribute__((alias("glshim_snd_pcm_subformat_mask_none"))); #endif #if !defined(skip_client_snd_pcm_subformat_mask_reset) && !defined(skip_index_snd_pcm_subformat_mask_reset) -void snd_pcm_subformat_mask_reset(snd_pcm_subformat_mask_t * mask, snd_pcm_subformat_t val) { +void glshim_snd_pcm_subformat_mask_reset(snd_pcm_subformat_mask_t * mask, snd_pcm_subformat_t val) { snd_pcm_subformat_mask_reset_INDEXED packed_data; packed_data.func = snd_pcm_subformat_mask_reset_INDEX; packed_data.args.a1 = (snd_pcm_subformat_mask_t *)mask; packed_data.args.a2 = (snd_pcm_subformat_t)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_subformat_mask_reset(snd_pcm_subformat_mask_t * mask, snd_pcm_subformat_t val) __attribute__((alias("glshim_snd_pcm_subformat_mask_reset"))); #endif #if !defined(skip_client_snd_pcm_subformat_mask_set) && !defined(skip_index_snd_pcm_subformat_mask_set) -void snd_pcm_subformat_mask_set(snd_pcm_subformat_mask_t * mask, snd_pcm_subformat_t val) { +void glshim_snd_pcm_subformat_mask_set(snd_pcm_subformat_mask_t * mask, snd_pcm_subformat_t val) { snd_pcm_subformat_mask_set_INDEXED packed_data; packed_data.func = snd_pcm_subformat_mask_set_INDEX; packed_data.args.a1 = (snd_pcm_subformat_mask_t *)mask; packed_data.args.a2 = (snd_pcm_subformat_t)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_subformat_mask_set(snd_pcm_subformat_mask_t * mask, snd_pcm_subformat_t val) __attribute__((alias("glshim_snd_pcm_subformat_mask_set"))); #endif #if !defined(skip_client_snd_pcm_subformat_mask_sizeof) && !defined(skip_index_snd_pcm_subformat_mask_sizeof) -size_t snd_pcm_subformat_mask_sizeof() { +size_t glshim_snd_pcm_subformat_mask_sizeof() { snd_pcm_subformat_mask_sizeof_INDEXED packed_data; packed_data.func = snd_pcm_subformat_mask_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_pcm_subformat_mask_sizeof() __attribute__((alias("glshim_snd_pcm_subformat_mask_sizeof"))); #endif #if !defined(skip_client_snd_pcm_subformat_mask_test) && !defined(skip_index_snd_pcm_subformat_mask_test) -int snd_pcm_subformat_mask_test(const snd_pcm_subformat_mask_t * mask, snd_pcm_subformat_t val) { +int glshim_snd_pcm_subformat_mask_test(const snd_pcm_subformat_mask_t * mask, snd_pcm_subformat_t val) { snd_pcm_subformat_mask_test_INDEXED packed_data; packed_data.func = snd_pcm_subformat_mask_test_INDEX; packed_data.args.a1 = (snd_pcm_subformat_mask_t *)mask; @@ -13460,9 +14773,10 @@ int snd_pcm_subformat_mask_test(const snd_pcm_subformat_mask_t * mask, snd_pcm_s syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_subformat_mask_test(const snd_pcm_subformat_mask_t * mask, snd_pcm_subformat_t val) __attribute__((alias("glshim_snd_pcm_subformat_mask_test"))); #endif #if !defined(skip_client_snd_pcm_subformat_name) && !defined(skip_index_snd_pcm_subformat_name) -const char * snd_pcm_subformat_name(const snd_pcm_subformat_t subformat) { +const char * glshim_snd_pcm_subformat_name(const snd_pcm_subformat_t subformat) { snd_pcm_subformat_name_INDEXED packed_data; packed_data.func = snd_pcm_subformat_name_INDEX; packed_data.args.a1 = (snd_pcm_subformat_t)subformat; @@ -13470,9 +14784,10 @@ const char * snd_pcm_subformat_name(const snd_pcm_subformat_t subformat) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_subformat_name(const snd_pcm_subformat_t subformat) __attribute__((alias("glshim_snd_pcm_subformat_name"))); #endif #if !defined(skip_client_snd_pcm_sw_params) && !defined(skip_index_snd_pcm_sw_params) -int snd_pcm_sw_params(snd_pcm_t * pcm, snd_pcm_sw_params_t * params) { +int glshim_snd_pcm_sw_params(snd_pcm_t * pcm, snd_pcm_sw_params_t * params) { snd_pcm_sw_params_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13481,18 +14796,20 @@ int snd_pcm_sw_params(snd_pcm_t * pcm, snd_pcm_sw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params(snd_pcm_t * pcm, snd_pcm_sw_params_t * params) __attribute__((alias("glshim_snd_pcm_sw_params"))); #endif #if !defined(skip_client_snd_pcm_sw_params_copy) && !defined(skip_index_snd_pcm_sw_params_copy) -void snd_pcm_sw_params_copy(snd_pcm_sw_params_t * dst, const snd_pcm_sw_params_t * src) { +void glshim_snd_pcm_sw_params_copy(snd_pcm_sw_params_t * dst, const snd_pcm_sw_params_t * src) { snd_pcm_sw_params_copy_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_copy_INDEX; packed_data.args.a1 = (snd_pcm_sw_params_t *)dst; packed_data.args.a2 = (snd_pcm_sw_params_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_sw_params_copy(snd_pcm_sw_params_t * dst, const snd_pcm_sw_params_t * src) __attribute__((alias("glshim_snd_pcm_sw_params_copy"))); #endif #if !defined(skip_client_snd_pcm_sw_params_current) && !defined(skip_index_snd_pcm_sw_params_current) -int snd_pcm_sw_params_current(snd_pcm_t * pcm, snd_pcm_sw_params_t * params) { +int glshim_snd_pcm_sw_params_current(snd_pcm_t * pcm, snd_pcm_sw_params_t * params) { snd_pcm_sw_params_current_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_current_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13501,9 +14818,10 @@ int snd_pcm_sw_params_current(snd_pcm_t * pcm, snd_pcm_sw_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_current(snd_pcm_t * pcm, snd_pcm_sw_params_t * params) __attribute__((alias("glshim_snd_pcm_sw_params_current"))); #endif #if !defined(skip_client_snd_pcm_sw_params_dump) && !defined(skip_index_snd_pcm_sw_params_dump) -int snd_pcm_sw_params_dump(snd_pcm_sw_params_t * params, snd_output_t * out) { +int glshim_snd_pcm_sw_params_dump(snd_pcm_sw_params_t * params, snd_output_t * out) { snd_pcm_sw_params_dump_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_dump_INDEX; packed_data.args.a1 = (snd_pcm_sw_params_t *)params; @@ -13512,17 +14830,19 @@ int snd_pcm_sw_params_dump(snd_pcm_sw_params_t * params, snd_output_t * out) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_dump(snd_pcm_sw_params_t * params, snd_output_t * out) __attribute__((alias("glshim_snd_pcm_sw_params_dump"))); #endif #if !defined(skip_client_snd_pcm_sw_params_free) && !defined(skip_index_snd_pcm_sw_params_free) -void snd_pcm_sw_params_free(snd_pcm_sw_params_t * obj) { +void glshim_snd_pcm_sw_params_free(snd_pcm_sw_params_t * obj) { snd_pcm_sw_params_free_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_free_INDEX; packed_data.args.a1 = (snd_pcm_sw_params_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_pcm_sw_params_free(snd_pcm_sw_params_t * obj) __attribute__((alias("glshim_snd_pcm_sw_params_free"))); #endif #if !defined(skip_client_snd_pcm_sw_params_get_avail_min) && !defined(skip_index_snd_pcm_sw_params_get_avail_min) -int snd_pcm_sw_params_get_avail_min(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_sw_params_get_avail_min(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) { snd_pcm_sw_params_get_avail_min_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_get_avail_min_INDEX; packed_data.args.a1 = (snd_pcm_sw_params_t *)params; @@ -13531,9 +14851,10 @@ int snd_pcm_sw_params_get_avail_min(const snd_pcm_sw_params_t * params, snd_pcm_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_get_avail_min(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_sw_params_get_avail_min"))); #endif #if !defined(skip_client_snd_pcm_sw_params_get_boundary) && !defined(skip_index_snd_pcm_sw_params_get_boundary) -int snd_pcm_sw_params_get_boundary(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_sw_params_get_boundary(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) { snd_pcm_sw_params_get_boundary_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_get_boundary_INDEX; packed_data.args.a1 = (snd_pcm_sw_params_t *)params; @@ -13542,9 +14863,10 @@ int snd_pcm_sw_params_get_boundary(const snd_pcm_sw_params_t * params, snd_pcm_u syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_get_boundary(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_sw_params_get_boundary"))); #endif #if !defined(skip_client_snd_pcm_sw_params_get_silence_size) && !defined(skip_index_snd_pcm_sw_params_get_silence_size) -int snd_pcm_sw_params_get_silence_size(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_sw_params_get_silence_size(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) { snd_pcm_sw_params_get_silence_size_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_get_silence_size_INDEX; packed_data.args.a1 = (snd_pcm_sw_params_t *)params; @@ -13553,9 +14875,10 @@ int snd_pcm_sw_params_get_silence_size(const snd_pcm_sw_params_t * params, snd_p syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_get_silence_size(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_sw_params_get_silence_size"))); #endif #if !defined(skip_client_snd_pcm_sw_params_get_silence_threshold) && !defined(skip_index_snd_pcm_sw_params_get_silence_threshold) -int snd_pcm_sw_params_get_silence_threshold(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_sw_params_get_silence_threshold(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) { snd_pcm_sw_params_get_silence_threshold_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_get_silence_threshold_INDEX; packed_data.args.a1 = (snd_pcm_sw_params_t *)params; @@ -13564,9 +14887,10 @@ int snd_pcm_sw_params_get_silence_threshold(const snd_pcm_sw_params_t * params, syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_get_silence_threshold(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_sw_params_get_silence_threshold"))); #endif #if !defined(skip_client_snd_pcm_sw_params_get_sleep_min) && !defined(skip_index_snd_pcm_sw_params_get_sleep_min) -int snd_pcm_sw_params_get_sleep_min(const snd_pcm_sw_params_t * params, unsigned int * val) { +int glshim_snd_pcm_sw_params_get_sleep_min(const snd_pcm_sw_params_t * params, unsigned int * val) { snd_pcm_sw_params_get_sleep_min_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_get_sleep_min_INDEX; packed_data.args.a1 = (snd_pcm_sw_params_t *)params; @@ -13575,9 +14899,10 @@ int snd_pcm_sw_params_get_sleep_min(const snd_pcm_sw_params_t * params, unsigned syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_get_sleep_min(const snd_pcm_sw_params_t * params, unsigned int * val) __attribute__((alias("glshim_snd_pcm_sw_params_get_sleep_min"))); #endif #if !defined(skip_client_snd_pcm_sw_params_get_start_mode) && !defined(skip_index_snd_pcm_sw_params_get_start_mode) -snd_pcm_start_t snd_pcm_sw_params_get_start_mode(const snd_pcm_sw_params_t * params) { +snd_pcm_start_t glshim_snd_pcm_sw_params_get_start_mode(const snd_pcm_sw_params_t * params) { snd_pcm_sw_params_get_start_mode_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_get_start_mode_INDEX; packed_data.args.a1 = (snd_pcm_sw_params_t *)params; @@ -13585,9 +14910,10 @@ snd_pcm_start_t snd_pcm_sw_params_get_start_mode(const snd_pcm_sw_params_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_start_t snd_pcm_sw_params_get_start_mode(const snd_pcm_sw_params_t * params) __attribute__((alias("glshim_snd_pcm_sw_params_get_start_mode"))); #endif #if !defined(skip_client_snd_pcm_sw_params_get_start_threshold) && !defined(skip_index_snd_pcm_sw_params_get_start_threshold) -int snd_pcm_sw_params_get_start_threshold(const snd_pcm_sw_params_t * paramsm, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_sw_params_get_start_threshold(const snd_pcm_sw_params_t * paramsm, snd_pcm_uframes_t * val) { snd_pcm_sw_params_get_start_threshold_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_get_start_threshold_INDEX; packed_data.args.a1 = (snd_pcm_sw_params_t *)paramsm; @@ -13596,9 +14922,10 @@ int snd_pcm_sw_params_get_start_threshold(const snd_pcm_sw_params_t * paramsm, s syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_get_start_threshold(const snd_pcm_sw_params_t * paramsm, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_sw_params_get_start_threshold"))); #endif #if !defined(skip_client_snd_pcm_sw_params_get_stop_threshold) && !defined(skip_index_snd_pcm_sw_params_get_stop_threshold) -int snd_pcm_sw_params_get_stop_threshold(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_sw_params_get_stop_threshold(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) { snd_pcm_sw_params_get_stop_threshold_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_get_stop_threshold_INDEX; packed_data.args.a1 = (snd_pcm_sw_params_t *)params; @@ -13607,9 +14934,10 @@ int snd_pcm_sw_params_get_stop_threshold(const snd_pcm_sw_params_t * params, snd syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_get_stop_threshold(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_sw_params_get_stop_threshold"))); #endif #if !defined(skip_client_snd_pcm_sw_params_get_tstamp_mode) && !defined(skip_index_snd_pcm_sw_params_get_tstamp_mode) -int snd_pcm_sw_params_get_tstamp_mode(const snd_pcm_sw_params_t * params, snd_pcm_tstamp_t * val) { +int glshim_snd_pcm_sw_params_get_tstamp_mode(const snd_pcm_sw_params_t * params, snd_pcm_tstamp_t * val) { snd_pcm_sw_params_get_tstamp_mode_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_get_tstamp_mode_INDEX; packed_data.args.a1 = (snd_pcm_sw_params_t *)params; @@ -13618,9 +14946,10 @@ int snd_pcm_sw_params_get_tstamp_mode(const snd_pcm_sw_params_t * params, snd_pc syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_get_tstamp_mode(const snd_pcm_sw_params_t * params, snd_pcm_tstamp_t * val) __attribute__((alias("glshim_snd_pcm_sw_params_get_tstamp_mode"))); #endif #if !defined(skip_client_snd_pcm_sw_params_get_xfer_align) && !defined(skip_index_snd_pcm_sw_params_get_xfer_align) -int snd_pcm_sw_params_get_xfer_align(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) { +int glshim_snd_pcm_sw_params_get_xfer_align(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) { snd_pcm_sw_params_get_xfer_align_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_get_xfer_align_INDEX; packed_data.args.a1 = (snd_pcm_sw_params_t *)params; @@ -13629,9 +14958,10 @@ int snd_pcm_sw_params_get_xfer_align(const snd_pcm_sw_params_t * params, snd_pcm syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_get_xfer_align(const snd_pcm_sw_params_t * params, snd_pcm_uframes_t * val) __attribute__((alias("glshim_snd_pcm_sw_params_get_xfer_align"))); #endif #if !defined(skip_client_snd_pcm_sw_params_get_xrun_mode) && !defined(skip_index_snd_pcm_sw_params_get_xrun_mode) -snd_pcm_xrun_t snd_pcm_sw_params_get_xrun_mode(const snd_pcm_sw_params_t * params) { +snd_pcm_xrun_t glshim_snd_pcm_sw_params_get_xrun_mode(const snd_pcm_sw_params_t * params) { snd_pcm_sw_params_get_xrun_mode_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_get_xrun_mode_INDEX; packed_data.args.a1 = (snd_pcm_sw_params_t *)params; @@ -13639,9 +14969,10 @@ snd_pcm_xrun_t snd_pcm_sw_params_get_xrun_mode(const snd_pcm_sw_params_t * param syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_xrun_t snd_pcm_sw_params_get_xrun_mode(const snd_pcm_sw_params_t * params) __attribute__((alias("glshim_snd_pcm_sw_params_get_xrun_mode"))); #endif #if !defined(skip_client_snd_pcm_sw_params_malloc) && !defined(skip_index_snd_pcm_sw_params_malloc) -int snd_pcm_sw_params_malloc(snd_pcm_sw_params_t ** ptr) { +int glshim_snd_pcm_sw_params_malloc(snd_pcm_sw_params_t ** ptr) { snd_pcm_sw_params_malloc_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_malloc_INDEX; packed_data.args.a1 = (snd_pcm_sw_params_t **)ptr; @@ -13649,9 +14980,10 @@ int snd_pcm_sw_params_malloc(snd_pcm_sw_params_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_malloc(snd_pcm_sw_params_t ** ptr) __attribute__((alias("glshim_snd_pcm_sw_params_malloc"))); #endif #if !defined(skip_client_snd_pcm_sw_params_set_avail_min) && !defined(skip_index_snd_pcm_sw_params_set_avail_min) -int snd_pcm_sw_params_set_avail_min(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) { +int glshim_snd_pcm_sw_params_set_avail_min(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) { snd_pcm_sw_params_set_avail_min_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_set_avail_min_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13661,9 +14993,10 @@ int snd_pcm_sw_params_set_avail_min(snd_pcm_t * pcm, snd_pcm_sw_params_t * param syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_set_avail_min(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) __attribute__((alias("glshim_snd_pcm_sw_params_set_avail_min"))); #endif #if !defined(skip_client_snd_pcm_sw_params_set_silence_size) && !defined(skip_index_snd_pcm_sw_params_set_silence_size) -int snd_pcm_sw_params_set_silence_size(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) { +int glshim_snd_pcm_sw_params_set_silence_size(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) { snd_pcm_sw_params_set_silence_size_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_set_silence_size_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13673,9 +15006,10 @@ int snd_pcm_sw_params_set_silence_size(snd_pcm_t * pcm, snd_pcm_sw_params_t * pa syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_set_silence_size(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) __attribute__((alias("glshim_snd_pcm_sw_params_set_silence_size"))); #endif #if !defined(skip_client_snd_pcm_sw_params_set_silence_threshold) && !defined(skip_index_snd_pcm_sw_params_set_silence_threshold) -int snd_pcm_sw_params_set_silence_threshold(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) { +int glshim_snd_pcm_sw_params_set_silence_threshold(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) { snd_pcm_sw_params_set_silence_threshold_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_set_silence_threshold_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13685,9 +15019,10 @@ int snd_pcm_sw_params_set_silence_threshold(snd_pcm_t * pcm, snd_pcm_sw_params_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_set_silence_threshold(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) __attribute__((alias("glshim_snd_pcm_sw_params_set_silence_threshold"))); #endif #if !defined(skip_client_snd_pcm_sw_params_set_sleep_min) && !defined(skip_index_snd_pcm_sw_params_set_sleep_min) -int snd_pcm_sw_params_set_sleep_min(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, unsigned int val) { +int glshim_snd_pcm_sw_params_set_sleep_min(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, unsigned int val) { snd_pcm_sw_params_set_sleep_min_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_set_sleep_min_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13697,9 +15032,10 @@ int snd_pcm_sw_params_set_sleep_min(snd_pcm_t * pcm, snd_pcm_sw_params_t * param syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_set_sleep_min(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, unsigned int val) __attribute__((alias("glshim_snd_pcm_sw_params_set_sleep_min"))); #endif #if !defined(skip_client_snd_pcm_sw_params_set_start_mode) && !defined(skip_index_snd_pcm_sw_params_set_start_mode) -int snd_pcm_sw_params_set_start_mode(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_start_t val) { +int glshim_snd_pcm_sw_params_set_start_mode(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_start_t val) { snd_pcm_sw_params_set_start_mode_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_set_start_mode_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13709,9 +15045,10 @@ int snd_pcm_sw_params_set_start_mode(snd_pcm_t * pcm, snd_pcm_sw_params_t * para syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_set_start_mode(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_start_t val) __attribute__((alias("glshim_snd_pcm_sw_params_set_start_mode"))); #endif #if !defined(skip_client_snd_pcm_sw_params_set_start_threshold) && !defined(skip_index_snd_pcm_sw_params_set_start_threshold) -int snd_pcm_sw_params_set_start_threshold(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) { +int glshim_snd_pcm_sw_params_set_start_threshold(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) { snd_pcm_sw_params_set_start_threshold_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_set_start_threshold_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13721,9 +15058,10 @@ int snd_pcm_sw_params_set_start_threshold(snd_pcm_t * pcm, snd_pcm_sw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_set_start_threshold(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) __attribute__((alias("glshim_snd_pcm_sw_params_set_start_threshold"))); #endif #if !defined(skip_client_snd_pcm_sw_params_set_stop_threshold) && !defined(skip_index_snd_pcm_sw_params_set_stop_threshold) -int snd_pcm_sw_params_set_stop_threshold(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) { +int glshim_snd_pcm_sw_params_set_stop_threshold(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) { snd_pcm_sw_params_set_stop_threshold_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_set_stop_threshold_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13733,9 +15071,10 @@ int snd_pcm_sw_params_set_stop_threshold(snd_pcm_t * pcm, snd_pcm_sw_params_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_set_stop_threshold(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) __attribute__((alias("glshim_snd_pcm_sw_params_set_stop_threshold"))); #endif #if !defined(skip_client_snd_pcm_sw_params_set_tstamp_mode) && !defined(skip_index_snd_pcm_sw_params_set_tstamp_mode) -int snd_pcm_sw_params_set_tstamp_mode(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_tstamp_t val) { +int glshim_snd_pcm_sw_params_set_tstamp_mode(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_tstamp_t val) { snd_pcm_sw_params_set_tstamp_mode_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_set_tstamp_mode_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13745,9 +15084,10 @@ int snd_pcm_sw_params_set_tstamp_mode(snd_pcm_t * pcm, snd_pcm_sw_params_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_set_tstamp_mode(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_tstamp_t val) __attribute__((alias("glshim_snd_pcm_sw_params_set_tstamp_mode"))); #endif #if !defined(skip_client_snd_pcm_sw_params_set_xfer_align) && !defined(skip_index_snd_pcm_sw_params_set_xfer_align) -int snd_pcm_sw_params_set_xfer_align(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) { +int glshim_snd_pcm_sw_params_set_xfer_align(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) { snd_pcm_sw_params_set_xfer_align_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_set_xfer_align_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13757,9 +15097,10 @@ int snd_pcm_sw_params_set_xfer_align(snd_pcm_t * pcm, snd_pcm_sw_params_t * para syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_set_xfer_align(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_uframes_t val) __attribute__((alias("glshim_snd_pcm_sw_params_set_xfer_align"))); #endif #if !defined(skip_client_snd_pcm_sw_params_set_xrun_mode) && !defined(skip_index_snd_pcm_sw_params_set_xrun_mode) -int snd_pcm_sw_params_set_xrun_mode(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_xrun_t val) { +int glshim_snd_pcm_sw_params_set_xrun_mode(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_xrun_t val) { snd_pcm_sw_params_set_xrun_mode_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_set_xrun_mode_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13769,18 +15110,20 @@ int snd_pcm_sw_params_set_xrun_mode(snd_pcm_t * pcm, snd_pcm_sw_params_t * param syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_sw_params_set_xrun_mode(snd_pcm_t * pcm, snd_pcm_sw_params_t * params, snd_pcm_xrun_t val) __attribute__((alias("glshim_snd_pcm_sw_params_set_xrun_mode"))); #endif #if !defined(skip_client_snd_pcm_sw_params_sizeof) && !defined(skip_index_snd_pcm_sw_params_sizeof) -size_t snd_pcm_sw_params_sizeof() { +size_t glshim_snd_pcm_sw_params_sizeof() { snd_pcm_sw_params_sizeof_INDEXED packed_data; packed_data.func = snd_pcm_sw_params_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_pcm_sw_params_sizeof() __attribute__((alias("glshim_snd_pcm_sw_params_sizeof"))); #endif #if !defined(skip_client_snd_pcm_tstamp_mode_name) && !defined(skip_index_snd_pcm_tstamp_mode_name) -const char * snd_pcm_tstamp_mode_name(const snd_pcm_tstamp_t mode) { +const char * glshim_snd_pcm_tstamp_mode_name(const snd_pcm_tstamp_t mode) { snd_pcm_tstamp_mode_name_INDEXED packed_data; packed_data.func = snd_pcm_tstamp_mode_name_INDEX; packed_data.args.a1 = (snd_pcm_tstamp_t)mode; @@ -13788,9 +15131,10 @@ const char * snd_pcm_tstamp_mode_name(const snd_pcm_tstamp_t mode) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_tstamp_mode_name(const snd_pcm_tstamp_t mode) __attribute__((alias("glshim_snd_pcm_tstamp_mode_name"))); #endif #if !defined(skip_client_snd_pcm_type) && !defined(skip_index_snd_pcm_type) -snd_pcm_type_t snd_pcm_type(snd_pcm_t * pcm) { +snd_pcm_type_t glshim_snd_pcm_type(snd_pcm_t * pcm) { snd_pcm_type_INDEXED packed_data; packed_data.func = snd_pcm_type_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13798,9 +15142,10 @@ snd_pcm_type_t snd_pcm_type(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_type_t snd_pcm_type(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_type"))); #endif #if !defined(skip_client_snd_pcm_type_name) && !defined(skip_index_snd_pcm_type_name) -const char * snd_pcm_type_name(snd_pcm_type_t type) { +const char * glshim_snd_pcm_type_name(snd_pcm_type_t type) { snd_pcm_type_name_INDEXED packed_data; packed_data.func = snd_pcm_type_name_INDEX; packed_data.args.a1 = (snd_pcm_type_t)type; @@ -13808,9 +15153,10 @@ const char * snd_pcm_type_name(snd_pcm_type_t type) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_type_name(snd_pcm_type_t type) __attribute__((alias("glshim_snd_pcm_type_name"))); #endif #if !defined(skip_client_snd_pcm_unlink) && !defined(skip_index_snd_pcm_unlink) -int snd_pcm_unlink(snd_pcm_t * pcm) { +int glshim_snd_pcm_unlink(snd_pcm_t * pcm) { snd_pcm_unlink_INDEXED packed_data; packed_data.func = snd_pcm_unlink_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13818,9 +15164,10 @@ int snd_pcm_unlink(snd_pcm_t * pcm) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_unlink(snd_pcm_t * pcm) __attribute__((alias("glshim_snd_pcm_unlink"))); #endif #if !defined(skip_client_snd_pcm_wait) && !defined(skip_index_snd_pcm_wait) -int snd_pcm_wait(snd_pcm_t * pcm, int timeout) { +int glshim_snd_pcm_wait(snd_pcm_t * pcm, int timeout) { snd_pcm_wait_INDEXED packed_data; packed_data.func = snd_pcm_wait_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13829,9 +15176,10 @@ int snd_pcm_wait(snd_pcm_t * pcm, int timeout) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_pcm_wait(snd_pcm_t * pcm, int timeout) __attribute__((alias("glshim_snd_pcm_wait"))); #endif #if !defined(skip_client_snd_pcm_writei) && !defined(skip_index_snd_pcm_writei) -snd_pcm_sframes_t snd_pcm_writei(snd_pcm_t * pcm, const void * buffer, snd_pcm_uframes_t size) { +snd_pcm_sframes_t glshim_snd_pcm_writei(snd_pcm_t * pcm, const void * buffer, snd_pcm_uframes_t size) { snd_pcm_writei_INDEXED packed_data; packed_data.func = snd_pcm_writei_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13841,9 +15189,10 @@ snd_pcm_sframes_t snd_pcm_writei(snd_pcm_t * pcm, const void * buffer, snd_pcm_u syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_sframes_t snd_pcm_writei(snd_pcm_t * pcm, const void * buffer, snd_pcm_uframes_t size) __attribute__((alias("glshim_snd_pcm_writei"))); #endif #if !defined(skip_client_snd_pcm_writen) && !defined(skip_index_snd_pcm_writen) -snd_pcm_sframes_t snd_pcm_writen(snd_pcm_t * pcm, void ** bufs, snd_pcm_uframes_t size) { +snd_pcm_sframes_t glshim_snd_pcm_writen(snd_pcm_t * pcm, void ** bufs, snd_pcm_uframes_t size) { snd_pcm_writen_INDEXED packed_data; packed_data.func = snd_pcm_writen_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -13853,9 +15202,10 @@ snd_pcm_sframes_t snd_pcm_writen(snd_pcm_t * pcm, void ** bufs, snd_pcm_uframes_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_pcm_sframes_t snd_pcm_writen(snd_pcm_t * pcm, void ** bufs, snd_pcm_uframes_t size) __attribute__((alias("glshim_snd_pcm_writen"))); #endif #if !defined(skip_client_snd_pcm_xrun_mode_name) && !defined(skip_index_snd_pcm_xrun_mode_name) -const char * snd_pcm_xrun_mode_name(snd_pcm_xrun_t mode) { +const char * glshim_snd_pcm_xrun_mode_name(snd_pcm_xrun_t mode) { snd_pcm_xrun_mode_name_INDEXED packed_data; packed_data.func = snd_pcm_xrun_mode_name_INDEX; packed_data.args.a1 = (snd_pcm_xrun_t)mode; @@ -13863,9 +15213,10 @@ const char * snd_pcm_xrun_mode_name(snd_pcm_xrun_t mode) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_pcm_xrun_mode_name(snd_pcm_xrun_t mode) __attribute__((alias("glshim_snd_pcm_xrun_mode_name"))); #endif #if !defined(skip_client_snd_rawmidi_close) && !defined(skip_index_snd_rawmidi_close) -int snd_rawmidi_close(snd_rawmidi_t * rmidi) { +int glshim_snd_rawmidi_close(snd_rawmidi_t * rmidi) { snd_rawmidi_close_INDEXED packed_data; packed_data.func = snd_rawmidi_close_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -13873,9 +15224,10 @@ int snd_rawmidi_close(snd_rawmidi_t * rmidi) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_close(snd_rawmidi_t * rmidi) __attribute__((alias("glshim_snd_rawmidi_close"))); #endif #if !defined(skip_client_snd_rawmidi_drain) && !defined(skip_index_snd_rawmidi_drain) -int snd_rawmidi_drain(snd_rawmidi_t * rmidi) { +int glshim_snd_rawmidi_drain(snd_rawmidi_t * rmidi) { snd_rawmidi_drain_INDEXED packed_data; packed_data.func = snd_rawmidi_drain_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -13883,9 +15235,10 @@ int snd_rawmidi_drain(snd_rawmidi_t * rmidi) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_drain(snd_rawmidi_t * rmidi) __attribute__((alias("glshim_snd_rawmidi_drain"))); #endif #if !defined(skip_client_snd_rawmidi_drop) && !defined(skip_index_snd_rawmidi_drop) -int snd_rawmidi_drop(snd_rawmidi_t * rmidi) { +int glshim_snd_rawmidi_drop(snd_rawmidi_t * rmidi) { snd_rawmidi_drop_INDEXED packed_data; packed_data.func = snd_rawmidi_drop_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -13893,9 +15246,10 @@ int snd_rawmidi_drop(snd_rawmidi_t * rmidi) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_drop(snd_rawmidi_t * rmidi) __attribute__((alias("glshim_snd_rawmidi_drop"))); #endif #if !defined(skip_client_snd_rawmidi_info) && !defined(skip_index_snd_rawmidi_info) -int snd_rawmidi_info(snd_rawmidi_t * rmidi, snd_rawmidi_info_t * info) { +int glshim_snd_rawmidi_info(snd_rawmidi_t * rmidi, snd_rawmidi_info_t * info) { snd_rawmidi_info_INDEXED packed_data; packed_data.func = snd_rawmidi_info_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -13904,26 +15258,29 @@ int snd_rawmidi_info(snd_rawmidi_t * rmidi, snd_rawmidi_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_info(snd_rawmidi_t * rmidi, snd_rawmidi_info_t * info) __attribute__((alias("glshim_snd_rawmidi_info"))); #endif #if !defined(skip_client_snd_rawmidi_info_copy) && !defined(skip_index_snd_rawmidi_info_copy) -void snd_rawmidi_info_copy(snd_rawmidi_info_t * dst, const snd_rawmidi_info_t * src) { +void glshim_snd_rawmidi_info_copy(snd_rawmidi_info_t * dst, const snd_rawmidi_info_t * src) { snd_rawmidi_info_copy_INDEXED packed_data; packed_data.func = snd_rawmidi_info_copy_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t *)dst; packed_data.args.a2 = (snd_rawmidi_info_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_rawmidi_info_copy(snd_rawmidi_info_t * dst, const snd_rawmidi_info_t * src) __attribute__((alias("glshim_snd_rawmidi_info_copy"))); #endif #if !defined(skip_client_snd_rawmidi_info_free) && !defined(skip_index_snd_rawmidi_info_free) -void snd_rawmidi_info_free(snd_rawmidi_info_t * obj) { +void glshim_snd_rawmidi_info_free(snd_rawmidi_info_t * obj) { snd_rawmidi_info_free_INDEXED packed_data; packed_data.func = snd_rawmidi_info_free_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_rawmidi_info_free(snd_rawmidi_info_t * obj) __attribute__((alias("glshim_snd_rawmidi_info_free"))); #endif #if !defined(skip_client_snd_rawmidi_info_get_card) && !defined(skip_index_snd_rawmidi_info_get_card) -int snd_rawmidi_info_get_card(const snd_rawmidi_info_t * obj) { +int glshim_snd_rawmidi_info_get_card(const snd_rawmidi_info_t * obj) { snd_rawmidi_info_get_card_INDEXED packed_data; packed_data.func = snd_rawmidi_info_get_card_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t *)obj; @@ -13931,9 +15288,10 @@ int snd_rawmidi_info_get_card(const snd_rawmidi_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_info_get_card(const snd_rawmidi_info_t * obj) __attribute__((alias("glshim_snd_rawmidi_info_get_card"))); #endif #if !defined(skip_client_snd_rawmidi_info_get_device) && !defined(skip_index_snd_rawmidi_info_get_device) -unsigned int snd_rawmidi_info_get_device(const snd_rawmidi_info_t * obj) { +unsigned int glshim_snd_rawmidi_info_get_device(const snd_rawmidi_info_t * obj) { snd_rawmidi_info_get_device_INDEXED packed_data; packed_data.func = snd_rawmidi_info_get_device_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t *)obj; @@ -13941,9 +15299,10 @@ unsigned int snd_rawmidi_info_get_device(const snd_rawmidi_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_rawmidi_info_get_device(const snd_rawmidi_info_t * obj) __attribute__((alias("glshim_snd_rawmidi_info_get_device"))); #endif #if !defined(skip_client_snd_rawmidi_info_get_flags) && !defined(skip_index_snd_rawmidi_info_get_flags) -unsigned int snd_rawmidi_info_get_flags(const snd_rawmidi_info_t * obj) { +unsigned int glshim_snd_rawmidi_info_get_flags(const snd_rawmidi_info_t * obj) { snd_rawmidi_info_get_flags_INDEXED packed_data; packed_data.func = snd_rawmidi_info_get_flags_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t *)obj; @@ -13951,9 +15310,10 @@ unsigned int snd_rawmidi_info_get_flags(const snd_rawmidi_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_rawmidi_info_get_flags(const snd_rawmidi_info_t * obj) __attribute__((alias("glshim_snd_rawmidi_info_get_flags"))); #endif #if !defined(skip_client_snd_rawmidi_info_get_id) && !defined(skip_index_snd_rawmidi_info_get_id) -const char * snd_rawmidi_info_get_id(const snd_rawmidi_info_t * obj) { +const char * glshim_snd_rawmidi_info_get_id(const snd_rawmidi_info_t * obj) { snd_rawmidi_info_get_id_INDEXED packed_data; packed_data.func = snd_rawmidi_info_get_id_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t *)obj; @@ -13961,9 +15321,10 @@ const char * snd_rawmidi_info_get_id(const snd_rawmidi_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_rawmidi_info_get_id(const snd_rawmidi_info_t * obj) __attribute__((alias("glshim_snd_rawmidi_info_get_id"))); #endif #if !defined(skip_client_snd_rawmidi_info_get_name) && !defined(skip_index_snd_rawmidi_info_get_name) -const char * snd_rawmidi_info_get_name(const snd_rawmidi_info_t * obj) { +const char * glshim_snd_rawmidi_info_get_name(const snd_rawmidi_info_t * obj) { snd_rawmidi_info_get_name_INDEXED packed_data; packed_data.func = snd_rawmidi_info_get_name_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t *)obj; @@ -13971,9 +15332,10 @@ const char * snd_rawmidi_info_get_name(const snd_rawmidi_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_rawmidi_info_get_name(const snd_rawmidi_info_t * obj) __attribute__((alias("glshim_snd_rawmidi_info_get_name"))); #endif #if !defined(skip_client_snd_rawmidi_info_get_stream) && !defined(skip_index_snd_rawmidi_info_get_stream) -snd_rawmidi_stream_t snd_rawmidi_info_get_stream(const snd_rawmidi_info_t * obj) { +snd_rawmidi_stream_t glshim_snd_rawmidi_info_get_stream(const snd_rawmidi_info_t * obj) { snd_rawmidi_info_get_stream_INDEXED packed_data; packed_data.func = snd_rawmidi_info_get_stream_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t *)obj; @@ -13981,9 +15343,10 @@ snd_rawmidi_stream_t snd_rawmidi_info_get_stream(const snd_rawmidi_info_t * obj) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_rawmidi_stream_t snd_rawmidi_info_get_stream(const snd_rawmidi_info_t * obj) __attribute__((alias("glshim_snd_rawmidi_info_get_stream"))); #endif #if !defined(skip_client_snd_rawmidi_info_get_subdevice) && !defined(skip_index_snd_rawmidi_info_get_subdevice) -unsigned int snd_rawmidi_info_get_subdevice(const snd_rawmidi_info_t * obj) { +unsigned int glshim_snd_rawmidi_info_get_subdevice(const snd_rawmidi_info_t * obj) { snd_rawmidi_info_get_subdevice_INDEXED packed_data; packed_data.func = snd_rawmidi_info_get_subdevice_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t *)obj; @@ -13991,9 +15354,10 @@ unsigned int snd_rawmidi_info_get_subdevice(const snd_rawmidi_info_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_rawmidi_info_get_subdevice(const snd_rawmidi_info_t * obj) __attribute__((alias("glshim_snd_rawmidi_info_get_subdevice"))); #endif #if !defined(skip_client_snd_rawmidi_info_get_subdevice_name) && !defined(skip_index_snd_rawmidi_info_get_subdevice_name) -const char * snd_rawmidi_info_get_subdevice_name(const snd_rawmidi_info_t * obj) { +const char * glshim_snd_rawmidi_info_get_subdevice_name(const snd_rawmidi_info_t * obj) { snd_rawmidi_info_get_subdevice_name_INDEXED packed_data; packed_data.func = snd_rawmidi_info_get_subdevice_name_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t *)obj; @@ -14001,9 +15365,10 @@ const char * snd_rawmidi_info_get_subdevice_name(const snd_rawmidi_info_t * obj) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_rawmidi_info_get_subdevice_name(const snd_rawmidi_info_t * obj) __attribute__((alias("glshim_snd_rawmidi_info_get_subdevice_name"))); #endif #if !defined(skip_client_snd_rawmidi_info_get_subdevices_avail) && !defined(skip_index_snd_rawmidi_info_get_subdevices_avail) -unsigned int snd_rawmidi_info_get_subdevices_avail(const snd_rawmidi_info_t * obj) { +unsigned int glshim_snd_rawmidi_info_get_subdevices_avail(const snd_rawmidi_info_t * obj) { snd_rawmidi_info_get_subdevices_avail_INDEXED packed_data; packed_data.func = snd_rawmidi_info_get_subdevices_avail_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t *)obj; @@ -14011,9 +15376,10 @@ unsigned int snd_rawmidi_info_get_subdevices_avail(const snd_rawmidi_info_t * ob syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_rawmidi_info_get_subdevices_avail(const snd_rawmidi_info_t * obj) __attribute__((alias("glshim_snd_rawmidi_info_get_subdevices_avail"))); #endif #if !defined(skip_client_snd_rawmidi_info_get_subdevices_count) && !defined(skip_index_snd_rawmidi_info_get_subdevices_count) -unsigned int snd_rawmidi_info_get_subdevices_count(const snd_rawmidi_info_t * obj) { +unsigned int glshim_snd_rawmidi_info_get_subdevices_count(const snd_rawmidi_info_t * obj) { snd_rawmidi_info_get_subdevices_count_INDEXED packed_data; packed_data.func = snd_rawmidi_info_get_subdevices_count_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t *)obj; @@ -14021,9 +15387,10 @@ unsigned int snd_rawmidi_info_get_subdevices_count(const snd_rawmidi_info_t * ob syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_rawmidi_info_get_subdevices_count(const snd_rawmidi_info_t * obj) __attribute__((alias("glshim_snd_rawmidi_info_get_subdevices_count"))); #endif #if !defined(skip_client_snd_rawmidi_info_malloc) && !defined(skip_index_snd_rawmidi_info_malloc) -int snd_rawmidi_info_malloc(snd_rawmidi_info_t ** ptr) { +int glshim_snd_rawmidi_info_malloc(snd_rawmidi_info_t ** ptr) { snd_rawmidi_info_malloc_INDEXED packed_data; packed_data.func = snd_rawmidi_info_malloc_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t **)ptr; @@ -14031,45 +15398,50 @@ int snd_rawmidi_info_malloc(snd_rawmidi_info_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_info_malloc(snd_rawmidi_info_t ** ptr) __attribute__((alias("glshim_snd_rawmidi_info_malloc"))); #endif #if !defined(skip_client_snd_rawmidi_info_set_device) && !defined(skip_index_snd_rawmidi_info_set_device) -void snd_rawmidi_info_set_device(snd_rawmidi_info_t * obj, unsigned int val) { +void glshim_snd_rawmidi_info_set_device(snd_rawmidi_info_t * obj, unsigned int val) { snd_rawmidi_info_set_device_INDEXED packed_data; packed_data.func = snd_rawmidi_info_set_device_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_rawmidi_info_set_device(snd_rawmidi_info_t * obj, unsigned int val) __attribute__((alias("glshim_snd_rawmidi_info_set_device"))); #endif #if !defined(skip_client_snd_rawmidi_info_set_stream) && !defined(skip_index_snd_rawmidi_info_set_stream) -void snd_rawmidi_info_set_stream(snd_rawmidi_info_t * obj, snd_rawmidi_stream_t val) { +void glshim_snd_rawmidi_info_set_stream(snd_rawmidi_info_t * obj, snd_rawmidi_stream_t val) { snd_rawmidi_info_set_stream_INDEXED packed_data; packed_data.func = snd_rawmidi_info_set_stream_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t *)obj; packed_data.args.a2 = (snd_rawmidi_stream_t)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_rawmidi_info_set_stream(snd_rawmidi_info_t * obj, snd_rawmidi_stream_t val) __attribute__((alias("glshim_snd_rawmidi_info_set_stream"))); #endif #if !defined(skip_client_snd_rawmidi_info_set_subdevice) && !defined(skip_index_snd_rawmidi_info_set_subdevice) -void snd_rawmidi_info_set_subdevice(snd_rawmidi_info_t * obj, unsigned int val) { +void glshim_snd_rawmidi_info_set_subdevice(snd_rawmidi_info_t * obj, unsigned int val) { snd_rawmidi_info_set_subdevice_INDEXED packed_data; packed_data.func = snd_rawmidi_info_set_subdevice_INDEX; packed_data.args.a1 = (snd_rawmidi_info_t *)obj; packed_data.args.a2 = (unsigned int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_rawmidi_info_set_subdevice(snd_rawmidi_info_t * obj, unsigned int val) __attribute__((alias("glshim_snd_rawmidi_info_set_subdevice"))); #endif #if !defined(skip_client_snd_rawmidi_info_sizeof) && !defined(skip_index_snd_rawmidi_info_sizeof) -size_t snd_rawmidi_info_sizeof() { +size_t glshim_snd_rawmidi_info_sizeof() { snd_rawmidi_info_sizeof_INDEXED packed_data; packed_data.func = snd_rawmidi_info_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_rawmidi_info_sizeof() __attribute__((alias("glshim_snd_rawmidi_info_sizeof"))); #endif #if !defined(skip_client_snd_rawmidi_name) && !defined(skip_index_snd_rawmidi_name) -const char * snd_rawmidi_name(snd_rawmidi_t * rmidi) { +const char * glshim_snd_rawmidi_name(snd_rawmidi_t * rmidi) { snd_rawmidi_name_INDEXED packed_data; packed_data.func = snd_rawmidi_name_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -14077,9 +15449,10 @@ const char * snd_rawmidi_name(snd_rawmidi_t * rmidi) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_rawmidi_name(snd_rawmidi_t * rmidi) __attribute__((alias("glshim_snd_rawmidi_name"))); #endif #if !defined(skip_client_snd_rawmidi_nonblock) && !defined(skip_index_snd_rawmidi_nonblock) -int snd_rawmidi_nonblock(snd_rawmidi_t * rmidi, int nonblock) { +int glshim_snd_rawmidi_nonblock(snd_rawmidi_t * rmidi, int nonblock) { snd_rawmidi_nonblock_INDEXED packed_data; packed_data.func = snd_rawmidi_nonblock_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -14088,9 +15461,10 @@ int snd_rawmidi_nonblock(snd_rawmidi_t * rmidi, int nonblock) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_nonblock(snd_rawmidi_t * rmidi, int nonblock) __attribute__((alias("glshim_snd_rawmidi_nonblock"))); #endif #if !defined(skip_client_snd_rawmidi_open) && !defined(skip_index_snd_rawmidi_open) -int snd_rawmidi_open(snd_rawmidi_t ** in_rmidi, snd_rawmidi_t ** out_rmidi, const char * name, int mode) { +int glshim_snd_rawmidi_open(snd_rawmidi_t ** in_rmidi, snd_rawmidi_t ** out_rmidi, const char * name, int mode) { snd_rawmidi_open_INDEXED packed_data; packed_data.func = snd_rawmidi_open_INDEX; packed_data.args.a1 = (snd_rawmidi_t **)in_rmidi; @@ -14101,9 +15475,10 @@ int snd_rawmidi_open(snd_rawmidi_t ** in_rmidi, snd_rawmidi_t ** out_rmidi, cons syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_open(snd_rawmidi_t ** in_rmidi, snd_rawmidi_t ** out_rmidi, const char * name, int mode) __attribute__((alias("glshim_snd_rawmidi_open"))); #endif #if !defined(skip_client_snd_rawmidi_open_lconf) && !defined(skip_index_snd_rawmidi_open_lconf) -int snd_rawmidi_open_lconf(snd_rawmidi_t ** in_rmidi, snd_rawmidi_t ** out_rmidi, const char * name, int mode, snd_config_t * lconf) { +int glshim_snd_rawmidi_open_lconf(snd_rawmidi_t ** in_rmidi, snd_rawmidi_t ** out_rmidi, const char * name, int mode, snd_config_t * lconf) { snd_rawmidi_open_lconf_INDEXED packed_data; packed_data.func = snd_rawmidi_open_lconf_INDEX; packed_data.args.a1 = (snd_rawmidi_t **)in_rmidi; @@ -14115,9 +15490,10 @@ int snd_rawmidi_open_lconf(snd_rawmidi_t ** in_rmidi, snd_rawmidi_t ** out_rmidi syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_open_lconf(snd_rawmidi_t ** in_rmidi, snd_rawmidi_t ** out_rmidi, const char * name, int mode, snd_config_t * lconf) __attribute__((alias("glshim_snd_rawmidi_open_lconf"))); #endif #if !defined(skip_client_snd_rawmidi_params) && !defined(skip_index_snd_rawmidi_params) -int snd_rawmidi_params(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params) { +int glshim_snd_rawmidi_params(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params) { snd_rawmidi_params_INDEXED packed_data; packed_data.func = snd_rawmidi_params_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -14126,18 +15502,20 @@ int snd_rawmidi_params(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_params(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params) __attribute__((alias("glshim_snd_rawmidi_params"))); #endif #if !defined(skip_client_snd_rawmidi_params_copy) && !defined(skip_index_snd_rawmidi_params_copy) -void snd_rawmidi_params_copy(snd_rawmidi_params_t * dst, const snd_rawmidi_params_t * src) { +void glshim_snd_rawmidi_params_copy(snd_rawmidi_params_t * dst, const snd_rawmidi_params_t * src) { snd_rawmidi_params_copy_INDEXED packed_data; packed_data.func = snd_rawmidi_params_copy_INDEX; packed_data.args.a1 = (snd_rawmidi_params_t *)dst; packed_data.args.a2 = (snd_rawmidi_params_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_rawmidi_params_copy(snd_rawmidi_params_t * dst, const snd_rawmidi_params_t * src) __attribute__((alias("glshim_snd_rawmidi_params_copy"))); #endif #if !defined(skip_client_snd_rawmidi_params_current) && !defined(skip_index_snd_rawmidi_params_current) -int snd_rawmidi_params_current(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params) { +int glshim_snd_rawmidi_params_current(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params) { snd_rawmidi_params_current_INDEXED packed_data; packed_data.func = snd_rawmidi_params_current_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -14146,17 +15524,19 @@ int snd_rawmidi_params_current(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_params_current(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params) __attribute__((alias("glshim_snd_rawmidi_params_current"))); #endif #if !defined(skip_client_snd_rawmidi_params_free) && !defined(skip_index_snd_rawmidi_params_free) -void snd_rawmidi_params_free(snd_rawmidi_params_t * obj) { +void glshim_snd_rawmidi_params_free(snd_rawmidi_params_t * obj) { snd_rawmidi_params_free_INDEXED packed_data; packed_data.func = snd_rawmidi_params_free_INDEX; packed_data.args.a1 = (snd_rawmidi_params_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_rawmidi_params_free(snd_rawmidi_params_t * obj) __attribute__((alias("glshim_snd_rawmidi_params_free"))); #endif #if !defined(skip_client_snd_rawmidi_params_get_avail_min) && !defined(skip_index_snd_rawmidi_params_get_avail_min) -size_t snd_rawmidi_params_get_avail_min(const snd_rawmidi_params_t * params) { +size_t glshim_snd_rawmidi_params_get_avail_min(const snd_rawmidi_params_t * params) { snd_rawmidi_params_get_avail_min_INDEXED packed_data; packed_data.func = snd_rawmidi_params_get_avail_min_INDEX; packed_data.args.a1 = (snd_rawmidi_params_t *)params; @@ -14164,9 +15544,10 @@ size_t snd_rawmidi_params_get_avail_min(const snd_rawmidi_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_rawmidi_params_get_avail_min(const snd_rawmidi_params_t * params) __attribute__((alias("glshim_snd_rawmidi_params_get_avail_min"))); #endif #if !defined(skip_client_snd_rawmidi_params_get_buffer_size) && !defined(skip_index_snd_rawmidi_params_get_buffer_size) -size_t snd_rawmidi_params_get_buffer_size(const snd_rawmidi_params_t * params) { +size_t glshim_snd_rawmidi_params_get_buffer_size(const snd_rawmidi_params_t * params) { snd_rawmidi_params_get_buffer_size_INDEXED packed_data; packed_data.func = snd_rawmidi_params_get_buffer_size_INDEX; packed_data.args.a1 = (snd_rawmidi_params_t *)params; @@ -14174,9 +15555,10 @@ size_t snd_rawmidi_params_get_buffer_size(const snd_rawmidi_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_rawmidi_params_get_buffer_size(const snd_rawmidi_params_t * params) __attribute__((alias("glshim_snd_rawmidi_params_get_buffer_size"))); #endif #if !defined(skip_client_snd_rawmidi_params_get_no_active_sensing) && !defined(skip_index_snd_rawmidi_params_get_no_active_sensing) -int snd_rawmidi_params_get_no_active_sensing(const snd_rawmidi_params_t * params) { +int glshim_snd_rawmidi_params_get_no_active_sensing(const snd_rawmidi_params_t * params) { snd_rawmidi_params_get_no_active_sensing_INDEXED packed_data; packed_data.func = snd_rawmidi_params_get_no_active_sensing_INDEX; packed_data.args.a1 = (snd_rawmidi_params_t *)params; @@ -14184,9 +15566,10 @@ int snd_rawmidi_params_get_no_active_sensing(const snd_rawmidi_params_t * params syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_params_get_no_active_sensing(const snd_rawmidi_params_t * params) __attribute__((alias("glshim_snd_rawmidi_params_get_no_active_sensing"))); #endif #if !defined(skip_client_snd_rawmidi_params_malloc) && !defined(skip_index_snd_rawmidi_params_malloc) -int snd_rawmidi_params_malloc(snd_rawmidi_params_t ** ptr) { +int glshim_snd_rawmidi_params_malloc(snd_rawmidi_params_t ** ptr) { snd_rawmidi_params_malloc_INDEXED packed_data; packed_data.func = snd_rawmidi_params_malloc_INDEX; packed_data.args.a1 = (snd_rawmidi_params_t **)ptr; @@ -14194,9 +15577,10 @@ int snd_rawmidi_params_malloc(snd_rawmidi_params_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_params_malloc(snd_rawmidi_params_t ** ptr) __attribute__((alias("glshim_snd_rawmidi_params_malloc"))); #endif #if !defined(skip_client_snd_rawmidi_params_set_avail_min) && !defined(skip_index_snd_rawmidi_params_set_avail_min) -int snd_rawmidi_params_set_avail_min(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params, size_t val) { +int glshim_snd_rawmidi_params_set_avail_min(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params, size_t val) { snd_rawmidi_params_set_avail_min_INDEXED packed_data; packed_data.func = snd_rawmidi_params_set_avail_min_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -14206,9 +15590,10 @@ int snd_rawmidi_params_set_avail_min(snd_rawmidi_t * rmidi, snd_rawmidi_params_t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_params_set_avail_min(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params, size_t val) __attribute__((alias("glshim_snd_rawmidi_params_set_avail_min"))); #endif #if !defined(skip_client_snd_rawmidi_params_set_buffer_size) && !defined(skip_index_snd_rawmidi_params_set_buffer_size) -int snd_rawmidi_params_set_buffer_size(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params, size_t val) { +int glshim_snd_rawmidi_params_set_buffer_size(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params, size_t val) { snd_rawmidi_params_set_buffer_size_INDEXED packed_data; packed_data.func = snd_rawmidi_params_set_buffer_size_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -14218,9 +15603,10 @@ int snd_rawmidi_params_set_buffer_size(snd_rawmidi_t * rmidi, snd_rawmidi_params syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_params_set_buffer_size(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params, size_t val) __attribute__((alias("glshim_snd_rawmidi_params_set_buffer_size"))); #endif #if !defined(skip_client_snd_rawmidi_params_set_no_active_sensing) && !defined(skip_index_snd_rawmidi_params_set_no_active_sensing) -int snd_rawmidi_params_set_no_active_sensing(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params, int val) { +int glshim_snd_rawmidi_params_set_no_active_sensing(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params, int val) { snd_rawmidi_params_set_no_active_sensing_INDEXED packed_data; packed_data.func = snd_rawmidi_params_set_no_active_sensing_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -14230,18 +15616,20 @@ int snd_rawmidi_params_set_no_active_sensing(snd_rawmidi_t * rmidi, snd_rawmidi_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_params_set_no_active_sensing(snd_rawmidi_t * rmidi, snd_rawmidi_params_t * params, int val) __attribute__((alias("glshim_snd_rawmidi_params_set_no_active_sensing"))); #endif #if !defined(skip_client_snd_rawmidi_params_sizeof) && !defined(skip_index_snd_rawmidi_params_sizeof) -size_t snd_rawmidi_params_sizeof() { +size_t glshim_snd_rawmidi_params_sizeof() { snd_rawmidi_params_sizeof_INDEXED packed_data; packed_data.func = snd_rawmidi_params_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_rawmidi_params_sizeof() __attribute__((alias("glshim_snd_rawmidi_params_sizeof"))); #endif #if !defined(skip_client_snd_rawmidi_poll_descriptors) && !defined(skip_index_snd_rawmidi_poll_descriptors) -int snd_rawmidi_poll_descriptors(snd_rawmidi_t * rmidi, struct pollfd * pfds, unsigned int space) { +int glshim_snd_rawmidi_poll_descriptors(snd_rawmidi_t * rmidi, struct pollfd * pfds, unsigned int space) { snd_rawmidi_poll_descriptors_INDEXED packed_data; packed_data.func = snd_rawmidi_poll_descriptors_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -14251,9 +15639,10 @@ int snd_rawmidi_poll_descriptors(snd_rawmidi_t * rmidi, struct pollfd * pfds, un syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_poll_descriptors(snd_rawmidi_t * rmidi, struct pollfd * pfds, unsigned int space) __attribute__((alias("glshim_snd_rawmidi_poll_descriptors"))); #endif #if !defined(skip_client_snd_rawmidi_poll_descriptors_count) && !defined(skip_index_snd_rawmidi_poll_descriptors_count) -int snd_rawmidi_poll_descriptors_count(snd_rawmidi_t * rmidi) { +int glshim_snd_rawmidi_poll_descriptors_count(snd_rawmidi_t * rmidi) { snd_rawmidi_poll_descriptors_count_INDEXED packed_data; packed_data.func = snd_rawmidi_poll_descriptors_count_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -14261,9 +15650,10 @@ int snd_rawmidi_poll_descriptors_count(snd_rawmidi_t * rmidi) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_poll_descriptors_count(snd_rawmidi_t * rmidi) __attribute__((alias("glshim_snd_rawmidi_poll_descriptors_count"))); #endif #if !defined(skip_client_snd_rawmidi_poll_descriptors_revents) && !defined(skip_index_snd_rawmidi_poll_descriptors_revents) -int snd_rawmidi_poll_descriptors_revents(snd_rawmidi_t * rawmidi, struct pollfd * pfds, unsigned int nfds, unsigned short * revent) { +int glshim_snd_rawmidi_poll_descriptors_revents(snd_rawmidi_t * rawmidi, struct pollfd * pfds, unsigned int nfds, unsigned short * revent) { snd_rawmidi_poll_descriptors_revents_INDEXED packed_data; packed_data.func = snd_rawmidi_poll_descriptors_revents_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rawmidi; @@ -14274,9 +15664,10 @@ int snd_rawmidi_poll_descriptors_revents(snd_rawmidi_t * rawmidi, struct pollfd syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_poll_descriptors_revents(snd_rawmidi_t * rawmidi, struct pollfd * pfds, unsigned int nfds, unsigned short * revent) __attribute__((alias("glshim_snd_rawmidi_poll_descriptors_revents"))); #endif #if !defined(skip_client_snd_rawmidi_read) && !defined(skip_index_snd_rawmidi_read) -ssize_t snd_rawmidi_read(snd_rawmidi_t * rmidi, void * buffer, size_t size) { +ssize_t glshim_snd_rawmidi_read(snd_rawmidi_t * rmidi, void * buffer, size_t size) { snd_rawmidi_read_INDEXED packed_data; packed_data.func = snd_rawmidi_read_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -14286,9 +15677,10 @@ ssize_t snd_rawmidi_read(snd_rawmidi_t * rmidi, void * buffer, size_t size) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +ssize_t snd_rawmidi_read(snd_rawmidi_t * rmidi, void * buffer, size_t size) __attribute__((alias("glshim_snd_rawmidi_read"))); #endif #if !defined(skip_client_snd_rawmidi_status) && !defined(skip_index_snd_rawmidi_status) -int snd_rawmidi_status(snd_rawmidi_t * rmidi, snd_rawmidi_status_t * status) { +int glshim_snd_rawmidi_status(snd_rawmidi_t * rmidi, snd_rawmidi_status_t * status) { snd_rawmidi_status_INDEXED packed_data; packed_data.func = snd_rawmidi_status_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -14297,26 +15689,29 @@ int snd_rawmidi_status(snd_rawmidi_t * rmidi, snd_rawmidi_status_t * status) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_status(snd_rawmidi_t * rmidi, snd_rawmidi_status_t * status) __attribute__((alias("glshim_snd_rawmidi_status"))); #endif #if !defined(skip_client_snd_rawmidi_status_copy) && !defined(skip_index_snd_rawmidi_status_copy) -void snd_rawmidi_status_copy(snd_rawmidi_status_t * dst, const snd_rawmidi_status_t * src) { +void glshim_snd_rawmidi_status_copy(snd_rawmidi_status_t * dst, const snd_rawmidi_status_t * src) { snd_rawmidi_status_copy_INDEXED packed_data; packed_data.func = snd_rawmidi_status_copy_INDEX; packed_data.args.a1 = (snd_rawmidi_status_t *)dst; packed_data.args.a2 = (snd_rawmidi_status_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_rawmidi_status_copy(snd_rawmidi_status_t * dst, const snd_rawmidi_status_t * src) __attribute__((alias("glshim_snd_rawmidi_status_copy"))); #endif #if !defined(skip_client_snd_rawmidi_status_free) && !defined(skip_index_snd_rawmidi_status_free) -void snd_rawmidi_status_free(snd_rawmidi_status_t * obj) { +void glshim_snd_rawmidi_status_free(snd_rawmidi_status_t * obj) { snd_rawmidi_status_free_INDEXED packed_data; packed_data.func = snd_rawmidi_status_free_INDEX; packed_data.args.a1 = (snd_rawmidi_status_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_rawmidi_status_free(snd_rawmidi_status_t * obj) __attribute__((alias("glshim_snd_rawmidi_status_free"))); #endif #if !defined(skip_client_snd_rawmidi_status_get_avail) && !defined(skip_index_snd_rawmidi_status_get_avail) -size_t snd_rawmidi_status_get_avail(const snd_rawmidi_status_t * obj) { +size_t glshim_snd_rawmidi_status_get_avail(const snd_rawmidi_status_t * obj) { snd_rawmidi_status_get_avail_INDEXED packed_data; packed_data.func = snd_rawmidi_status_get_avail_INDEX; packed_data.args.a1 = (snd_rawmidi_status_t *)obj; @@ -14324,18 +15719,20 @@ size_t snd_rawmidi_status_get_avail(const snd_rawmidi_status_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_rawmidi_status_get_avail(const snd_rawmidi_status_t * obj) __attribute__((alias("glshim_snd_rawmidi_status_get_avail"))); #endif #if !defined(skip_client_snd_rawmidi_status_get_tstamp) && !defined(skip_index_snd_rawmidi_status_get_tstamp) -void snd_rawmidi_status_get_tstamp(const snd_rawmidi_status_t * obj, snd_htimestamp_t * ptr) { +void glshim_snd_rawmidi_status_get_tstamp(const snd_rawmidi_status_t * obj, snd_htimestamp_t * ptr) { snd_rawmidi_status_get_tstamp_INDEXED packed_data; packed_data.func = snd_rawmidi_status_get_tstamp_INDEX; packed_data.args.a1 = (snd_rawmidi_status_t *)obj; packed_data.args.a2 = (snd_htimestamp_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_rawmidi_status_get_tstamp(const snd_rawmidi_status_t * obj, snd_htimestamp_t * ptr) __attribute__((alias("glshim_snd_rawmidi_status_get_tstamp"))); #endif #if !defined(skip_client_snd_rawmidi_status_get_xruns) && !defined(skip_index_snd_rawmidi_status_get_xruns) -size_t snd_rawmidi_status_get_xruns(const snd_rawmidi_status_t * obj) { +size_t glshim_snd_rawmidi_status_get_xruns(const snd_rawmidi_status_t * obj) { snd_rawmidi_status_get_xruns_INDEXED packed_data; packed_data.func = snd_rawmidi_status_get_xruns_INDEX; packed_data.args.a1 = (snd_rawmidi_status_t *)obj; @@ -14343,9 +15740,10 @@ size_t snd_rawmidi_status_get_xruns(const snd_rawmidi_status_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_rawmidi_status_get_xruns(const snd_rawmidi_status_t * obj) __attribute__((alias("glshim_snd_rawmidi_status_get_xruns"))); #endif #if !defined(skip_client_snd_rawmidi_status_malloc) && !defined(skip_index_snd_rawmidi_status_malloc) -int snd_rawmidi_status_malloc(snd_rawmidi_status_t ** ptr) { +int glshim_snd_rawmidi_status_malloc(snd_rawmidi_status_t ** ptr) { snd_rawmidi_status_malloc_INDEXED packed_data; packed_data.func = snd_rawmidi_status_malloc_INDEX; packed_data.args.a1 = (snd_rawmidi_status_t **)ptr; @@ -14353,18 +15751,20 @@ int snd_rawmidi_status_malloc(snd_rawmidi_status_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_rawmidi_status_malloc(snd_rawmidi_status_t ** ptr) __attribute__((alias("glshim_snd_rawmidi_status_malloc"))); #endif #if !defined(skip_client_snd_rawmidi_status_sizeof) && !defined(skip_index_snd_rawmidi_status_sizeof) -size_t snd_rawmidi_status_sizeof() { +size_t glshim_snd_rawmidi_status_sizeof() { snd_rawmidi_status_sizeof_INDEXED packed_data; packed_data.func = snd_rawmidi_status_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_rawmidi_status_sizeof() __attribute__((alias("glshim_snd_rawmidi_status_sizeof"))); #endif #if !defined(skip_client_snd_rawmidi_stream) && !defined(skip_index_snd_rawmidi_stream) -snd_rawmidi_stream_t snd_rawmidi_stream(snd_rawmidi_t * rawmidi) { +snd_rawmidi_stream_t glshim_snd_rawmidi_stream(snd_rawmidi_t * rawmidi) { snd_rawmidi_stream_INDEXED packed_data; packed_data.func = snd_rawmidi_stream_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rawmidi; @@ -14372,9 +15772,10 @@ snd_rawmidi_stream_t snd_rawmidi_stream(snd_rawmidi_t * rawmidi) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_rawmidi_stream_t snd_rawmidi_stream(snd_rawmidi_t * rawmidi) __attribute__((alias("glshim_snd_rawmidi_stream"))); #endif #if !defined(skip_client_snd_rawmidi_type) && !defined(skip_index_snd_rawmidi_type) -snd_rawmidi_type_t snd_rawmidi_type(snd_rawmidi_t * rmidi) { +snd_rawmidi_type_t glshim_snd_rawmidi_type(snd_rawmidi_t * rmidi) { snd_rawmidi_type_INDEXED packed_data; packed_data.func = snd_rawmidi_type_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -14382,9 +15783,10 @@ snd_rawmidi_type_t snd_rawmidi_type(snd_rawmidi_t * rmidi) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_rawmidi_type_t snd_rawmidi_type(snd_rawmidi_t * rmidi) __attribute__((alias("glshim_snd_rawmidi_type"))); #endif #if !defined(skip_client_snd_rawmidi_write) && !defined(skip_index_snd_rawmidi_write) -ssize_t snd_rawmidi_write(snd_rawmidi_t * rmidi, const void * buffer, size_t size) { +ssize_t glshim_snd_rawmidi_write(snd_rawmidi_t * rmidi, const void * buffer, size_t size) { snd_rawmidi_write_INDEXED packed_data; packed_data.func = snd_rawmidi_write_INDEX; packed_data.args.a1 = (snd_rawmidi_t *)rmidi; @@ -14394,9 +15796,10 @@ ssize_t snd_rawmidi_write(snd_rawmidi_t * rmidi, const void * buffer, size_t siz syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +ssize_t snd_rawmidi_write(snd_rawmidi_t * rmidi, const void * buffer, size_t size) __attribute__((alias("glshim_snd_rawmidi_write"))); #endif #if !defined(skip_client_snd_sctl_build) && !defined(skip_index_snd_sctl_build) -int snd_sctl_build(snd_sctl_t ** ctl, snd_ctl_t * handle, snd_config_t * config, snd_config_t * private_data, int mode) { +int glshim_snd_sctl_build(snd_sctl_t ** ctl, snd_ctl_t * handle, snd_config_t * config, snd_config_t * private_data, int mode) { snd_sctl_build_INDEXED packed_data; packed_data.func = snd_sctl_build_INDEX; packed_data.args.a1 = (snd_sctl_t **)ctl; @@ -14408,9 +15811,10 @@ int snd_sctl_build(snd_sctl_t ** ctl, snd_ctl_t * handle, snd_config_t * config, syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_sctl_build(snd_sctl_t ** ctl, snd_ctl_t * handle, snd_config_t * config, snd_config_t * private_data, int mode) __attribute__((alias("glshim_snd_sctl_build"))); #endif #if !defined(skip_client_snd_sctl_free) && !defined(skip_index_snd_sctl_free) -int snd_sctl_free(snd_sctl_t * handle) { +int glshim_snd_sctl_free(snd_sctl_t * handle) { snd_sctl_free_INDEXED packed_data; packed_data.func = snd_sctl_free_INDEX; packed_data.args.a1 = (snd_sctl_t *)handle; @@ -14418,9 +15822,10 @@ int snd_sctl_free(snd_sctl_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_sctl_free(snd_sctl_t * handle) __attribute__((alias("glshim_snd_sctl_free"))); #endif #if !defined(skip_client_snd_sctl_install) && !defined(skip_index_snd_sctl_install) -int snd_sctl_install(snd_sctl_t * handle) { +int glshim_snd_sctl_install(snd_sctl_t * handle) { snd_sctl_install_INDEXED packed_data; packed_data.func = snd_sctl_install_INDEX; packed_data.args.a1 = (snd_sctl_t *)handle; @@ -14428,9 +15833,10 @@ int snd_sctl_install(snd_sctl_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_sctl_install(snd_sctl_t * handle) __attribute__((alias("glshim_snd_sctl_install"))); #endif #if !defined(skip_client_snd_sctl_remove) && !defined(skip_index_snd_sctl_remove) -int snd_sctl_remove(snd_sctl_t * handle) { +int glshim_snd_sctl_remove(snd_sctl_t * handle) { snd_sctl_remove_INDEXED packed_data; packed_data.func = snd_sctl_remove_INDEX; packed_data.args.a1 = (snd_sctl_t *)handle; @@ -14438,9 +15844,10 @@ int snd_sctl_remove(snd_sctl_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_sctl_remove(snd_sctl_t * handle) __attribute__((alias("glshim_snd_sctl_remove"))); #endif #if !defined(skip_client_snd_seq_alloc_named_queue) && !defined(skip_index_snd_seq_alloc_named_queue) -int snd_seq_alloc_named_queue(snd_seq_t * seq, const char * name) { +int glshim_snd_seq_alloc_named_queue(snd_seq_t * seq, const char * name) { snd_seq_alloc_named_queue_INDEXED packed_data; packed_data.func = snd_seq_alloc_named_queue_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -14449,9 +15856,10 @@ int snd_seq_alloc_named_queue(snd_seq_t * seq, const char * name) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_alloc_named_queue(snd_seq_t * seq, const char * name) __attribute__((alias("glshim_snd_seq_alloc_named_queue"))); #endif #if !defined(skip_client_snd_seq_alloc_queue) && !defined(skip_index_snd_seq_alloc_queue) -int snd_seq_alloc_queue(snd_seq_t * handle) { +int glshim_snd_seq_alloc_queue(snd_seq_t * handle) { snd_seq_alloc_queue_INDEXED packed_data; packed_data.func = snd_seq_alloc_queue_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -14459,9 +15867,10 @@ int snd_seq_alloc_queue(snd_seq_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_alloc_queue(snd_seq_t * handle) __attribute__((alias("glshim_snd_seq_alloc_queue"))); #endif #if !defined(skip_client_snd_seq_change_bit) && !defined(skip_index_snd_seq_change_bit) -int snd_seq_change_bit(int nr, void * array) { +int glshim_snd_seq_change_bit(int nr, void * array) { snd_seq_change_bit_INDEXED packed_data; packed_data.func = snd_seq_change_bit_INDEX; packed_data.args.a1 = (int)nr; @@ -14470,9 +15879,10 @@ int snd_seq_change_bit(int nr, void * array) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_change_bit(int nr, void * array) __attribute__((alias("glshim_snd_seq_change_bit"))); #endif #if !defined(skip_client_snd_seq_client_id) && !defined(skip_index_snd_seq_client_id) -int snd_seq_client_id(snd_seq_t * handle) { +int glshim_snd_seq_client_id(snd_seq_t * handle) { snd_seq_client_id_INDEXED packed_data; packed_data.func = snd_seq_client_id_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -14480,26 +15890,29 @@ int snd_seq_client_id(snd_seq_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_client_id(snd_seq_t * handle) __attribute__((alias("glshim_snd_seq_client_id"))); #endif #if !defined(skip_client_snd_seq_client_info_copy) && !defined(skip_index_snd_seq_client_info_copy) -void snd_seq_client_info_copy(snd_seq_client_info_t * dst, const snd_seq_client_info_t * src) { +void glshim_snd_seq_client_info_copy(snd_seq_client_info_t * dst, const snd_seq_client_info_t * src) { snd_seq_client_info_copy_INDEXED packed_data; packed_data.func = snd_seq_client_info_copy_INDEX; packed_data.args.a1 = (snd_seq_client_info_t *)dst; packed_data.args.a2 = (snd_seq_client_info_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_client_info_copy(snd_seq_client_info_t * dst, const snd_seq_client_info_t * src) __attribute__((alias("glshim_snd_seq_client_info_copy"))); #endif #if !defined(skip_client_snd_seq_client_info_free) && !defined(skip_index_snd_seq_client_info_free) -void snd_seq_client_info_free(snd_seq_client_info_t * ptr) { +void glshim_snd_seq_client_info_free(snd_seq_client_info_t * ptr) { snd_seq_client_info_free_INDEXED packed_data; packed_data.func = snd_seq_client_info_free_INDEX; packed_data.args.a1 = (snd_seq_client_info_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_client_info_free(snd_seq_client_info_t * ptr) __attribute__((alias("glshim_snd_seq_client_info_free"))); #endif #if !defined(skip_client_snd_seq_client_info_get_broadcast_filter) && !defined(skip_index_snd_seq_client_info_get_broadcast_filter) -int snd_seq_client_info_get_broadcast_filter(const snd_seq_client_info_t * info) { +int glshim_snd_seq_client_info_get_broadcast_filter(const snd_seq_client_info_t * info) { snd_seq_client_info_get_broadcast_filter_INDEXED packed_data; packed_data.func = snd_seq_client_info_get_broadcast_filter_INDEX; packed_data.args.a1 = (snd_seq_client_info_t *)info; @@ -14507,9 +15920,10 @@ int snd_seq_client_info_get_broadcast_filter(const snd_seq_client_info_t * info) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_client_info_get_broadcast_filter(const snd_seq_client_info_t * info) __attribute__((alias("glshim_snd_seq_client_info_get_broadcast_filter"))); #endif #if !defined(skip_client_snd_seq_client_info_get_client) && !defined(skip_index_snd_seq_client_info_get_client) -int snd_seq_client_info_get_client(const snd_seq_client_info_t * info) { +int glshim_snd_seq_client_info_get_client(const snd_seq_client_info_t * info) { snd_seq_client_info_get_client_INDEXED packed_data; packed_data.func = snd_seq_client_info_get_client_INDEX; packed_data.args.a1 = (snd_seq_client_info_t *)info; @@ -14517,9 +15931,10 @@ int snd_seq_client_info_get_client(const snd_seq_client_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_client_info_get_client(const snd_seq_client_info_t * info) __attribute__((alias("glshim_snd_seq_client_info_get_client"))); #endif #if !defined(skip_client_snd_seq_client_info_get_error_bounce) && !defined(skip_index_snd_seq_client_info_get_error_bounce) -int snd_seq_client_info_get_error_bounce(const snd_seq_client_info_t * info) { +int glshim_snd_seq_client_info_get_error_bounce(const snd_seq_client_info_t * info) { snd_seq_client_info_get_error_bounce_INDEXED packed_data; packed_data.func = snd_seq_client_info_get_error_bounce_INDEX; packed_data.args.a1 = (snd_seq_client_info_t *)info; @@ -14527,9 +15942,10 @@ int snd_seq_client_info_get_error_bounce(const snd_seq_client_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_client_info_get_error_bounce(const snd_seq_client_info_t * info) __attribute__((alias("glshim_snd_seq_client_info_get_error_bounce"))); #endif #if !defined(skip_client_snd_seq_client_info_get_event_filter) && !defined(skip_index_snd_seq_client_info_get_event_filter) -const unsigned char * snd_seq_client_info_get_event_filter(const snd_seq_client_info_t * info) { +const unsigned char * glshim_snd_seq_client_info_get_event_filter(const snd_seq_client_info_t * info) { snd_seq_client_info_get_event_filter_INDEXED packed_data; packed_data.func = snd_seq_client_info_get_event_filter_INDEX; packed_data.args.a1 = (snd_seq_client_info_t *)info; @@ -14537,9 +15953,10 @@ const unsigned char * snd_seq_client_info_get_event_filter(const snd_seq_client_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const unsigned char * snd_seq_client_info_get_event_filter(const snd_seq_client_info_t * info) __attribute__((alias("glshim_snd_seq_client_info_get_event_filter"))); #endif #if !defined(skip_client_snd_seq_client_info_get_event_lost) && !defined(skip_index_snd_seq_client_info_get_event_lost) -int snd_seq_client_info_get_event_lost(const snd_seq_client_info_t * info) { +int glshim_snd_seq_client_info_get_event_lost(const snd_seq_client_info_t * info) { snd_seq_client_info_get_event_lost_INDEXED packed_data; packed_data.func = snd_seq_client_info_get_event_lost_INDEX; packed_data.args.a1 = (snd_seq_client_info_t *)info; @@ -14547,9 +15964,10 @@ int snd_seq_client_info_get_event_lost(const snd_seq_client_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_client_info_get_event_lost(const snd_seq_client_info_t * info) __attribute__((alias("glshim_snd_seq_client_info_get_event_lost"))); #endif #if !defined(skip_client_snd_seq_client_info_get_name) && !defined(skip_index_snd_seq_client_info_get_name) -const char * snd_seq_client_info_get_name(snd_seq_client_info_t * info) { +const char * glshim_snd_seq_client_info_get_name(snd_seq_client_info_t * info) { snd_seq_client_info_get_name_INDEXED packed_data; packed_data.func = snd_seq_client_info_get_name_INDEX; packed_data.args.a1 = (snd_seq_client_info_t *)info; @@ -14557,9 +15975,10 @@ const char * snd_seq_client_info_get_name(snd_seq_client_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_seq_client_info_get_name(snd_seq_client_info_t * info) __attribute__((alias("glshim_snd_seq_client_info_get_name"))); #endif #if !defined(skip_client_snd_seq_client_info_get_num_ports) && !defined(skip_index_snd_seq_client_info_get_num_ports) -int snd_seq_client_info_get_num_ports(const snd_seq_client_info_t * info) { +int glshim_snd_seq_client_info_get_num_ports(const snd_seq_client_info_t * info) { snd_seq_client_info_get_num_ports_INDEXED packed_data; packed_data.func = snd_seq_client_info_get_num_ports_INDEX; packed_data.args.a1 = (snd_seq_client_info_t *)info; @@ -14567,9 +15986,10 @@ int snd_seq_client_info_get_num_ports(const snd_seq_client_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_client_info_get_num_ports(const snd_seq_client_info_t * info) __attribute__((alias("glshim_snd_seq_client_info_get_num_ports"))); #endif #if !defined(skip_client_snd_seq_client_info_get_type) && !defined(skip_index_snd_seq_client_info_get_type) -snd_seq_client_type_t snd_seq_client_info_get_type(const snd_seq_client_info_t * info) { +snd_seq_client_type_t glshim_snd_seq_client_info_get_type(const snd_seq_client_info_t * info) { snd_seq_client_info_get_type_INDEXED packed_data; packed_data.func = snd_seq_client_info_get_type_INDEX; packed_data.args.a1 = (snd_seq_client_info_t *)info; @@ -14577,9 +15997,10 @@ snd_seq_client_type_t snd_seq_client_info_get_type(const snd_seq_client_info_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_seq_client_type_t snd_seq_client_info_get_type(const snd_seq_client_info_t * info) __attribute__((alias("glshim_snd_seq_client_info_get_type"))); #endif #if !defined(skip_client_snd_seq_client_info_malloc) && !defined(skip_index_snd_seq_client_info_malloc) -int snd_seq_client_info_malloc(snd_seq_client_info_t ** ptr) { +int glshim_snd_seq_client_info_malloc(snd_seq_client_info_t ** ptr) { snd_seq_client_info_malloc_INDEXED packed_data; packed_data.func = snd_seq_client_info_malloc_INDEX; packed_data.args.a1 = (snd_seq_client_info_t **)ptr; @@ -14587,80 +16008,89 @@ int snd_seq_client_info_malloc(snd_seq_client_info_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_client_info_malloc(snd_seq_client_info_t ** ptr) __attribute__((alias("glshim_snd_seq_client_info_malloc"))); #endif #if !defined(skip_client_snd_seq_client_info_set_broadcast_filter) && !defined(skip_index_snd_seq_client_info_set_broadcast_filter) -void snd_seq_client_info_set_broadcast_filter(snd_seq_client_info_t * info, int val) { +void glshim_snd_seq_client_info_set_broadcast_filter(snd_seq_client_info_t * info, int val) { snd_seq_client_info_set_broadcast_filter_INDEXED packed_data; packed_data.func = snd_seq_client_info_set_broadcast_filter_INDEX; packed_data.args.a1 = (snd_seq_client_info_t *)info; packed_data.args.a2 = (int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_client_info_set_broadcast_filter(snd_seq_client_info_t * info, int val) __attribute__((alias("glshim_snd_seq_client_info_set_broadcast_filter"))); #endif #if !defined(skip_client_snd_seq_client_info_set_client) && !defined(skip_index_snd_seq_client_info_set_client) -void snd_seq_client_info_set_client(snd_seq_client_info_t * info, int client) { +void glshim_snd_seq_client_info_set_client(snd_seq_client_info_t * info, int client) { snd_seq_client_info_set_client_INDEXED packed_data; packed_data.func = snd_seq_client_info_set_client_INDEX; packed_data.args.a1 = (snd_seq_client_info_t *)info; packed_data.args.a2 = (int)client; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_client_info_set_client(snd_seq_client_info_t * info, int client) __attribute__((alias("glshim_snd_seq_client_info_set_client"))); #endif #if !defined(skip_client_snd_seq_client_info_set_error_bounce) && !defined(skip_index_snd_seq_client_info_set_error_bounce) -void snd_seq_client_info_set_error_bounce(snd_seq_client_info_t * info, int val) { +void glshim_snd_seq_client_info_set_error_bounce(snd_seq_client_info_t * info, int val) { snd_seq_client_info_set_error_bounce_INDEXED packed_data; packed_data.func = snd_seq_client_info_set_error_bounce_INDEX; packed_data.args.a1 = (snd_seq_client_info_t *)info; packed_data.args.a2 = (int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_client_info_set_error_bounce(snd_seq_client_info_t * info, int val) __attribute__((alias("glshim_snd_seq_client_info_set_error_bounce"))); #endif #if !defined(skip_client_snd_seq_client_info_set_event_filter) && !defined(skip_index_snd_seq_client_info_set_event_filter) -void snd_seq_client_info_set_event_filter(snd_seq_client_info_t * info, unsigned char * filter) { +void glshim_snd_seq_client_info_set_event_filter(snd_seq_client_info_t * info, unsigned char * filter) { snd_seq_client_info_set_event_filter_INDEXED packed_data; packed_data.func = snd_seq_client_info_set_event_filter_INDEX; packed_data.args.a1 = (snd_seq_client_info_t *)info; packed_data.args.a2 = (unsigned char *)filter; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_client_info_set_event_filter(snd_seq_client_info_t * info, unsigned char * filter) __attribute__((alias("glshim_snd_seq_client_info_set_event_filter"))); #endif #if !defined(skip_client_snd_seq_client_info_set_name) && !defined(skip_index_snd_seq_client_info_set_name) -void snd_seq_client_info_set_name(snd_seq_client_info_t * info, const char * name) { +void glshim_snd_seq_client_info_set_name(snd_seq_client_info_t * info, const char * name) { snd_seq_client_info_set_name_INDEXED packed_data; packed_data.func = snd_seq_client_info_set_name_INDEX; packed_data.args.a1 = (snd_seq_client_info_t *)info; packed_data.args.a2 = (char *)name; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_client_info_set_name(snd_seq_client_info_t * info, const char * name) __attribute__((alias("glshim_snd_seq_client_info_set_name"))); #endif #if !defined(skip_client_snd_seq_client_info_sizeof) && !defined(skip_index_snd_seq_client_info_sizeof) -size_t snd_seq_client_info_sizeof() { +size_t glshim_snd_seq_client_info_sizeof() { snd_seq_client_info_sizeof_INDEXED packed_data; packed_data.func = snd_seq_client_info_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_client_info_sizeof() __attribute__((alias("glshim_snd_seq_client_info_sizeof"))); #endif #if !defined(skip_client_snd_seq_client_pool_copy) && !defined(skip_index_snd_seq_client_pool_copy) -void snd_seq_client_pool_copy(snd_seq_client_pool_t * dst, const snd_seq_client_pool_t * src) { +void glshim_snd_seq_client_pool_copy(snd_seq_client_pool_t * dst, const snd_seq_client_pool_t * src) { snd_seq_client_pool_copy_INDEXED packed_data; packed_data.func = snd_seq_client_pool_copy_INDEX; packed_data.args.a1 = (snd_seq_client_pool_t *)dst; packed_data.args.a2 = (snd_seq_client_pool_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_client_pool_copy(snd_seq_client_pool_t * dst, const snd_seq_client_pool_t * src) __attribute__((alias("glshim_snd_seq_client_pool_copy"))); #endif #if !defined(skip_client_snd_seq_client_pool_free) && !defined(skip_index_snd_seq_client_pool_free) -void snd_seq_client_pool_free(snd_seq_client_pool_t * ptr) { +void glshim_snd_seq_client_pool_free(snd_seq_client_pool_t * ptr) { snd_seq_client_pool_free_INDEXED packed_data; packed_data.func = snd_seq_client_pool_free_INDEX; packed_data.args.a1 = (snd_seq_client_pool_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_client_pool_free(snd_seq_client_pool_t * ptr) __attribute__((alias("glshim_snd_seq_client_pool_free"))); #endif #if !defined(skip_client_snd_seq_client_pool_get_client) && !defined(skip_index_snd_seq_client_pool_get_client) -int snd_seq_client_pool_get_client(const snd_seq_client_pool_t * info) { +int glshim_snd_seq_client_pool_get_client(const snd_seq_client_pool_t * info) { snd_seq_client_pool_get_client_INDEXED packed_data; packed_data.func = snd_seq_client_pool_get_client_INDEX; packed_data.args.a1 = (snd_seq_client_pool_t *)info; @@ -14668,9 +16098,10 @@ int snd_seq_client_pool_get_client(const snd_seq_client_pool_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_client_pool_get_client(const snd_seq_client_pool_t * info) __attribute__((alias("glshim_snd_seq_client_pool_get_client"))); #endif #if !defined(skip_client_snd_seq_client_pool_get_input_free) && !defined(skip_index_snd_seq_client_pool_get_input_free) -size_t snd_seq_client_pool_get_input_free(const snd_seq_client_pool_t * info) { +size_t glshim_snd_seq_client_pool_get_input_free(const snd_seq_client_pool_t * info) { snd_seq_client_pool_get_input_free_INDEXED packed_data; packed_data.func = snd_seq_client_pool_get_input_free_INDEX; packed_data.args.a1 = (snd_seq_client_pool_t *)info; @@ -14678,9 +16109,10 @@ size_t snd_seq_client_pool_get_input_free(const snd_seq_client_pool_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_client_pool_get_input_free(const snd_seq_client_pool_t * info) __attribute__((alias("glshim_snd_seq_client_pool_get_input_free"))); #endif #if !defined(skip_client_snd_seq_client_pool_get_input_pool) && !defined(skip_index_snd_seq_client_pool_get_input_pool) -size_t snd_seq_client_pool_get_input_pool(const snd_seq_client_pool_t * info) { +size_t glshim_snd_seq_client_pool_get_input_pool(const snd_seq_client_pool_t * info) { snd_seq_client_pool_get_input_pool_INDEXED packed_data; packed_data.func = snd_seq_client_pool_get_input_pool_INDEX; packed_data.args.a1 = (snd_seq_client_pool_t *)info; @@ -14688,9 +16120,10 @@ size_t snd_seq_client_pool_get_input_pool(const snd_seq_client_pool_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_client_pool_get_input_pool(const snd_seq_client_pool_t * info) __attribute__((alias("glshim_snd_seq_client_pool_get_input_pool"))); #endif #if !defined(skip_client_snd_seq_client_pool_get_output_free) && !defined(skip_index_snd_seq_client_pool_get_output_free) -size_t snd_seq_client_pool_get_output_free(const snd_seq_client_pool_t * info) { +size_t glshim_snd_seq_client_pool_get_output_free(const snd_seq_client_pool_t * info) { snd_seq_client_pool_get_output_free_INDEXED packed_data; packed_data.func = snd_seq_client_pool_get_output_free_INDEX; packed_data.args.a1 = (snd_seq_client_pool_t *)info; @@ -14698,9 +16131,10 @@ size_t snd_seq_client_pool_get_output_free(const snd_seq_client_pool_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_client_pool_get_output_free(const snd_seq_client_pool_t * info) __attribute__((alias("glshim_snd_seq_client_pool_get_output_free"))); #endif #if !defined(skip_client_snd_seq_client_pool_get_output_pool) && !defined(skip_index_snd_seq_client_pool_get_output_pool) -size_t snd_seq_client_pool_get_output_pool(const snd_seq_client_pool_t * info) { +size_t glshim_snd_seq_client_pool_get_output_pool(const snd_seq_client_pool_t * info) { snd_seq_client_pool_get_output_pool_INDEXED packed_data; packed_data.func = snd_seq_client_pool_get_output_pool_INDEX; packed_data.args.a1 = (snd_seq_client_pool_t *)info; @@ -14708,9 +16142,10 @@ size_t snd_seq_client_pool_get_output_pool(const snd_seq_client_pool_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_client_pool_get_output_pool(const snd_seq_client_pool_t * info) __attribute__((alias("glshim_snd_seq_client_pool_get_output_pool"))); #endif #if !defined(skip_client_snd_seq_client_pool_get_output_room) && !defined(skip_index_snd_seq_client_pool_get_output_room) -size_t snd_seq_client_pool_get_output_room(const snd_seq_client_pool_t * info) { +size_t glshim_snd_seq_client_pool_get_output_room(const snd_seq_client_pool_t * info) { snd_seq_client_pool_get_output_room_INDEXED packed_data; packed_data.func = snd_seq_client_pool_get_output_room_INDEX; packed_data.args.a1 = (snd_seq_client_pool_t *)info; @@ -14718,9 +16153,10 @@ size_t snd_seq_client_pool_get_output_room(const snd_seq_client_pool_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_client_pool_get_output_room(const snd_seq_client_pool_t * info) __attribute__((alias("glshim_snd_seq_client_pool_get_output_room"))); #endif #if !defined(skip_client_snd_seq_client_pool_malloc) && !defined(skip_index_snd_seq_client_pool_malloc) -int snd_seq_client_pool_malloc(snd_seq_client_pool_t ** ptr) { +int glshim_snd_seq_client_pool_malloc(snd_seq_client_pool_t ** ptr) { snd_seq_client_pool_malloc_INDEXED packed_data; packed_data.func = snd_seq_client_pool_malloc_INDEX; packed_data.args.a1 = (snd_seq_client_pool_t **)ptr; @@ -14728,45 +16164,50 @@ int snd_seq_client_pool_malloc(snd_seq_client_pool_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_client_pool_malloc(snd_seq_client_pool_t ** ptr) __attribute__((alias("glshim_snd_seq_client_pool_malloc"))); #endif #if !defined(skip_client_snd_seq_client_pool_set_input_pool) && !defined(skip_index_snd_seq_client_pool_set_input_pool) -void snd_seq_client_pool_set_input_pool(snd_seq_client_pool_t * info, size_t size) { +void glshim_snd_seq_client_pool_set_input_pool(snd_seq_client_pool_t * info, size_t size) { snd_seq_client_pool_set_input_pool_INDEXED packed_data; packed_data.func = snd_seq_client_pool_set_input_pool_INDEX; packed_data.args.a1 = (snd_seq_client_pool_t *)info; packed_data.args.a2 = (size_t)size; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_client_pool_set_input_pool(snd_seq_client_pool_t * info, size_t size) __attribute__((alias("glshim_snd_seq_client_pool_set_input_pool"))); #endif #if !defined(skip_client_snd_seq_client_pool_set_output_pool) && !defined(skip_index_snd_seq_client_pool_set_output_pool) -void snd_seq_client_pool_set_output_pool(snd_seq_client_pool_t * info, size_t size) { +void glshim_snd_seq_client_pool_set_output_pool(snd_seq_client_pool_t * info, size_t size) { snd_seq_client_pool_set_output_pool_INDEXED packed_data; packed_data.func = snd_seq_client_pool_set_output_pool_INDEX; packed_data.args.a1 = (snd_seq_client_pool_t *)info; packed_data.args.a2 = (size_t)size; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_client_pool_set_output_pool(snd_seq_client_pool_t * info, size_t size) __attribute__((alias("glshim_snd_seq_client_pool_set_output_pool"))); #endif #if !defined(skip_client_snd_seq_client_pool_set_output_room) && !defined(skip_index_snd_seq_client_pool_set_output_room) -void snd_seq_client_pool_set_output_room(snd_seq_client_pool_t * info, size_t size) { +void glshim_snd_seq_client_pool_set_output_room(snd_seq_client_pool_t * info, size_t size) { snd_seq_client_pool_set_output_room_INDEXED packed_data; packed_data.func = snd_seq_client_pool_set_output_room_INDEX; packed_data.args.a1 = (snd_seq_client_pool_t *)info; packed_data.args.a2 = (size_t)size; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_client_pool_set_output_room(snd_seq_client_pool_t * info, size_t size) __attribute__((alias("glshim_snd_seq_client_pool_set_output_room"))); #endif #if !defined(skip_client_snd_seq_client_pool_sizeof) && !defined(skip_index_snd_seq_client_pool_sizeof) -size_t snd_seq_client_pool_sizeof() { +size_t glshim_snd_seq_client_pool_sizeof() { snd_seq_client_pool_sizeof_INDEXED packed_data; packed_data.func = snd_seq_client_pool_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_client_pool_sizeof() __attribute__((alias("glshim_snd_seq_client_pool_sizeof"))); #endif #if !defined(skip_client_snd_seq_close) && !defined(skip_index_snd_seq_close) -int snd_seq_close(snd_seq_t * handle) { +int glshim_snd_seq_close(snd_seq_t * handle) { snd_seq_close_INDEXED packed_data; packed_data.func = snd_seq_close_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -14774,9 +16215,10 @@ int snd_seq_close(snd_seq_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_close(snd_seq_t * handle) __attribute__((alias("glshim_snd_seq_close"))); #endif #if !defined(skip_client_snd_seq_connect_from) && !defined(skip_index_snd_seq_connect_from) -int snd_seq_connect_from(snd_seq_t * seq, int myport, int src_client, int src_port) { +int glshim_snd_seq_connect_from(snd_seq_t * seq, int myport, int src_client, int src_port) { snd_seq_connect_from_INDEXED packed_data; packed_data.func = snd_seq_connect_from_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -14787,9 +16229,10 @@ int snd_seq_connect_from(snd_seq_t * seq, int myport, int src_client, int src_po syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_connect_from(snd_seq_t * seq, int myport, int src_client, int src_port) __attribute__((alias("glshim_snd_seq_connect_from"))); #endif #if !defined(skip_client_snd_seq_connect_to) && !defined(skip_index_snd_seq_connect_to) -int snd_seq_connect_to(snd_seq_t * seq, int myport, int dest_client, int dest_port) { +int glshim_snd_seq_connect_to(snd_seq_t * seq, int myport, int dest_client, int dest_port) { snd_seq_connect_to_INDEXED packed_data; packed_data.func = snd_seq_connect_to_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -14800,9 +16243,10 @@ int snd_seq_connect_to(snd_seq_t * seq, int myport, int dest_client, int dest_po syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_connect_to(snd_seq_t * seq, int myport, int dest_client, int dest_port) __attribute__((alias("glshim_snd_seq_connect_to"))); #endif #if !defined(skip_client_snd_seq_control_queue) && !defined(skip_index_snd_seq_control_queue) -int snd_seq_control_queue(snd_seq_t * seq, int q, int type, int value, snd_seq_event_t * ev) { +int glshim_snd_seq_control_queue(snd_seq_t * seq, int q, int type, int value, snd_seq_event_t * ev) { snd_seq_control_queue_INDEXED packed_data; packed_data.func = snd_seq_control_queue_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -14814,9 +16258,10 @@ int snd_seq_control_queue(snd_seq_t * seq, int q, int type, int value, snd_seq_e syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_control_queue(snd_seq_t * seq, int q, int type, int value, snd_seq_event_t * ev) __attribute__((alias("glshim_snd_seq_control_queue"))); #endif #if !defined(skip_client_snd_seq_create_port) && !defined(skip_index_snd_seq_create_port) -int snd_seq_create_port(snd_seq_t * handle, snd_seq_port_info_t * info) { +int glshim_snd_seq_create_port(snd_seq_t * handle, snd_seq_port_info_t * info) { snd_seq_create_port_INDEXED packed_data; packed_data.func = snd_seq_create_port_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -14825,9 +16270,10 @@ int snd_seq_create_port(snd_seq_t * handle, snd_seq_port_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_create_port(snd_seq_t * handle, snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_create_port"))); #endif #if !defined(skip_client_snd_seq_create_queue) && !defined(skip_index_snd_seq_create_queue) -int snd_seq_create_queue(snd_seq_t * seq, snd_seq_queue_info_t * info) { +int glshim_snd_seq_create_queue(snd_seq_t * seq, snd_seq_queue_info_t * info) { snd_seq_create_queue_INDEXED packed_data; packed_data.func = snd_seq_create_queue_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -14836,9 +16282,10 @@ int snd_seq_create_queue(snd_seq_t * seq, snd_seq_queue_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_create_queue(snd_seq_t * seq, snd_seq_queue_info_t * info) __attribute__((alias("glshim_snd_seq_create_queue"))); #endif #if !defined(skip_client_snd_seq_create_simple_port) && !defined(skip_index_snd_seq_create_simple_port) -int snd_seq_create_simple_port(snd_seq_t * seq, const char * name, unsigned int caps, unsigned int type) { +int glshim_snd_seq_create_simple_port(snd_seq_t * seq, const char * name, unsigned int caps, unsigned int type) { snd_seq_create_simple_port_INDEXED packed_data; packed_data.func = snd_seq_create_simple_port_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -14849,9 +16296,10 @@ int snd_seq_create_simple_port(snd_seq_t * seq, const char * name, unsigned int syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_create_simple_port(snd_seq_t * seq, const char * name, unsigned int caps, unsigned int type) __attribute__((alias("glshim_snd_seq_create_simple_port"))); #endif #if !defined(skip_client_snd_seq_delete_port) && !defined(skip_index_snd_seq_delete_port) -int snd_seq_delete_port(snd_seq_t * handle, int port) { +int glshim_snd_seq_delete_port(snd_seq_t * handle, int port) { snd_seq_delete_port_INDEXED packed_data; packed_data.func = snd_seq_delete_port_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -14860,9 +16308,10 @@ int snd_seq_delete_port(snd_seq_t * handle, int port) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_delete_port(snd_seq_t * handle, int port) __attribute__((alias("glshim_snd_seq_delete_port"))); #endif #if !defined(skip_client_snd_seq_delete_simple_port) && !defined(skip_index_snd_seq_delete_simple_port) -int snd_seq_delete_simple_port(snd_seq_t * seq, int port) { +int glshim_snd_seq_delete_simple_port(snd_seq_t * seq, int port) { snd_seq_delete_simple_port_INDEXED packed_data; packed_data.func = snd_seq_delete_simple_port_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -14871,9 +16320,10 @@ int snd_seq_delete_simple_port(snd_seq_t * seq, int port) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_delete_simple_port(snd_seq_t * seq, int port) __attribute__((alias("glshim_snd_seq_delete_simple_port"))); #endif #if !defined(skip_client_snd_seq_disconnect_from) && !defined(skip_index_snd_seq_disconnect_from) -int snd_seq_disconnect_from(snd_seq_t * seq, int myport, int src_client, int src_port) { +int glshim_snd_seq_disconnect_from(snd_seq_t * seq, int myport, int src_client, int src_port) { snd_seq_disconnect_from_INDEXED packed_data; packed_data.func = snd_seq_disconnect_from_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -14884,9 +16334,10 @@ int snd_seq_disconnect_from(snd_seq_t * seq, int myport, int src_client, int src syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_disconnect_from(snd_seq_t * seq, int myport, int src_client, int src_port) __attribute__((alias("glshim_snd_seq_disconnect_from"))); #endif #if !defined(skip_client_snd_seq_disconnect_to) && !defined(skip_index_snd_seq_disconnect_to) -int snd_seq_disconnect_to(snd_seq_t * seq, int myport, int dest_client, int dest_port) { +int glshim_snd_seq_disconnect_to(snd_seq_t * seq, int myport, int dest_client, int dest_port) { snd_seq_disconnect_to_INDEXED packed_data; packed_data.func = snd_seq_disconnect_to_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -14897,9 +16348,10 @@ int snd_seq_disconnect_to(snd_seq_t * seq, int myport, int dest_client, int dest syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_disconnect_to(snd_seq_t * seq, int myport, int dest_client, int dest_port) __attribute__((alias("glshim_snd_seq_disconnect_to"))); #endif #if !defined(skip_client_snd_seq_drain_output) && !defined(skip_index_snd_seq_drain_output) -int snd_seq_drain_output(snd_seq_t * handle) { +int glshim_snd_seq_drain_output(snd_seq_t * handle) { snd_seq_drain_output_INDEXED packed_data; packed_data.func = snd_seq_drain_output_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -14907,9 +16359,10 @@ int snd_seq_drain_output(snd_seq_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_drain_output(snd_seq_t * handle) __attribute__((alias("glshim_snd_seq_drain_output"))); #endif #if !defined(skip_client_snd_seq_drop_input) && !defined(skip_index_snd_seq_drop_input) -int snd_seq_drop_input(snd_seq_t * handle) { +int glshim_snd_seq_drop_input(snd_seq_t * handle) { snd_seq_drop_input_INDEXED packed_data; packed_data.func = snd_seq_drop_input_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -14917,9 +16370,10 @@ int snd_seq_drop_input(snd_seq_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_drop_input(snd_seq_t * handle) __attribute__((alias("glshim_snd_seq_drop_input"))); #endif #if !defined(skip_client_snd_seq_drop_input_buffer) && !defined(skip_index_snd_seq_drop_input_buffer) -int snd_seq_drop_input_buffer(snd_seq_t * handle) { +int glshim_snd_seq_drop_input_buffer(snd_seq_t * handle) { snd_seq_drop_input_buffer_INDEXED packed_data; packed_data.func = snd_seq_drop_input_buffer_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -14927,9 +16381,10 @@ int snd_seq_drop_input_buffer(snd_seq_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_drop_input_buffer(snd_seq_t * handle) __attribute__((alias("glshim_snd_seq_drop_input_buffer"))); #endif #if !defined(skip_client_snd_seq_drop_output) && !defined(skip_index_snd_seq_drop_output) -int snd_seq_drop_output(snd_seq_t * handle) { +int glshim_snd_seq_drop_output(snd_seq_t * handle) { snd_seq_drop_output_INDEXED packed_data; packed_data.func = snd_seq_drop_output_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -14937,9 +16392,10 @@ int snd_seq_drop_output(snd_seq_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_drop_output(snd_seq_t * handle) __attribute__((alias("glshim_snd_seq_drop_output"))); #endif #if !defined(skip_client_snd_seq_drop_output_buffer) && !defined(skip_index_snd_seq_drop_output_buffer) -int snd_seq_drop_output_buffer(snd_seq_t * handle) { +int glshim_snd_seq_drop_output_buffer(snd_seq_t * handle) { snd_seq_drop_output_buffer_INDEXED packed_data; packed_data.func = snd_seq_drop_output_buffer_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -14947,9 +16403,10 @@ int snd_seq_drop_output_buffer(snd_seq_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_drop_output_buffer(snd_seq_t * handle) __attribute__((alias("glshim_snd_seq_drop_output_buffer"))); #endif #if !defined(skip_client_snd_seq_event_input) && !defined(skip_index_snd_seq_event_input) -int snd_seq_event_input(snd_seq_t * handle, snd_seq_event_t ** ev) { +int glshim_snd_seq_event_input(snd_seq_t * handle, snd_seq_event_t ** ev) { snd_seq_event_input_INDEXED packed_data; packed_data.func = snd_seq_event_input_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -14958,9 +16415,10 @@ int snd_seq_event_input(snd_seq_t * handle, snd_seq_event_t ** ev) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_event_input(snd_seq_t * handle, snd_seq_event_t ** ev) __attribute__((alias("glshim_snd_seq_event_input"))); #endif #if !defined(skip_client_snd_seq_event_input_pending) && !defined(skip_index_snd_seq_event_input_pending) -int snd_seq_event_input_pending(snd_seq_t * seq, int fetch_sequencer) { +int glshim_snd_seq_event_input_pending(snd_seq_t * seq, int fetch_sequencer) { snd_seq_event_input_pending_INDEXED packed_data; packed_data.func = snd_seq_event_input_pending_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -14969,9 +16427,10 @@ int snd_seq_event_input_pending(snd_seq_t * seq, int fetch_sequencer) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_event_input_pending(snd_seq_t * seq, int fetch_sequencer) __attribute__((alias("glshim_snd_seq_event_input_pending"))); #endif #if !defined(skip_client_snd_seq_event_length) && !defined(skip_index_snd_seq_event_length) -ssize_t snd_seq_event_length(snd_seq_event_t * ev) { +ssize_t glshim_snd_seq_event_length(snd_seq_event_t * ev) { snd_seq_event_length_INDEXED packed_data; packed_data.func = snd_seq_event_length_INDEX; packed_data.args.a1 = (snd_seq_event_t *)ev; @@ -14979,9 +16438,10 @@ ssize_t snd_seq_event_length(snd_seq_event_t * ev) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +ssize_t snd_seq_event_length(snd_seq_event_t * ev) __attribute__((alias("glshim_snd_seq_event_length"))); #endif #if !defined(skip_client_snd_seq_event_output) && !defined(skip_index_snd_seq_event_output) -int snd_seq_event_output(snd_seq_t * handle, snd_seq_event_t * ev) { +int glshim_snd_seq_event_output(snd_seq_t * handle, snd_seq_event_t * ev) { snd_seq_event_output_INDEXED packed_data; packed_data.func = snd_seq_event_output_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -14990,9 +16450,10 @@ int snd_seq_event_output(snd_seq_t * handle, snd_seq_event_t * ev) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_event_output(snd_seq_t * handle, snd_seq_event_t * ev) __attribute__((alias("glshim_snd_seq_event_output"))); #endif #if !defined(skip_client_snd_seq_event_output_buffer) && !defined(skip_index_snd_seq_event_output_buffer) -int snd_seq_event_output_buffer(snd_seq_t * handle, snd_seq_event_t * ev) { +int glshim_snd_seq_event_output_buffer(snd_seq_t * handle, snd_seq_event_t * ev) { snd_seq_event_output_buffer_INDEXED packed_data; packed_data.func = snd_seq_event_output_buffer_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15001,9 +16462,10 @@ int snd_seq_event_output_buffer(snd_seq_t * handle, snd_seq_event_t * ev) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_event_output_buffer(snd_seq_t * handle, snd_seq_event_t * ev) __attribute__((alias("glshim_snd_seq_event_output_buffer"))); #endif #if !defined(skip_client_snd_seq_event_output_direct) && !defined(skip_index_snd_seq_event_output_direct) -int snd_seq_event_output_direct(snd_seq_t * handle, snd_seq_event_t * ev) { +int glshim_snd_seq_event_output_direct(snd_seq_t * handle, snd_seq_event_t * ev) { snd_seq_event_output_direct_INDEXED packed_data; packed_data.func = snd_seq_event_output_direct_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15012,9 +16474,10 @@ int snd_seq_event_output_direct(snd_seq_t * handle, snd_seq_event_t * ev) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_event_output_direct(snd_seq_t * handle, snd_seq_event_t * ev) __attribute__((alias("glshim_snd_seq_event_output_direct"))); #endif #if !defined(skip_client_snd_seq_event_output_pending) && !defined(skip_index_snd_seq_event_output_pending) -int snd_seq_event_output_pending(snd_seq_t * seq) { +int glshim_snd_seq_event_output_pending(snd_seq_t * seq) { snd_seq_event_output_pending_INDEXED packed_data; packed_data.func = snd_seq_event_output_pending_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -15022,9 +16485,10 @@ int snd_seq_event_output_pending(snd_seq_t * seq) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_event_output_pending(snd_seq_t * seq) __attribute__((alias("glshim_snd_seq_event_output_pending"))); #endif #if !defined(skip_client_snd_seq_extract_output) && !defined(skip_index_snd_seq_extract_output) -int snd_seq_extract_output(snd_seq_t * handle, snd_seq_event_t ** ev) { +int glshim_snd_seq_extract_output(snd_seq_t * handle, snd_seq_event_t ** ev) { snd_seq_extract_output_INDEXED packed_data; packed_data.func = snd_seq_extract_output_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15033,9 +16497,10 @@ int snd_seq_extract_output(snd_seq_t * handle, snd_seq_event_t ** ev) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_extract_output(snd_seq_t * handle, snd_seq_event_t ** ev) __attribute__((alias("glshim_snd_seq_extract_output"))); #endif #if !defined(skip_client_snd_seq_free_event) && !defined(skip_index_snd_seq_free_event) -int snd_seq_free_event(snd_seq_event_t * ev) { +int glshim_snd_seq_free_event(snd_seq_event_t * ev) { snd_seq_free_event_INDEXED packed_data; packed_data.func = snd_seq_free_event_INDEX; packed_data.args.a1 = (snd_seq_event_t *)ev; @@ -15043,9 +16508,10 @@ int snd_seq_free_event(snd_seq_event_t * ev) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_free_event(snd_seq_event_t * ev) __attribute__((alias("glshim_snd_seq_free_event"))); #endif #if !defined(skip_client_snd_seq_free_queue) && !defined(skip_index_snd_seq_free_queue) -int snd_seq_free_queue(snd_seq_t * handle, int q) { +int glshim_snd_seq_free_queue(snd_seq_t * handle, int q) { snd_seq_free_queue_INDEXED packed_data; packed_data.func = snd_seq_free_queue_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15054,9 +16520,10 @@ int snd_seq_free_queue(snd_seq_t * handle, int q) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_free_queue(snd_seq_t * handle, int q) __attribute__((alias("glshim_snd_seq_free_queue"))); #endif #if !defined(skip_client_snd_seq_get_any_client_info) && !defined(skip_index_snd_seq_get_any_client_info) -int snd_seq_get_any_client_info(snd_seq_t * handle, int client, snd_seq_client_info_t * info) { +int glshim_snd_seq_get_any_client_info(snd_seq_t * handle, int client, snd_seq_client_info_t * info) { snd_seq_get_any_client_info_INDEXED packed_data; packed_data.func = snd_seq_get_any_client_info_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15066,9 +16533,10 @@ int snd_seq_get_any_client_info(snd_seq_t * handle, int client, snd_seq_client_i syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_get_any_client_info(snd_seq_t * handle, int client, snd_seq_client_info_t * info) __attribute__((alias("glshim_snd_seq_get_any_client_info"))); #endif #if !defined(skip_client_snd_seq_get_any_port_info) && !defined(skip_index_snd_seq_get_any_port_info) -int snd_seq_get_any_port_info(snd_seq_t * handle, int client, int port, snd_seq_port_info_t * info) { +int glshim_snd_seq_get_any_port_info(snd_seq_t * handle, int client, int port, snd_seq_port_info_t * info) { snd_seq_get_any_port_info_INDEXED packed_data; packed_data.func = snd_seq_get_any_port_info_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15079,9 +16547,10 @@ int snd_seq_get_any_port_info(snd_seq_t * handle, int client, int port, snd_seq_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_get_any_port_info(snd_seq_t * handle, int client, int port, snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_get_any_port_info"))); #endif #if !defined(skip_client_snd_seq_get_bit) && !defined(skip_index_snd_seq_get_bit) -int snd_seq_get_bit(int nr, void * array) { +int glshim_snd_seq_get_bit(int nr, void * array) { snd_seq_get_bit_INDEXED packed_data; packed_data.func = snd_seq_get_bit_INDEX; packed_data.args.a1 = (int)nr; @@ -15090,9 +16559,10 @@ int snd_seq_get_bit(int nr, void * array) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_get_bit(int nr, void * array) __attribute__((alias("glshim_snd_seq_get_bit"))); #endif #if !defined(skip_client_snd_seq_get_client_info) && !defined(skip_index_snd_seq_get_client_info) -int snd_seq_get_client_info(snd_seq_t * handle, snd_seq_client_info_t * info) { +int glshim_snd_seq_get_client_info(snd_seq_t * handle, snd_seq_client_info_t * info) { snd_seq_get_client_info_INDEXED packed_data; packed_data.func = snd_seq_get_client_info_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15101,9 +16571,10 @@ int snd_seq_get_client_info(snd_seq_t * handle, snd_seq_client_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_get_client_info(snd_seq_t * handle, snd_seq_client_info_t * info) __attribute__((alias("glshim_snd_seq_get_client_info"))); #endif #if !defined(skip_client_snd_seq_get_client_pool) && !defined(skip_index_snd_seq_get_client_pool) -int snd_seq_get_client_pool(snd_seq_t * handle, snd_seq_client_pool_t * info) { +int glshim_snd_seq_get_client_pool(snd_seq_t * handle, snd_seq_client_pool_t * info) { snd_seq_get_client_pool_INDEXED packed_data; packed_data.func = snd_seq_get_client_pool_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15112,9 +16583,10 @@ int snd_seq_get_client_pool(snd_seq_t * handle, snd_seq_client_pool_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_get_client_pool(snd_seq_t * handle, snd_seq_client_pool_t * info) __attribute__((alias("glshim_snd_seq_get_client_pool"))); #endif #if !defined(skip_client_snd_seq_get_input_buffer_size) && !defined(skip_index_snd_seq_get_input_buffer_size) -size_t snd_seq_get_input_buffer_size(snd_seq_t * handle) { +size_t glshim_snd_seq_get_input_buffer_size(snd_seq_t * handle) { snd_seq_get_input_buffer_size_INDEXED packed_data; packed_data.func = snd_seq_get_input_buffer_size_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15122,9 +16594,10 @@ size_t snd_seq_get_input_buffer_size(snd_seq_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_get_input_buffer_size(snd_seq_t * handle) __attribute__((alias("glshim_snd_seq_get_input_buffer_size"))); #endif #if !defined(skip_client_snd_seq_get_output_buffer_size) && !defined(skip_index_snd_seq_get_output_buffer_size) -size_t snd_seq_get_output_buffer_size(snd_seq_t * handle) { +size_t glshim_snd_seq_get_output_buffer_size(snd_seq_t * handle) { snd_seq_get_output_buffer_size_INDEXED packed_data; packed_data.func = snd_seq_get_output_buffer_size_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15132,9 +16605,10 @@ size_t snd_seq_get_output_buffer_size(snd_seq_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_get_output_buffer_size(snd_seq_t * handle) __attribute__((alias("glshim_snd_seq_get_output_buffer_size"))); #endif #if !defined(skip_client_snd_seq_get_port_info) && !defined(skip_index_snd_seq_get_port_info) -int snd_seq_get_port_info(snd_seq_t * handle, int port, snd_seq_port_info_t * info) { +int glshim_snd_seq_get_port_info(snd_seq_t * handle, int port, snd_seq_port_info_t * info) { snd_seq_get_port_info_INDEXED packed_data; packed_data.func = snd_seq_get_port_info_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15144,9 +16618,10 @@ int snd_seq_get_port_info(snd_seq_t * handle, int port, snd_seq_port_info_t * in syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_get_port_info(snd_seq_t * handle, int port, snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_get_port_info"))); #endif #if !defined(skip_client_snd_seq_get_port_subscription) && !defined(skip_index_snd_seq_get_port_subscription) -int snd_seq_get_port_subscription(snd_seq_t * handle, snd_seq_port_subscribe_t * sub) { +int glshim_snd_seq_get_port_subscription(snd_seq_t * handle, snd_seq_port_subscribe_t * sub) { snd_seq_get_port_subscription_INDEXED packed_data; packed_data.func = snd_seq_get_port_subscription_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15155,9 +16630,10 @@ int snd_seq_get_port_subscription(snd_seq_t * handle, snd_seq_port_subscribe_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_get_port_subscription(snd_seq_t * handle, snd_seq_port_subscribe_t * sub) __attribute__((alias("glshim_snd_seq_get_port_subscription"))); #endif #if !defined(skip_client_snd_seq_get_queue_info) && !defined(skip_index_snd_seq_get_queue_info) -int snd_seq_get_queue_info(snd_seq_t * seq, int q, snd_seq_queue_info_t * info) { +int glshim_snd_seq_get_queue_info(snd_seq_t * seq, int q, snd_seq_queue_info_t * info) { snd_seq_get_queue_info_INDEXED packed_data; packed_data.func = snd_seq_get_queue_info_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -15167,9 +16643,10 @@ int snd_seq_get_queue_info(snd_seq_t * seq, int q, snd_seq_queue_info_t * info) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_get_queue_info(snd_seq_t * seq, int q, snd_seq_queue_info_t * info) __attribute__((alias("glshim_snd_seq_get_queue_info"))); #endif #if !defined(skip_client_snd_seq_get_queue_status) && !defined(skip_index_snd_seq_get_queue_status) -int snd_seq_get_queue_status(snd_seq_t * handle, int q, snd_seq_queue_status_t * status) { +int glshim_snd_seq_get_queue_status(snd_seq_t * handle, int q, snd_seq_queue_status_t * status) { snd_seq_get_queue_status_INDEXED packed_data; packed_data.func = snd_seq_get_queue_status_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15179,9 +16656,10 @@ int snd_seq_get_queue_status(snd_seq_t * handle, int q, snd_seq_queue_status_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_get_queue_status(snd_seq_t * handle, int q, snd_seq_queue_status_t * status) __attribute__((alias("glshim_snd_seq_get_queue_status"))); #endif #if !defined(skip_client_snd_seq_get_queue_tempo) && !defined(skip_index_snd_seq_get_queue_tempo) -int snd_seq_get_queue_tempo(snd_seq_t * handle, int q, snd_seq_queue_tempo_t * tempo) { +int glshim_snd_seq_get_queue_tempo(snd_seq_t * handle, int q, snd_seq_queue_tempo_t * tempo) { snd_seq_get_queue_tempo_INDEXED packed_data; packed_data.func = snd_seq_get_queue_tempo_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15191,9 +16669,10 @@ int snd_seq_get_queue_tempo(snd_seq_t * handle, int q, snd_seq_queue_tempo_t * t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_get_queue_tempo(snd_seq_t * handle, int q, snd_seq_queue_tempo_t * tempo) __attribute__((alias("glshim_snd_seq_get_queue_tempo"))); #endif #if !defined(skip_client_snd_seq_get_queue_timer) && !defined(skip_index_snd_seq_get_queue_timer) -int snd_seq_get_queue_timer(snd_seq_t * handle, int q, snd_seq_queue_timer_t * timer) { +int glshim_snd_seq_get_queue_timer(snd_seq_t * handle, int q, snd_seq_queue_timer_t * timer) { snd_seq_get_queue_timer_INDEXED packed_data; packed_data.func = snd_seq_get_queue_timer_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15203,9 +16682,10 @@ int snd_seq_get_queue_timer(snd_seq_t * handle, int q, snd_seq_queue_timer_t * t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_get_queue_timer(snd_seq_t * handle, int q, snd_seq_queue_timer_t * timer) __attribute__((alias("glshim_snd_seq_get_queue_timer"))); #endif #if !defined(skip_client_snd_seq_get_queue_usage) && !defined(skip_index_snd_seq_get_queue_usage) -int snd_seq_get_queue_usage(snd_seq_t * handle, int q) { +int glshim_snd_seq_get_queue_usage(snd_seq_t * handle, int q) { snd_seq_get_queue_usage_INDEXED packed_data; packed_data.func = snd_seq_get_queue_usage_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15214,9 +16694,10 @@ int snd_seq_get_queue_usage(snd_seq_t * handle, int q) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_get_queue_usage(snd_seq_t * handle, int q) __attribute__((alias("glshim_snd_seq_get_queue_usage"))); #endif #if !defined(skip_client_snd_seq_name) && !defined(skip_index_snd_seq_name) -const char * snd_seq_name(snd_seq_t * seq) { +const char * glshim_snd_seq_name(snd_seq_t * seq) { snd_seq_name_INDEXED packed_data; packed_data.func = snd_seq_name_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -15224,9 +16705,10 @@ const char * snd_seq_name(snd_seq_t * seq) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_seq_name(snd_seq_t * seq) __attribute__((alias("glshim_snd_seq_name"))); #endif #if !defined(skip_client_snd_seq_nonblock) && !defined(skip_index_snd_seq_nonblock) -int snd_seq_nonblock(snd_seq_t * handle, int nonblock) { +int glshim_snd_seq_nonblock(snd_seq_t * handle, int nonblock) { snd_seq_nonblock_INDEXED packed_data; packed_data.func = snd_seq_nonblock_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15235,9 +16717,10 @@ int snd_seq_nonblock(snd_seq_t * handle, int nonblock) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_nonblock(snd_seq_t * handle, int nonblock) __attribute__((alias("glshim_snd_seq_nonblock"))); #endif #if !defined(skip_client_snd_seq_open) && !defined(skip_index_snd_seq_open) -int snd_seq_open(snd_seq_t ** handle, const char * name, int streams, int mode) { +int glshim_snd_seq_open(snd_seq_t ** handle, const char * name, int streams, int mode) { snd_seq_open_INDEXED packed_data; packed_data.func = snd_seq_open_INDEX; packed_data.args.a1 = (snd_seq_t **)handle; @@ -15248,9 +16731,10 @@ int snd_seq_open(snd_seq_t ** handle, const char * name, int streams, int mode) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_open(snd_seq_t ** handle, const char * name, int streams, int mode) __attribute__((alias("glshim_snd_seq_open"))); #endif #if !defined(skip_client_snd_seq_open_lconf) && !defined(skip_index_snd_seq_open_lconf) -int snd_seq_open_lconf(snd_seq_t ** handle, const char * name, int streams, int mode, snd_config_t * lconf) { +int glshim_snd_seq_open_lconf(snd_seq_t ** handle, const char * name, int streams, int mode, snd_config_t * lconf) { snd_seq_open_lconf_INDEXED packed_data; packed_data.func = snd_seq_open_lconf_INDEX; packed_data.args.a1 = (snd_seq_t **)handle; @@ -15262,9 +16746,10 @@ int snd_seq_open_lconf(snd_seq_t ** handle, const char * name, int streams, int syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_open_lconf(snd_seq_t ** handle, const char * name, int streams, int mode, snd_config_t * lconf) __attribute__((alias("glshim_snd_seq_open_lconf"))); #endif #if !defined(skip_client_snd_seq_parse_address) && !defined(skip_index_snd_seq_parse_address) -int snd_seq_parse_address(snd_seq_t * seq, snd_seq_addr_t * addr, const char * arg) { +int glshim_snd_seq_parse_address(snd_seq_t * seq, snd_seq_addr_t * addr, const char * arg) { snd_seq_parse_address_INDEXED packed_data; packed_data.func = snd_seq_parse_address_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -15274,9 +16759,10 @@ int snd_seq_parse_address(snd_seq_t * seq, snd_seq_addr_t * addr, const char * a syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_parse_address(snd_seq_t * seq, snd_seq_addr_t * addr, const char * arg) __attribute__((alias("glshim_snd_seq_parse_address"))); #endif #if !defined(skip_client_snd_seq_poll_descriptors) && !defined(skip_index_snd_seq_poll_descriptors) -int snd_seq_poll_descriptors(snd_seq_t * handle, struct pollfd * pfds, unsigned int space, short events) { +int glshim_snd_seq_poll_descriptors(snd_seq_t * handle, struct pollfd * pfds, unsigned int space, short events) { snd_seq_poll_descriptors_INDEXED packed_data; packed_data.func = snd_seq_poll_descriptors_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15287,9 +16773,10 @@ int snd_seq_poll_descriptors(snd_seq_t * handle, struct pollfd * pfds, unsigned syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_poll_descriptors(snd_seq_t * handle, struct pollfd * pfds, unsigned int space, short events) __attribute__((alias("glshim_snd_seq_poll_descriptors"))); #endif #if !defined(skip_client_snd_seq_poll_descriptors_count) && !defined(skip_index_snd_seq_poll_descriptors_count) -int snd_seq_poll_descriptors_count(snd_seq_t * handle, short events) { +int glshim_snd_seq_poll_descriptors_count(snd_seq_t * handle, short events) { snd_seq_poll_descriptors_count_INDEXED packed_data; packed_data.func = snd_seq_poll_descriptors_count_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15298,9 +16785,10 @@ int snd_seq_poll_descriptors_count(snd_seq_t * handle, short events) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_poll_descriptors_count(snd_seq_t * handle, short events) __attribute__((alias("glshim_snd_seq_poll_descriptors_count"))); #endif #if !defined(skip_client_snd_seq_poll_descriptors_revents) && !defined(skip_index_snd_seq_poll_descriptors_revents) -int snd_seq_poll_descriptors_revents(snd_seq_t * seq, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) { +int glshim_snd_seq_poll_descriptors_revents(snd_seq_t * seq, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) { snd_seq_poll_descriptors_revents_INDEXED packed_data; packed_data.func = snd_seq_poll_descriptors_revents_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -15311,26 +16799,29 @@ int snd_seq_poll_descriptors_revents(snd_seq_t * seq, struct pollfd * pfds, unsi syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_poll_descriptors_revents(snd_seq_t * seq, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) __attribute__((alias("glshim_snd_seq_poll_descriptors_revents"))); #endif #if !defined(skip_client_snd_seq_port_info_copy) && !defined(skip_index_snd_seq_port_info_copy) -void snd_seq_port_info_copy(snd_seq_port_info_t * dst, const snd_seq_port_info_t * src) { +void glshim_snd_seq_port_info_copy(snd_seq_port_info_t * dst, const snd_seq_port_info_t * src) { snd_seq_port_info_copy_INDEXED packed_data; packed_data.func = snd_seq_port_info_copy_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)dst; packed_data.args.a2 = (snd_seq_port_info_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_info_copy(snd_seq_port_info_t * dst, const snd_seq_port_info_t * src) __attribute__((alias("glshim_snd_seq_port_info_copy"))); #endif #if !defined(skip_client_snd_seq_port_info_free) && !defined(skip_index_snd_seq_port_info_free) -void snd_seq_port_info_free(snd_seq_port_info_t * ptr) { +void glshim_snd_seq_port_info_free(snd_seq_port_info_t * ptr) { snd_seq_port_info_free_INDEXED packed_data; packed_data.func = snd_seq_port_info_free_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_info_free(snd_seq_port_info_t * ptr) __attribute__((alias("glshim_snd_seq_port_info_free"))); #endif #if !defined(skip_client_snd_seq_port_info_get_addr) && !defined(skip_index_snd_seq_port_info_get_addr) -const snd_seq_addr_t * snd_seq_port_info_get_addr(const snd_seq_port_info_t * info) { +const snd_seq_addr_t * glshim_snd_seq_port_info_get_addr(const snd_seq_port_info_t * info) { snd_seq_port_info_get_addr_INDEXED packed_data; packed_data.func = snd_seq_port_info_get_addr_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; @@ -15338,9 +16829,10 @@ const snd_seq_addr_t * snd_seq_port_info_get_addr(const snd_seq_port_info_t * in syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const snd_seq_addr_t * snd_seq_port_info_get_addr(const snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_port_info_get_addr"))); #endif #if !defined(skip_client_snd_seq_port_info_get_capability) && !defined(skip_index_snd_seq_port_info_get_capability) -unsigned int snd_seq_port_info_get_capability(const snd_seq_port_info_t * info) { +unsigned int glshim_snd_seq_port_info_get_capability(const snd_seq_port_info_t * info) { snd_seq_port_info_get_capability_INDEXED packed_data; packed_data.func = snd_seq_port_info_get_capability_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; @@ -15348,9 +16840,10 @@ unsigned int snd_seq_port_info_get_capability(const snd_seq_port_info_t * info) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_seq_port_info_get_capability(const snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_port_info_get_capability"))); #endif #if !defined(skip_client_snd_seq_port_info_get_client) && !defined(skip_index_snd_seq_port_info_get_client) -int snd_seq_port_info_get_client(const snd_seq_port_info_t * info) { +int glshim_snd_seq_port_info_get_client(const snd_seq_port_info_t * info) { snd_seq_port_info_get_client_INDEXED packed_data; packed_data.func = snd_seq_port_info_get_client_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; @@ -15358,9 +16851,10 @@ int snd_seq_port_info_get_client(const snd_seq_port_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_info_get_client(const snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_port_info_get_client"))); #endif #if !defined(skip_client_snd_seq_port_info_get_midi_channels) && !defined(skip_index_snd_seq_port_info_get_midi_channels) -int snd_seq_port_info_get_midi_channels(const snd_seq_port_info_t * info) { +int glshim_snd_seq_port_info_get_midi_channels(const snd_seq_port_info_t * info) { snd_seq_port_info_get_midi_channels_INDEXED packed_data; packed_data.func = snd_seq_port_info_get_midi_channels_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; @@ -15368,9 +16862,10 @@ int snd_seq_port_info_get_midi_channels(const snd_seq_port_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_info_get_midi_channels(const snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_port_info_get_midi_channels"))); #endif #if !defined(skip_client_snd_seq_port_info_get_midi_voices) && !defined(skip_index_snd_seq_port_info_get_midi_voices) -int snd_seq_port_info_get_midi_voices(const snd_seq_port_info_t * info) { +int glshim_snd_seq_port_info_get_midi_voices(const snd_seq_port_info_t * info) { snd_seq_port_info_get_midi_voices_INDEXED packed_data; packed_data.func = snd_seq_port_info_get_midi_voices_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; @@ -15378,9 +16873,10 @@ int snd_seq_port_info_get_midi_voices(const snd_seq_port_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_info_get_midi_voices(const snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_port_info_get_midi_voices"))); #endif #if !defined(skip_client_snd_seq_port_info_get_name) && !defined(skip_index_snd_seq_port_info_get_name) -const char * snd_seq_port_info_get_name(const snd_seq_port_info_t * info) { +const char * glshim_snd_seq_port_info_get_name(const snd_seq_port_info_t * info) { snd_seq_port_info_get_name_INDEXED packed_data; packed_data.func = snd_seq_port_info_get_name_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; @@ -15388,9 +16884,10 @@ const char * snd_seq_port_info_get_name(const snd_seq_port_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_seq_port_info_get_name(const snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_port_info_get_name"))); #endif #if !defined(skip_client_snd_seq_port_info_get_port) && !defined(skip_index_snd_seq_port_info_get_port) -int snd_seq_port_info_get_port(const snd_seq_port_info_t * info) { +int glshim_snd_seq_port_info_get_port(const snd_seq_port_info_t * info) { snd_seq_port_info_get_port_INDEXED packed_data; packed_data.func = snd_seq_port_info_get_port_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; @@ -15398,9 +16895,10 @@ int snd_seq_port_info_get_port(const snd_seq_port_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_info_get_port(const snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_port_info_get_port"))); #endif #if !defined(skip_client_snd_seq_port_info_get_port_specified) && !defined(skip_index_snd_seq_port_info_get_port_specified) -int snd_seq_port_info_get_port_specified(const snd_seq_port_info_t * info) { +int glshim_snd_seq_port_info_get_port_specified(const snd_seq_port_info_t * info) { snd_seq_port_info_get_port_specified_INDEXED packed_data; packed_data.func = snd_seq_port_info_get_port_specified_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; @@ -15408,9 +16906,10 @@ int snd_seq_port_info_get_port_specified(const snd_seq_port_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_info_get_port_specified(const snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_port_info_get_port_specified"))); #endif #if !defined(skip_client_snd_seq_port_info_get_read_use) && !defined(skip_index_snd_seq_port_info_get_read_use) -int snd_seq_port_info_get_read_use(const snd_seq_port_info_t * info) { +int glshim_snd_seq_port_info_get_read_use(const snd_seq_port_info_t * info) { snd_seq_port_info_get_read_use_INDEXED packed_data; packed_data.func = snd_seq_port_info_get_read_use_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; @@ -15418,9 +16917,10 @@ int snd_seq_port_info_get_read_use(const snd_seq_port_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_info_get_read_use(const snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_port_info_get_read_use"))); #endif #if !defined(skip_client_snd_seq_port_info_get_synth_voices) && !defined(skip_index_snd_seq_port_info_get_synth_voices) -int snd_seq_port_info_get_synth_voices(const snd_seq_port_info_t * info) { +int glshim_snd_seq_port_info_get_synth_voices(const snd_seq_port_info_t * info) { snd_seq_port_info_get_synth_voices_INDEXED packed_data; packed_data.func = snd_seq_port_info_get_synth_voices_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; @@ -15428,9 +16928,10 @@ int snd_seq_port_info_get_synth_voices(const snd_seq_port_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_info_get_synth_voices(const snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_port_info_get_synth_voices"))); #endif #if !defined(skip_client_snd_seq_port_info_get_timestamp_queue) && !defined(skip_index_snd_seq_port_info_get_timestamp_queue) -int snd_seq_port_info_get_timestamp_queue(const snd_seq_port_info_t * info) { +int glshim_snd_seq_port_info_get_timestamp_queue(const snd_seq_port_info_t * info) { snd_seq_port_info_get_timestamp_queue_INDEXED packed_data; packed_data.func = snd_seq_port_info_get_timestamp_queue_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; @@ -15438,9 +16939,10 @@ int snd_seq_port_info_get_timestamp_queue(const snd_seq_port_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_info_get_timestamp_queue(const snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_port_info_get_timestamp_queue"))); #endif #if !defined(skip_client_snd_seq_port_info_get_timestamp_real) && !defined(skip_index_snd_seq_port_info_get_timestamp_real) -int snd_seq_port_info_get_timestamp_real(const snd_seq_port_info_t * info) { +int glshim_snd_seq_port_info_get_timestamp_real(const snd_seq_port_info_t * info) { snd_seq_port_info_get_timestamp_real_INDEXED packed_data; packed_data.func = snd_seq_port_info_get_timestamp_real_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; @@ -15448,9 +16950,10 @@ int snd_seq_port_info_get_timestamp_real(const snd_seq_port_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_info_get_timestamp_real(const snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_port_info_get_timestamp_real"))); #endif #if !defined(skip_client_snd_seq_port_info_get_timestamping) && !defined(skip_index_snd_seq_port_info_get_timestamping) -int snd_seq_port_info_get_timestamping(const snd_seq_port_info_t * info) { +int glshim_snd_seq_port_info_get_timestamping(const snd_seq_port_info_t * info) { snd_seq_port_info_get_timestamping_INDEXED packed_data; packed_data.func = snd_seq_port_info_get_timestamping_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; @@ -15458,9 +16961,10 @@ int snd_seq_port_info_get_timestamping(const snd_seq_port_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_info_get_timestamping(const snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_port_info_get_timestamping"))); #endif #if !defined(skip_client_snd_seq_port_info_get_type) && !defined(skip_index_snd_seq_port_info_get_type) -unsigned int snd_seq_port_info_get_type(const snd_seq_port_info_t * info) { +unsigned int glshim_snd_seq_port_info_get_type(const snd_seq_port_info_t * info) { snd_seq_port_info_get_type_INDEXED packed_data; packed_data.func = snd_seq_port_info_get_type_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; @@ -15468,9 +16972,10 @@ unsigned int snd_seq_port_info_get_type(const snd_seq_port_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_seq_port_info_get_type(const snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_port_info_get_type"))); #endif #if !defined(skip_client_snd_seq_port_info_get_write_use) && !defined(skip_index_snd_seq_port_info_get_write_use) -int snd_seq_port_info_get_write_use(const snd_seq_port_info_t * info) { +int glshim_snd_seq_port_info_get_write_use(const snd_seq_port_info_t * info) { snd_seq_port_info_get_write_use_INDEXED packed_data; packed_data.func = snd_seq_port_info_get_write_use_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; @@ -15478,9 +16983,10 @@ int snd_seq_port_info_get_write_use(const snd_seq_port_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_info_get_write_use(const snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_port_info_get_write_use"))); #endif #if !defined(skip_client_snd_seq_port_info_malloc) && !defined(skip_index_snd_seq_port_info_malloc) -int snd_seq_port_info_malloc(snd_seq_port_info_t ** ptr) { +int glshim_snd_seq_port_info_malloc(snd_seq_port_info_t ** ptr) { snd_seq_port_info_malloc_INDEXED packed_data; packed_data.func = snd_seq_port_info_malloc_INDEX; packed_data.args.a1 = (snd_seq_port_info_t **)ptr; @@ -15488,152 +16994,169 @@ int snd_seq_port_info_malloc(snd_seq_port_info_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_info_malloc(snd_seq_port_info_t ** ptr) __attribute__((alias("glshim_snd_seq_port_info_malloc"))); #endif #if !defined(skip_client_snd_seq_port_info_set_addr) && !defined(skip_index_snd_seq_port_info_set_addr) -void snd_seq_port_info_set_addr(snd_seq_port_info_t * info, const snd_seq_addr_t * addr) { +void glshim_snd_seq_port_info_set_addr(snd_seq_port_info_t * info, const snd_seq_addr_t * addr) { snd_seq_port_info_set_addr_INDEXED packed_data; packed_data.func = snd_seq_port_info_set_addr_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; packed_data.args.a2 = (snd_seq_addr_t *)addr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_info_set_addr(snd_seq_port_info_t * info, const snd_seq_addr_t * addr) __attribute__((alias("glshim_snd_seq_port_info_set_addr"))); #endif #if !defined(skip_client_snd_seq_port_info_set_capability) && !defined(skip_index_snd_seq_port_info_set_capability) -void snd_seq_port_info_set_capability(snd_seq_port_info_t * info, unsigned int capability) { +void glshim_snd_seq_port_info_set_capability(snd_seq_port_info_t * info, unsigned int capability) { snd_seq_port_info_set_capability_INDEXED packed_data; packed_data.func = snd_seq_port_info_set_capability_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; packed_data.args.a2 = (unsigned int)capability; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_info_set_capability(snd_seq_port_info_t * info, unsigned int capability) __attribute__((alias("glshim_snd_seq_port_info_set_capability"))); #endif #if !defined(skip_client_snd_seq_port_info_set_client) && !defined(skip_index_snd_seq_port_info_set_client) -void snd_seq_port_info_set_client(snd_seq_port_info_t * info, int client) { +void glshim_snd_seq_port_info_set_client(snd_seq_port_info_t * info, int client) { snd_seq_port_info_set_client_INDEXED packed_data; packed_data.func = snd_seq_port_info_set_client_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; packed_data.args.a2 = (int)client; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_info_set_client(snd_seq_port_info_t * info, int client) __attribute__((alias("glshim_snd_seq_port_info_set_client"))); #endif #if !defined(skip_client_snd_seq_port_info_set_midi_channels) && !defined(skip_index_snd_seq_port_info_set_midi_channels) -void snd_seq_port_info_set_midi_channels(snd_seq_port_info_t * info, int channels) { +void glshim_snd_seq_port_info_set_midi_channels(snd_seq_port_info_t * info, int channels) { snd_seq_port_info_set_midi_channels_INDEXED packed_data; packed_data.func = snd_seq_port_info_set_midi_channels_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; packed_data.args.a2 = (int)channels; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_info_set_midi_channels(snd_seq_port_info_t * info, int channels) __attribute__((alias("glshim_snd_seq_port_info_set_midi_channels"))); #endif #if !defined(skip_client_snd_seq_port_info_set_midi_voices) && !defined(skip_index_snd_seq_port_info_set_midi_voices) -void snd_seq_port_info_set_midi_voices(snd_seq_port_info_t * info, int voices) { +void glshim_snd_seq_port_info_set_midi_voices(snd_seq_port_info_t * info, int voices) { snd_seq_port_info_set_midi_voices_INDEXED packed_data; packed_data.func = snd_seq_port_info_set_midi_voices_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; packed_data.args.a2 = (int)voices; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_info_set_midi_voices(snd_seq_port_info_t * info, int voices) __attribute__((alias("glshim_snd_seq_port_info_set_midi_voices"))); #endif #if !defined(skip_client_snd_seq_port_info_set_name) && !defined(skip_index_snd_seq_port_info_set_name) -void snd_seq_port_info_set_name(snd_seq_port_info_t * info, const char * name) { +void glshim_snd_seq_port_info_set_name(snd_seq_port_info_t * info, const char * name) { snd_seq_port_info_set_name_INDEXED packed_data; packed_data.func = snd_seq_port_info_set_name_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; packed_data.args.a2 = (char *)name; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_info_set_name(snd_seq_port_info_t * info, const char * name) __attribute__((alias("glshim_snd_seq_port_info_set_name"))); #endif #if !defined(skip_client_snd_seq_port_info_set_port) && !defined(skip_index_snd_seq_port_info_set_port) -void snd_seq_port_info_set_port(snd_seq_port_info_t * info, int port) { +void glshim_snd_seq_port_info_set_port(snd_seq_port_info_t * info, int port) { snd_seq_port_info_set_port_INDEXED packed_data; packed_data.func = snd_seq_port_info_set_port_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; packed_data.args.a2 = (int)port; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_info_set_port(snd_seq_port_info_t * info, int port) __attribute__((alias("glshim_snd_seq_port_info_set_port"))); #endif #if !defined(skip_client_snd_seq_port_info_set_port_specified) && !defined(skip_index_snd_seq_port_info_set_port_specified) -void snd_seq_port_info_set_port_specified(snd_seq_port_info_t * info, int val) { +void glshim_snd_seq_port_info_set_port_specified(snd_seq_port_info_t * info, int val) { snd_seq_port_info_set_port_specified_INDEXED packed_data; packed_data.func = snd_seq_port_info_set_port_specified_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; packed_data.args.a2 = (int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_info_set_port_specified(snd_seq_port_info_t * info, int val) __attribute__((alias("glshim_snd_seq_port_info_set_port_specified"))); #endif #if !defined(skip_client_snd_seq_port_info_set_synth_voices) && !defined(skip_index_snd_seq_port_info_set_synth_voices) -void snd_seq_port_info_set_synth_voices(snd_seq_port_info_t * info, int voices) { +void glshim_snd_seq_port_info_set_synth_voices(snd_seq_port_info_t * info, int voices) { snd_seq_port_info_set_synth_voices_INDEXED packed_data; packed_data.func = snd_seq_port_info_set_synth_voices_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; packed_data.args.a2 = (int)voices; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_info_set_synth_voices(snd_seq_port_info_t * info, int voices) __attribute__((alias("glshim_snd_seq_port_info_set_synth_voices"))); #endif #if !defined(skip_client_snd_seq_port_info_set_timestamp_queue) && !defined(skip_index_snd_seq_port_info_set_timestamp_queue) -void snd_seq_port_info_set_timestamp_queue(snd_seq_port_info_t * info, int queue) { +void glshim_snd_seq_port_info_set_timestamp_queue(snd_seq_port_info_t * info, int queue) { snd_seq_port_info_set_timestamp_queue_INDEXED packed_data; packed_data.func = snd_seq_port_info_set_timestamp_queue_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; packed_data.args.a2 = (int)queue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_info_set_timestamp_queue(snd_seq_port_info_t * info, int queue) __attribute__((alias("glshim_snd_seq_port_info_set_timestamp_queue"))); #endif #if !defined(skip_client_snd_seq_port_info_set_timestamp_real) && !defined(skip_index_snd_seq_port_info_set_timestamp_real) -void snd_seq_port_info_set_timestamp_real(snd_seq_port_info_t * info, int realtime) { +void glshim_snd_seq_port_info_set_timestamp_real(snd_seq_port_info_t * info, int realtime) { snd_seq_port_info_set_timestamp_real_INDEXED packed_data; packed_data.func = snd_seq_port_info_set_timestamp_real_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; packed_data.args.a2 = (int)realtime; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_info_set_timestamp_real(snd_seq_port_info_t * info, int realtime) __attribute__((alias("glshim_snd_seq_port_info_set_timestamp_real"))); #endif #if !defined(skip_client_snd_seq_port_info_set_timestamping) && !defined(skip_index_snd_seq_port_info_set_timestamping) -void snd_seq_port_info_set_timestamping(snd_seq_port_info_t * info, int enable) { +void glshim_snd_seq_port_info_set_timestamping(snd_seq_port_info_t * info, int enable) { snd_seq_port_info_set_timestamping_INDEXED packed_data; packed_data.func = snd_seq_port_info_set_timestamping_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; packed_data.args.a2 = (int)enable; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_info_set_timestamping(snd_seq_port_info_t * info, int enable) __attribute__((alias("glshim_snd_seq_port_info_set_timestamping"))); #endif #if !defined(skip_client_snd_seq_port_info_set_type) && !defined(skip_index_snd_seq_port_info_set_type) -void snd_seq_port_info_set_type(snd_seq_port_info_t * info, unsigned int type) { +void glshim_snd_seq_port_info_set_type(snd_seq_port_info_t * info, unsigned int type) { snd_seq_port_info_set_type_INDEXED packed_data; packed_data.func = snd_seq_port_info_set_type_INDEX; packed_data.args.a1 = (snd_seq_port_info_t *)info; packed_data.args.a2 = (unsigned int)type; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_info_set_type(snd_seq_port_info_t * info, unsigned int type) __attribute__((alias("glshim_snd_seq_port_info_set_type"))); #endif #if !defined(skip_client_snd_seq_port_info_sizeof) && !defined(skip_index_snd_seq_port_info_sizeof) -size_t snd_seq_port_info_sizeof() { +size_t glshim_snd_seq_port_info_sizeof() { snd_seq_port_info_sizeof_INDEXED packed_data; packed_data.func = snd_seq_port_info_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_port_info_sizeof() __attribute__((alias("glshim_snd_seq_port_info_sizeof"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_copy) && !defined(skip_index_snd_seq_port_subscribe_copy) -void snd_seq_port_subscribe_copy(snd_seq_port_subscribe_t * dst, const snd_seq_port_subscribe_t * src) { +void glshim_snd_seq_port_subscribe_copy(snd_seq_port_subscribe_t * dst, const snd_seq_port_subscribe_t * src) { snd_seq_port_subscribe_copy_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_copy_INDEX; packed_data.args.a1 = (snd_seq_port_subscribe_t *)dst; packed_data.args.a2 = (snd_seq_port_subscribe_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_subscribe_copy(snd_seq_port_subscribe_t * dst, const snd_seq_port_subscribe_t * src) __attribute__((alias("glshim_snd_seq_port_subscribe_copy"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_free) && !defined(skip_index_snd_seq_port_subscribe_free) -void snd_seq_port_subscribe_free(snd_seq_port_subscribe_t * ptr) { +void glshim_snd_seq_port_subscribe_free(snd_seq_port_subscribe_t * ptr) { snd_seq_port_subscribe_free_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_free_INDEX; packed_data.args.a1 = (snd_seq_port_subscribe_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_subscribe_free(snd_seq_port_subscribe_t * ptr) __attribute__((alias("glshim_snd_seq_port_subscribe_free"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_get_dest) && !defined(skip_index_snd_seq_port_subscribe_get_dest) -const snd_seq_addr_t * snd_seq_port_subscribe_get_dest(const snd_seq_port_subscribe_t * info) { +const snd_seq_addr_t * glshim_snd_seq_port_subscribe_get_dest(const snd_seq_port_subscribe_t * info) { snd_seq_port_subscribe_get_dest_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_get_dest_INDEX; packed_data.args.a1 = (snd_seq_port_subscribe_t *)info; @@ -15641,9 +17164,10 @@ const snd_seq_addr_t * snd_seq_port_subscribe_get_dest(const snd_seq_port_subscr syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const snd_seq_addr_t * snd_seq_port_subscribe_get_dest(const snd_seq_port_subscribe_t * info) __attribute__((alias("glshim_snd_seq_port_subscribe_get_dest"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_get_exclusive) && !defined(skip_index_snd_seq_port_subscribe_get_exclusive) -int snd_seq_port_subscribe_get_exclusive(const snd_seq_port_subscribe_t * info) { +int glshim_snd_seq_port_subscribe_get_exclusive(const snd_seq_port_subscribe_t * info) { snd_seq_port_subscribe_get_exclusive_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_get_exclusive_INDEX; packed_data.args.a1 = (snd_seq_port_subscribe_t *)info; @@ -15651,9 +17175,10 @@ int snd_seq_port_subscribe_get_exclusive(const snd_seq_port_subscribe_t * info) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_subscribe_get_exclusive(const snd_seq_port_subscribe_t * info) __attribute__((alias("glshim_snd_seq_port_subscribe_get_exclusive"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_get_queue) && !defined(skip_index_snd_seq_port_subscribe_get_queue) -int snd_seq_port_subscribe_get_queue(const snd_seq_port_subscribe_t * info) { +int glshim_snd_seq_port_subscribe_get_queue(const snd_seq_port_subscribe_t * info) { snd_seq_port_subscribe_get_queue_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_get_queue_INDEX; packed_data.args.a1 = (snd_seq_port_subscribe_t *)info; @@ -15661,9 +17186,10 @@ int snd_seq_port_subscribe_get_queue(const snd_seq_port_subscribe_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_subscribe_get_queue(const snd_seq_port_subscribe_t * info) __attribute__((alias("glshim_snd_seq_port_subscribe_get_queue"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_get_sender) && !defined(skip_index_snd_seq_port_subscribe_get_sender) -const snd_seq_addr_t * snd_seq_port_subscribe_get_sender(const snd_seq_port_subscribe_t * info) { +const snd_seq_addr_t * glshim_snd_seq_port_subscribe_get_sender(const snd_seq_port_subscribe_t * info) { snd_seq_port_subscribe_get_sender_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_get_sender_INDEX; packed_data.args.a1 = (snd_seq_port_subscribe_t *)info; @@ -15671,9 +17197,10 @@ const snd_seq_addr_t * snd_seq_port_subscribe_get_sender(const snd_seq_port_subs syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const snd_seq_addr_t * snd_seq_port_subscribe_get_sender(const snd_seq_port_subscribe_t * info) __attribute__((alias("glshim_snd_seq_port_subscribe_get_sender"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_get_time_real) && !defined(skip_index_snd_seq_port_subscribe_get_time_real) -int snd_seq_port_subscribe_get_time_real(const snd_seq_port_subscribe_t * info) { +int glshim_snd_seq_port_subscribe_get_time_real(const snd_seq_port_subscribe_t * info) { snd_seq_port_subscribe_get_time_real_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_get_time_real_INDEX; packed_data.args.a1 = (snd_seq_port_subscribe_t *)info; @@ -15681,9 +17208,10 @@ int snd_seq_port_subscribe_get_time_real(const snd_seq_port_subscribe_t * info) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_subscribe_get_time_real(const snd_seq_port_subscribe_t * info) __attribute__((alias("glshim_snd_seq_port_subscribe_get_time_real"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_get_time_update) && !defined(skip_index_snd_seq_port_subscribe_get_time_update) -int snd_seq_port_subscribe_get_time_update(const snd_seq_port_subscribe_t * info) { +int glshim_snd_seq_port_subscribe_get_time_update(const snd_seq_port_subscribe_t * info) { snd_seq_port_subscribe_get_time_update_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_get_time_update_INDEX; packed_data.args.a1 = (snd_seq_port_subscribe_t *)info; @@ -15691,9 +17219,10 @@ int snd_seq_port_subscribe_get_time_update(const snd_seq_port_subscribe_t * info syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_subscribe_get_time_update(const snd_seq_port_subscribe_t * info) __attribute__((alias("glshim_snd_seq_port_subscribe_get_time_update"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_malloc) && !defined(skip_index_snd_seq_port_subscribe_malloc) -int snd_seq_port_subscribe_malloc(snd_seq_port_subscribe_t ** ptr) { +int glshim_snd_seq_port_subscribe_malloc(snd_seq_port_subscribe_t ** ptr) { snd_seq_port_subscribe_malloc_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_malloc_INDEX; packed_data.args.a1 = (snd_seq_port_subscribe_t **)ptr; @@ -15701,72 +17230,80 @@ int snd_seq_port_subscribe_malloc(snd_seq_port_subscribe_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_port_subscribe_malloc(snd_seq_port_subscribe_t ** ptr) __attribute__((alias("glshim_snd_seq_port_subscribe_malloc"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_set_dest) && !defined(skip_index_snd_seq_port_subscribe_set_dest) -void snd_seq_port_subscribe_set_dest(snd_seq_port_subscribe_t * info, const snd_seq_addr_t * addr) { +void glshim_snd_seq_port_subscribe_set_dest(snd_seq_port_subscribe_t * info, const snd_seq_addr_t * addr) { snd_seq_port_subscribe_set_dest_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_set_dest_INDEX; packed_data.args.a1 = (snd_seq_port_subscribe_t *)info; packed_data.args.a2 = (snd_seq_addr_t *)addr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_subscribe_set_dest(snd_seq_port_subscribe_t * info, const snd_seq_addr_t * addr) __attribute__((alias("glshim_snd_seq_port_subscribe_set_dest"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_set_exclusive) && !defined(skip_index_snd_seq_port_subscribe_set_exclusive) -void snd_seq_port_subscribe_set_exclusive(snd_seq_port_subscribe_t * info, int val) { +void glshim_snd_seq_port_subscribe_set_exclusive(snd_seq_port_subscribe_t * info, int val) { snd_seq_port_subscribe_set_exclusive_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_set_exclusive_INDEX; packed_data.args.a1 = (snd_seq_port_subscribe_t *)info; packed_data.args.a2 = (int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_subscribe_set_exclusive(snd_seq_port_subscribe_t * info, int val) __attribute__((alias("glshim_snd_seq_port_subscribe_set_exclusive"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_set_queue) && !defined(skip_index_snd_seq_port_subscribe_set_queue) -void snd_seq_port_subscribe_set_queue(snd_seq_port_subscribe_t * info, int q) { +void glshim_snd_seq_port_subscribe_set_queue(snd_seq_port_subscribe_t * info, int q) { snd_seq_port_subscribe_set_queue_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_set_queue_INDEX; packed_data.args.a1 = (snd_seq_port_subscribe_t *)info; packed_data.args.a2 = (int)q; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_subscribe_set_queue(snd_seq_port_subscribe_t * info, int q) __attribute__((alias("glshim_snd_seq_port_subscribe_set_queue"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_set_sender) && !defined(skip_index_snd_seq_port_subscribe_set_sender) -void snd_seq_port_subscribe_set_sender(snd_seq_port_subscribe_t * info, const snd_seq_addr_t * addr) { +void glshim_snd_seq_port_subscribe_set_sender(snd_seq_port_subscribe_t * info, const snd_seq_addr_t * addr) { snd_seq_port_subscribe_set_sender_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_set_sender_INDEX; packed_data.args.a1 = (snd_seq_port_subscribe_t *)info; packed_data.args.a2 = (snd_seq_addr_t *)addr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_subscribe_set_sender(snd_seq_port_subscribe_t * info, const snd_seq_addr_t * addr) __attribute__((alias("glshim_snd_seq_port_subscribe_set_sender"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_set_time_real) && !defined(skip_index_snd_seq_port_subscribe_set_time_real) -void snd_seq_port_subscribe_set_time_real(snd_seq_port_subscribe_t * info, int val) { +void glshim_snd_seq_port_subscribe_set_time_real(snd_seq_port_subscribe_t * info, int val) { snd_seq_port_subscribe_set_time_real_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_set_time_real_INDEX; packed_data.args.a1 = (snd_seq_port_subscribe_t *)info; packed_data.args.a2 = (int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_subscribe_set_time_real(snd_seq_port_subscribe_t * info, int val) __attribute__((alias("glshim_snd_seq_port_subscribe_set_time_real"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_set_time_update) && !defined(skip_index_snd_seq_port_subscribe_set_time_update) -void snd_seq_port_subscribe_set_time_update(snd_seq_port_subscribe_t * info, int val) { +void glshim_snd_seq_port_subscribe_set_time_update(snd_seq_port_subscribe_t * info, int val) { snd_seq_port_subscribe_set_time_update_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_set_time_update_INDEX; packed_data.args.a1 = (snd_seq_port_subscribe_t *)info; packed_data.args.a2 = (int)val; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_port_subscribe_set_time_update(snd_seq_port_subscribe_t * info, int val) __attribute__((alias("glshim_snd_seq_port_subscribe_set_time_update"))); #endif #if !defined(skip_client_snd_seq_port_subscribe_sizeof) && !defined(skip_index_snd_seq_port_subscribe_sizeof) -size_t snd_seq_port_subscribe_sizeof() { +size_t glshim_snd_seq_port_subscribe_sizeof() { snd_seq_port_subscribe_sizeof_INDEXED packed_data; packed_data.func = snd_seq_port_subscribe_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_port_subscribe_sizeof() __attribute__((alias("glshim_snd_seq_port_subscribe_sizeof"))); #endif #if !defined(skip_client_snd_seq_query_named_queue) && !defined(skip_index_snd_seq_query_named_queue) -int snd_seq_query_named_queue(snd_seq_t * seq, const char * name) { +int glshim_snd_seq_query_named_queue(snd_seq_t * seq, const char * name) { snd_seq_query_named_queue_INDEXED packed_data; packed_data.func = snd_seq_query_named_queue_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -15775,9 +17312,10 @@ int snd_seq_query_named_queue(snd_seq_t * seq, const char * name) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_query_named_queue(snd_seq_t * seq, const char * name) __attribute__((alias("glshim_snd_seq_query_named_queue"))); #endif #if !defined(skip_client_snd_seq_query_next_client) && !defined(skip_index_snd_seq_query_next_client) -int snd_seq_query_next_client(snd_seq_t * handle, snd_seq_client_info_t * info) { +int glshim_snd_seq_query_next_client(snd_seq_t * handle, snd_seq_client_info_t * info) { snd_seq_query_next_client_INDEXED packed_data; packed_data.func = snd_seq_query_next_client_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15786,9 +17324,10 @@ int snd_seq_query_next_client(snd_seq_t * handle, snd_seq_client_info_t * info) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_query_next_client(snd_seq_t * handle, snd_seq_client_info_t * info) __attribute__((alias("glshim_snd_seq_query_next_client"))); #endif #if !defined(skip_client_snd_seq_query_next_port) && !defined(skip_index_snd_seq_query_next_port) -int snd_seq_query_next_port(snd_seq_t * handle, snd_seq_port_info_t * info) { +int glshim_snd_seq_query_next_port(snd_seq_t * handle, snd_seq_port_info_t * info) { snd_seq_query_next_port_INDEXED packed_data; packed_data.func = snd_seq_query_next_port_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -15797,9 +17336,10 @@ int snd_seq_query_next_port(snd_seq_t * handle, snd_seq_port_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_query_next_port(snd_seq_t * handle, snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_query_next_port"))); #endif #if !defined(skip_client_snd_seq_query_port_subscribers) && !defined(skip_index_snd_seq_query_port_subscribers) -int snd_seq_query_port_subscribers(snd_seq_t * seq, snd_seq_query_subscribe_t * subs) { +int glshim_snd_seq_query_port_subscribers(snd_seq_t * seq, snd_seq_query_subscribe_t * subs) { snd_seq_query_port_subscribers_INDEXED packed_data; packed_data.func = snd_seq_query_port_subscribers_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -15808,26 +17348,29 @@ int snd_seq_query_port_subscribers(snd_seq_t * seq, snd_seq_query_subscribe_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_query_port_subscribers(snd_seq_t * seq, snd_seq_query_subscribe_t * subs) __attribute__((alias("glshim_snd_seq_query_port_subscribers"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_copy) && !defined(skip_index_snd_seq_query_subscribe_copy) -void snd_seq_query_subscribe_copy(snd_seq_query_subscribe_t * dst, const snd_seq_query_subscribe_t * src) { +void glshim_snd_seq_query_subscribe_copy(snd_seq_query_subscribe_t * dst, const snd_seq_query_subscribe_t * src) { snd_seq_query_subscribe_copy_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_copy_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)dst; packed_data.args.a2 = (snd_seq_query_subscribe_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_query_subscribe_copy(snd_seq_query_subscribe_t * dst, const snd_seq_query_subscribe_t * src) __attribute__((alias("glshim_snd_seq_query_subscribe_copy"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_free) && !defined(skip_index_snd_seq_query_subscribe_free) -void snd_seq_query_subscribe_free(snd_seq_query_subscribe_t * ptr) { +void glshim_snd_seq_query_subscribe_free(snd_seq_query_subscribe_t * ptr) { snd_seq_query_subscribe_free_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_free_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_query_subscribe_free(snd_seq_query_subscribe_t * ptr) __attribute__((alias("glshim_snd_seq_query_subscribe_free"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_get_addr) && !defined(skip_index_snd_seq_query_subscribe_get_addr) -const snd_seq_addr_t * snd_seq_query_subscribe_get_addr(const snd_seq_query_subscribe_t * info) { +const snd_seq_addr_t * glshim_snd_seq_query_subscribe_get_addr(const snd_seq_query_subscribe_t * info) { snd_seq_query_subscribe_get_addr_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_get_addr_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; @@ -15835,9 +17378,10 @@ const snd_seq_addr_t * snd_seq_query_subscribe_get_addr(const snd_seq_query_subs syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const snd_seq_addr_t * snd_seq_query_subscribe_get_addr(const snd_seq_query_subscribe_t * info) __attribute__((alias("glshim_snd_seq_query_subscribe_get_addr"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_get_client) && !defined(skip_index_snd_seq_query_subscribe_get_client) -int snd_seq_query_subscribe_get_client(const snd_seq_query_subscribe_t * info) { +int glshim_snd_seq_query_subscribe_get_client(const snd_seq_query_subscribe_t * info) { snd_seq_query_subscribe_get_client_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_get_client_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; @@ -15845,9 +17389,10 @@ int snd_seq_query_subscribe_get_client(const snd_seq_query_subscribe_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_query_subscribe_get_client(const snd_seq_query_subscribe_t * info) __attribute__((alias("glshim_snd_seq_query_subscribe_get_client"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_get_exclusive) && !defined(skip_index_snd_seq_query_subscribe_get_exclusive) -int snd_seq_query_subscribe_get_exclusive(const snd_seq_query_subscribe_t * info) { +int glshim_snd_seq_query_subscribe_get_exclusive(const snd_seq_query_subscribe_t * info) { snd_seq_query_subscribe_get_exclusive_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_get_exclusive_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; @@ -15855,9 +17400,10 @@ int snd_seq_query_subscribe_get_exclusive(const snd_seq_query_subscribe_t * info syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_query_subscribe_get_exclusive(const snd_seq_query_subscribe_t * info) __attribute__((alias("glshim_snd_seq_query_subscribe_get_exclusive"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_get_index) && !defined(skip_index_snd_seq_query_subscribe_get_index) -int snd_seq_query_subscribe_get_index(const snd_seq_query_subscribe_t * info) { +int glshim_snd_seq_query_subscribe_get_index(const snd_seq_query_subscribe_t * info) { snd_seq_query_subscribe_get_index_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_get_index_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; @@ -15865,9 +17411,10 @@ int snd_seq_query_subscribe_get_index(const snd_seq_query_subscribe_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_query_subscribe_get_index(const snd_seq_query_subscribe_t * info) __attribute__((alias("glshim_snd_seq_query_subscribe_get_index"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_get_num_subs) && !defined(skip_index_snd_seq_query_subscribe_get_num_subs) -int snd_seq_query_subscribe_get_num_subs(const snd_seq_query_subscribe_t * info) { +int glshim_snd_seq_query_subscribe_get_num_subs(const snd_seq_query_subscribe_t * info) { snd_seq_query_subscribe_get_num_subs_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_get_num_subs_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; @@ -15875,9 +17422,10 @@ int snd_seq_query_subscribe_get_num_subs(const snd_seq_query_subscribe_t * info) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_query_subscribe_get_num_subs(const snd_seq_query_subscribe_t * info) __attribute__((alias("glshim_snd_seq_query_subscribe_get_num_subs"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_get_port) && !defined(skip_index_snd_seq_query_subscribe_get_port) -int snd_seq_query_subscribe_get_port(const snd_seq_query_subscribe_t * info) { +int glshim_snd_seq_query_subscribe_get_port(const snd_seq_query_subscribe_t * info) { snd_seq_query_subscribe_get_port_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_get_port_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; @@ -15885,9 +17433,10 @@ int snd_seq_query_subscribe_get_port(const snd_seq_query_subscribe_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_query_subscribe_get_port(const snd_seq_query_subscribe_t * info) __attribute__((alias("glshim_snd_seq_query_subscribe_get_port"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_get_queue) && !defined(skip_index_snd_seq_query_subscribe_get_queue) -int snd_seq_query_subscribe_get_queue(const snd_seq_query_subscribe_t * info) { +int glshim_snd_seq_query_subscribe_get_queue(const snd_seq_query_subscribe_t * info) { snd_seq_query_subscribe_get_queue_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_get_queue_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; @@ -15895,9 +17444,10 @@ int snd_seq_query_subscribe_get_queue(const snd_seq_query_subscribe_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_query_subscribe_get_queue(const snd_seq_query_subscribe_t * info) __attribute__((alias("glshim_snd_seq_query_subscribe_get_queue"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_get_root) && !defined(skip_index_snd_seq_query_subscribe_get_root) -const snd_seq_addr_t * snd_seq_query_subscribe_get_root(const snd_seq_query_subscribe_t * info) { +const snd_seq_addr_t * glshim_snd_seq_query_subscribe_get_root(const snd_seq_query_subscribe_t * info) { snd_seq_query_subscribe_get_root_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_get_root_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; @@ -15905,9 +17455,10 @@ const snd_seq_addr_t * snd_seq_query_subscribe_get_root(const snd_seq_query_subs syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const snd_seq_addr_t * snd_seq_query_subscribe_get_root(const snd_seq_query_subscribe_t * info) __attribute__((alias("glshim_snd_seq_query_subscribe_get_root"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_get_time_real) && !defined(skip_index_snd_seq_query_subscribe_get_time_real) -int snd_seq_query_subscribe_get_time_real(const snd_seq_query_subscribe_t * info) { +int glshim_snd_seq_query_subscribe_get_time_real(const snd_seq_query_subscribe_t * info) { snd_seq_query_subscribe_get_time_real_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_get_time_real_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; @@ -15915,9 +17466,10 @@ int snd_seq_query_subscribe_get_time_real(const snd_seq_query_subscribe_t * info syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_query_subscribe_get_time_real(const snd_seq_query_subscribe_t * info) __attribute__((alias("glshim_snd_seq_query_subscribe_get_time_real"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_get_time_update) && !defined(skip_index_snd_seq_query_subscribe_get_time_update) -int snd_seq_query_subscribe_get_time_update(const snd_seq_query_subscribe_t * info) { +int glshim_snd_seq_query_subscribe_get_time_update(const snd_seq_query_subscribe_t * info) { snd_seq_query_subscribe_get_time_update_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_get_time_update_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; @@ -15925,9 +17477,10 @@ int snd_seq_query_subscribe_get_time_update(const snd_seq_query_subscribe_t * in syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_query_subscribe_get_time_update(const snd_seq_query_subscribe_t * info) __attribute__((alias("glshim_snd_seq_query_subscribe_get_time_update"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_get_type) && !defined(skip_index_snd_seq_query_subscribe_get_type) -snd_seq_query_subs_type_t snd_seq_query_subscribe_get_type(const snd_seq_query_subscribe_t * info) { +snd_seq_query_subs_type_t glshim_snd_seq_query_subscribe_get_type(const snd_seq_query_subscribe_t * info) { snd_seq_query_subscribe_get_type_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_get_type_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; @@ -15935,9 +17488,10 @@ snd_seq_query_subs_type_t snd_seq_query_subscribe_get_type(const snd_seq_query_s syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_seq_query_subs_type_t snd_seq_query_subscribe_get_type(const snd_seq_query_subscribe_t * info) __attribute__((alias("glshim_snd_seq_query_subscribe_get_type"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_malloc) && !defined(skip_index_snd_seq_query_subscribe_malloc) -int snd_seq_query_subscribe_malloc(snd_seq_query_subscribe_t ** ptr) { +int glshim_snd_seq_query_subscribe_malloc(snd_seq_query_subscribe_t ** ptr) { snd_seq_query_subscribe_malloc_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_malloc_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t **)ptr; @@ -15945,80 +17499,89 @@ int snd_seq_query_subscribe_malloc(snd_seq_query_subscribe_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_query_subscribe_malloc(snd_seq_query_subscribe_t ** ptr) __attribute__((alias("glshim_snd_seq_query_subscribe_malloc"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_set_client) && !defined(skip_index_snd_seq_query_subscribe_set_client) -void snd_seq_query_subscribe_set_client(snd_seq_query_subscribe_t * info, int client) { +void glshim_snd_seq_query_subscribe_set_client(snd_seq_query_subscribe_t * info, int client) { snd_seq_query_subscribe_set_client_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_set_client_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; packed_data.args.a2 = (int)client; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_query_subscribe_set_client(snd_seq_query_subscribe_t * info, int client) __attribute__((alias("glshim_snd_seq_query_subscribe_set_client"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_set_index) && !defined(skip_index_snd_seq_query_subscribe_set_index) -void snd_seq_query_subscribe_set_index(snd_seq_query_subscribe_t * info, int _index) { +void glshim_snd_seq_query_subscribe_set_index(snd_seq_query_subscribe_t * info, int _index) { snd_seq_query_subscribe_set_index_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_set_index_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; packed_data.args.a2 = (int)_index; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_query_subscribe_set_index(snd_seq_query_subscribe_t * info, int _index) __attribute__((alias("glshim_snd_seq_query_subscribe_set_index"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_set_port) && !defined(skip_index_snd_seq_query_subscribe_set_port) -void snd_seq_query_subscribe_set_port(snd_seq_query_subscribe_t * info, int port) { +void glshim_snd_seq_query_subscribe_set_port(snd_seq_query_subscribe_t * info, int port) { snd_seq_query_subscribe_set_port_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_set_port_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; packed_data.args.a2 = (int)port; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_query_subscribe_set_port(snd_seq_query_subscribe_t * info, int port) __attribute__((alias("glshim_snd_seq_query_subscribe_set_port"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_set_root) && !defined(skip_index_snd_seq_query_subscribe_set_root) -void snd_seq_query_subscribe_set_root(snd_seq_query_subscribe_t * info, const snd_seq_addr_t * addr) { +void glshim_snd_seq_query_subscribe_set_root(snd_seq_query_subscribe_t * info, const snd_seq_addr_t * addr) { snd_seq_query_subscribe_set_root_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_set_root_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; packed_data.args.a2 = (snd_seq_addr_t *)addr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_query_subscribe_set_root(snd_seq_query_subscribe_t * info, const snd_seq_addr_t * addr) __attribute__((alias("glshim_snd_seq_query_subscribe_set_root"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_set_type) && !defined(skip_index_snd_seq_query_subscribe_set_type) -void snd_seq_query_subscribe_set_type(snd_seq_query_subscribe_t * info, snd_seq_query_subs_type_t type) { +void glshim_snd_seq_query_subscribe_set_type(snd_seq_query_subscribe_t * info, snd_seq_query_subs_type_t type) { snd_seq_query_subscribe_set_type_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_set_type_INDEX; packed_data.args.a1 = (snd_seq_query_subscribe_t *)info; packed_data.args.a2 = (snd_seq_query_subs_type_t)type; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_query_subscribe_set_type(snd_seq_query_subscribe_t * info, snd_seq_query_subs_type_t type) __attribute__((alias("glshim_snd_seq_query_subscribe_set_type"))); #endif #if !defined(skip_client_snd_seq_query_subscribe_sizeof) && !defined(skip_index_snd_seq_query_subscribe_sizeof) -size_t snd_seq_query_subscribe_sizeof() { +size_t glshim_snd_seq_query_subscribe_sizeof() { snd_seq_query_subscribe_sizeof_INDEXED packed_data; packed_data.func = snd_seq_query_subscribe_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_query_subscribe_sizeof() __attribute__((alias("glshim_snd_seq_query_subscribe_sizeof"))); #endif #if !defined(skip_client_snd_seq_queue_info_copy) && !defined(skip_index_snd_seq_queue_info_copy) -void snd_seq_queue_info_copy(snd_seq_queue_info_t * dst, const snd_seq_queue_info_t * src) { +void glshim_snd_seq_queue_info_copy(snd_seq_queue_info_t * dst, const snd_seq_queue_info_t * src) { snd_seq_queue_info_copy_INDEXED packed_data; packed_data.func = snd_seq_queue_info_copy_INDEX; packed_data.args.a1 = (snd_seq_queue_info_t *)dst; packed_data.args.a2 = (snd_seq_queue_info_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_info_copy(snd_seq_queue_info_t * dst, const snd_seq_queue_info_t * src) __attribute__((alias("glshim_snd_seq_queue_info_copy"))); #endif #if !defined(skip_client_snd_seq_queue_info_free) && !defined(skip_index_snd_seq_queue_info_free) -void snd_seq_queue_info_free(snd_seq_queue_info_t * ptr) { +void glshim_snd_seq_queue_info_free(snd_seq_queue_info_t * ptr) { snd_seq_queue_info_free_INDEXED packed_data; packed_data.func = snd_seq_queue_info_free_INDEX; packed_data.args.a1 = (snd_seq_queue_info_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_info_free(snd_seq_queue_info_t * ptr) __attribute__((alias("glshim_snd_seq_queue_info_free"))); #endif #if !defined(skip_client_snd_seq_queue_info_get_flags) && !defined(skip_index_snd_seq_queue_info_get_flags) -unsigned int snd_seq_queue_info_get_flags(const snd_seq_queue_info_t * info) { +unsigned int glshim_snd_seq_queue_info_get_flags(const snd_seq_queue_info_t * info) { snd_seq_queue_info_get_flags_INDEXED packed_data; packed_data.func = snd_seq_queue_info_get_flags_INDEX; packed_data.args.a1 = (snd_seq_queue_info_t *)info; @@ -16026,9 +17589,10 @@ unsigned int snd_seq_queue_info_get_flags(const snd_seq_queue_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_seq_queue_info_get_flags(const snd_seq_queue_info_t * info) __attribute__((alias("glshim_snd_seq_queue_info_get_flags"))); #endif #if !defined(skip_client_snd_seq_queue_info_get_locked) && !defined(skip_index_snd_seq_queue_info_get_locked) -int snd_seq_queue_info_get_locked(const snd_seq_queue_info_t * info) { +int glshim_snd_seq_queue_info_get_locked(const snd_seq_queue_info_t * info) { snd_seq_queue_info_get_locked_INDEXED packed_data; packed_data.func = snd_seq_queue_info_get_locked_INDEX; packed_data.args.a1 = (snd_seq_queue_info_t *)info; @@ -16036,9 +17600,10 @@ int snd_seq_queue_info_get_locked(const snd_seq_queue_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_queue_info_get_locked(const snd_seq_queue_info_t * info) __attribute__((alias("glshim_snd_seq_queue_info_get_locked"))); #endif #if !defined(skip_client_snd_seq_queue_info_get_name) && !defined(skip_index_snd_seq_queue_info_get_name) -const char * snd_seq_queue_info_get_name(const snd_seq_queue_info_t * info) { +const char * glshim_snd_seq_queue_info_get_name(const snd_seq_queue_info_t * info) { snd_seq_queue_info_get_name_INDEXED packed_data; packed_data.func = snd_seq_queue_info_get_name_INDEX; packed_data.args.a1 = (snd_seq_queue_info_t *)info; @@ -16046,9 +17611,10 @@ const char * snd_seq_queue_info_get_name(const snd_seq_queue_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_seq_queue_info_get_name(const snd_seq_queue_info_t * info) __attribute__((alias("glshim_snd_seq_queue_info_get_name"))); #endif #if !defined(skip_client_snd_seq_queue_info_get_owner) && !defined(skip_index_snd_seq_queue_info_get_owner) -int snd_seq_queue_info_get_owner(const snd_seq_queue_info_t * info) { +int glshim_snd_seq_queue_info_get_owner(const snd_seq_queue_info_t * info) { snd_seq_queue_info_get_owner_INDEXED packed_data; packed_data.func = snd_seq_queue_info_get_owner_INDEX; packed_data.args.a1 = (snd_seq_queue_info_t *)info; @@ -16056,9 +17622,10 @@ int snd_seq_queue_info_get_owner(const snd_seq_queue_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_queue_info_get_owner(const snd_seq_queue_info_t * info) __attribute__((alias("glshim_snd_seq_queue_info_get_owner"))); #endif #if !defined(skip_client_snd_seq_queue_info_get_queue) && !defined(skip_index_snd_seq_queue_info_get_queue) -int snd_seq_queue_info_get_queue(const snd_seq_queue_info_t * info) { +int glshim_snd_seq_queue_info_get_queue(const snd_seq_queue_info_t * info) { snd_seq_queue_info_get_queue_INDEXED packed_data; packed_data.func = snd_seq_queue_info_get_queue_INDEX; packed_data.args.a1 = (snd_seq_queue_info_t *)info; @@ -16066,9 +17633,10 @@ int snd_seq_queue_info_get_queue(const snd_seq_queue_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_queue_info_get_queue(const snd_seq_queue_info_t * info) __attribute__((alias("glshim_snd_seq_queue_info_get_queue"))); #endif #if !defined(skip_client_snd_seq_queue_info_malloc) && !defined(skip_index_snd_seq_queue_info_malloc) -int snd_seq_queue_info_malloc(snd_seq_queue_info_t ** ptr) { +int glshim_snd_seq_queue_info_malloc(snd_seq_queue_info_t ** ptr) { snd_seq_queue_info_malloc_INDEXED packed_data; packed_data.func = snd_seq_queue_info_malloc_INDEX; packed_data.args.a1 = (snd_seq_queue_info_t **)ptr; @@ -16076,71 +17644,79 @@ int snd_seq_queue_info_malloc(snd_seq_queue_info_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_queue_info_malloc(snd_seq_queue_info_t ** ptr) __attribute__((alias("glshim_snd_seq_queue_info_malloc"))); #endif #if !defined(skip_client_snd_seq_queue_info_set_flags) && !defined(skip_index_snd_seq_queue_info_set_flags) -void snd_seq_queue_info_set_flags(snd_seq_queue_info_t * info, unsigned int flags) { +void glshim_snd_seq_queue_info_set_flags(snd_seq_queue_info_t * info, unsigned int flags) { snd_seq_queue_info_set_flags_INDEXED packed_data; packed_data.func = snd_seq_queue_info_set_flags_INDEX; packed_data.args.a1 = (snd_seq_queue_info_t *)info; packed_data.args.a2 = (unsigned int)flags; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_info_set_flags(snd_seq_queue_info_t * info, unsigned int flags) __attribute__((alias("glshim_snd_seq_queue_info_set_flags"))); #endif #if !defined(skip_client_snd_seq_queue_info_set_locked) && !defined(skip_index_snd_seq_queue_info_set_locked) -void snd_seq_queue_info_set_locked(snd_seq_queue_info_t * info, int locked) { +void glshim_snd_seq_queue_info_set_locked(snd_seq_queue_info_t * info, int locked) { snd_seq_queue_info_set_locked_INDEXED packed_data; packed_data.func = snd_seq_queue_info_set_locked_INDEX; packed_data.args.a1 = (snd_seq_queue_info_t *)info; packed_data.args.a2 = (int)locked; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_info_set_locked(snd_seq_queue_info_t * info, int locked) __attribute__((alias("glshim_snd_seq_queue_info_set_locked"))); #endif #if !defined(skip_client_snd_seq_queue_info_set_name) && !defined(skip_index_snd_seq_queue_info_set_name) -void snd_seq_queue_info_set_name(snd_seq_queue_info_t * info, const char * name) { +void glshim_snd_seq_queue_info_set_name(snd_seq_queue_info_t * info, const char * name) { snd_seq_queue_info_set_name_INDEXED packed_data; packed_data.func = snd_seq_queue_info_set_name_INDEX; packed_data.args.a1 = (snd_seq_queue_info_t *)info; packed_data.args.a2 = (char *)name; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_info_set_name(snd_seq_queue_info_t * info, const char * name) __attribute__((alias("glshim_snd_seq_queue_info_set_name"))); #endif #if !defined(skip_client_snd_seq_queue_info_set_owner) && !defined(skip_index_snd_seq_queue_info_set_owner) -void snd_seq_queue_info_set_owner(snd_seq_queue_info_t * info, int owner) { +void glshim_snd_seq_queue_info_set_owner(snd_seq_queue_info_t * info, int owner) { snd_seq_queue_info_set_owner_INDEXED packed_data; packed_data.func = snd_seq_queue_info_set_owner_INDEX; packed_data.args.a1 = (snd_seq_queue_info_t *)info; packed_data.args.a2 = (int)owner; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_info_set_owner(snd_seq_queue_info_t * info, int owner) __attribute__((alias("glshim_snd_seq_queue_info_set_owner"))); #endif #if !defined(skip_client_snd_seq_queue_info_sizeof) && !defined(skip_index_snd_seq_queue_info_sizeof) -size_t snd_seq_queue_info_sizeof() { +size_t glshim_snd_seq_queue_info_sizeof() { snd_seq_queue_info_sizeof_INDEXED packed_data; packed_data.func = snd_seq_queue_info_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_queue_info_sizeof() __attribute__((alias("glshim_snd_seq_queue_info_sizeof"))); #endif #if !defined(skip_client_snd_seq_queue_status_copy) && !defined(skip_index_snd_seq_queue_status_copy) -void snd_seq_queue_status_copy(snd_seq_queue_status_t * dst, const snd_seq_queue_status_t * src) { +void glshim_snd_seq_queue_status_copy(snd_seq_queue_status_t * dst, const snd_seq_queue_status_t * src) { snd_seq_queue_status_copy_INDEXED packed_data; packed_data.func = snd_seq_queue_status_copy_INDEX; packed_data.args.a1 = (snd_seq_queue_status_t *)dst; packed_data.args.a2 = (snd_seq_queue_status_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_status_copy(snd_seq_queue_status_t * dst, const snd_seq_queue_status_t * src) __attribute__((alias("glshim_snd_seq_queue_status_copy"))); #endif #if !defined(skip_client_snd_seq_queue_status_free) && !defined(skip_index_snd_seq_queue_status_free) -void snd_seq_queue_status_free(snd_seq_queue_status_t * ptr) { +void glshim_snd_seq_queue_status_free(snd_seq_queue_status_t * ptr) { snd_seq_queue_status_free_INDEXED packed_data; packed_data.func = snd_seq_queue_status_free_INDEX; packed_data.args.a1 = (snd_seq_queue_status_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_status_free(snd_seq_queue_status_t * ptr) __attribute__((alias("glshim_snd_seq_queue_status_free"))); #endif #if !defined(skip_client_snd_seq_queue_status_get_events) && !defined(skip_index_snd_seq_queue_status_get_events) -int snd_seq_queue_status_get_events(const snd_seq_queue_status_t * info) { +int glshim_snd_seq_queue_status_get_events(const snd_seq_queue_status_t * info) { snd_seq_queue_status_get_events_INDEXED packed_data; packed_data.func = snd_seq_queue_status_get_events_INDEX; packed_data.args.a1 = (snd_seq_queue_status_t *)info; @@ -16148,9 +17724,10 @@ int snd_seq_queue_status_get_events(const snd_seq_queue_status_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_queue_status_get_events(const snd_seq_queue_status_t * info) __attribute__((alias("glshim_snd_seq_queue_status_get_events"))); #endif #if !defined(skip_client_snd_seq_queue_status_get_queue) && !defined(skip_index_snd_seq_queue_status_get_queue) -int snd_seq_queue_status_get_queue(const snd_seq_queue_status_t * info) { +int glshim_snd_seq_queue_status_get_queue(const snd_seq_queue_status_t * info) { snd_seq_queue_status_get_queue_INDEXED packed_data; packed_data.func = snd_seq_queue_status_get_queue_INDEX; packed_data.args.a1 = (snd_seq_queue_status_t *)info; @@ -16158,9 +17735,10 @@ int snd_seq_queue_status_get_queue(const snd_seq_queue_status_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_queue_status_get_queue(const snd_seq_queue_status_t * info) __attribute__((alias("glshim_snd_seq_queue_status_get_queue"))); #endif #if !defined(skip_client_snd_seq_queue_status_get_real_time) && !defined(skip_index_snd_seq_queue_status_get_real_time) -const snd_seq_real_time_t * snd_seq_queue_status_get_real_time(const snd_seq_queue_status_t * info) { +const snd_seq_real_time_t * glshim_snd_seq_queue_status_get_real_time(const snd_seq_queue_status_t * info) { snd_seq_queue_status_get_real_time_INDEXED packed_data; packed_data.func = snd_seq_queue_status_get_real_time_INDEX; packed_data.args.a1 = (snd_seq_queue_status_t *)info; @@ -16168,9 +17746,10 @@ const snd_seq_real_time_t * snd_seq_queue_status_get_real_time(const snd_seq_que syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const snd_seq_real_time_t * snd_seq_queue_status_get_real_time(const snd_seq_queue_status_t * info) __attribute__((alias("glshim_snd_seq_queue_status_get_real_time"))); #endif #if !defined(skip_client_snd_seq_queue_status_get_status) && !defined(skip_index_snd_seq_queue_status_get_status) -unsigned int snd_seq_queue_status_get_status(const snd_seq_queue_status_t * info) { +unsigned int glshim_snd_seq_queue_status_get_status(const snd_seq_queue_status_t * info) { snd_seq_queue_status_get_status_INDEXED packed_data; packed_data.func = snd_seq_queue_status_get_status_INDEX; packed_data.args.a1 = (snd_seq_queue_status_t *)info; @@ -16178,9 +17757,10 @@ unsigned int snd_seq_queue_status_get_status(const snd_seq_queue_status_t * info syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_seq_queue_status_get_status(const snd_seq_queue_status_t * info) __attribute__((alias("glshim_snd_seq_queue_status_get_status"))); #endif #if !defined(skip_client_snd_seq_queue_status_get_tick_time) && !defined(skip_index_snd_seq_queue_status_get_tick_time) -snd_seq_tick_time_t snd_seq_queue_status_get_tick_time(const snd_seq_queue_status_t * info) { +snd_seq_tick_time_t glshim_snd_seq_queue_status_get_tick_time(const snd_seq_queue_status_t * info) { snd_seq_queue_status_get_tick_time_INDEXED packed_data; packed_data.func = snd_seq_queue_status_get_tick_time_INDEX; packed_data.args.a1 = (snd_seq_queue_status_t *)info; @@ -16188,9 +17768,10 @@ snd_seq_tick_time_t snd_seq_queue_status_get_tick_time(const snd_seq_queue_statu syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_seq_tick_time_t snd_seq_queue_status_get_tick_time(const snd_seq_queue_status_t * info) __attribute__((alias("glshim_snd_seq_queue_status_get_tick_time"))); #endif #if !defined(skip_client_snd_seq_queue_status_malloc) && !defined(skip_index_snd_seq_queue_status_malloc) -int snd_seq_queue_status_malloc(snd_seq_queue_status_t ** ptr) { +int glshim_snd_seq_queue_status_malloc(snd_seq_queue_status_t ** ptr) { snd_seq_queue_status_malloc_INDEXED packed_data; packed_data.func = snd_seq_queue_status_malloc_INDEX; packed_data.args.a1 = (snd_seq_queue_status_t **)ptr; @@ -16198,35 +17779,39 @@ int snd_seq_queue_status_malloc(snd_seq_queue_status_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_queue_status_malloc(snd_seq_queue_status_t ** ptr) __attribute__((alias("glshim_snd_seq_queue_status_malloc"))); #endif #if !defined(skip_client_snd_seq_queue_status_sizeof) && !defined(skip_index_snd_seq_queue_status_sizeof) -size_t snd_seq_queue_status_sizeof() { +size_t glshim_snd_seq_queue_status_sizeof() { snd_seq_queue_status_sizeof_INDEXED packed_data; packed_data.func = snd_seq_queue_status_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_queue_status_sizeof() __attribute__((alias("glshim_snd_seq_queue_status_sizeof"))); #endif #if !defined(skip_client_snd_seq_queue_tempo_copy) && !defined(skip_index_snd_seq_queue_tempo_copy) -void snd_seq_queue_tempo_copy(snd_seq_queue_tempo_t * dst, const snd_seq_queue_tempo_t * src) { +void glshim_snd_seq_queue_tempo_copy(snd_seq_queue_tempo_t * dst, const snd_seq_queue_tempo_t * src) { snd_seq_queue_tempo_copy_INDEXED packed_data; packed_data.func = snd_seq_queue_tempo_copy_INDEX; packed_data.args.a1 = (snd_seq_queue_tempo_t *)dst; packed_data.args.a2 = (snd_seq_queue_tempo_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_tempo_copy(snd_seq_queue_tempo_t * dst, const snd_seq_queue_tempo_t * src) __attribute__((alias("glshim_snd_seq_queue_tempo_copy"))); #endif #if !defined(skip_client_snd_seq_queue_tempo_free) && !defined(skip_index_snd_seq_queue_tempo_free) -void snd_seq_queue_tempo_free(snd_seq_queue_tempo_t * ptr) { +void glshim_snd_seq_queue_tempo_free(snd_seq_queue_tempo_t * ptr) { snd_seq_queue_tempo_free_INDEXED packed_data; packed_data.func = snd_seq_queue_tempo_free_INDEX; packed_data.args.a1 = (snd_seq_queue_tempo_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_tempo_free(snd_seq_queue_tempo_t * ptr) __attribute__((alias("glshim_snd_seq_queue_tempo_free"))); #endif #if !defined(skip_client_snd_seq_queue_tempo_get_ppq) && !defined(skip_index_snd_seq_queue_tempo_get_ppq) -int snd_seq_queue_tempo_get_ppq(const snd_seq_queue_tempo_t * info) { +int glshim_snd_seq_queue_tempo_get_ppq(const snd_seq_queue_tempo_t * info) { snd_seq_queue_tempo_get_ppq_INDEXED packed_data; packed_data.func = snd_seq_queue_tempo_get_ppq_INDEX; packed_data.args.a1 = (snd_seq_queue_tempo_t *)info; @@ -16234,9 +17819,10 @@ int snd_seq_queue_tempo_get_ppq(const snd_seq_queue_tempo_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_queue_tempo_get_ppq(const snd_seq_queue_tempo_t * info) __attribute__((alias("glshim_snd_seq_queue_tempo_get_ppq"))); #endif #if !defined(skip_client_snd_seq_queue_tempo_get_queue) && !defined(skip_index_snd_seq_queue_tempo_get_queue) -int snd_seq_queue_tempo_get_queue(const snd_seq_queue_tempo_t * info) { +int glshim_snd_seq_queue_tempo_get_queue(const snd_seq_queue_tempo_t * info) { snd_seq_queue_tempo_get_queue_INDEXED packed_data; packed_data.func = snd_seq_queue_tempo_get_queue_INDEX; packed_data.args.a1 = (snd_seq_queue_tempo_t *)info; @@ -16244,9 +17830,10 @@ int snd_seq_queue_tempo_get_queue(const snd_seq_queue_tempo_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_queue_tempo_get_queue(const snd_seq_queue_tempo_t * info) __attribute__((alias("glshim_snd_seq_queue_tempo_get_queue"))); #endif #if !defined(skip_client_snd_seq_queue_tempo_get_skew) && !defined(skip_index_snd_seq_queue_tempo_get_skew) -unsigned int snd_seq_queue_tempo_get_skew(const snd_seq_queue_tempo_t * info) { +unsigned int glshim_snd_seq_queue_tempo_get_skew(const snd_seq_queue_tempo_t * info) { snd_seq_queue_tempo_get_skew_INDEXED packed_data; packed_data.func = snd_seq_queue_tempo_get_skew_INDEX; packed_data.args.a1 = (snd_seq_queue_tempo_t *)info; @@ -16254,9 +17841,10 @@ unsigned int snd_seq_queue_tempo_get_skew(const snd_seq_queue_tempo_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_seq_queue_tempo_get_skew(const snd_seq_queue_tempo_t * info) __attribute__((alias("glshim_snd_seq_queue_tempo_get_skew"))); #endif #if !defined(skip_client_snd_seq_queue_tempo_get_skew_base) && !defined(skip_index_snd_seq_queue_tempo_get_skew_base) -unsigned int snd_seq_queue_tempo_get_skew_base(const snd_seq_queue_tempo_t * info) { +unsigned int glshim_snd_seq_queue_tempo_get_skew_base(const snd_seq_queue_tempo_t * info) { snd_seq_queue_tempo_get_skew_base_INDEXED packed_data; packed_data.func = snd_seq_queue_tempo_get_skew_base_INDEX; packed_data.args.a1 = (snd_seq_queue_tempo_t *)info; @@ -16264,9 +17852,10 @@ unsigned int snd_seq_queue_tempo_get_skew_base(const snd_seq_queue_tempo_t * inf syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_seq_queue_tempo_get_skew_base(const snd_seq_queue_tempo_t * info) __attribute__((alias("glshim_snd_seq_queue_tempo_get_skew_base"))); #endif #if !defined(skip_client_snd_seq_queue_tempo_get_tempo) && !defined(skip_index_snd_seq_queue_tempo_get_tempo) -unsigned int snd_seq_queue_tempo_get_tempo(const snd_seq_queue_tempo_t * info) { +unsigned int glshim_snd_seq_queue_tempo_get_tempo(const snd_seq_queue_tempo_t * info) { snd_seq_queue_tempo_get_tempo_INDEXED packed_data; packed_data.func = snd_seq_queue_tempo_get_tempo_INDEX; packed_data.args.a1 = (snd_seq_queue_tempo_t *)info; @@ -16274,9 +17863,10 @@ unsigned int snd_seq_queue_tempo_get_tempo(const snd_seq_queue_tempo_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_seq_queue_tempo_get_tempo(const snd_seq_queue_tempo_t * info) __attribute__((alias("glshim_snd_seq_queue_tempo_get_tempo"))); #endif #if !defined(skip_client_snd_seq_queue_tempo_malloc) && !defined(skip_index_snd_seq_queue_tempo_malloc) -int snd_seq_queue_tempo_malloc(snd_seq_queue_tempo_t ** ptr) { +int glshim_snd_seq_queue_tempo_malloc(snd_seq_queue_tempo_t ** ptr) { snd_seq_queue_tempo_malloc_INDEXED packed_data; packed_data.func = snd_seq_queue_tempo_malloc_INDEX; packed_data.args.a1 = (snd_seq_queue_tempo_t **)ptr; @@ -16284,71 +17874,79 @@ int snd_seq_queue_tempo_malloc(snd_seq_queue_tempo_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_queue_tempo_malloc(snd_seq_queue_tempo_t ** ptr) __attribute__((alias("glshim_snd_seq_queue_tempo_malloc"))); #endif #if !defined(skip_client_snd_seq_queue_tempo_set_ppq) && !defined(skip_index_snd_seq_queue_tempo_set_ppq) -void snd_seq_queue_tempo_set_ppq(snd_seq_queue_tempo_t * info, int ppq) { +void glshim_snd_seq_queue_tempo_set_ppq(snd_seq_queue_tempo_t * info, int ppq) { snd_seq_queue_tempo_set_ppq_INDEXED packed_data; packed_data.func = snd_seq_queue_tempo_set_ppq_INDEX; packed_data.args.a1 = (snd_seq_queue_tempo_t *)info; packed_data.args.a2 = (int)ppq; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_tempo_set_ppq(snd_seq_queue_tempo_t * info, int ppq) __attribute__((alias("glshim_snd_seq_queue_tempo_set_ppq"))); #endif #if !defined(skip_client_snd_seq_queue_tempo_set_skew) && !defined(skip_index_snd_seq_queue_tempo_set_skew) -void snd_seq_queue_tempo_set_skew(snd_seq_queue_tempo_t * info, unsigned int skew) { +void glshim_snd_seq_queue_tempo_set_skew(snd_seq_queue_tempo_t * info, unsigned int skew) { snd_seq_queue_tempo_set_skew_INDEXED packed_data; packed_data.func = snd_seq_queue_tempo_set_skew_INDEX; packed_data.args.a1 = (snd_seq_queue_tempo_t *)info; packed_data.args.a2 = (unsigned int)skew; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_tempo_set_skew(snd_seq_queue_tempo_t * info, unsigned int skew) __attribute__((alias("glshim_snd_seq_queue_tempo_set_skew"))); #endif #if !defined(skip_client_snd_seq_queue_tempo_set_skew_base) && !defined(skip_index_snd_seq_queue_tempo_set_skew_base) -void snd_seq_queue_tempo_set_skew_base(snd_seq_queue_tempo_t * info, unsigned int base) { +void glshim_snd_seq_queue_tempo_set_skew_base(snd_seq_queue_tempo_t * info, unsigned int base) { snd_seq_queue_tempo_set_skew_base_INDEXED packed_data; packed_data.func = snd_seq_queue_tempo_set_skew_base_INDEX; packed_data.args.a1 = (snd_seq_queue_tempo_t *)info; packed_data.args.a2 = (unsigned int)base; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_tempo_set_skew_base(snd_seq_queue_tempo_t * info, unsigned int base) __attribute__((alias("glshim_snd_seq_queue_tempo_set_skew_base"))); #endif #if !defined(skip_client_snd_seq_queue_tempo_set_tempo) && !defined(skip_index_snd_seq_queue_tempo_set_tempo) -void snd_seq_queue_tempo_set_tempo(snd_seq_queue_tempo_t * info, unsigned int tempo) { +void glshim_snd_seq_queue_tempo_set_tempo(snd_seq_queue_tempo_t * info, unsigned int tempo) { snd_seq_queue_tempo_set_tempo_INDEXED packed_data; packed_data.func = snd_seq_queue_tempo_set_tempo_INDEX; packed_data.args.a1 = (snd_seq_queue_tempo_t *)info; packed_data.args.a2 = (unsigned int)tempo; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_tempo_set_tempo(snd_seq_queue_tempo_t * info, unsigned int tempo) __attribute__((alias("glshim_snd_seq_queue_tempo_set_tempo"))); #endif #if !defined(skip_client_snd_seq_queue_tempo_sizeof) && !defined(skip_index_snd_seq_queue_tempo_sizeof) -size_t snd_seq_queue_tempo_sizeof() { +size_t glshim_snd_seq_queue_tempo_sizeof() { snd_seq_queue_tempo_sizeof_INDEXED packed_data; packed_data.func = snd_seq_queue_tempo_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_queue_tempo_sizeof() __attribute__((alias("glshim_snd_seq_queue_tempo_sizeof"))); #endif #if !defined(skip_client_snd_seq_queue_timer_copy) && !defined(skip_index_snd_seq_queue_timer_copy) -void snd_seq_queue_timer_copy(snd_seq_queue_timer_t * dst, const snd_seq_queue_timer_t * src) { +void glshim_snd_seq_queue_timer_copy(snd_seq_queue_timer_t * dst, const snd_seq_queue_timer_t * src) { snd_seq_queue_timer_copy_INDEXED packed_data; packed_data.func = snd_seq_queue_timer_copy_INDEX; packed_data.args.a1 = (snd_seq_queue_timer_t *)dst; packed_data.args.a2 = (snd_seq_queue_timer_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_timer_copy(snd_seq_queue_timer_t * dst, const snd_seq_queue_timer_t * src) __attribute__((alias("glshim_snd_seq_queue_timer_copy"))); #endif #if !defined(skip_client_snd_seq_queue_timer_free) && !defined(skip_index_snd_seq_queue_timer_free) -void snd_seq_queue_timer_free(snd_seq_queue_timer_t * ptr) { +void glshim_snd_seq_queue_timer_free(snd_seq_queue_timer_t * ptr) { snd_seq_queue_timer_free_INDEXED packed_data; packed_data.func = snd_seq_queue_timer_free_INDEX; packed_data.args.a1 = (snd_seq_queue_timer_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_timer_free(snd_seq_queue_timer_t * ptr) __attribute__((alias("glshim_snd_seq_queue_timer_free"))); #endif #if !defined(skip_client_snd_seq_queue_timer_get_id) && !defined(skip_index_snd_seq_queue_timer_get_id) -const snd_timer_id_t * snd_seq_queue_timer_get_id(const snd_seq_queue_timer_t * info) { +const snd_timer_id_t * glshim_snd_seq_queue_timer_get_id(const snd_seq_queue_timer_t * info) { snd_seq_queue_timer_get_id_INDEXED packed_data; packed_data.func = snd_seq_queue_timer_get_id_INDEX; packed_data.args.a1 = (snd_seq_queue_timer_t *)info; @@ -16356,9 +17954,10 @@ const snd_timer_id_t * snd_seq_queue_timer_get_id(const snd_seq_queue_timer_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const snd_timer_id_t * snd_seq_queue_timer_get_id(const snd_seq_queue_timer_t * info) __attribute__((alias("glshim_snd_seq_queue_timer_get_id"))); #endif #if !defined(skip_client_snd_seq_queue_timer_get_queue) && !defined(skip_index_snd_seq_queue_timer_get_queue) -int snd_seq_queue_timer_get_queue(const snd_seq_queue_timer_t * info) { +int glshim_snd_seq_queue_timer_get_queue(const snd_seq_queue_timer_t * info) { snd_seq_queue_timer_get_queue_INDEXED packed_data; packed_data.func = snd_seq_queue_timer_get_queue_INDEX; packed_data.args.a1 = (snd_seq_queue_timer_t *)info; @@ -16366,9 +17965,10 @@ int snd_seq_queue_timer_get_queue(const snd_seq_queue_timer_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_queue_timer_get_queue(const snd_seq_queue_timer_t * info) __attribute__((alias("glshim_snd_seq_queue_timer_get_queue"))); #endif #if !defined(skip_client_snd_seq_queue_timer_get_resolution) && !defined(skip_index_snd_seq_queue_timer_get_resolution) -unsigned int snd_seq_queue_timer_get_resolution(const snd_seq_queue_timer_t * info) { +unsigned int glshim_snd_seq_queue_timer_get_resolution(const snd_seq_queue_timer_t * info) { snd_seq_queue_timer_get_resolution_INDEXED packed_data; packed_data.func = snd_seq_queue_timer_get_resolution_INDEX; packed_data.args.a1 = (snd_seq_queue_timer_t *)info; @@ -16376,9 +17976,10 @@ unsigned int snd_seq_queue_timer_get_resolution(const snd_seq_queue_timer_t * in syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_seq_queue_timer_get_resolution(const snd_seq_queue_timer_t * info) __attribute__((alias("glshim_snd_seq_queue_timer_get_resolution"))); #endif #if !defined(skip_client_snd_seq_queue_timer_get_type) && !defined(skip_index_snd_seq_queue_timer_get_type) -snd_seq_queue_timer_type_t snd_seq_queue_timer_get_type(const snd_seq_queue_timer_t * info) { +snd_seq_queue_timer_type_t glshim_snd_seq_queue_timer_get_type(const snd_seq_queue_timer_t * info) { snd_seq_queue_timer_get_type_INDEXED packed_data; packed_data.func = snd_seq_queue_timer_get_type_INDEX; packed_data.args.a1 = (snd_seq_queue_timer_t *)info; @@ -16386,9 +17987,10 @@ snd_seq_queue_timer_type_t snd_seq_queue_timer_get_type(const snd_seq_queue_time syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_seq_queue_timer_type_t snd_seq_queue_timer_get_type(const snd_seq_queue_timer_t * info) __attribute__((alias("glshim_snd_seq_queue_timer_get_type"))); #endif #if !defined(skip_client_snd_seq_queue_timer_malloc) && !defined(skip_index_snd_seq_queue_timer_malloc) -int snd_seq_queue_timer_malloc(snd_seq_queue_timer_t ** ptr) { +int glshim_snd_seq_queue_timer_malloc(snd_seq_queue_timer_t ** ptr) { snd_seq_queue_timer_malloc_INDEXED packed_data; packed_data.func = snd_seq_queue_timer_malloc_INDEX; packed_data.args.a1 = (snd_seq_queue_timer_t **)ptr; @@ -16396,45 +17998,50 @@ int snd_seq_queue_timer_malloc(snd_seq_queue_timer_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_queue_timer_malloc(snd_seq_queue_timer_t ** ptr) __attribute__((alias("glshim_snd_seq_queue_timer_malloc"))); #endif #if !defined(skip_client_snd_seq_queue_timer_set_id) && !defined(skip_index_snd_seq_queue_timer_set_id) -void snd_seq_queue_timer_set_id(snd_seq_queue_timer_t * info, const snd_timer_id_t * id) { +void glshim_snd_seq_queue_timer_set_id(snd_seq_queue_timer_t * info, const snd_timer_id_t * id) { snd_seq_queue_timer_set_id_INDEXED packed_data; packed_data.func = snd_seq_queue_timer_set_id_INDEX; packed_data.args.a1 = (snd_seq_queue_timer_t *)info; packed_data.args.a2 = (snd_timer_id_t *)id; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_timer_set_id(snd_seq_queue_timer_t * info, const snd_timer_id_t * id) __attribute__((alias("glshim_snd_seq_queue_timer_set_id"))); #endif #if !defined(skip_client_snd_seq_queue_timer_set_resolution) && !defined(skip_index_snd_seq_queue_timer_set_resolution) -void snd_seq_queue_timer_set_resolution(snd_seq_queue_timer_t * info, unsigned int resolution) { +void glshim_snd_seq_queue_timer_set_resolution(snd_seq_queue_timer_t * info, unsigned int resolution) { snd_seq_queue_timer_set_resolution_INDEXED packed_data; packed_data.func = snd_seq_queue_timer_set_resolution_INDEX; packed_data.args.a1 = (snd_seq_queue_timer_t *)info; packed_data.args.a2 = (unsigned int)resolution; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_timer_set_resolution(snd_seq_queue_timer_t * info, unsigned int resolution) __attribute__((alias("glshim_snd_seq_queue_timer_set_resolution"))); #endif #if !defined(skip_client_snd_seq_queue_timer_set_type) && !defined(skip_index_snd_seq_queue_timer_set_type) -void snd_seq_queue_timer_set_type(snd_seq_queue_timer_t * info, snd_seq_queue_timer_type_t type) { +void glshim_snd_seq_queue_timer_set_type(snd_seq_queue_timer_t * info, snd_seq_queue_timer_type_t type) { snd_seq_queue_timer_set_type_INDEXED packed_data; packed_data.func = snd_seq_queue_timer_set_type_INDEX; packed_data.args.a1 = (snd_seq_queue_timer_t *)info; packed_data.args.a2 = (snd_seq_queue_timer_type_t)type; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_queue_timer_set_type(snd_seq_queue_timer_t * info, snd_seq_queue_timer_type_t type) __attribute__((alias("glshim_snd_seq_queue_timer_set_type"))); #endif #if !defined(skip_client_snd_seq_queue_timer_sizeof) && !defined(skip_index_snd_seq_queue_timer_sizeof) -size_t snd_seq_queue_timer_sizeof() { +size_t glshim_snd_seq_queue_timer_sizeof() { snd_seq_queue_timer_sizeof_INDEXED packed_data; packed_data.func = snd_seq_queue_timer_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_queue_timer_sizeof() __attribute__((alias("glshim_snd_seq_queue_timer_sizeof"))); #endif #if !defined(skip_client_snd_seq_remove_events) && !defined(skip_index_snd_seq_remove_events) -int snd_seq_remove_events(snd_seq_t * handle, snd_seq_remove_events_t * info) { +int glshim_snd_seq_remove_events(snd_seq_t * handle, snd_seq_remove_events_t * info) { snd_seq_remove_events_INDEXED packed_data; packed_data.func = snd_seq_remove_events_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -16443,26 +18050,29 @@ int snd_seq_remove_events(snd_seq_t * handle, snd_seq_remove_events_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_remove_events(snd_seq_t * handle, snd_seq_remove_events_t * info) __attribute__((alias("glshim_snd_seq_remove_events"))); #endif #if !defined(skip_client_snd_seq_remove_events_copy) && !defined(skip_index_snd_seq_remove_events_copy) -void snd_seq_remove_events_copy(snd_seq_remove_events_t * dst, const snd_seq_remove_events_t * src) { +void glshim_snd_seq_remove_events_copy(snd_seq_remove_events_t * dst, const snd_seq_remove_events_t * src) { snd_seq_remove_events_copy_INDEXED packed_data; packed_data.func = snd_seq_remove_events_copy_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)dst; packed_data.args.a2 = (snd_seq_remove_events_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_remove_events_copy(snd_seq_remove_events_t * dst, const snd_seq_remove_events_t * src) __attribute__((alias("glshim_snd_seq_remove_events_copy"))); #endif #if !defined(skip_client_snd_seq_remove_events_free) && !defined(skip_index_snd_seq_remove_events_free) -void snd_seq_remove_events_free(snd_seq_remove_events_t * ptr) { +void glshim_snd_seq_remove_events_free(snd_seq_remove_events_t * ptr) { snd_seq_remove_events_free_INDEXED packed_data; packed_data.func = snd_seq_remove_events_free_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_remove_events_free(snd_seq_remove_events_t * ptr) __attribute__((alias("glshim_snd_seq_remove_events_free"))); #endif #if !defined(skip_client_snd_seq_remove_events_get_channel) && !defined(skip_index_snd_seq_remove_events_get_channel) -int snd_seq_remove_events_get_channel(const snd_seq_remove_events_t * info) { +int glshim_snd_seq_remove_events_get_channel(const snd_seq_remove_events_t * info) { snd_seq_remove_events_get_channel_INDEXED packed_data; packed_data.func = snd_seq_remove_events_get_channel_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)info; @@ -16470,9 +18080,10 @@ int snd_seq_remove_events_get_channel(const snd_seq_remove_events_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_remove_events_get_channel(const snd_seq_remove_events_t * info) __attribute__((alias("glshim_snd_seq_remove_events_get_channel"))); #endif #if !defined(skip_client_snd_seq_remove_events_get_condition) && !defined(skip_index_snd_seq_remove_events_get_condition) -unsigned int snd_seq_remove_events_get_condition(const snd_seq_remove_events_t * info) { +unsigned int glshim_snd_seq_remove_events_get_condition(const snd_seq_remove_events_t * info) { snd_seq_remove_events_get_condition_INDEXED packed_data; packed_data.func = snd_seq_remove_events_get_condition_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)info; @@ -16480,9 +18091,10 @@ unsigned int snd_seq_remove_events_get_condition(const snd_seq_remove_events_t * syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_seq_remove_events_get_condition(const snd_seq_remove_events_t * info) __attribute__((alias("glshim_snd_seq_remove_events_get_condition"))); #endif #if !defined(skip_client_snd_seq_remove_events_get_dest) && !defined(skip_index_snd_seq_remove_events_get_dest) -const snd_seq_addr_t * snd_seq_remove_events_get_dest(const snd_seq_remove_events_t * info) { +const snd_seq_addr_t * glshim_snd_seq_remove_events_get_dest(const snd_seq_remove_events_t * info) { snd_seq_remove_events_get_dest_INDEXED packed_data; packed_data.func = snd_seq_remove_events_get_dest_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)info; @@ -16490,9 +18102,10 @@ const snd_seq_addr_t * snd_seq_remove_events_get_dest(const snd_seq_remove_event syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const snd_seq_addr_t * snd_seq_remove_events_get_dest(const snd_seq_remove_events_t * info) __attribute__((alias("glshim_snd_seq_remove_events_get_dest"))); #endif #if !defined(skip_client_snd_seq_remove_events_get_event_type) && !defined(skip_index_snd_seq_remove_events_get_event_type) -int snd_seq_remove_events_get_event_type(const snd_seq_remove_events_t * info) { +int glshim_snd_seq_remove_events_get_event_type(const snd_seq_remove_events_t * info) { snd_seq_remove_events_get_event_type_INDEXED packed_data; packed_data.func = snd_seq_remove_events_get_event_type_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)info; @@ -16500,9 +18113,10 @@ int snd_seq_remove_events_get_event_type(const snd_seq_remove_events_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_remove_events_get_event_type(const snd_seq_remove_events_t * info) __attribute__((alias("glshim_snd_seq_remove_events_get_event_type"))); #endif #if !defined(skip_client_snd_seq_remove_events_get_queue) && !defined(skip_index_snd_seq_remove_events_get_queue) -int snd_seq_remove_events_get_queue(const snd_seq_remove_events_t * info) { +int glshim_snd_seq_remove_events_get_queue(const snd_seq_remove_events_t * info) { snd_seq_remove_events_get_queue_INDEXED packed_data; packed_data.func = snd_seq_remove_events_get_queue_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)info; @@ -16510,9 +18124,10 @@ int snd_seq_remove_events_get_queue(const snd_seq_remove_events_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_remove_events_get_queue(const snd_seq_remove_events_t * info) __attribute__((alias("glshim_snd_seq_remove_events_get_queue"))); #endif #if !defined(skip_client_snd_seq_remove_events_get_tag) && !defined(skip_index_snd_seq_remove_events_get_tag) -int snd_seq_remove_events_get_tag(const snd_seq_remove_events_t * info) { +int glshim_snd_seq_remove_events_get_tag(const snd_seq_remove_events_t * info) { snd_seq_remove_events_get_tag_INDEXED packed_data; packed_data.func = snd_seq_remove_events_get_tag_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)info; @@ -16520,9 +18135,10 @@ int snd_seq_remove_events_get_tag(const snd_seq_remove_events_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_remove_events_get_tag(const snd_seq_remove_events_t * info) __attribute__((alias("glshim_snd_seq_remove_events_get_tag"))); #endif #if !defined(skip_client_snd_seq_remove_events_get_time) && !defined(skip_index_snd_seq_remove_events_get_time) -const snd_seq_timestamp_t * snd_seq_remove_events_get_time(const snd_seq_remove_events_t * info) { +const snd_seq_timestamp_t * glshim_snd_seq_remove_events_get_time(const snd_seq_remove_events_t * info) { snd_seq_remove_events_get_time_INDEXED packed_data; packed_data.func = snd_seq_remove_events_get_time_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)info; @@ -16530,9 +18146,10 @@ const snd_seq_timestamp_t * snd_seq_remove_events_get_time(const snd_seq_remove_ syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const snd_seq_timestamp_t * snd_seq_remove_events_get_time(const snd_seq_remove_events_t * info) __attribute__((alias("glshim_snd_seq_remove_events_get_time"))); #endif #if !defined(skip_client_snd_seq_remove_events_malloc) && !defined(skip_index_snd_seq_remove_events_malloc) -int snd_seq_remove_events_malloc(snd_seq_remove_events_t ** ptr) { +int glshim_snd_seq_remove_events_malloc(snd_seq_remove_events_t ** ptr) { snd_seq_remove_events_malloc_INDEXED packed_data; packed_data.func = snd_seq_remove_events_malloc_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t **)ptr; @@ -16540,81 +18157,90 @@ int snd_seq_remove_events_malloc(snd_seq_remove_events_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_remove_events_malloc(snd_seq_remove_events_t ** ptr) __attribute__((alias("glshim_snd_seq_remove_events_malloc"))); #endif #if !defined(skip_client_snd_seq_remove_events_set_channel) && !defined(skip_index_snd_seq_remove_events_set_channel) -void snd_seq_remove_events_set_channel(snd_seq_remove_events_t * info, int channel) { +void glshim_snd_seq_remove_events_set_channel(snd_seq_remove_events_t * info, int channel) { snd_seq_remove_events_set_channel_INDEXED packed_data; packed_data.func = snd_seq_remove_events_set_channel_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)info; packed_data.args.a2 = (int)channel; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_remove_events_set_channel(snd_seq_remove_events_t * info, int channel) __attribute__((alias("glshim_snd_seq_remove_events_set_channel"))); #endif #if !defined(skip_client_snd_seq_remove_events_set_condition) && !defined(skip_index_snd_seq_remove_events_set_condition) -void snd_seq_remove_events_set_condition(snd_seq_remove_events_t * info, unsigned int flags) { +void glshim_snd_seq_remove_events_set_condition(snd_seq_remove_events_t * info, unsigned int flags) { snd_seq_remove_events_set_condition_INDEXED packed_data; packed_data.func = snd_seq_remove_events_set_condition_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)info; packed_data.args.a2 = (unsigned int)flags; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_remove_events_set_condition(snd_seq_remove_events_t * info, unsigned int flags) __attribute__((alias("glshim_snd_seq_remove_events_set_condition"))); #endif #if !defined(skip_client_snd_seq_remove_events_set_dest) && !defined(skip_index_snd_seq_remove_events_set_dest) -void snd_seq_remove_events_set_dest(snd_seq_remove_events_t * info, const snd_seq_addr_t * addr) { +void glshim_snd_seq_remove_events_set_dest(snd_seq_remove_events_t * info, const snd_seq_addr_t * addr) { snd_seq_remove_events_set_dest_INDEXED packed_data; packed_data.func = snd_seq_remove_events_set_dest_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)info; packed_data.args.a2 = (snd_seq_addr_t *)addr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_remove_events_set_dest(snd_seq_remove_events_t * info, const snd_seq_addr_t * addr) __attribute__((alias("glshim_snd_seq_remove_events_set_dest"))); #endif #if !defined(skip_client_snd_seq_remove_events_set_event_type) && !defined(skip_index_snd_seq_remove_events_set_event_type) -void snd_seq_remove_events_set_event_type(snd_seq_remove_events_t * info, int type) { +void glshim_snd_seq_remove_events_set_event_type(snd_seq_remove_events_t * info, int type) { snd_seq_remove_events_set_event_type_INDEXED packed_data; packed_data.func = snd_seq_remove_events_set_event_type_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)info; packed_data.args.a2 = (int)type; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_remove_events_set_event_type(snd_seq_remove_events_t * info, int type) __attribute__((alias("glshim_snd_seq_remove_events_set_event_type"))); #endif #if !defined(skip_client_snd_seq_remove_events_set_queue) && !defined(skip_index_snd_seq_remove_events_set_queue) -void snd_seq_remove_events_set_queue(snd_seq_remove_events_t * info, int queue) { +void glshim_snd_seq_remove_events_set_queue(snd_seq_remove_events_t * info, int queue) { snd_seq_remove_events_set_queue_INDEXED packed_data; packed_data.func = snd_seq_remove_events_set_queue_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)info; packed_data.args.a2 = (int)queue; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_remove_events_set_queue(snd_seq_remove_events_t * info, int queue) __attribute__((alias("glshim_snd_seq_remove_events_set_queue"))); #endif #if !defined(skip_client_snd_seq_remove_events_set_tag) && !defined(skip_index_snd_seq_remove_events_set_tag) -void snd_seq_remove_events_set_tag(snd_seq_remove_events_t * info, int tag) { +void glshim_snd_seq_remove_events_set_tag(snd_seq_remove_events_t * info, int tag) { snd_seq_remove_events_set_tag_INDEXED packed_data; packed_data.func = snd_seq_remove_events_set_tag_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)info; packed_data.args.a2 = (int)tag; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_remove_events_set_tag(snd_seq_remove_events_t * info, int tag) __attribute__((alias("glshim_snd_seq_remove_events_set_tag"))); #endif #if !defined(skip_client_snd_seq_remove_events_set_time) && !defined(skip_index_snd_seq_remove_events_set_time) -void snd_seq_remove_events_set_time(snd_seq_remove_events_t * info, const snd_seq_timestamp_t * time) { +void glshim_snd_seq_remove_events_set_time(snd_seq_remove_events_t * info, const snd_seq_timestamp_t * time) { snd_seq_remove_events_set_time_INDEXED packed_data; packed_data.func = snd_seq_remove_events_set_time_INDEX; packed_data.args.a1 = (snd_seq_remove_events_t *)info; packed_data.args.a2 = (snd_seq_timestamp_t *)time; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_remove_events_set_time(snd_seq_remove_events_t * info, const snd_seq_timestamp_t * time) __attribute__((alias("glshim_snd_seq_remove_events_set_time"))); #endif #if !defined(skip_client_snd_seq_remove_events_sizeof) && !defined(skip_index_snd_seq_remove_events_sizeof) -size_t snd_seq_remove_events_sizeof() { +size_t glshim_snd_seq_remove_events_sizeof() { snd_seq_remove_events_sizeof_INDEXED packed_data; packed_data.func = snd_seq_remove_events_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_remove_events_sizeof() __attribute__((alias("glshim_snd_seq_remove_events_sizeof"))); #endif #if !defined(skip_client_snd_seq_reset_pool_input) && !defined(skip_index_snd_seq_reset_pool_input) -int snd_seq_reset_pool_input(snd_seq_t * seq) { +int glshim_snd_seq_reset_pool_input(snd_seq_t * seq) { snd_seq_reset_pool_input_INDEXED packed_data; packed_data.func = snd_seq_reset_pool_input_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -16622,9 +18248,10 @@ int snd_seq_reset_pool_input(snd_seq_t * seq) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_reset_pool_input(snd_seq_t * seq) __attribute__((alias("glshim_snd_seq_reset_pool_input"))); #endif #if !defined(skip_client_snd_seq_reset_pool_output) && !defined(skip_index_snd_seq_reset_pool_output) -int snd_seq_reset_pool_output(snd_seq_t * seq) { +int glshim_snd_seq_reset_pool_output(snd_seq_t * seq) { snd_seq_reset_pool_output_INDEXED packed_data; packed_data.func = snd_seq_reset_pool_output_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -16632,18 +18259,20 @@ int snd_seq_reset_pool_output(snd_seq_t * seq) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_reset_pool_output(snd_seq_t * seq) __attribute__((alias("glshim_snd_seq_reset_pool_output"))); #endif #if !defined(skip_client_snd_seq_set_bit) && !defined(skip_index_snd_seq_set_bit) -void snd_seq_set_bit(int nr, void * array) { +void glshim_snd_seq_set_bit(int nr, void * array) { snd_seq_set_bit_INDEXED packed_data; packed_data.func = snd_seq_set_bit_INDEX; packed_data.args.a1 = (int)nr; packed_data.args.a2 = (void *)array; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_set_bit(int nr, void * array) __attribute__((alias("glshim_snd_seq_set_bit"))); #endif #if !defined(skip_client_snd_seq_set_client_event_filter) && !defined(skip_index_snd_seq_set_client_event_filter) -int snd_seq_set_client_event_filter(snd_seq_t * seq, int event_type) { +int glshim_snd_seq_set_client_event_filter(snd_seq_t * seq, int event_type) { snd_seq_set_client_event_filter_INDEXED packed_data; packed_data.func = snd_seq_set_client_event_filter_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -16652,9 +18281,10 @@ int snd_seq_set_client_event_filter(snd_seq_t * seq, int event_type) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_set_client_event_filter(snd_seq_t * seq, int event_type) __attribute__((alias("glshim_snd_seq_set_client_event_filter"))); #endif #if !defined(skip_client_snd_seq_set_client_info) && !defined(skip_index_snd_seq_set_client_info) -int snd_seq_set_client_info(snd_seq_t * handle, snd_seq_client_info_t * info) { +int glshim_snd_seq_set_client_info(snd_seq_t * handle, snd_seq_client_info_t * info) { snd_seq_set_client_info_INDEXED packed_data; packed_data.func = snd_seq_set_client_info_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -16663,9 +18293,10 @@ int snd_seq_set_client_info(snd_seq_t * handle, snd_seq_client_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_set_client_info(snd_seq_t * handle, snd_seq_client_info_t * info) __attribute__((alias("glshim_snd_seq_set_client_info"))); #endif #if !defined(skip_client_snd_seq_set_client_name) && !defined(skip_index_snd_seq_set_client_name) -int snd_seq_set_client_name(snd_seq_t * seq, const char * name) { +int glshim_snd_seq_set_client_name(snd_seq_t * seq, const char * name) { snd_seq_set_client_name_INDEXED packed_data; packed_data.func = snd_seq_set_client_name_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -16674,9 +18305,10 @@ int snd_seq_set_client_name(snd_seq_t * seq, const char * name) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_set_client_name(snd_seq_t * seq, const char * name) __attribute__((alias("glshim_snd_seq_set_client_name"))); #endif #if !defined(skip_client_snd_seq_set_client_pool) && !defined(skip_index_snd_seq_set_client_pool) -int snd_seq_set_client_pool(snd_seq_t * handle, snd_seq_client_pool_t * info) { +int glshim_snd_seq_set_client_pool(snd_seq_t * handle, snd_seq_client_pool_t * info) { snd_seq_set_client_pool_INDEXED packed_data; packed_data.func = snd_seq_set_client_pool_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -16685,9 +18317,10 @@ int snd_seq_set_client_pool(snd_seq_t * handle, snd_seq_client_pool_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_set_client_pool(snd_seq_t * handle, snd_seq_client_pool_t * info) __attribute__((alias("glshim_snd_seq_set_client_pool"))); #endif #if !defined(skip_client_snd_seq_set_client_pool_input) && !defined(skip_index_snd_seq_set_client_pool_input) -int snd_seq_set_client_pool_input(snd_seq_t * seq, size_t size) { +int glshim_snd_seq_set_client_pool_input(snd_seq_t * seq, size_t size) { snd_seq_set_client_pool_input_INDEXED packed_data; packed_data.func = snd_seq_set_client_pool_input_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -16696,9 +18329,10 @@ int snd_seq_set_client_pool_input(snd_seq_t * seq, size_t size) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_set_client_pool_input(snd_seq_t * seq, size_t size) __attribute__((alias("glshim_snd_seq_set_client_pool_input"))); #endif #if !defined(skip_client_snd_seq_set_client_pool_output_room) && !defined(skip_index_snd_seq_set_client_pool_output_room) -int snd_seq_set_client_pool_output_room(snd_seq_t * seq, size_t size) { +int glshim_snd_seq_set_client_pool_output_room(snd_seq_t * seq, size_t size) { snd_seq_set_client_pool_output_room_INDEXED packed_data; packed_data.func = snd_seq_set_client_pool_output_room_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -16707,9 +18341,10 @@ int snd_seq_set_client_pool_output_room(snd_seq_t * seq, size_t size) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_set_client_pool_output_room(snd_seq_t * seq, size_t size) __attribute__((alias("glshim_snd_seq_set_client_pool_output_room"))); #endif #if !defined(skip_client_snd_seq_set_input_buffer_size) && !defined(skip_index_snd_seq_set_input_buffer_size) -int snd_seq_set_input_buffer_size(snd_seq_t * handle, size_t size) { +int glshim_snd_seq_set_input_buffer_size(snd_seq_t * handle, size_t size) { snd_seq_set_input_buffer_size_INDEXED packed_data; packed_data.func = snd_seq_set_input_buffer_size_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -16718,9 +18353,10 @@ int snd_seq_set_input_buffer_size(snd_seq_t * handle, size_t size) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_set_input_buffer_size(snd_seq_t * handle, size_t size) __attribute__((alias("glshim_snd_seq_set_input_buffer_size"))); #endif #if !defined(skip_client_snd_seq_set_output_buffer_size) && !defined(skip_index_snd_seq_set_output_buffer_size) -int snd_seq_set_output_buffer_size(snd_seq_t * handle, size_t size) { +int glshim_snd_seq_set_output_buffer_size(snd_seq_t * handle, size_t size) { snd_seq_set_output_buffer_size_INDEXED packed_data; packed_data.func = snd_seq_set_output_buffer_size_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -16729,9 +18365,10 @@ int snd_seq_set_output_buffer_size(snd_seq_t * handle, size_t size) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_set_output_buffer_size(snd_seq_t * handle, size_t size) __attribute__((alias("glshim_snd_seq_set_output_buffer_size"))); #endif #if !defined(skip_client_snd_seq_set_port_info) && !defined(skip_index_snd_seq_set_port_info) -int snd_seq_set_port_info(snd_seq_t * handle, int port, snd_seq_port_info_t * info) { +int glshim_snd_seq_set_port_info(snd_seq_t * handle, int port, snd_seq_port_info_t * info) { snd_seq_set_port_info_INDEXED packed_data; packed_data.func = snd_seq_set_port_info_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -16741,9 +18378,10 @@ int snd_seq_set_port_info(snd_seq_t * handle, int port, snd_seq_port_info_t * in syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_set_port_info(snd_seq_t * handle, int port, snd_seq_port_info_t * info) __attribute__((alias("glshim_snd_seq_set_port_info"))); #endif #if !defined(skip_client_snd_seq_set_queue_info) && !defined(skip_index_snd_seq_set_queue_info) -int snd_seq_set_queue_info(snd_seq_t * seq, int q, snd_seq_queue_info_t * info) { +int glshim_snd_seq_set_queue_info(snd_seq_t * seq, int q, snd_seq_queue_info_t * info) { snd_seq_set_queue_info_INDEXED packed_data; packed_data.func = snd_seq_set_queue_info_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -16753,9 +18391,10 @@ int snd_seq_set_queue_info(snd_seq_t * seq, int q, snd_seq_queue_info_t * info) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_set_queue_info(snd_seq_t * seq, int q, snd_seq_queue_info_t * info) __attribute__((alias("glshim_snd_seq_set_queue_info"))); #endif #if !defined(skip_client_snd_seq_set_queue_tempo) && !defined(skip_index_snd_seq_set_queue_tempo) -int snd_seq_set_queue_tempo(snd_seq_t * handle, int q, snd_seq_queue_tempo_t * tempo) { +int glshim_snd_seq_set_queue_tempo(snd_seq_t * handle, int q, snd_seq_queue_tempo_t * tempo) { snd_seq_set_queue_tempo_INDEXED packed_data; packed_data.func = snd_seq_set_queue_tempo_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -16765,9 +18404,10 @@ int snd_seq_set_queue_tempo(snd_seq_t * handle, int q, snd_seq_queue_tempo_t * t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_set_queue_tempo(snd_seq_t * handle, int q, snd_seq_queue_tempo_t * tempo) __attribute__((alias("glshim_snd_seq_set_queue_tempo"))); #endif #if !defined(skip_client_snd_seq_set_queue_timer) && !defined(skip_index_snd_seq_set_queue_timer) -int snd_seq_set_queue_timer(snd_seq_t * handle, int q, snd_seq_queue_timer_t * timer) { +int glshim_snd_seq_set_queue_timer(snd_seq_t * handle, int q, snd_seq_queue_timer_t * timer) { snd_seq_set_queue_timer_INDEXED packed_data; packed_data.func = snd_seq_set_queue_timer_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -16777,9 +18417,10 @@ int snd_seq_set_queue_timer(snd_seq_t * handle, int q, snd_seq_queue_timer_t * t syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_set_queue_timer(snd_seq_t * handle, int q, snd_seq_queue_timer_t * timer) __attribute__((alias("glshim_snd_seq_set_queue_timer"))); #endif #if !defined(skip_client_snd_seq_set_queue_usage) && !defined(skip_index_snd_seq_set_queue_usage) -int snd_seq_set_queue_usage(snd_seq_t * handle, int q, int used) { +int glshim_snd_seq_set_queue_usage(snd_seq_t * handle, int q, int used) { snd_seq_set_queue_usage_INDEXED packed_data; packed_data.func = snd_seq_set_queue_usage_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -16789,9 +18430,10 @@ int snd_seq_set_queue_usage(snd_seq_t * handle, int q, int used) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_set_queue_usage(snd_seq_t * handle, int q, int used) __attribute__((alias("glshim_snd_seq_set_queue_usage"))); #endif #if !defined(skip_client_snd_seq_subscribe_port) && !defined(skip_index_snd_seq_subscribe_port) -int snd_seq_subscribe_port(snd_seq_t * handle, snd_seq_port_subscribe_t * sub) { +int glshim_snd_seq_subscribe_port(snd_seq_t * handle, snd_seq_port_subscribe_t * sub) { snd_seq_subscribe_port_INDEXED packed_data; packed_data.func = snd_seq_subscribe_port_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -16800,9 +18442,10 @@ int snd_seq_subscribe_port(snd_seq_t * handle, snd_seq_port_subscribe_t * sub) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_subscribe_port(snd_seq_t * handle, snd_seq_port_subscribe_t * sub) __attribute__((alias("glshim_snd_seq_subscribe_port"))); #endif #if !defined(skip_client_snd_seq_sync_output_queue) && !defined(skip_index_snd_seq_sync_output_queue) -int snd_seq_sync_output_queue(snd_seq_t * seq) { +int glshim_snd_seq_sync_output_queue(snd_seq_t * seq) { snd_seq_sync_output_queue_INDEXED packed_data; packed_data.func = snd_seq_sync_output_queue_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -16810,9 +18453,10 @@ int snd_seq_sync_output_queue(snd_seq_t * seq) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_sync_output_queue(snd_seq_t * seq) __attribute__((alias("glshim_snd_seq_sync_output_queue"))); #endif #if !defined(skip_client_snd_seq_system_info) && !defined(skip_index_snd_seq_system_info) -int snd_seq_system_info(snd_seq_t * handle, snd_seq_system_info_t * info) { +int glshim_snd_seq_system_info(snd_seq_t * handle, snd_seq_system_info_t * info) { snd_seq_system_info_INDEXED packed_data; packed_data.func = snd_seq_system_info_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -16821,26 +18465,29 @@ int snd_seq_system_info(snd_seq_t * handle, snd_seq_system_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_system_info(snd_seq_t * handle, snd_seq_system_info_t * info) __attribute__((alias("glshim_snd_seq_system_info"))); #endif #if !defined(skip_client_snd_seq_system_info_copy) && !defined(skip_index_snd_seq_system_info_copy) -void snd_seq_system_info_copy(snd_seq_system_info_t * dst, const snd_seq_system_info_t * src) { +void glshim_snd_seq_system_info_copy(snd_seq_system_info_t * dst, const snd_seq_system_info_t * src) { snd_seq_system_info_copy_INDEXED packed_data; packed_data.func = snd_seq_system_info_copy_INDEX; packed_data.args.a1 = (snd_seq_system_info_t *)dst; packed_data.args.a2 = (snd_seq_system_info_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_system_info_copy(snd_seq_system_info_t * dst, const snd_seq_system_info_t * src) __attribute__((alias("glshim_snd_seq_system_info_copy"))); #endif #if !defined(skip_client_snd_seq_system_info_free) && !defined(skip_index_snd_seq_system_info_free) -void snd_seq_system_info_free(snd_seq_system_info_t * ptr) { +void glshim_snd_seq_system_info_free(snd_seq_system_info_t * ptr) { snd_seq_system_info_free_INDEXED packed_data; packed_data.func = snd_seq_system_info_free_INDEX; packed_data.args.a1 = (snd_seq_system_info_t *)ptr; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_seq_system_info_free(snd_seq_system_info_t * ptr) __attribute__((alias("glshim_snd_seq_system_info_free"))); #endif #if !defined(skip_client_snd_seq_system_info_get_channels) && !defined(skip_index_snd_seq_system_info_get_channels) -int snd_seq_system_info_get_channels(const snd_seq_system_info_t * info) { +int glshim_snd_seq_system_info_get_channels(const snd_seq_system_info_t * info) { snd_seq_system_info_get_channels_INDEXED packed_data; packed_data.func = snd_seq_system_info_get_channels_INDEX; packed_data.args.a1 = (snd_seq_system_info_t *)info; @@ -16848,9 +18495,10 @@ int snd_seq_system_info_get_channels(const snd_seq_system_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_system_info_get_channels(const snd_seq_system_info_t * info) __attribute__((alias("glshim_snd_seq_system_info_get_channels"))); #endif #if !defined(skip_client_snd_seq_system_info_get_clients) && !defined(skip_index_snd_seq_system_info_get_clients) -int snd_seq_system_info_get_clients(const snd_seq_system_info_t * info) { +int glshim_snd_seq_system_info_get_clients(const snd_seq_system_info_t * info) { snd_seq_system_info_get_clients_INDEXED packed_data; packed_data.func = snd_seq_system_info_get_clients_INDEX; packed_data.args.a1 = (snd_seq_system_info_t *)info; @@ -16858,9 +18506,10 @@ int snd_seq_system_info_get_clients(const snd_seq_system_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_system_info_get_clients(const snd_seq_system_info_t * info) __attribute__((alias("glshim_snd_seq_system_info_get_clients"))); #endif #if !defined(skip_client_snd_seq_system_info_get_cur_clients) && !defined(skip_index_snd_seq_system_info_get_cur_clients) -int snd_seq_system_info_get_cur_clients(const snd_seq_system_info_t * info) { +int glshim_snd_seq_system_info_get_cur_clients(const snd_seq_system_info_t * info) { snd_seq_system_info_get_cur_clients_INDEXED packed_data; packed_data.func = snd_seq_system_info_get_cur_clients_INDEX; packed_data.args.a1 = (snd_seq_system_info_t *)info; @@ -16868,9 +18517,10 @@ int snd_seq_system_info_get_cur_clients(const snd_seq_system_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_system_info_get_cur_clients(const snd_seq_system_info_t * info) __attribute__((alias("glshim_snd_seq_system_info_get_cur_clients"))); #endif #if !defined(skip_client_snd_seq_system_info_get_cur_queues) && !defined(skip_index_snd_seq_system_info_get_cur_queues) -int snd_seq_system_info_get_cur_queues(const snd_seq_system_info_t * info) { +int glshim_snd_seq_system_info_get_cur_queues(const snd_seq_system_info_t * info) { snd_seq_system_info_get_cur_queues_INDEXED packed_data; packed_data.func = snd_seq_system_info_get_cur_queues_INDEX; packed_data.args.a1 = (snd_seq_system_info_t *)info; @@ -16878,9 +18528,10 @@ int snd_seq_system_info_get_cur_queues(const snd_seq_system_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_system_info_get_cur_queues(const snd_seq_system_info_t * info) __attribute__((alias("glshim_snd_seq_system_info_get_cur_queues"))); #endif #if !defined(skip_client_snd_seq_system_info_get_ports) && !defined(skip_index_snd_seq_system_info_get_ports) -int snd_seq_system_info_get_ports(const snd_seq_system_info_t * info) { +int glshim_snd_seq_system_info_get_ports(const snd_seq_system_info_t * info) { snd_seq_system_info_get_ports_INDEXED packed_data; packed_data.func = snd_seq_system_info_get_ports_INDEX; packed_data.args.a1 = (snd_seq_system_info_t *)info; @@ -16888,9 +18539,10 @@ int snd_seq_system_info_get_ports(const snd_seq_system_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_system_info_get_ports(const snd_seq_system_info_t * info) __attribute__((alias("glshim_snd_seq_system_info_get_ports"))); #endif #if !defined(skip_client_snd_seq_system_info_get_queues) && !defined(skip_index_snd_seq_system_info_get_queues) -int snd_seq_system_info_get_queues(const snd_seq_system_info_t * info) { +int glshim_snd_seq_system_info_get_queues(const snd_seq_system_info_t * info) { snd_seq_system_info_get_queues_INDEXED packed_data; packed_data.func = snd_seq_system_info_get_queues_INDEX; packed_data.args.a1 = (snd_seq_system_info_t *)info; @@ -16898,9 +18550,10 @@ int snd_seq_system_info_get_queues(const snd_seq_system_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_system_info_get_queues(const snd_seq_system_info_t * info) __attribute__((alias("glshim_snd_seq_system_info_get_queues"))); #endif #if !defined(skip_client_snd_seq_system_info_malloc) && !defined(skip_index_snd_seq_system_info_malloc) -int snd_seq_system_info_malloc(snd_seq_system_info_t ** ptr) { +int glshim_snd_seq_system_info_malloc(snd_seq_system_info_t ** ptr) { snd_seq_system_info_malloc_INDEXED packed_data; packed_data.func = snd_seq_system_info_malloc_INDEX; packed_data.args.a1 = (snd_seq_system_info_t **)ptr; @@ -16908,18 +18561,20 @@ int snd_seq_system_info_malloc(snd_seq_system_info_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_system_info_malloc(snd_seq_system_info_t ** ptr) __attribute__((alias("glshim_snd_seq_system_info_malloc"))); #endif #if !defined(skip_client_snd_seq_system_info_sizeof) && !defined(skip_index_snd_seq_system_info_sizeof) -size_t snd_seq_system_info_sizeof() { +size_t glshim_snd_seq_system_info_sizeof() { snd_seq_system_info_sizeof_INDEXED packed_data; packed_data.func = snd_seq_system_info_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_seq_system_info_sizeof() __attribute__((alias("glshim_snd_seq_system_info_sizeof"))); #endif #if !defined(skip_client_snd_seq_type) && !defined(skip_index_snd_seq_type) -snd_seq_type_t snd_seq_type(snd_seq_t * seq) { +snd_seq_type_t glshim_snd_seq_type(snd_seq_t * seq) { snd_seq_type_INDEXED packed_data; packed_data.func = snd_seq_type_INDEX; packed_data.args.a1 = (snd_seq_t *)seq; @@ -16927,9 +18582,10 @@ snd_seq_type_t snd_seq_type(snd_seq_t * seq) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_seq_type_t snd_seq_type(snd_seq_t * seq) __attribute__((alias("glshim_snd_seq_type"))); #endif #if !defined(skip_client_snd_seq_unsubscribe_port) && !defined(skip_index_snd_seq_unsubscribe_port) -int snd_seq_unsubscribe_port(snd_seq_t * handle, snd_seq_port_subscribe_t * sub) { +int glshim_snd_seq_unsubscribe_port(snd_seq_t * handle, snd_seq_port_subscribe_t * sub) { snd_seq_unsubscribe_port_INDEXED packed_data; packed_data.func = snd_seq_unsubscribe_port_INDEX; packed_data.args.a1 = (snd_seq_t *)handle; @@ -16938,9 +18594,10 @@ int snd_seq_unsubscribe_port(snd_seq_t * handle, snd_seq_port_subscribe_t * sub) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_seq_unsubscribe_port(snd_seq_t * handle, snd_seq_port_subscribe_t * sub) __attribute__((alias("glshim_snd_seq_unsubscribe_port"))); #endif #if !defined(skip_client_snd_shm_area_create) && !defined(skip_index_snd_shm_area_create) -struct snd_shm_area * snd_shm_area_create(int shmid, void * ptr) { +struct snd_shm_area * glshim_snd_shm_area_create(int shmid, void * ptr) { snd_shm_area_create_INDEXED packed_data; packed_data.func = snd_shm_area_create_INDEX; packed_data.args.a1 = (int)shmid; @@ -16949,9 +18606,10 @@ struct snd_shm_area * snd_shm_area_create(int shmid, void * ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +struct snd_shm_area * snd_shm_area_create(int shmid, void * ptr) __attribute__((alias("glshim_snd_shm_area_create"))); #endif #if !defined(skip_client_snd_shm_area_destroy) && !defined(skip_index_snd_shm_area_destroy) -int snd_shm_area_destroy(struct snd_shm_area * area) { +int glshim_snd_shm_area_destroy(struct snd_shm_area * area) { snd_shm_area_destroy_INDEXED packed_data; packed_data.func = snd_shm_area_destroy_INDEX; packed_data.args.a1 = (struct snd_shm_area *)area; @@ -16959,9 +18617,10 @@ int snd_shm_area_destroy(struct snd_shm_area * area) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_shm_area_destroy(struct snd_shm_area * area) __attribute__((alias("glshim_snd_shm_area_destroy"))); #endif #if !defined(skip_client_snd_shm_area_share) && !defined(skip_index_snd_shm_area_share) -struct snd_shm_area * snd_shm_area_share(struct snd_shm_area * area) { +struct snd_shm_area * glshim_snd_shm_area_share(struct snd_shm_area * area) { snd_shm_area_share_INDEXED packed_data; packed_data.func = snd_shm_area_share_INDEX; packed_data.args.a1 = (struct snd_shm_area *)area; @@ -16969,9 +18628,10 @@ struct snd_shm_area * snd_shm_area_share(struct snd_shm_area * area) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +struct snd_shm_area * snd_shm_area_share(struct snd_shm_area * area) __attribute__((alias("glshim_snd_shm_area_share"))); #endif #if !defined(skip_client_snd_spcm_init) && !defined(skip_index_snd_spcm_init) -int snd_spcm_init(snd_pcm_t * pcm, unsigned int rate, unsigned int channels, snd_pcm_format_t format, snd_pcm_subformat_t subformat, snd_spcm_latency_t latency, snd_pcm_access_t _access, snd_spcm_xrun_type_t xrun_type) { +int glshim_snd_spcm_init(snd_pcm_t * pcm, unsigned int rate, unsigned int channels, snd_pcm_format_t format, snd_pcm_subformat_t subformat, snd_spcm_latency_t latency, snd_pcm_access_t _access, snd_spcm_xrun_type_t xrun_type) { snd_spcm_init_INDEXED packed_data; packed_data.func = snd_spcm_init_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -16986,9 +18646,10 @@ int snd_spcm_init(snd_pcm_t * pcm, unsigned int rate, unsigned int channels, snd syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_spcm_init(snd_pcm_t * pcm, unsigned int rate, unsigned int channels, snd_pcm_format_t format, snd_pcm_subformat_t subformat, snd_spcm_latency_t latency, snd_pcm_access_t _access, snd_spcm_xrun_type_t xrun_type) __attribute__((alias("glshim_snd_spcm_init"))); #endif #if !defined(skip_client_snd_spcm_init_duplex) && !defined(skip_index_snd_spcm_init_duplex) -int snd_spcm_init_duplex(snd_pcm_t * playback_pcm, snd_pcm_t * capture_pcm, unsigned int rate, unsigned int channels, snd_pcm_format_t format, snd_pcm_subformat_t subformat, snd_spcm_latency_t latency, snd_pcm_access_t _access, snd_spcm_xrun_type_t xrun_type, snd_spcm_duplex_type_t duplex_type) { +int glshim_snd_spcm_init_duplex(snd_pcm_t * playback_pcm, snd_pcm_t * capture_pcm, unsigned int rate, unsigned int channels, snd_pcm_format_t format, snd_pcm_subformat_t subformat, snd_spcm_latency_t latency, snd_pcm_access_t _access, snd_spcm_xrun_type_t xrun_type, snd_spcm_duplex_type_t duplex_type) { snd_spcm_init_duplex_INDEXED packed_data; packed_data.func = snd_spcm_init_duplex_INDEX; packed_data.args.a1 = (snd_pcm_t *)playback_pcm; @@ -17005,9 +18666,10 @@ int snd_spcm_init_duplex(snd_pcm_t * playback_pcm, snd_pcm_t * capture_pcm, unsi syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_spcm_init_duplex(snd_pcm_t * playback_pcm, snd_pcm_t * capture_pcm, unsigned int rate, unsigned int channels, snd_pcm_format_t format, snd_pcm_subformat_t subformat, snd_spcm_latency_t latency, snd_pcm_access_t _access, snd_spcm_xrun_type_t xrun_type, snd_spcm_duplex_type_t duplex_type) __attribute__((alias("glshim_snd_spcm_init_duplex"))); #endif #if !defined(skip_client_snd_spcm_init_get_params) && !defined(skip_index_snd_spcm_init_get_params) -int snd_spcm_init_get_params(snd_pcm_t * pcm, unsigned int * rate, snd_pcm_uframes_t * buffer_size, snd_pcm_uframes_t * period_size) { +int glshim_snd_spcm_init_get_params(snd_pcm_t * pcm, unsigned int * rate, snd_pcm_uframes_t * buffer_size, snd_pcm_uframes_t * period_size) { snd_spcm_init_get_params_INDEXED packed_data; packed_data.func = snd_spcm_init_get_params_INDEX; packed_data.args.a1 = (snd_pcm_t *)pcm; @@ -17018,9 +18680,10 @@ int snd_spcm_init_get_params(snd_pcm_t * pcm, unsigned int * rate, snd_pcm_ufram syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_spcm_init_get_params(snd_pcm_t * pcm, unsigned int * rate, snd_pcm_uframes_t * buffer_size, snd_pcm_uframes_t * period_size) __attribute__((alias("glshim_snd_spcm_init_get_params"))); #endif #if !defined(skip_client_snd_strerror) && !defined(skip_index_snd_strerror) -const char * snd_strerror(int errnum) { +const char * glshim_snd_strerror(int errnum) { snd_strerror_INDEXED packed_data; packed_data.func = snd_strerror_INDEX; packed_data.args.a1 = (int)errnum; @@ -17028,9 +18691,10 @@ const char * snd_strerror(int errnum) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_strerror(int errnum) __attribute__((alias("glshim_snd_strerror"))); #endif #if !defined(skip_client_snd_timer_close) && !defined(skip_index_snd_timer_close) -int snd_timer_close(snd_timer_t * handle) { +int glshim_snd_timer_close(snd_timer_t * handle) { snd_timer_close_INDEXED packed_data; packed_data.func = snd_timer_close_INDEX; packed_data.args.a1 = (snd_timer_t *)handle; @@ -17038,9 +18702,10 @@ int snd_timer_close(snd_timer_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_close(snd_timer_t * handle) __attribute__((alias("glshim_snd_timer_close"))); #endif #if !defined(skip_client_snd_timer_continue) && !defined(skip_index_snd_timer_continue) -int snd_timer_continue(snd_timer_t * handle) { +int glshim_snd_timer_continue(snd_timer_t * handle) { snd_timer_continue_INDEXED packed_data; packed_data.func = snd_timer_continue_INDEX; packed_data.args.a1 = (snd_timer_t *)handle; @@ -17048,26 +18713,29 @@ int snd_timer_continue(snd_timer_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_continue(snd_timer_t * handle) __attribute__((alias("glshim_snd_timer_continue"))); #endif #if !defined(skip_client_snd_timer_ginfo_copy) && !defined(skip_index_snd_timer_ginfo_copy) -void snd_timer_ginfo_copy(snd_timer_ginfo_t * dst, const snd_timer_ginfo_t * src) { +void glshim_snd_timer_ginfo_copy(snd_timer_ginfo_t * dst, const snd_timer_ginfo_t * src) { snd_timer_ginfo_copy_INDEXED packed_data; packed_data.func = snd_timer_ginfo_copy_INDEX; packed_data.args.a1 = (snd_timer_ginfo_t *)dst; packed_data.args.a2 = (snd_timer_ginfo_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_ginfo_copy(snd_timer_ginfo_t * dst, const snd_timer_ginfo_t * src) __attribute__((alias("glshim_snd_timer_ginfo_copy"))); #endif #if !defined(skip_client_snd_timer_ginfo_free) && !defined(skip_index_snd_timer_ginfo_free) -void snd_timer_ginfo_free(snd_timer_ginfo_t * obj) { +void glshim_snd_timer_ginfo_free(snd_timer_ginfo_t * obj) { snd_timer_ginfo_free_INDEXED packed_data; packed_data.func = snd_timer_ginfo_free_INDEX; packed_data.args.a1 = (snd_timer_ginfo_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_ginfo_free(snd_timer_ginfo_t * obj) __attribute__((alias("glshim_snd_timer_ginfo_free"))); #endif #if !defined(skip_client_snd_timer_ginfo_get_card) && !defined(skip_index_snd_timer_ginfo_get_card) -int snd_timer_ginfo_get_card(snd_timer_ginfo_t * obj) { +int glshim_snd_timer_ginfo_get_card(snd_timer_ginfo_t * obj) { snd_timer_ginfo_get_card_INDEXED packed_data; packed_data.func = snd_timer_ginfo_get_card_INDEX; packed_data.args.a1 = (snd_timer_ginfo_t *)obj; @@ -17075,9 +18743,10 @@ int snd_timer_ginfo_get_card(snd_timer_ginfo_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_ginfo_get_card(snd_timer_ginfo_t * obj) __attribute__((alias("glshim_snd_timer_ginfo_get_card"))); #endif #if !defined(skip_client_snd_timer_ginfo_get_clients) && !defined(skip_index_snd_timer_ginfo_get_clients) -unsigned int snd_timer_ginfo_get_clients(snd_timer_ginfo_t * obj) { +unsigned int glshim_snd_timer_ginfo_get_clients(snd_timer_ginfo_t * obj) { snd_timer_ginfo_get_clients_INDEXED packed_data; packed_data.func = snd_timer_ginfo_get_clients_INDEX; packed_data.args.a1 = (snd_timer_ginfo_t *)obj; @@ -17085,9 +18754,10 @@ unsigned int snd_timer_ginfo_get_clients(snd_timer_ginfo_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_timer_ginfo_get_clients(snd_timer_ginfo_t * obj) __attribute__((alias("glshim_snd_timer_ginfo_get_clients"))); #endif #if !defined(skip_client_snd_timer_ginfo_get_flags) && !defined(skip_index_snd_timer_ginfo_get_flags) -unsigned int snd_timer_ginfo_get_flags(snd_timer_ginfo_t * obj) { +unsigned int glshim_snd_timer_ginfo_get_flags(snd_timer_ginfo_t * obj) { snd_timer_ginfo_get_flags_INDEXED packed_data; packed_data.func = snd_timer_ginfo_get_flags_INDEX; packed_data.args.a1 = (snd_timer_ginfo_t *)obj; @@ -17095,9 +18765,10 @@ unsigned int snd_timer_ginfo_get_flags(snd_timer_ginfo_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_timer_ginfo_get_flags(snd_timer_ginfo_t * obj) __attribute__((alias("glshim_snd_timer_ginfo_get_flags"))); #endif #if !defined(skip_client_snd_timer_ginfo_get_id) && !defined(skip_index_snd_timer_ginfo_get_id) -char * snd_timer_ginfo_get_id(snd_timer_ginfo_t * obj) { +char * glshim_snd_timer_ginfo_get_id(snd_timer_ginfo_t * obj) { snd_timer_ginfo_get_id_INDEXED packed_data; packed_data.func = snd_timer_ginfo_get_id_INDEX; packed_data.args.a1 = (snd_timer_ginfo_t *)obj; @@ -17105,9 +18776,10 @@ char * snd_timer_ginfo_get_id(snd_timer_ginfo_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +char * snd_timer_ginfo_get_id(snd_timer_ginfo_t * obj) __attribute__((alias("glshim_snd_timer_ginfo_get_id"))); #endif #if !defined(skip_client_snd_timer_ginfo_get_name) && !defined(skip_index_snd_timer_ginfo_get_name) -char * snd_timer_ginfo_get_name(snd_timer_ginfo_t * obj) { +char * glshim_snd_timer_ginfo_get_name(snd_timer_ginfo_t * obj) { snd_timer_ginfo_get_name_INDEXED packed_data; packed_data.func = snd_timer_ginfo_get_name_INDEX; packed_data.args.a1 = (snd_timer_ginfo_t *)obj; @@ -17115,9 +18787,10 @@ char * snd_timer_ginfo_get_name(snd_timer_ginfo_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +char * snd_timer_ginfo_get_name(snd_timer_ginfo_t * obj) __attribute__((alias("glshim_snd_timer_ginfo_get_name"))); #endif #if !defined(skip_client_snd_timer_ginfo_get_resolution) && !defined(skip_index_snd_timer_ginfo_get_resolution) -unsigned long snd_timer_ginfo_get_resolution(snd_timer_ginfo_t * obj) { +unsigned long glshim_snd_timer_ginfo_get_resolution(snd_timer_ginfo_t * obj) { snd_timer_ginfo_get_resolution_INDEXED packed_data; packed_data.func = snd_timer_ginfo_get_resolution_INDEX; packed_data.args.a1 = (snd_timer_ginfo_t *)obj; @@ -17125,9 +18798,10 @@ unsigned long snd_timer_ginfo_get_resolution(snd_timer_ginfo_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned long snd_timer_ginfo_get_resolution(snd_timer_ginfo_t * obj) __attribute__((alias("glshim_snd_timer_ginfo_get_resolution"))); #endif #if !defined(skip_client_snd_timer_ginfo_get_resolution_max) && !defined(skip_index_snd_timer_ginfo_get_resolution_max) -unsigned long snd_timer_ginfo_get_resolution_max(snd_timer_ginfo_t * obj) { +unsigned long glshim_snd_timer_ginfo_get_resolution_max(snd_timer_ginfo_t * obj) { snd_timer_ginfo_get_resolution_max_INDEXED packed_data; packed_data.func = snd_timer_ginfo_get_resolution_max_INDEX; packed_data.args.a1 = (snd_timer_ginfo_t *)obj; @@ -17135,9 +18809,10 @@ unsigned long snd_timer_ginfo_get_resolution_max(snd_timer_ginfo_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned long snd_timer_ginfo_get_resolution_max(snd_timer_ginfo_t * obj) __attribute__((alias("glshim_snd_timer_ginfo_get_resolution_max"))); #endif #if !defined(skip_client_snd_timer_ginfo_get_resolution_min) && !defined(skip_index_snd_timer_ginfo_get_resolution_min) -unsigned long snd_timer_ginfo_get_resolution_min(snd_timer_ginfo_t * obj) { +unsigned long glshim_snd_timer_ginfo_get_resolution_min(snd_timer_ginfo_t * obj) { snd_timer_ginfo_get_resolution_min_INDEXED packed_data; packed_data.func = snd_timer_ginfo_get_resolution_min_INDEX; packed_data.args.a1 = (snd_timer_ginfo_t *)obj; @@ -17145,9 +18820,10 @@ unsigned long snd_timer_ginfo_get_resolution_min(snd_timer_ginfo_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned long snd_timer_ginfo_get_resolution_min(snd_timer_ginfo_t * obj) __attribute__((alias("glshim_snd_timer_ginfo_get_resolution_min"))); #endif #if !defined(skip_client_snd_timer_ginfo_get_tid) && !defined(skip_index_snd_timer_ginfo_get_tid) -snd_timer_id_t * snd_timer_ginfo_get_tid(snd_timer_ginfo_t * obj) { +snd_timer_id_t * glshim_snd_timer_ginfo_get_tid(snd_timer_ginfo_t * obj) { snd_timer_ginfo_get_tid_INDEXED packed_data; packed_data.func = snd_timer_ginfo_get_tid_INDEX; packed_data.args.a1 = (snd_timer_ginfo_t *)obj; @@ -17155,9 +18831,10 @@ snd_timer_id_t * snd_timer_ginfo_get_tid(snd_timer_ginfo_t * obj) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_timer_id_t * snd_timer_ginfo_get_tid(snd_timer_ginfo_t * obj) __attribute__((alias("glshim_snd_timer_ginfo_get_tid"))); #endif #if !defined(skip_client_snd_timer_ginfo_malloc) && !defined(skip_index_snd_timer_ginfo_malloc) -int snd_timer_ginfo_malloc(snd_timer_ginfo_t ** ptr) { +int glshim_snd_timer_ginfo_malloc(snd_timer_ginfo_t ** ptr) { snd_timer_ginfo_malloc_INDEXED packed_data; packed_data.func = snd_timer_ginfo_malloc_INDEX; packed_data.args.a1 = (snd_timer_ginfo_t **)ptr; @@ -17165,9 +18842,10 @@ int snd_timer_ginfo_malloc(snd_timer_ginfo_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_ginfo_malloc(snd_timer_ginfo_t ** ptr) __attribute__((alias("glshim_snd_timer_ginfo_malloc"))); #endif #if !defined(skip_client_snd_timer_ginfo_set_tid) && !defined(skip_index_snd_timer_ginfo_set_tid) -int snd_timer_ginfo_set_tid(snd_timer_ginfo_t * obj, snd_timer_id_t * tid) { +int glshim_snd_timer_ginfo_set_tid(snd_timer_ginfo_t * obj, snd_timer_id_t * tid) { snd_timer_ginfo_set_tid_INDEXED packed_data; packed_data.func = snd_timer_ginfo_set_tid_INDEX; packed_data.args.a1 = (snd_timer_ginfo_t *)obj; @@ -17176,35 +18854,39 @@ int snd_timer_ginfo_set_tid(snd_timer_ginfo_t * obj, snd_timer_id_t * tid) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_ginfo_set_tid(snd_timer_ginfo_t * obj, snd_timer_id_t * tid) __attribute__((alias("glshim_snd_timer_ginfo_set_tid"))); #endif #if !defined(skip_client_snd_timer_ginfo_sizeof) && !defined(skip_index_snd_timer_ginfo_sizeof) -size_t snd_timer_ginfo_sizeof() { +size_t glshim_snd_timer_ginfo_sizeof() { snd_timer_ginfo_sizeof_INDEXED packed_data; packed_data.func = snd_timer_ginfo_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_timer_ginfo_sizeof() __attribute__((alias("glshim_snd_timer_ginfo_sizeof"))); #endif #if !defined(skip_client_snd_timer_id_copy) && !defined(skip_index_snd_timer_id_copy) -void snd_timer_id_copy(snd_timer_id_t * dst, const snd_timer_id_t * src) { +void glshim_snd_timer_id_copy(snd_timer_id_t * dst, const snd_timer_id_t * src) { snd_timer_id_copy_INDEXED packed_data; packed_data.func = snd_timer_id_copy_INDEX; packed_data.args.a1 = (snd_timer_id_t *)dst; packed_data.args.a2 = (snd_timer_id_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_id_copy(snd_timer_id_t * dst, const snd_timer_id_t * src) __attribute__((alias("glshim_snd_timer_id_copy"))); #endif #if !defined(skip_client_snd_timer_id_free) && !defined(skip_index_snd_timer_id_free) -void snd_timer_id_free(snd_timer_id_t * obj) { +void glshim_snd_timer_id_free(snd_timer_id_t * obj) { snd_timer_id_free_INDEXED packed_data; packed_data.func = snd_timer_id_free_INDEX; packed_data.args.a1 = (snd_timer_id_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_id_free(snd_timer_id_t * obj) __attribute__((alias("glshim_snd_timer_id_free"))); #endif #if !defined(skip_client_snd_timer_id_get_card) && !defined(skip_index_snd_timer_id_get_card) -int snd_timer_id_get_card(snd_timer_id_t * id) { +int glshim_snd_timer_id_get_card(snd_timer_id_t * id) { snd_timer_id_get_card_INDEXED packed_data; packed_data.func = snd_timer_id_get_card_INDEX; packed_data.args.a1 = (snd_timer_id_t *)id; @@ -17212,9 +18894,10 @@ int snd_timer_id_get_card(snd_timer_id_t * id) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_id_get_card(snd_timer_id_t * id) __attribute__((alias("glshim_snd_timer_id_get_card"))); #endif #if !defined(skip_client_snd_timer_id_get_class) && !defined(skip_index_snd_timer_id_get_class) -int snd_timer_id_get_class(snd_timer_id_t * id) { +int glshim_snd_timer_id_get_class(snd_timer_id_t * id) { snd_timer_id_get_class_INDEXED packed_data; packed_data.func = snd_timer_id_get_class_INDEX; packed_data.args.a1 = (snd_timer_id_t *)id; @@ -17222,9 +18905,10 @@ int snd_timer_id_get_class(snd_timer_id_t * id) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_id_get_class(snd_timer_id_t * id) __attribute__((alias("glshim_snd_timer_id_get_class"))); #endif #if !defined(skip_client_snd_timer_id_get_device) && !defined(skip_index_snd_timer_id_get_device) -int snd_timer_id_get_device(snd_timer_id_t * id) { +int glshim_snd_timer_id_get_device(snd_timer_id_t * id) { snd_timer_id_get_device_INDEXED packed_data; packed_data.func = snd_timer_id_get_device_INDEX; packed_data.args.a1 = (snd_timer_id_t *)id; @@ -17232,9 +18916,10 @@ int snd_timer_id_get_device(snd_timer_id_t * id) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_id_get_device(snd_timer_id_t * id) __attribute__((alias("glshim_snd_timer_id_get_device"))); #endif #if !defined(skip_client_snd_timer_id_get_sclass) && !defined(skip_index_snd_timer_id_get_sclass) -int snd_timer_id_get_sclass(snd_timer_id_t * id) { +int glshim_snd_timer_id_get_sclass(snd_timer_id_t * id) { snd_timer_id_get_sclass_INDEXED packed_data; packed_data.func = snd_timer_id_get_sclass_INDEX; packed_data.args.a1 = (snd_timer_id_t *)id; @@ -17242,9 +18927,10 @@ int snd_timer_id_get_sclass(snd_timer_id_t * id) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_id_get_sclass(snd_timer_id_t * id) __attribute__((alias("glshim_snd_timer_id_get_sclass"))); #endif #if !defined(skip_client_snd_timer_id_get_subdevice) && !defined(skip_index_snd_timer_id_get_subdevice) -int snd_timer_id_get_subdevice(snd_timer_id_t * id) { +int glshim_snd_timer_id_get_subdevice(snd_timer_id_t * id) { snd_timer_id_get_subdevice_INDEXED packed_data; packed_data.func = snd_timer_id_get_subdevice_INDEX; packed_data.args.a1 = (snd_timer_id_t *)id; @@ -17252,9 +18938,10 @@ int snd_timer_id_get_subdevice(snd_timer_id_t * id) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_id_get_subdevice(snd_timer_id_t * id) __attribute__((alias("glshim_snd_timer_id_get_subdevice"))); #endif #if !defined(skip_client_snd_timer_id_malloc) && !defined(skip_index_snd_timer_id_malloc) -int snd_timer_id_malloc(snd_timer_id_t ** ptr) { +int glshim_snd_timer_id_malloc(snd_timer_id_t ** ptr) { snd_timer_id_malloc_INDEXED packed_data; packed_data.func = snd_timer_id_malloc_INDEX; packed_data.args.a1 = (snd_timer_id_t **)ptr; @@ -17262,63 +18949,70 @@ int snd_timer_id_malloc(snd_timer_id_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_id_malloc(snd_timer_id_t ** ptr) __attribute__((alias("glshim_snd_timer_id_malloc"))); #endif #if !defined(skip_client_snd_timer_id_set_card) && !defined(skip_index_snd_timer_id_set_card) -void snd_timer_id_set_card(snd_timer_id_t * id, int card) { +void glshim_snd_timer_id_set_card(snd_timer_id_t * id, int card) { snd_timer_id_set_card_INDEXED packed_data; packed_data.func = snd_timer_id_set_card_INDEX; packed_data.args.a1 = (snd_timer_id_t *)id; packed_data.args.a2 = (int)card; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_id_set_card(snd_timer_id_t * id, int card) __attribute__((alias("glshim_snd_timer_id_set_card"))); #endif #if !defined(skip_client_snd_timer_id_set_class) && !defined(skip_index_snd_timer_id_set_class) -void snd_timer_id_set_class(snd_timer_id_t * id, int dev_class) { +void glshim_snd_timer_id_set_class(snd_timer_id_t * id, int dev_class) { snd_timer_id_set_class_INDEXED packed_data; packed_data.func = snd_timer_id_set_class_INDEX; packed_data.args.a1 = (snd_timer_id_t *)id; packed_data.args.a2 = (int)dev_class; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_id_set_class(snd_timer_id_t * id, int dev_class) __attribute__((alias("glshim_snd_timer_id_set_class"))); #endif #if !defined(skip_client_snd_timer_id_set_device) && !defined(skip_index_snd_timer_id_set_device) -void snd_timer_id_set_device(snd_timer_id_t * id, int device) { +void glshim_snd_timer_id_set_device(snd_timer_id_t * id, int device) { snd_timer_id_set_device_INDEXED packed_data; packed_data.func = snd_timer_id_set_device_INDEX; packed_data.args.a1 = (snd_timer_id_t *)id; packed_data.args.a2 = (int)device; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_id_set_device(snd_timer_id_t * id, int device) __attribute__((alias("glshim_snd_timer_id_set_device"))); #endif #if !defined(skip_client_snd_timer_id_set_sclass) && !defined(skip_index_snd_timer_id_set_sclass) -void snd_timer_id_set_sclass(snd_timer_id_t * id, int dev_sclass) { +void glshim_snd_timer_id_set_sclass(snd_timer_id_t * id, int dev_sclass) { snd_timer_id_set_sclass_INDEXED packed_data; packed_data.func = snd_timer_id_set_sclass_INDEX; packed_data.args.a1 = (snd_timer_id_t *)id; packed_data.args.a2 = (int)dev_sclass; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_id_set_sclass(snd_timer_id_t * id, int dev_sclass) __attribute__((alias("glshim_snd_timer_id_set_sclass"))); #endif #if !defined(skip_client_snd_timer_id_set_subdevice) && !defined(skip_index_snd_timer_id_set_subdevice) -void snd_timer_id_set_subdevice(snd_timer_id_t * id, int subdevice) { +void glshim_snd_timer_id_set_subdevice(snd_timer_id_t * id, int subdevice) { snd_timer_id_set_subdevice_INDEXED packed_data; packed_data.func = snd_timer_id_set_subdevice_INDEX; packed_data.args.a1 = (snd_timer_id_t *)id; packed_data.args.a2 = (int)subdevice; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_id_set_subdevice(snd_timer_id_t * id, int subdevice) __attribute__((alias("glshim_snd_timer_id_set_subdevice"))); #endif #if !defined(skip_client_snd_timer_id_sizeof) && !defined(skip_index_snd_timer_id_sizeof) -size_t snd_timer_id_sizeof() { +size_t glshim_snd_timer_id_sizeof() { snd_timer_id_sizeof_INDEXED packed_data; packed_data.func = snd_timer_id_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_timer_id_sizeof() __attribute__((alias("glshim_snd_timer_id_sizeof"))); #endif #if !defined(skip_client_snd_timer_info) && !defined(skip_index_snd_timer_info) -int snd_timer_info(snd_timer_t * handle, snd_timer_info_t * timer) { +int glshim_snd_timer_info(snd_timer_t * handle, snd_timer_info_t * timer) { snd_timer_info_INDEXED packed_data; packed_data.func = snd_timer_info_INDEX; packed_data.args.a1 = (snd_timer_t *)handle; @@ -17327,26 +19021,29 @@ int snd_timer_info(snd_timer_t * handle, snd_timer_info_t * timer) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_info(snd_timer_t * handle, snd_timer_info_t * timer) __attribute__((alias("glshim_snd_timer_info"))); #endif #if !defined(skip_client_snd_timer_info_copy) && !defined(skip_index_snd_timer_info_copy) -void snd_timer_info_copy(snd_timer_info_t * dst, const snd_timer_info_t * src) { +void glshim_snd_timer_info_copy(snd_timer_info_t * dst, const snd_timer_info_t * src) { snd_timer_info_copy_INDEXED packed_data; packed_data.func = snd_timer_info_copy_INDEX; packed_data.args.a1 = (snd_timer_info_t *)dst; packed_data.args.a2 = (snd_timer_info_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_info_copy(snd_timer_info_t * dst, const snd_timer_info_t * src) __attribute__((alias("glshim_snd_timer_info_copy"))); #endif #if !defined(skip_client_snd_timer_info_free) && !defined(skip_index_snd_timer_info_free) -void snd_timer_info_free(snd_timer_info_t * obj) { +void glshim_snd_timer_info_free(snd_timer_info_t * obj) { snd_timer_info_free_INDEXED packed_data; packed_data.func = snd_timer_info_free_INDEX; packed_data.args.a1 = (snd_timer_info_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_info_free(snd_timer_info_t * obj) __attribute__((alias("glshim_snd_timer_info_free"))); #endif #if !defined(skip_client_snd_timer_info_get_card) && !defined(skip_index_snd_timer_info_get_card) -int snd_timer_info_get_card(snd_timer_info_t * info) { +int glshim_snd_timer_info_get_card(snd_timer_info_t * info) { snd_timer_info_get_card_INDEXED packed_data; packed_data.func = snd_timer_info_get_card_INDEX; packed_data.args.a1 = (snd_timer_info_t *)info; @@ -17354,9 +19051,10 @@ int snd_timer_info_get_card(snd_timer_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_info_get_card(snd_timer_info_t * info) __attribute__((alias("glshim_snd_timer_info_get_card"))); #endif #if !defined(skip_client_snd_timer_info_get_id) && !defined(skip_index_snd_timer_info_get_id) -const char * snd_timer_info_get_id(snd_timer_info_t * info) { +const char * glshim_snd_timer_info_get_id(snd_timer_info_t * info) { snd_timer_info_get_id_INDEXED packed_data; packed_data.func = snd_timer_info_get_id_INDEX; packed_data.args.a1 = (snd_timer_info_t *)info; @@ -17364,9 +19062,10 @@ const char * snd_timer_info_get_id(snd_timer_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_timer_info_get_id(snd_timer_info_t * info) __attribute__((alias("glshim_snd_timer_info_get_id"))); #endif #if !defined(skip_client_snd_timer_info_get_name) && !defined(skip_index_snd_timer_info_get_name) -const char * snd_timer_info_get_name(snd_timer_info_t * info) { +const char * glshim_snd_timer_info_get_name(snd_timer_info_t * info) { snd_timer_info_get_name_INDEXED packed_data; packed_data.func = snd_timer_info_get_name_INDEX; packed_data.args.a1 = (snd_timer_info_t *)info; @@ -17374,9 +19073,10 @@ const char * snd_timer_info_get_name(snd_timer_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +const char * snd_timer_info_get_name(snd_timer_info_t * info) __attribute__((alias("glshim_snd_timer_info_get_name"))); #endif #if !defined(skip_client_snd_timer_info_get_resolution) && !defined(skip_index_snd_timer_info_get_resolution) -long snd_timer_info_get_resolution(snd_timer_info_t * info) { +long glshim_snd_timer_info_get_resolution(snd_timer_info_t * info) { snd_timer_info_get_resolution_INDEXED packed_data; packed_data.func = snd_timer_info_get_resolution_INDEX; packed_data.args.a1 = (snd_timer_info_t *)info; @@ -17384,9 +19084,10 @@ long snd_timer_info_get_resolution(snd_timer_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long snd_timer_info_get_resolution(snd_timer_info_t * info) __attribute__((alias("glshim_snd_timer_info_get_resolution"))); #endif #if !defined(skip_client_snd_timer_info_get_ticks) && !defined(skip_index_snd_timer_info_get_ticks) -long snd_timer_info_get_ticks(snd_timer_info_t * info) { +long glshim_snd_timer_info_get_ticks(snd_timer_info_t * info) { snd_timer_info_get_ticks_INDEXED packed_data; packed_data.func = snd_timer_info_get_ticks_INDEX; packed_data.args.a1 = (snd_timer_info_t *)info; @@ -17394,9 +19095,10 @@ long snd_timer_info_get_ticks(snd_timer_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long snd_timer_info_get_ticks(snd_timer_info_t * info) __attribute__((alias("glshim_snd_timer_info_get_ticks"))); #endif #if !defined(skip_client_snd_timer_info_is_slave) && !defined(skip_index_snd_timer_info_is_slave) -int snd_timer_info_is_slave(snd_timer_info_t * info) { +int glshim_snd_timer_info_is_slave(snd_timer_info_t * info) { snd_timer_info_is_slave_INDEXED packed_data; packed_data.func = snd_timer_info_is_slave_INDEX; packed_data.args.a1 = (snd_timer_info_t *)info; @@ -17404,9 +19106,10 @@ int snd_timer_info_is_slave(snd_timer_info_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_info_is_slave(snd_timer_info_t * info) __attribute__((alias("glshim_snd_timer_info_is_slave"))); #endif #if !defined(skip_client_snd_timer_info_malloc) && !defined(skip_index_snd_timer_info_malloc) -int snd_timer_info_malloc(snd_timer_info_t ** ptr) { +int glshim_snd_timer_info_malloc(snd_timer_info_t ** ptr) { snd_timer_info_malloc_INDEXED packed_data; packed_data.func = snd_timer_info_malloc_INDEX; packed_data.args.a1 = (snd_timer_info_t **)ptr; @@ -17414,18 +19117,20 @@ int snd_timer_info_malloc(snd_timer_info_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_info_malloc(snd_timer_info_t ** ptr) __attribute__((alias("glshim_snd_timer_info_malloc"))); #endif #if !defined(skip_client_snd_timer_info_sizeof) && !defined(skip_index_snd_timer_info_sizeof) -size_t snd_timer_info_sizeof() { +size_t glshim_snd_timer_info_sizeof() { snd_timer_info_sizeof_INDEXED packed_data; packed_data.func = snd_timer_info_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_timer_info_sizeof() __attribute__((alias("glshim_snd_timer_info_sizeof"))); #endif #if !defined(skip_client_snd_timer_open) && !defined(skip_index_snd_timer_open) -int snd_timer_open(snd_timer_t ** handle, const char * name, int mode) { +int glshim_snd_timer_open(snd_timer_t ** handle, const char * name, int mode) { snd_timer_open_INDEXED packed_data; packed_data.func = snd_timer_open_INDEX; packed_data.args.a1 = (snd_timer_t **)handle; @@ -17435,9 +19140,10 @@ int snd_timer_open(snd_timer_t ** handle, const char * name, int mode) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_open(snd_timer_t ** handle, const char * name, int mode) __attribute__((alias("glshim_snd_timer_open"))); #endif #if !defined(skip_client_snd_timer_open_lconf) && !defined(skip_index_snd_timer_open_lconf) -int snd_timer_open_lconf(snd_timer_t ** handle, const char * name, int mode, snd_config_t * lconf) { +int glshim_snd_timer_open_lconf(snd_timer_t ** handle, const char * name, int mode, snd_config_t * lconf) { snd_timer_open_lconf_INDEXED packed_data; packed_data.func = snd_timer_open_lconf_INDEX; packed_data.args.a1 = (snd_timer_t **)handle; @@ -17448,9 +19154,10 @@ int snd_timer_open_lconf(snd_timer_t ** handle, const char * name, int mode, snd syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_open_lconf(snd_timer_t ** handle, const char * name, int mode, snd_config_t * lconf) __attribute__((alias("glshim_snd_timer_open_lconf"))); #endif #if !defined(skip_client_snd_timer_params) && !defined(skip_index_snd_timer_params) -int snd_timer_params(snd_timer_t * handle, snd_timer_params_t * params) { +int glshim_snd_timer_params(snd_timer_t * handle, snd_timer_params_t * params) { snd_timer_params_INDEXED packed_data; packed_data.func = snd_timer_params_INDEX; packed_data.args.a1 = (snd_timer_t *)handle; @@ -17459,26 +19166,29 @@ int snd_timer_params(snd_timer_t * handle, snd_timer_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_params(snd_timer_t * handle, snd_timer_params_t * params) __attribute__((alias("glshim_snd_timer_params"))); #endif #if !defined(skip_client_snd_timer_params_copy) && !defined(skip_index_snd_timer_params_copy) -void snd_timer_params_copy(snd_timer_params_t * dst, const snd_timer_params_t * src) { +void glshim_snd_timer_params_copy(snd_timer_params_t * dst, const snd_timer_params_t * src) { snd_timer_params_copy_INDEXED packed_data; packed_data.func = snd_timer_params_copy_INDEX; packed_data.args.a1 = (snd_timer_params_t *)dst; packed_data.args.a2 = (snd_timer_params_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_params_copy(snd_timer_params_t * dst, const snd_timer_params_t * src) __attribute__((alias("glshim_snd_timer_params_copy"))); #endif #if !defined(skip_client_snd_timer_params_free) && !defined(skip_index_snd_timer_params_free) -void snd_timer_params_free(snd_timer_params_t * obj) { +void glshim_snd_timer_params_free(snd_timer_params_t * obj) { snd_timer_params_free_INDEXED packed_data; packed_data.func = snd_timer_params_free_INDEX; packed_data.args.a1 = (snd_timer_params_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_params_free(snd_timer_params_t * obj) __attribute__((alias("glshim_snd_timer_params_free"))); #endif #if !defined(skip_client_snd_timer_params_get_auto_start) && !defined(skip_index_snd_timer_params_get_auto_start) -int snd_timer_params_get_auto_start(snd_timer_params_t * params) { +int glshim_snd_timer_params_get_auto_start(snd_timer_params_t * params) { snd_timer_params_get_auto_start_INDEXED packed_data; packed_data.func = snd_timer_params_get_auto_start_INDEX; packed_data.args.a1 = (snd_timer_params_t *)params; @@ -17486,9 +19196,10 @@ int snd_timer_params_get_auto_start(snd_timer_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_params_get_auto_start(snd_timer_params_t * params) __attribute__((alias("glshim_snd_timer_params_get_auto_start"))); #endif #if !defined(skip_client_snd_timer_params_get_early_event) && !defined(skip_index_snd_timer_params_get_early_event) -int snd_timer_params_get_early_event(snd_timer_params_t * params) { +int glshim_snd_timer_params_get_early_event(snd_timer_params_t * params) { snd_timer_params_get_early_event_INDEXED packed_data; packed_data.func = snd_timer_params_get_early_event_INDEX; packed_data.args.a1 = (snd_timer_params_t *)params; @@ -17496,9 +19207,10 @@ int snd_timer_params_get_early_event(snd_timer_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_params_get_early_event(snd_timer_params_t * params) __attribute__((alias("glshim_snd_timer_params_get_early_event"))); #endif #if !defined(skip_client_snd_timer_params_get_exclusive) && !defined(skip_index_snd_timer_params_get_exclusive) -int snd_timer_params_get_exclusive(snd_timer_params_t * params) { +int glshim_snd_timer_params_get_exclusive(snd_timer_params_t * params) { snd_timer_params_get_exclusive_INDEXED packed_data; packed_data.func = snd_timer_params_get_exclusive_INDEX; packed_data.args.a1 = (snd_timer_params_t *)params; @@ -17506,9 +19218,10 @@ int snd_timer_params_get_exclusive(snd_timer_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_params_get_exclusive(snd_timer_params_t * params) __attribute__((alias("glshim_snd_timer_params_get_exclusive"))); #endif #if !defined(skip_client_snd_timer_params_get_filter) && !defined(skip_index_snd_timer_params_get_filter) -unsigned int snd_timer_params_get_filter(snd_timer_params_t * params) { +unsigned int glshim_snd_timer_params_get_filter(snd_timer_params_t * params) { snd_timer_params_get_filter_INDEXED packed_data; packed_data.func = snd_timer_params_get_filter_INDEX; packed_data.args.a1 = (snd_timer_params_t *)params; @@ -17516,9 +19229,10 @@ unsigned int snd_timer_params_get_filter(snd_timer_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +unsigned int snd_timer_params_get_filter(snd_timer_params_t * params) __attribute__((alias("glshim_snd_timer_params_get_filter"))); #endif #if !defined(skip_client_snd_timer_params_get_queue_size) && !defined(skip_index_snd_timer_params_get_queue_size) -long snd_timer_params_get_queue_size(snd_timer_params_t * params) { +long glshim_snd_timer_params_get_queue_size(snd_timer_params_t * params) { snd_timer_params_get_queue_size_INDEXED packed_data; packed_data.func = snd_timer_params_get_queue_size_INDEX; packed_data.args.a1 = (snd_timer_params_t *)params; @@ -17526,9 +19240,10 @@ long snd_timer_params_get_queue_size(snd_timer_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long snd_timer_params_get_queue_size(snd_timer_params_t * params) __attribute__((alias("glshim_snd_timer_params_get_queue_size"))); #endif #if !defined(skip_client_snd_timer_params_get_ticks) && !defined(skip_index_snd_timer_params_get_ticks) -long snd_timer_params_get_ticks(snd_timer_params_t * params) { +long glshim_snd_timer_params_get_ticks(snd_timer_params_t * params) { snd_timer_params_get_ticks_INDEXED packed_data; packed_data.func = snd_timer_params_get_ticks_INDEX; packed_data.args.a1 = (snd_timer_params_t *)params; @@ -17536,9 +19251,10 @@ long snd_timer_params_get_ticks(snd_timer_params_t * params) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long snd_timer_params_get_ticks(snd_timer_params_t * params) __attribute__((alias("glshim_snd_timer_params_get_ticks"))); #endif #if !defined(skip_client_snd_timer_params_malloc) && !defined(skip_index_snd_timer_params_malloc) -int snd_timer_params_malloc(snd_timer_params_t ** ptr) { +int glshim_snd_timer_params_malloc(snd_timer_params_t ** ptr) { snd_timer_params_malloc_INDEXED packed_data; packed_data.func = snd_timer_params_malloc_INDEX; packed_data.args.a1 = (snd_timer_params_t **)ptr; @@ -17546,9 +19262,10 @@ int snd_timer_params_malloc(snd_timer_params_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_params_malloc(snd_timer_params_t ** ptr) __attribute__((alias("glshim_snd_timer_params_malloc"))); #endif #if !defined(skip_client_snd_timer_params_set_auto_start) && !defined(skip_index_snd_timer_params_set_auto_start) -int snd_timer_params_set_auto_start(snd_timer_params_t * params, int auto_start) { +int glshim_snd_timer_params_set_auto_start(snd_timer_params_t * params, int auto_start) { snd_timer_params_set_auto_start_INDEXED packed_data; packed_data.func = snd_timer_params_set_auto_start_INDEX; packed_data.args.a1 = (snd_timer_params_t *)params; @@ -17557,9 +19274,10 @@ int snd_timer_params_set_auto_start(snd_timer_params_t * params, int auto_start) syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_params_set_auto_start(snd_timer_params_t * params, int auto_start) __attribute__((alias("glshim_snd_timer_params_set_auto_start"))); #endif #if !defined(skip_client_snd_timer_params_set_early_event) && !defined(skip_index_snd_timer_params_set_early_event) -int snd_timer_params_set_early_event(snd_timer_params_t * params, int early_event) { +int glshim_snd_timer_params_set_early_event(snd_timer_params_t * params, int early_event) { snd_timer_params_set_early_event_INDEXED packed_data; packed_data.func = snd_timer_params_set_early_event_INDEX; packed_data.args.a1 = (snd_timer_params_t *)params; @@ -17568,9 +19286,10 @@ int snd_timer_params_set_early_event(snd_timer_params_t * params, int early_even syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_params_set_early_event(snd_timer_params_t * params, int early_event) __attribute__((alias("glshim_snd_timer_params_set_early_event"))); #endif #if !defined(skip_client_snd_timer_params_set_exclusive) && !defined(skip_index_snd_timer_params_set_exclusive) -int snd_timer_params_set_exclusive(snd_timer_params_t * params, int exclusive) { +int glshim_snd_timer_params_set_exclusive(snd_timer_params_t * params, int exclusive) { snd_timer_params_set_exclusive_INDEXED packed_data; packed_data.func = snd_timer_params_set_exclusive_INDEX; packed_data.args.a1 = (snd_timer_params_t *)params; @@ -17579,45 +19298,50 @@ int snd_timer_params_set_exclusive(snd_timer_params_t * params, int exclusive) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_params_set_exclusive(snd_timer_params_t * params, int exclusive) __attribute__((alias("glshim_snd_timer_params_set_exclusive"))); #endif #if !defined(skip_client_snd_timer_params_set_filter) && !defined(skip_index_snd_timer_params_set_filter) -void snd_timer_params_set_filter(snd_timer_params_t * params, unsigned int filter) { +void glshim_snd_timer_params_set_filter(snd_timer_params_t * params, unsigned int filter) { snd_timer_params_set_filter_INDEXED packed_data; packed_data.func = snd_timer_params_set_filter_INDEX; packed_data.args.a1 = (snd_timer_params_t *)params; packed_data.args.a2 = (unsigned int)filter; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_params_set_filter(snd_timer_params_t * params, unsigned int filter) __attribute__((alias("glshim_snd_timer_params_set_filter"))); #endif #if !defined(skip_client_snd_timer_params_set_queue_size) && !defined(skip_index_snd_timer_params_set_queue_size) -void snd_timer_params_set_queue_size(snd_timer_params_t * params, long queue_size) { +void glshim_snd_timer_params_set_queue_size(snd_timer_params_t * params, long queue_size) { snd_timer_params_set_queue_size_INDEXED packed_data; packed_data.func = snd_timer_params_set_queue_size_INDEX; packed_data.args.a1 = (snd_timer_params_t *)params; packed_data.args.a2 = (long)queue_size; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_params_set_queue_size(snd_timer_params_t * params, long queue_size) __attribute__((alias("glshim_snd_timer_params_set_queue_size"))); #endif #if !defined(skip_client_snd_timer_params_set_ticks) && !defined(skip_index_snd_timer_params_set_ticks) -void snd_timer_params_set_ticks(snd_timer_params_t * params, long ticks) { +void glshim_snd_timer_params_set_ticks(snd_timer_params_t * params, long ticks) { snd_timer_params_set_ticks_INDEXED packed_data; packed_data.func = snd_timer_params_set_ticks_INDEX; packed_data.args.a1 = (snd_timer_params_t *)params; packed_data.args.a2 = (long)ticks; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_params_set_ticks(snd_timer_params_t * params, long ticks) __attribute__((alias("glshim_snd_timer_params_set_ticks"))); #endif #if !defined(skip_client_snd_timer_params_sizeof) && !defined(skip_index_snd_timer_params_sizeof) -size_t snd_timer_params_sizeof() { +size_t glshim_snd_timer_params_sizeof() { snd_timer_params_sizeof_INDEXED packed_data; packed_data.func = snd_timer_params_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_timer_params_sizeof() __attribute__((alias("glshim_snd_timer_params_sizeof"))); #endif #if !defined(skip_client_snd_timer_poll_descriptors) && !defined(skip_index_snd_timer_poll_descriptors) -int snd_timer_poll_descriptors(snd_timer_t * handle, struct pollfd * pfds, unsigned int space) { +int glshim_snd_timer_poll_descriptors(snd_timer_t * handle, struct pollfd * pfds, unsigned int space) { snd_timer_poll_descriptors_INDEXED packed_data; packed_data.func = snd_timer_poll_descriptors_INDEX; packed_data.args.a1 = (snd_timer_t *)handle; @@ -17627,9 +19351,10 @@ int snd_timer_poll_descriptors(snd_timer_t * handle, struct pollfd * pfds, unsig syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_poll_descriptors(snd_timer_t * handle, struct pollfd * pfds, unsigned int space) __attribute__((alias("glshim_snd_timer_poll_descriptors"))); #endif #if !defined(skip_client_snd_timer_poll_descriptors_count) && !defined(skip_index_snd_timer_poll_descriptors_count) -int snd_timer_poll_descriptors_count(snd_timer_t * handle) { +int glshim_snd_timer_poll_descriptors_count(snd_timer_t * handle) { snd_timer_poll_descriptors_count_INDEXED packed_data; packed_data.func = snd_timer_poll_descriptors_count_INDEX; packed_data.args.a1 = (snd_timer_t *)handle; @@ -17637,9 +19362,10 @@ int snd_timer_poll_descriptors_count(snd_timer_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_poll_descriptors_count(snd_timer_t * handle) __attribute__((alias("glshim_snd_timer_poll_descriptors_count"))); #endif #if !defined(skip_client_snd_timer_poll_descriptors_revents) && !defined(skip_index_snd_timer_poll_descriptors_revents) -int snd_timer_poll_descriptors_revents(snd_timer_t * timer, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) { +int glshim_snd_timer_poll_descriptors_revents(snd_timer_t * timer, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) { snd_timer_poll_descriptors_revents_INDEXED packed_data; packed_data.func = snd_timer_poll_descriptors_revents_INDEX; packed_data.args.a1 = (snd_timer_t *)timer; @@ -17650,9 +19376,10 @@ int snd_timer_poll_descriptors_revents(snd_timer_t * timer, struct pollfd * pfds syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_poll_descriptors_revents(snd_timer_t * timer, struct pollfd * pfds, unsigned int nfds, unsigned short * revents) __attribute__((alias("glshim_snd_timer_poll_descriptors_revents"))); #endif #if !defined(skip_client_snd_timer_query_close) && !defined(skip_index_snd_timer_query_close) -int snd_timer_query_close(snd_timer_query_t * handle) { +int glshim_snd_timer_query_close(snd_timer_query_t * handle) { snd_timer_query_close_INDEXED packed_data; packed_data.func = snd_timer_query_close_INDEX; packed_data.args.a1 = (snd_timer_query_t *)handle; @@ -17660,9 +19387,10 @@ int snd_timer_query_close(snd_timer_query_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_query_close(snd_timer_query_t * handle) __attribute__((alias("glshim_snd_timer_query_close"))); #endif #if !defined(skip_client_snd_timer_query_info) && !defined(skip_index_snd_timer_query_info) -int snd_timer_query_info(snd_timer_query_t * handle, snd_timer_ginfo_t * info) { +int glshim_snd_timer_query_info(snd_timer_query_t * handle, snd_timer_ginfo_t * info) { snd_timer_query_info_INDEXED packed_data; packed_data.func = snd_timer_query_info_INDEX; packed_data.args.a1 = (snd_timer_query_t *)handle; @@ -17671,9 +19399,10 @@ int snd_timer_query_info(snd_timer_query_t * handle, snd_timer_ginfo_t * info) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_query_info(snd_timer_query_t * handle, snd_timer_ginfo_t * info) __attribute__((alias("glshim_snd_timer_query_info"))); #endif #if !defined(skip_client_snd_timer_query_next_device) && !defined(skip_index_snd_timer_query_next_device) -int snd_timer_query_next_device(snd_timer_query_t * handle, snd_timer_id_t * tid) { +int glshim_snd_timer_query_next_device(snd_timer_query_t * handle, snd_timer_id_t * tid) { snd_timer_query_next_device_INDEXED packed_data; packed_data.func = snd_timer_query_next_device_INDEX; packed_data.args.a1 = (snd_timer_query_t *)handle; @@ -17682,9 +19411,10 @@ int snd_timer_query_next_device(snd_timer_query_t * handle, snd_timer_id_t * tid syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_query_next_device(snd_timer_query_t * handle, snd_timer_id_t * tid) __attribute__((alias("glshim_snd_timer_query_next_device"))); #endif #if !defined(skip_client_snd_timer_query_open) && !defined(skip_index_snd_timer_query_open) -int snd_timer_query_open(snd_timer_query_t ** handle, const char * name, int mode) { +int glshim_snd_timer_query_open(snd_timer_query_t ** handle, const char * name, int mode) { snd_timer_query_open_INDEXED packed_data; packed_data.func = snd_timer_query_open_INDEX; packed_data.args.a1 = (snd_timer_query_t **)handle; @@ -17694,9 +19424,10 @@ int snd_timer_query_open(snd_timer_query_t ** handle, const char * name, int mod syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_query_open(snd_timer_query_t ** handle, const char * name, int mode) __attribute__((alias("glshim_snd_timer_query_open"))); #endif #if !defined(skip_client_snd_timer_query_open_lconf) && !defined(skip_index_snd_timer_query_open_lconf) -int snd_timer_query_open_lconf(snd_timer_query_t ** handle, const char * name, int mode, snd_config_t * lconf) { +int glshim_snd_timer_query_open_lconf(snd_timer_query_t ** handle, const char * name, int mode, snd_config_t * lconf) { snd_timer_query_open_lconf_INDEXED packed_data; packed_data.func = snd_timer_query_open_lconf_INDEX; packed_data.args.a1 = (snd_timer_query_t **)handle; @@ -17707,9 +19438,10 @@ int snd_timer_query_open_lconf(snd_timer_query_t ** handle, const char * name, i syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_query_open_lconf(snd_timer_query_t ** handle, const char * name, int mode, snd_config_t * lconf) __attribute__((alias("glshim_snd_timer_query_open_lconf"))); #endif #if !defined(skip_client_snd_timer_query_params) && !defined(skip_index_snd_timer_query_params) -int snd_timer_query_params(snd_timer_query_t * handle, snd_timer_gparams_t * params) { +int glshim_snd_timer_query_params(snd_timer_query_t * handle, snd_timer_gparams_t * params) { snd_timer_query_params_INDEXED packed_data; packed_data.func = snd_timer_query_params_INDEX; packed_data.args.a1 = (snd_timer_query_t *)handle; @@ -17718,9 +19450,10 @@ int snd_timer_query_params(snd_timer_query_t * handle, snd_timer_gparams_t * par syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_query_params(snd_timer_query_t * handle, snd_timer_gparams_t * params) __attribute__((alias("glshim_snd_timer_query_params"))); #endif #if !defined(skip_client_snd_timer_query_status) && !defined(skip_index_snd_timer_query_status) -int snd_timer_query_status(snd_timer_query_t * handle, snd_timer_gstatus_t * status) { +int glshim_snd_timer_query_status(snd_timer_query_t * handle, snd_timer_gstatus_t * status) { snd_timer_query_status_INDEXED packed_data; packed_data.func = snd_timer_query_status_INDEX; packed_data.args.a1 = (snd_timer_query_t *)handle; @@ -17729,9 +19462,10 @@ int snd_timer_query_status(snd_timer_query_t * handle, snd_timer_gstatus_t * sta syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_query_status(snd_timer_query_t * handle, snd_timer_gstatus_t * status) __attribute__((alias("glshim_snd_timer_query_status"))); #endif #if !defined(skip_client_snd_timer_read) && !defined(skip_index_snd_timer_read) -ssize_t snd_timer_read(snd_timer_t * handle, void * buffer, size_t size) { +ssize_t glshim_snd_timer_read(snd_timer_t * handle, void * buffer, size_t size) { snd_timer_read_INDEXED packed_data; packed_data.func = snd_timer_read_INDEX; packed_data.args.a1 = (snd_timer_t *)handle; @@ -17741,9 +19475,10 @@ ssize_t snd_timer_read(snd_timer_t * handle, void * buffer, size_t size) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +ssize_t snd_timer_read(snd_timer_t * handle, void * buffer, size_t size) __attribute__((alias("glshim_snd_timer_read"))); #endif #if !defined(skip_client_snd_timer_start) && !defined(skip_index_snd_timer_start) -int snd_timer_start(snd_timer_t * handle) { +int glshim_snd_timer_start(snd_timer_t * handle) { snd_timer_start_INDEXED packed_data; packed_data.func = snd_timer_start_INDEX; packed_data.args.a1 = (snd_timer_t *)handle; @@ -17751,9 +19486,10 @@ int snd_timer_start(snd_timer_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_start(snd_timer_t * handle) __attribute__((alias("glshim_snd_timer_start"))); #endif #if !defined(skip_client_snd_timer_status) && !defined(skip_index_snd_timer_status) -int snd_timer_status(snd_timer_t * handle, snd_timer_status_t * status) { +int glshim_snd_timer_status(snd_timer_t * handle, snd_timer_status_t * status) { snd_timer_status_INDEXED packed_data; packed_data.func = snd_timer_status_INDEX; packed_data.args.a1 = (snd_timer_t *)handle; @@ -17762,26 +19498,29 @@ int snd_timer_status(snd_timer_t * handle, snd_timer_status_t * status) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_status(snd_timer_t * handle, snd_timer_status_t * status) __attribute__((alias("glshim_snd_timer_status"))); #endif #if !defined(skip_client_snd_timer_status_copy) && !defined(skip_index_snd_timer_status_copy) -void snd_timer_status_copy(snd_timer_status_t * dst, const snd_timer_status_t * src) { +void glshim_snd_timer_status_copy(snd_timer_status_t * dst, const snd_timer_status_t * src) { snd_timer_status_copy_INDEXED packed_data; packed_data.func = snd_timer_status_copy_INDEX; packed_data.args.a1 = (snd_timer_status_t *)dst; packed_data.args.a2 = (snd_timer_status_t *)src; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_status_copy(snd_timer_status_t * dst, const snd_timer_status_t * src) __attribute__((alias("glshim_snd_timer_status_copy"))); #endif #if !defined(skip_client_snd_timer_status_free) && !defined(skip_index_snd_timer_status_free) -void snd_timer_status_free(snd_timer_status_t * obj) { +void glshim_snd_timer_status_free(snd_timer_status_t * obj) { snd_timer_status_free_INDEXED packed_data; packed_data.func = snd_timer_status_free_INDEX; packed_data.args.a1 = (snd_timer_status_t *)obj; syscall(SYS_proxy, (void *)&packed_data, NULL); } +void snd_timer_status_free(snd_timer_status_t * obj) __attribute__((alias("glshim_snd_timer_status_free"))); #endif #if !defined(skip_client_snd_timer_status_get_lost) && !defined(skip_index_snd_timer_status_get_lost) -long snd_timer_status_get_lost(snd_timer_status_t * status) { +long glshim_snd_timer_status_get_lost(snd_timer_status_t * status) { snd_timer_status_get_lost_INDEXED packed_data; packed_data.func = snd_timer_status_get_lost_INDEX; packed_data.args.a1 = (snd_timer_status_t *)status; @@ -17789,9 +19528,10 @@ long snd_timer_status_get_lost(snd_timer_status_t * status) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long snd_timer_status_get_lost(snd_timer_status_t * status) __attribute__((alias("glshim_snd_timer_status_get_lost"))); #endif #if !defined(skip_client_snd_timer_status_get_overrun) && !defined(skip_index_snd_timer_status_get_overrun) -long snd_timer_status_get_overrun(snd_timer_status_t * status) { +long glshim_snd_timer_status_get_overrun(snd_timer_status_t * status) { snd_timer_status_get_overrun_INDEXED packed_data; packed_data.func = snd_timer_status_get_overrun_INDEX; packed_data.args.a1 = (snd_timer_status_t *)status; @@ -17799,9 +19539,10 @@ long snd_timer_status_get_overrun(snd_timer_status_t * status) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long snd_timer_status_get_overrun(snd_timer_status_t * status) __attribute__((alias("glshim_snd_timer_status_get_overrun"))); #endif #if !defined(skip_client_snd_timer_status_get_queue) && !defined(skip_index_snd_timer_status_get_queue) -long snd_timer_status_get_queue(snd_timer_status_t * status) { +long glshim_snd_timer_status_get_queue(snd_timer_status_t * status) { snd_timer_status_get_queue_INDEXED packed_data; packed_data.func = snd_timer_status_get_queue_INDEX; packed_data.args.a1 = (snd_timer_status_t *)status; @@ -17809,9 +19550,10 @@ long snd_timer_status_get_queue(snd_timer_status_t * status) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long snd_timer_status_get_queue(snd_timer_status_t * status) __attribute__((alias("glshim_snd_timer_status_get_queue"))); #endif #if !defined(skip_client_snd_timer_status_get_resolution) && !defined(skip_index_snd_timer_status_get_resolution) -long snd_timer_status_get_resolution(snd_timer_status_t * status) { +long glshim_snd_timer_status_get_resolution(snd_timer_status_t * status) { snd_timer_status_get_resolution_INDEXED packed_data; packed_data.func = snd_timer_status_get_resolution_INDEX; packed_data.args.a1 = (snd_timer_status_t *)status; @@ -17819,9 +19561,10 @@ long snd_timer_status_get_resolution(snd_timer_status_t * status) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +long snd_timer_status_get_resolution(snd_timer_status_t * status) __attribute__((alias("glshim_snd_timer_status_get_resolution"))); #endif #if !defined(skip_client_snd_timer_status_get_timestamp) && !defined(skip_index_snd_timer_status_get_timestamp) -snd_htimestamp_t snd_timer_status_get_timestamp(snd_timer_status_t * status) { +snd_htimestamp_t glshim_snd_timer_status_get_timestamp(snd_timer_status_t * status) { snd_timer_status_get_timestamp_INDEXED packed_data; packed_data.func = snd_timer_status_get_timestamp_INDEX; packed_data.args.a1 = (snd_timer_status_t *)status; @@ -17829,9 +19572,10 @@ snd_htimestamp_t snd_timer_status_get_timestamp(snd_timer_status_t * status) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +snd_htimestamp_t snd_timer_status_get_timestamp(snd_timer_status_t * status) __attribute__((alias("glshim_snd_timer_status_get_timestamp"))); #endif #if !defined(skip_client_snd_timer_status_malloc) && !defined(skip_index_snd_timer_status_malloc) -int snd_timer_status_malloc(snd_timer_status_t ** ptr) { +int glshim_snd_timer_status_malloc(snd_timer_status_t ** ptr) { snd_timer_status_malloc_INDEXED packed_data; packed_data.func = snd_timer_status_malloc_INDEX; packed_data.args.a1 = (snd_timer_status_t **)ptr; @@ -17839,18 +19583,20 @@ int snd_timer_status_malloc(snd_timer_status_t ** ptr) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_status_malloc(snd_timer_status_t ** ptr) __attribute__((alias("glshim_snd_timer_status_malloc"))); #endif #if !defined(skip_client_snd_timer_status_sizeof) && !defined(skip_index_snd_timer_status_sizeof) -size_t snd_timer_status_sizeof() { +size_t glshim_snd_timer_status_sizeof() { snd_timer_status_sizeof_INDEXED packed_data; packed_data.func = snd_timer_status_sizeof_INDEX; size_t ret; syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +size_t snd_timer_status_sizeof() __attribute__((alias("glshim_snd_timer_status_sizeof"))); #endif #if !defined(skip_client_snd_timer_stop) && !defined(skip_index_snd_timer_stop) -int snd_timer_stop(snd_timer_t * handle) { +int glshim_snd_timer_stop(snd_timer_t * handle) { snd_timer_stop_INDEXED packed_data; packed_data.func = snd_timer_stop_INDEX; packed_data.args.a1 = (snd_timer_t *)handle; @@ -17858,9 +19604,10 @@ int snd_timer_stop(snd_timer_t * handle) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_timer_stop(snd_timer_t * handle) __attribute__((alias("glshim_snd_timer_stop"))); #endif #if !defined(skip_client_snd_user_file) && !defined(skip_index_snd_user_file) -int snd_user_file(const char * file, char ** result) { +int glshim_snd_user_file(const char * file, char ** result) { snd_user_file_INDEXED packed_data; packed_data.func = snd_user_file_INDEX; packed_data.args.a1 = (char *)file; @@ -17869,6 +19616,7 @@ int snd_user_file(const char * file, char ** result) { syscall(SYS_proxy, (void *)&packed_data, &ret); return ret; } +int snd_user_file(const char * file, char ** result) __attribute__((alias("glshim_snd_user_file"))); #endif diff --git a/project/jni/glshim/src/proxy/proxy.h b/project/jni/glshim/src/proxy/proxy.h index 2d08264d7..34ed2787c 100644 --- a/project/jni/glshim/src/proxy/proxy.h +++ b/project/jni/glshim/src/proxy/proxy.h @@ -26031,3501 +26031,3501 @@ void glIndexedCall(const indexed_call_t *packed, void *ret_v); #define snd_user_file_INDEXED INDEXED_int_const_char___GENPT___char___GENPT____GENPT__ #define snd_user_file_FORMAT FORMAT_int_const_char___GENPT___char___GENPT____GENPT__ -void glAccum(glAccum_ARG_EXPAND); +void glshim_glAccum(glAccum_ARG_EXPAND); typedef void (*glAccum_PTR)(glAccum_ARG_EXPAND); -void glActiveTexture(glActiveTexture_ARG_EXPAND); +void glshim_glActiveTexture(glActiveTexture_ARG_EXPAND); typedef void (*glActiveTexture_PTR)(glActiveTexture_ARG_EXPAND); -void glAlphaFunc(glAlphaFunc_ARG_EXPAND); +void glshim_glAlphaFunc(glAlphaFunc_ARG_EXPAND); typedef void (*glAlphaFunc_PTR)(glAlphaFunc_ARG_EXPAND); -GLboolean glAreTexturesResident(glAreTexturesResident_ARG_EXPAND); +GLboolean glshim_glAreTexturesResident(glAreTexturesResident_ARG_EXPAND); typedef GLboolean (*glAreTexturesResident_PTR)(glAreTexturesResident_ARG_EXPAND); -void glArrayElement(glArrayElement_ARG_EXPAND); +void glshim_glArrayElement(glArrayElement_ARG_EXPAND); typedef void (*glArrayElement_PTR)(glArrayElement_ARG_EXPAND); -void glBegin(glBegin_ARG_EXPAND); +void glshim_glBegin(glBegin_ARG_EXPAND); typedef void (*glBegin_PTR)(glBegin_ARG_EXPAND); -void glBeginQuery(glBeginQuery_ARG_EXPAND); +void glshim_glBeginQuery(glBeginQuery_ARG_EXPAND); typedef void (*glBeginQuery_PTR)(glBeginQuery_ARG_EXPAND); -void glBindBuffer(glBindBuffer_ARG_EXPAND); +void glshim_glBindBuffer(glBindBuffer_ARG_EXPAND); typedef void (*glBindBuffer_PTR)(glBindBuffer_ARG_EXPAND); -void glBindTexture(glBindTexture_ARG_EXPAND); +void glshim_glBindTexture(glBindTexture_ARG_EXPAND); typedef void (*glBindTexture_PTR)(glBindTexture_ARG_EXPAND); -void glBitmap(glBitmap_ARG_EXPAND); +void glshim_glBitmap(glBitmap_ARG_EXPAND); typedef void (*glBitmap_PTR)(glBitmap_ARG_EXPAND); -void glBlendColor(glBlendColor_ARG_EXPAND); +void glshim_glBlendColor(glBlendColor_ARG_EXPAND); typedef void (*glBlendColor_PTR)(glBlendColor_ARG_EXPAND); -void glBlendEquation(glBlendEquation_ARG_EXPAND); +void glshim_glBlendEquation(glBlendEquation_ARG_EXPAND); typedef void (*glBlendEquation_PTR)(glBlendEquation_ARG_EXPAND); -void glBlendFunc(glBlendFunc_ARG_EXPAND); +void glshim_glBlendFunc(glBlendFunc_ARG_EXPAND); typedef void (*glBlendFunc_PTR)(glBlendFunc_ARG_EXPAND); -void glBlendFuncSeparate(glBlendFuncSeparate_ARG_EXPAND); +void glshim_glBlendFuncSeparate(glBlendFuncSeparate_ARG_EXPAND); typedef void (*glBlendFuncSeparate_PTR)(glBlendFuncSeparate_ARG_EXPAND); -void glBufferData(glBufferData_ARG_EXPAND); +void glshim_glBufferData(glBufferData_ARG_EXPAND); typedef void (*glBufferData_PTR)(glBufferData_ARG_EXPAND); -void glBufferSubData(glBufferSubData_ARG_EXPAND); +void glshim_glBufferSubData(glBufferSubData_ARG_EXPAND); typedef void (*glBufferSubData_PTR)(glBufferSubData_ARG_EXPAND); -void glCallList(glCallList_ARG_EXPAND); +void glshim_glCallList(glCallList_ARG_EXPAND); typedef void (*glCallList_PTR)(glCallList_ARG_EXPAND); -void glCallLists(glCallLists_ARG_EXPAND); +void glshim_glCallLists(glCallLists_ARG_EXPAND); typedef void (*glCallLists_PTR)(glCallLists_ARG_EXPAND); -void glClear(glClear_ARG_EXPAND); +void glshim_glClear(glClear_ARG_EXPAND); typedef void (*glClear_PTR)(glClear_ARG_EXPAND); -void glClearAccum(glClearAccum_ARG_EXPAND); +void glshim_glClearAccum(glClearAccum_ARG_EXPAND); typedef void (*glClearAccum_PTR)(glClearAccum_ARG_EXPAND); -void glClearColor(glClearColor_ARG_EXPAND); +void glshim_glClearColor(glClearColor_ARG_EXPAND); typedef void (*glClearColor_PTR)(glClearColor_ARG_EXPAND); -void glClearDepth(glClearDepth_ARG_EXPAND); +void glshim_glClearDepth(glClearDepth_ARG_EXPAND); typedef void (*glClearDepth_PTR)(glClearDepth_ARG_EXPAND); -void glClearIndex(glClearIndex_ARG_EXPAND); +void glshim_glClearIndex(glClearIndex_ARG_EXPAND); typedef void (*glClearIndex_PTR)(glClearIndex_ARG_EXPAND); -void glClearStencil(glClearStencil_ARG_EXPAND); +void glshim_glClearStencil(glClearStencil_ARG_EXPAND); typedef void (*glClearStencil_PTR)(glClearStencil_ARG_EXPAND); -void glClientActiveTexture(glClientActiveTexture_ARG_EXPAND); +void glshim_glClientActiveTexture(glClientActiveTexture_ARG_EXPAND); typedef void (*glClientActiveTexture_PTR)(glClientActiveTexture_ARG_EXPAND); -void glClipPlane(glClipPlane_ARG_EXPAND); +void glshim_glClipPlane(glClipPlane_ARG_EXPAND); typedef void (*glClipPlane_PTR)(glClipPlane_ARG_EXPAND); -void glColor3b(glColor3b_ARG_EXPAND); +void glshim_glColor3b(glColor3b_ARG_EXPAND); typedef void (*glColor3b_PTR)(glColor3b_ARG_EXPAND); -void glColor3bv(glColor3bv_ARG_EXPAND); +void glshim_glColor3bv(glColor3bv_ARG_EXPAND); typedef void (*glColor3bv_PTR)(glColor3bv_ARG_EXPAND); -void glColor3d(glColor3d_ARG_EXPAND); +void glshim_glColor3d(glColor3d_ARG_EXPAND); typedef void (*glColor3d_PTR)(glColor3d_ARG_EXPAND); -void glColor3dv(glColor3dv_ARG_EXPAND); +void glshim_glColor3dv(glColor3dv_ARG_EXPAND); typedef void (*glColor3dv_PTR)(glColor3dv_ARG_EXPAND); -void glColor3f(glColor3f_ARG_EXPAND); +void glshim_glColor3f(glColor3f_ARG_EXPAND); typedef void (*glColor3f_PTR)(glColor3f_ARG_EXPAND); -void glColor3fv(glColor3fv_ARG_EXPAND); +void glshim_glColor3fv(glColor3fv_ARG_EXPAND); typedef void (*glColor3fv_PTR)(glColor3fv_ARG_EXPAND); -void glColor3i(glColor3i_ARG_EXPAND); +void glshim_glColor3i(glColor3i_ARG_EXPAND); typedef void (*glColor3i_PTR)(glColor3i_ARG_EXPAND); -void glColor3iv(glColor3iv_ARG_EXPAND); +void glshim_glColor3iv(glColor3iv_ARG_EXPAND); typedef void (*glColor3iv_PTR)(glColor3iv_ARG_EXPAND); -void glColor3s(glColor3s_ARG_EXPAND); +void glshim_glColor3s(glColor3s_ARG_EXPAND); typedef void (*glColor3s_PTR)(glColor3s_ARG_EXPAND); -void glColor3sv(glColor3sv_ARG_EXPAND); +void glshim_glColor3sv(glColor3sv_ARG_EXPAND); typedef void (*glColor3sv_PTR)(glColor3sv_ARG_EXPAND); -void glColor3ub(glColor3ub_ARG_EXPAND); +void glshim_glColor3ub(glColor3ub_ARG_EXPAND); typedef void (*glColor3ub_PTR)(glColor3ub_ARG_EXPAND); -void glColor3ubv(glColor3ubv_ARG_EXPAND); +void glshim_glColor3ubv(glColor3ubv_ARG_EXPAND); typedef void (*glColor3ubv_PTR)(glColor3ubv_ARG_EXPAND); -void glColor3ui(glColor3ui_ARG_EXPAND); +void glshim_glColor3ui(glColor3ui_ARG_EXPAND); typedef void (*glColor3ui_PTR)(glColor3ui_ARG_EXPAND); -void glColor3uiv(glColor3uiv_ARG_EXPAND); +void glshim_glColor3uiv(glColor3uiv_ARG_EXPAND); typedef void (*glColor3uiv_PTR)(glColor3uiv_ARG_EXPAND); -void glColor3us(glColor3us_ARG_EXPAND); +void glshim_glColor3us(glColor3us_ARG_EXPAND); typedef void (*glColor3us_PTR)(glColor3us_ARG_EXPAND); -void glColor3usv(glColor3usv_ARG_EXPAND); +void glshim_glColor3usv(glColor3usv_ARG_EXPAND); typedef void (*glColor3usv_PTR)(glColor3usv_ARG_EXPAND); -void glColor4b(glColor4b_ARG_EXPAND); +void glshim_glColor4b(glColor4b_ARG_EXPAND); typedef void (*glColor4b_PTR)(glColor4b_ARG_EXPAND); -void glColor4bv(glColor4bv_ARG_EXPAND); +void glshim_glColor4bv(glColor4bv_ARG_EXPAND); typedef void (*glColor4bv_PTR)(glColor4bv_ARG_EXPAND); -void glColor4d(glColor4d_ARG_EXPAND); +void glshim_glColor4d(glColor4d_ARG_EXPAND); typedef void (*glColor4d_PTR)(glColor4d_ARG_EXPAND); -void glColor4dv(glColor4dv_ARG_EXPAND); +void glshim_glColor4dv(glColor4dv_ARG_EXPAND); typedef void (*glColor4dv_PTR)(glColor4dv_ARG_EXPAND); -void glColor4f(glColor4f_ARG_EXPAND); +void glshim_glColor4f(glColor4f_ARG_EXPAND); typedef void (*glColor4f_PTR)(glColor4f_ARG_EXPAND); -void glColor4fv(glColor4fv_ARG_EXPAND); +void glshim_glColor4fv(glColor4fv_ARG_EXPAND); typedef void (*glColor4fv_PTR)(glColor4fv_ARG_EXPAND); -void glColor4i(glColor4i_ARG_EXPAND); +void glshim_glColor4i(glColor4i_ARG_EXPAND); typedef void (*glColor4i_PTR)(glColor4i_ARG_EXPAND); -void glColor4iv(glColor4iv_ARG_EXPAND); +void glshim_glColor4iv(glColor4iv_ARG_EXPAND); typedef void (*glColor4iv_PTR)(glColor4iv_ARG_EXPAND); -void glColor4s(glColor4s_ARG_EXPAND); +void glshim_glColor4s(glColor4s_ARG_EXPAND); typedef void (*glColor4s_PTR)(glColor4s_ARG_EXPAND); -void glColor4sv(glColor4sv_ARG_EXPAND); +void glshim_glColor4sv(glColor4sv_ARG_EXPAND); typedef void (*glColor4sv_PTR)(glColor4sv_ARG_EXPAND); -void glColor4ub(glColor4ub_ARG_EXPAND); +void glshim_glColor4ub(glColor4ub_ARG_EXPAND); typedef void (*glColor4ub_PTR)(glColor4ub_ARG_EXPAND); -void glColor4ubv(glColor4ubv_ARG_EXPAND); +void glshim_glColor4ubv(glColor4ubv_ARG_EXPAND); typedef void (*glColor4ubv_PTR)(glColor4ubv_ARG_EXPAND); -void glColor4ui(glColor4ui_ARG_EXPAND); +void glshim_glColor4ui(glColor4ui_ARG_EXPAND); typedef void (*glColor4ui_PTR)(glColor4ui_ARG_EXPAND); -void glColor4uiv(glColor4uiv_ARG_EXPAND); +void glshim_glColor4uiv(glColor4uiv_ARG_EXPAND); typedef void (*glColor4uiv_PTR)(glColor4uiv_ARG_EXPAND); -void glColor4us(glColor4us_ARG_EXPAND); +void glshim_glColor4us(glColor4us_ARG_EXPAND); typedef void (*glColor4us_PTR)(glColor4us_ARG_EXPAND); -void glColor4usv(glColor4usv_ARG_EXPAND); +void glshim_glColor4usv(glColor4usv_ARG_EXPAND); typedef void (*glColor4usv_PTR)(glColor4usv_ARG_EXPAND); -void glColorMask(glColorMask_ARG_EXPAND); +void glshim_glColorMask(glColorMask_ARG_EXPAND); typedef void (*glColorMask_PTR)(glColorMask_ARG_EXPAND); -void glColorMaterial(glColorMaterial_ARG_EXPAND); +void glshim_glColorMaterial(glColorMaterial_ARG_EXPAND); typedef void (*glColorMaterial_PTR)(glColorMaterial_ARG_EXPAND); -void glColorPointer(glColorPointer_ARG_EXPAND); +void glshim_glColorPointer(glColorPointer_ARG_EXPAND); typedef void (*glColorPointer_PTR)(glColorPointer_ARG_EXPAND); -void glColorSubTable(glColorSubTable_ARG_EXPAND); +void glshim_glColorSubTable(glColorSubTable_ARG_EXPAND); typedef void (*glColorSubTable_PTR)(glColorSubTable_ARG_EXPAND); -void glColorTable(glColorTable_ARG_EXPAND); +void glshim_glColorTable(glColorTable_ARG_EXPAND); typedef void (*glColorTable_PTR)(glColorTable_ARG_EXPAND); -void glColorTableParameterfv(glColorTableParameterfv_ARG_EXPAND); +void glshim_glColorTableParameterfv(glColorTableParameterfv_ARG_EXPAND); typedef void (*glColorTableParameterfv_PTR)(glColorTableParameterfv_ARG_EXPAND); -void glColorTableParameteriv(glColorTableParameteriv_ARG_EXPAND); +void glshim_glColorTableParameteriv(glColorTableParameteriv_ARG_EXPAND); typedef void (*glColorTableParameteriv_PTR)(glColorTableParameteriv_ARG_EXPAND); -void glCompressedTexImage1D(glCompressedTexImage1D_ARG_EXPAND); +void glshim_glCompressedTexImage1D(glCompressedTexImage1D_ARG_EXPAND); typedef void (*glCompressedTexImage1D_PTR)(glCompressedTexImage1D_ARG_EXPAND); -void glCompressedTexImage2D(glCompressedTexImage2D_ARG_EXPAND); +void glshim_glCompressedTexImage2D(glCompressedTexImage2D_ARG_EXPAND); typedef void (*glCompressedTexImage2D_PTR)(glCompressedTexImage2D_ARG_EXPAND); -void glCompressedTexImage3D(glCompressedTexImage3D_ARG_EXPAND); +void glshim_glCompressedTexImage3D(glCompressedTexImage3D_ARG_EXPAND); typedef void (*glCompressedTexImage3D_PTR)(glCompressedTexImage3D_ARG_EXPAND); -void glCompressedTexSubImage1D(glCompressedTexSubImage1D_ARG_EXPAND); +void glshim_glCompressedTexSubImage1D(glCompressedTexSubImage1D_ARG_EXPAND); typedef void (*glCompressedTexSubImage1D_PTR)(glCompressedTexSubImage1D_ARG_EXPAND); -void glCompressedTexSubImage2D(glCompressedTexSubImage2D_ARG_EXPAND); +void glshim_glCompressedTexSubImage2D(glCompressedTexSubImage2D_ARG_EXPAND); typedef void (*glCompressedTexSubImage2D_PTR)(glCompressedTexSubImage2D_ARG_EXPAND); -void glCompressedTexSubImage3D(glCompressedTexSubImage3D_ARG_EXPAND); +void glshim_glCompressedTexSubImage3D(glCompressedTexSubImage3D_ARG_EXPAND); typedef void (*glCompressedTexSubImage3D_PTR)(glCompressedTexSubImage3D_ARG_EXPAND); -void glConvolutionFilter1D(glConvolutionFilter1D_ARG_EXPAND); +void glshim_glConvolutionFilter1D(glConvolutionFilter1D_ARG_EXPAND); typedef void (*glConvolutionFilter1D_PTR)(glConvolutionFilter1D_ARG_EXPAND); -void glConvolutionFilter2D(glConvolutionFilter2D_ARG_EXPAND); +void glshim_glConvolutionFilter2D(glConvolutionFilter2D_ARG_EXPAND); typedef void (*glConvolutionFilter2D_PTR)(glConvolutionFilter2D_ARG_EXPAND); -void glConvolutionParameterf(glConvolutionParameterf_ARG_EXPAND); +void glshim_glConvolutionParameterf(glConvolutionParameterf_ARG_EXPAND); typedef void (*glConvolutionParameterf_PTR)(glConvolutionParameterf_ARG_EXPAND); -void glConvolutionParameterfv(glConvolutionParameterfv_ARG_EXPAND); +void glshim_glConvolutionParameterfv(glConvolutionParameterfv_ARG_EXPAND); typedef void (*glConvolutionParameterfv_PTR)(glConvolutionParameterfv_ARG_EXPAND); -void glConvolutionParameteri(glConvolutionParameteri_ARG_EXPAND); +void glshim_glConvolutionParameteri(glConvolutionParameteri_ARG_EXPAND); typedef void (*glConvolutionParameteri_PTR)(glConvolutionParameteri_ARG_EXPAND); -void glConvolutionParameteriv(glConvolutionParameteriv_ARG_EXPAND); +void glshim_glConvolutionParameteriv(glConvolutionParameteriv_ARG_EXPAND); typedef void (*glConvolutionParameteriv_PTR)(glConvolutionParameteriv_ARG_EXPAND); -void glCopyColorSubTable(glCopyColorSubTable_ARG_EXPAND); +void glshim_glCopyColorSubTable(glCopyColorSubTable_ARG_EXPAND); typedef void (*glCopyColorSubTable_PTR)(glCopyColorSubTable_ARG_EXPAND); -void glCopyColorTable(glCopyColorTable_ARG_EXPAND); +void glshim_glCopyColorTable(glCopyColorTable_ARG_EXPAND); typedef void (*glCopyColorTable_PTR)(glCopyColorTable_ARG_EXPAND); -void glCopyConvolutionFilter1D(glCopyConvolutionFilter1D_ARG_EXPAND); +void glshim_glCopyConvolutionFilter1D(glCopyConvolutionFilter1D_ARG_EXPAND); typedef void (*glCopyConvolutionFilter1D_PTR)(glCopyConvolutionFilter1D_ARG_EXPAND); -void glCopyConvolutionFilter2D(glCopyConvolutionFilter2D_ARG_EXPAND); +void glshim_glCopyConvolutionFilter2D(glCopyConvolutionFilter2D_ARG_EXPAND); typedef void (*glCopyConvolutionFilter2D_PTR)(glCopyConvolutionFilter2D_ARG_EXPAND); -void glCopyPixels(glCopyPixels_ARG_EXPAND); +void glshim_glCopyPixels(glCopyPixels_ARG_EXPAND); typedef void (*glCopyPixels_PTR)(glCopyPixels_ARG_EXPAND); -void glCopyTexImage1D(glCopyTexImage1D_ARG_EXPAND); +void glshim_glCopyTexImage1D(glCopyTexImage1D_ARG_EXPAND); typedef void (*glCopyTexImage1D_PTR)(glCopyTexImage1D_ARG_EXPAND); -void glCopyTexImage2D(glCopyTexImage2D_ARG_EXPAND); +void glshim_glCopyTexImage2D(glCopyTexImage2D_ARG_EXPAND); typedef void (*glCopyTexImage2D_PTR)(glCopyTexImage2D_ARG_EXPAND); -void glCopyTexSubImage1D(glCopyTexSubImage1D_ARG_EXPAND); +void glshim_glCopyTexSubImage1D(glCopyTexSubImage1D_ARG_EXPAND); typedef void (*glCopyTexSubImage1D_PTR)(glCopyTexSubImage1D_ARG_EXPAND); -void glCopyTexSubImage2D(glCopyTexSubImage2D_ARG_EXPAND); +void glshim_glCopyTexSubImage2D(glCopyTexSubImage2D_ARG_EXPAND); typedef void (*glCopyTexSubImage2D_PTR)(glCopyTexSubImage2D_ARG_EXPAND); -void glCopyTexSubImage3D(glCopyTexSubImage3D_ARG_EXPAND); +void glshim_glCopyTexSubImage3D(glCopyTexSubImage3D_ARG_EXPAND); typedef void (*glCopyTexSubImage3D_PTR)(glCopyTexSubImage3D_ARG_EXPAND); -void glCullFace(glCullFace_ARG_EXPAND); +void glshim_glCullFace(glCullFace_ARG_EXPAND); typedef void (*glCullFace_PTR)(glCullFace_ARG_EXPAND); -void glDeleteBuffers(glDeleteBuffers_ARG_EXPAND); +void glshim_glDeleteBuffers(glDeleteBuffers_ARG_EXPAND); typedef void (*glDeleteBuffers_PTR)(glDeleteBuffers_ARG_EXPAND); -void glDeleteLists(glDeleteLists_ARG_EXPAND); +void glshim_glDeleteLists(glDeleteLists_ARG_EXPAND); typedef void (*glDeleteLists_PTR)(glDeleteLists_ARG_EXPAND); -void glDeleteQueries(glDeleteQueries_ARG_EXPAND); +void glshim_glDeleteQueries(glDeleteQueries_ARG_EXPAND); typedef void (*glDeleteQueries_PTR)(glDeleteQueries_ARG_EXPAND); -void glDeleteTextures(glDeleteTextures_ARG_EXPAND); +void glshim_glDeleteTextures(glDeleteTextures_ARG_EXPAND); typedef void (*glDeleteTextures_PTR)(glDeleteTextures_ARG_EXPAND); -void glDepthFunc(glDepthFunc_ARG_EXPAND); +void glshim_glDepthFunc(glDepthFunc_ARG_EXPAND); typedef void (*glDepthFunc_PTR)(glDepthFunc_ARG_EXPAND); -void glDepthMask(glDepthMask_ARG_EXPAND); +void glshim_glDepthMask(glDepthMask_ARG_EXPAND); typedef void (*glDepthMask_PTR)(glDepthMask_ARG_EXPAND); -void glDepthRange(glDepthRange_ARG_EXPAND); +void glshim_glDepthRange(glDepthRange_ARG_EXPAND); typedef void (*glDepthRange_PTR)(glDepthRange_ARG_EXPAND); -void glDisable(glDisable_ARG_EXPAND); +void glshim_glDisable(glDisable_ARG_EXPAND); typedef void (*glDisable_PTR)(glDisable_ARG_EXPAND); -void glDisableClientState(glDisableClientState_ARG_EXPAND); +void glshim_glDisableClientState(glDisableClientState_ARG_EXPAND); typedef void (*glDisableClientState_PTR)(glDisableClientState_ARG_EXPAND); -void glDrawArrays(glDrawArrays_ARG_EXPAND); +void glshim_glDrawArrays(glDrawArrays_ARG_EXPAND); typedef void (*glDrawArrays_PTR)(glDrawArrays_ARG_EXPAND); -void glDrawBuffer(glDrawBuffer_ARG_EXPAND); +void glshim_glDrawBuffer(glDrawBuffer_ARG_EXPAND); typedef void (*glDrawBuffer_PTR)(glDrawBuffer_ARG_EXPAND); -void glDrawElements(glDrawElements_ARG_EXPAND); +void glshim_glDrawElements(glDrawElements_ARG_EXPAND); typedef void (*glDrawElements_PTR)(glDrawElements_ARG_EXPAND); -void glDrawPixels(glDrawPixels_ARG_EXPAND); +void glshim_glDrawPixels(glDrawPixels_ARG_EXPAND); typedef void (*glDrawPixels_PTR)(glDrawPixels_ARG_EXPAND); -void glDrawRangeElements(glDrawRangeElements_ARG_EXPAND); +void glshim_glDrawRangeElements(glDrawRangeElements_ARG_EXPAND); typedef void (*glDrawRangeElements_PTR)(glDrawRangeElements_ARG_EXPAND); -void glEdgeFlag(glEdgeFlag_ARG_EXPAND); +void glshim_glEdgeFlag(glEdgeFlag_ARG_EXPAND); typedef void (*glEdgeFlag_PTR)(glEdgeFlag_ARG_EXPAND); -void glEdgeFlagPointer(glEdgeFlagPointer_ARG_EXPAND); +void glshim_glEdgeFlagPointer(glEdgeFlagPointer_ARG_EXPAND); typedef void (*glEdgeFlagPointer_PTR)(glEdgeFlagPointer_ARG_EXPAND); -void glEdgeFlagv(glEdgeFlagv_ARG_EXPAND); +void glshim_glEdgeFlagv(glEdgeFlagv_ARG_EXPAND); typedef void (*glEdgeFlagv_PTR)(glEdgeFlagv_ARG_EXPAND); -void glEnable(glEnable_ARG_EXPAND); +void glshim_glEnable(glEnable_ARG_EXPAND); typedef void (*glEnable_PTR)(glEnable_ARG_EXPAND); -void glEnableClientState(glEnableClientState_ARG_EXPAND); +void glshim_glEnableClientState(glEnableClientState_ARG_EXPAND); typedef void (*glEnableClientState_PTR)(glEnableClientState_ARG_EXPAND); -void glEnd(glEnd_ARG_EXPAND); +void glshim_glEnd(glEnd_ARG_EXPAND); typedef void (*glEnd_PTR)(glEnd_ARG_EXPAND); -void glEndList(glEndList_ARG_EXPAND); +void glshim_glEndList(glEndList_ARG_EXPAND); typedef void (*glEndList_PTR)(glEndList_ARG_EXPAND); -void glEndQuery(glEndQuery_ARG_EXPAND); +void glshim_glEndQuery(glEndQuery_ARG_EXPAND); typedef void (*glEndQuery_PTR)(glEndQuery_ARG_EXPAND); -void glEvalCoord1d(glEvalCoord1d_ARG_EXPAND); +void glshim_glEvalCoord1d(glEvalCoord1d_ARG_EXPAND); typedef void (*glEvalCoord1d_PTR)(glEvalCoord1d_ARG_EXPAND); -void glEvalCoord1dv(glEvalCoord1dv_ARG_EXPAND); +void glshim_glEvalCoord1dv(glEvalCoord1dv_ARG_EXPAND); typedef void (*glEvalCoord1dv_PTR)(glEvalCoord1dv_ARG_EXPAND); -void glEvalCoord1f(glEvalCoord1f_ARG_EXPAND); +void glshim_glEvalCoord1f(glEvalCoord1f_ARG_EXPAND); typedef void (*glEvalCoord1f_PTR)(glEvalCoord1f_ARG_EXPAND); -void glEvalCoord1fv(glEvalCoord1fv_ARG_EXPAND); +void glshim_glEvalCoord1fv(glEvalCoord1fv_ARG_EXPAND); typedef void (*glEvalCoord1fv_PTR)(glEvalCoord1fv_ARG_EXPAND); -void glEvalCoord2d(glEvalCoord2d_ARG_EXPAND); +void glshim_glEvalCoord2d(glEvalCoord2d_ARG_EXPAND); typedef void (*glEvalCoord2d_PTR)(glEvalCoord2d_ARG_EXPAND); -void glEvalCoord2dv(glEvalCoord2dv_ARG_EXPAND); +void glshim_glEvalCoord2dv(glEvalCoord2dv_ARG_EXPAND); typedef void (*glEvalCoord2dv_PTR)(glEvalCoord2dv_ARG_EXPAND); -void glEvalCoord2f(glEvalCoord2f_ARG_EXPAND); +void glshim_glEvalCoord2f(glEvalCoord2f_ARG_EXPAND); typedef void (*glEvalCoord2f_PTR)(glEvalCoord2f_ARG_EXPAND); -void glEvalCoord2fv(glEvalCoord2fv_ARG_EXPAND); +void glshim_glEvalCoord2fv(glEvalCoord2fv_ARG_EXPAND); typedef void (*glEvalCoord2fv_PTR)(glEvalCoord2fv_ARG_EXPAND); -void glEvalMesh1(glEvalMesh1_ARG_EXPAND); +void glshim_glEvalMesh1(glEvalMesh1_ARG_EXPAND); typedef void (*glEvalMesh1_PTR)(glEvalMesh1_ARG_EXPAND); -void glEvalMesh2(glEvalMesh2_ARG_EXPAND); +void glshim_glEvalMesh2(glEvalMesh2_ARG_EXPAND); typedef void (*glEvalMesh2_PTR)(glEvalMesh2_ARG_EXPAND); -void glEvalPoint1(glEvalPoint1_ARG_EXPAND); +void glshim_glEvalPoint1(glEvalPoint1_ARG_EXPAND); typedef void (*glEvalPoint1_PTR)(glEvalPoint1_ARG_EXPAND); -void glEvalPoint2(glEvalPoint2_ARG_EXPAND); +void glshim_glEvalPoint2(glEvalPoint2_ARG_EXPAND); typedef void (*glEvalPoint2_PTR)(glEvalPoint2_ARG_EXPAND); -void glFeedbackBuffer(glFeedbackBuffer_ARG_EXPAND); +void glshim_glFeedbackBuffer(glFeedbackBuffer_ARG_EXPAND); typedef void (*glFeedbackBuffer_PTR)(glFeedbackBuffer_ARG_EXPAND); -void glFinish(glFinish_ARG_EXPAND); +void glshim_glFinish(glFinish_ARG_EXPAND); typedef void (*glFinish_PTR)(glFinish_ARG_EXPAND); -void glFlush(glFlush_ARG_EXPAND); +void glshim_glFlush(glFlush_ARG_EXPAND); typedef void (*glFlush_PTR)(glFlush_ARG_EXPAND); -void glFogCoordPointer(glFogCoordPointer_ARG_EXPAND); +void glshim_glFogCoordPointer(glFogCoordPointer_ARG_EXPAND); typedef void (*glFogCoordPointer_PTR)(glFogCoordPointer_ARG_EXPAND); -void glFogCoordd(glFogCoordd_ARG_EXPAND); +void glshim_glFogCoordd(glFogCoordd_ARG_EXPAND); typedef void (*glFogCoordd_PTR)(glFogCoordd_ARG_EXPAND); -void glFogCoorddv(glFogCoorddv_ARG_EXPAND); +void glshim_glFogCoorddv(glFogCoorddv_ARG_EXPAND); typedef void (*glFogCoorddv_PTR)(glFogCoorddv_ARG_EXPAND); -void glFogCoordf(glFogCoordf_ARG_EXPAND); +void glshim_glFogCoordf(glFogCoordf_ARG_EXPAND); typedef void (*glFogCoordf_PTR)(glFogCoordf_ARG_EXPAND); -void glFogCoordfv(glFogCoordfv_ARG_EXPAND); +void glshim_glFogCoordfv(glFogCoordfv_ARG_EXPAND); typedef void (*glFogCoordfv_PTR)(glFogCoordfv_ARG_EXPAND); -void glFogf(glFogf_ARG_EXPAND); +void glshim_glFogf(glFogf_ARG_EXPAND); typedef void (*glFogf_PTR)(glFogf_ARG_EXPAND); -void glFogfv(glFogfv_ARG_EXPAND); +void glshim_glFogfv(glFogfv_ARG_EXPAND); typedef void (*glFogfv_PTR)(glFogfv_ARG_EXPAND); -void glFogi(glFogi_ARG_EXPAND); +void glshim_glFogi(glFogi_ARG_EXPAND); typedef void (*glFogi_PTR)(glFogi_ARG_EXPAND); -void glFogiv(glFogiv_ARG_EXPAND); +void glshim_glFogiv(glFogiv_ARG_EXPAND); typedef void (*glFogiv_PTR)(glFogiv_ARG_EXPAND); -void glFrontFace(glFrontFace_ARG_EXPAND); +void glshim_glFrontFace(glFrontFace_ARG_EXPAND); typedef void (*glFrontFace_PTR)(glFrontFace_ARG_EXPAND); -void glFrustum(glFrustum_ARG_EXPAND); +void glshim_glFrustum(glFrustum_ARG_EXPAND); typedef void (*glFrustum_PTR)(glFrustum_ARG_EXPAND); -void glGenBuffers(glGenBuffers_ARG_EXPAND); +void glshim_glGenBuffers(glGenBuffers_ARG_EXPAND); typedef void (*glGenBuffers_PTR)(glGenBuffers_ARG_EXPAND); -GLuint glGenLists(glGenLists_ARG_EXPAND); +GLuint glshim_glGenLists(glGenLists_ARG_EXPAND); typedef GLuint (*glGenLists_PTR)(glGenLists_ARG_EXPAND); -void glGenQueries(glGenQueries_ARG_EXPAND); +void glshim_glGenQueries(glGenQueries_ARG_EXPAND); typedef void (*glGenQueries_PTR)(glGenQueries_ARG_EXPAND); -void glGenTextures(glGenTextures_ARG_EXPAND); +void glshim_glGenTextures(glGenTextures_ARG_EXPAND); typedef void (*glGenTextures_PTR)(glGenTextures_ARG_EXPAND); -void glGetBooleanv(glGetBooleanv_ARG_EXPAND); +void glshim_glGetBooleanv(glGetBooleanv_ARG_EXPAND); typedef void (*glGetBooleanv_PTR)(glGetBooleanv_ARG_EXPAND); -void glGetBufferParameteriv(glGetBufferParameteriv_ARG_EXPAND); +void glshim_glGetBufferParameteriv(glGetBufferParameteriv_ARG_EXPAND); typedef void (*glGetBufferParameteriv_PTR)(glGetBufferParameteriv_ARG_EXPAND); -void glGetBufferPointerv(glGetBufferPointerv_ARG_EXPAND); +void glshim_glGetBufferPointerv(glGetBufferPointerv_ARG_EXPAND); typedef void (*glGetBufferPointerv_PTR)(glGetBufferPointerv_ARG_EXPAND); -void glGetBufferSubData(glGetBufferSubData_ARG_EXPAND); +void glshim_glGetBufferSubData(glGetBufferSubData_ARG_EXPAND); typedef void (*glGetBufferSubData_PTR)(glGetBufferSubData_ARG_EXPAND); -void glGetClipPlane(glGetClipPlane_ARG_EXPAND); +void glshim_glGetClipPlane(glGetClipPlane_ARG_EXPAND); typedef void (*glGetClipPlane_PTR)(glGetClipPlane_ARG_EXPAND); -void glGetColorTable(glGetColorTable_ARG_EXPAND); +void glshim_glGetColorTable(glGetColorTable_ARG_EXPAND); typedef void (*glGetColorTable_PTR)(glGetColorTable_ARG_EXPAND); -void glGetColorTableParameterfv(glGetColorTableParameterfv_ARG_EXPAND); +void glshim_glGetColorTableParameterfv(glGetColorTableParameterfv_ARG_EXPAND); typedef void (*glGetColorTableParameterfv_PTR)(glGetColorTableParameterfv_ARG_EXPAND); -void glGetColorTableParameteriv(glGetColorTableParameteriv_ARG_EXPAND); +void glshim_glGetColorTableParameteriv(glGetColorTableParameteriv_ARG_EXPAND); typedef void (*glGetColorTableParameteriv_PTR)(glGetColorTableParameteriv_ARG_EXPAND); -void glGetCompressedTexImage(glGetCompressedTexImage_ARG_EXPAND); +void glshim_glGetCompressedTexImage(glGetCompressedTexImage_ARG_EXPAND); typedef void (*glGetCompressedTexImage_PTR)(glGetCompressedTexImage_ARG_EXPAND); -void glGetConvolutionFilter(glGetConvolutionFilter_ARG_EXPAND); +void glshim_glGetConvolutionFilter(glGetConvolutionFilter_ARG_EXPAND); typedef void (*glGetConvolutionFilter_PTR)(glGetConvolutionFilter_ARG_EXPAND); -void glGetConvolutionParameterfv(glGetConvolutionParameterfv_ARG_EXPAND); +void glshim_glGetConvolutionParameterfv(glGetConvolutionParameterfv_ARG_EXPAND); typedef void (*glGetConvolutionParameterfv_PTR)(glGetConvolutionParameterfv_ARG_EXPAND); -void glGetConvolutionParameteriv(glGetConvolutionParameteriv_ARG_EXPAND); +void glshim_glGetConvolutionParameteriv(glGetConvolutionParameteriv_ARG_EXPAND); typedef void (*glGetConvolutionParameteriv_PTR)(glGetConvolutionParameteriv_ARG_EXPAND); -void glGetDoublev(glGetDoublev_ARG_EXPAND); +void glshim_glGetDoublev(glGetDoublev_ARG_EXPAND); typedef void (*glGetDoublev_PTR)(glGetDoublev_ARG_EXPAND); -GLenum glGetError(glGetError_ARG_EXPAND); +GLenum glshim_glGetError(glGetError_ARG_EXPAND); typedef GLenum (*glGetError_PTR)(glGetError_ARG_EXPAND); -void glGetFloatv(glGetFloatv_ARG_EXPAND); +void glshim_glGetFloatv(glGetFloatv_ARG_EXPAND); typedef void (*glGetFloatv_PTR)(glGetFloatv_ARG_EXPAND); -void glGetHistogram(glGetHistogram_ARG_EXPAND); +void glshim_glGetHistogram(glGetHistogram_ARG_EXPAND); typedef void (*glGetHistogram_PTR)(glGetHistogram_ARG_EXPAND); -void glGetHistogramParameterfv(glGetHistogramParameterfv_ARG_EXPAND); +void glshim_glGetHistogramParameterfv(glGetHistogramParameterfv_ARG_EXPAND); typedef void (*glGetHistogramParameterfv_PTR)(glGetHistogramParameterfv_ARG_EXPAND); -void glGetHistogramParameteriv(glGetHistogramParameteriv_ARG_EXPAND); +void glshim_glGetHistogramParameteriv(glGetHistogramParameteriv_ARG_EXPAND); typedef void (*glGetHistogramParameteriv_PTR)(glGetHistogramParameteriv_ARG_EXPAND); -void glGetIntegerv(glGetIntegerv_ARG_EXPAND); +void glshim_glGetIntegerv(glGetIntegerv_ARG_EXPAND); typedef void (*glGetIntegerv_PTR)(glGetIntegerv_ARG_EXPAND); -void glGetLightfv(glGetLightfv_ARG_EXPAND); +void glshim_glGetLightfv(glGetLightfv_ARG_EXPAND); typedef void (*glGetLightfv_PTR)(glGetLightfv_ARG_EXPAND); -void glGetLightiv(glGetLightiv_ARG_EXPAND); +void glshim_glGetLightiv(glGetLightiv_ARG_EXPAND); typedef void (*glGetLightiv_PTR)(glGetLightiv_ARG_EXPAND); -void glGetMapdv(glGetMapdv_ARG_EXPAND); +void glshim_glGetMapdv(glGetMapdv_ARG_EXPAND); typedef void (*glGetMapdv_PTR)(glGetMapdv_ARG_EXPAND); -void glGetMapfv(glGetMapfv_ARG_EXPAND); +void glshim_glGetMapfv(glGetMapfv_ARG_EXPAND); typedef void (*glGetMapfv_PTR)(glGetMapfv_ARG_EXPAND); -void glGetMapiv(glGetMapiv_ARG_EXPAND); +void glshim_glGetMapiv(glGetMapiv_ARG_EXPAND); typedef void (*glGetMapiv_PTR)(glGetMapiv_ARG_EXPAND); -void glGetMaterialfv(glGetMaterialfv_ARG_EXPAND); +void glshim_glGetMaterialfv(glGetMaterialfv_ARG_EXPAND); typedef void (*glGetMaterialfv_PTR)(glGetMaterialfv_ARG_EXPAND); -void glGetMaterialiv(glGetMaterialiv_ARG_EXPAND); +void glshim_glGetMaterialiv(glGetMaterialiv_ARG_EXPAND); typedef void (*glGetMaterialiv_PTR)(glGetMaterialiv_ARG_EXPAND); -void glGetMinmax(glGetMinmax_ARG_EXPAND); +void glshim_glGetMinmax(glGetMinmax_ARG_EXPAND); typedef void (*glGetMinmax_PTR)(glGetMinmax_ARG_EXPAND); -void glGetMinmaxParameterfv(glGetMinmaxParameterfv_ARG_EXPAND); +void glshim_glGetMinmaxParameterfv(glGetMinmaxParameterfv_ARG_EXPAND); typedef void (*glGetMinmaxParameterfv_PTR)(glGetMinmaxParameterfv_ARG_EXPAND); -void glGetMinmaxParameteriv(glGetMinmaxParameteriv_ARG_EXPAND); +void glshim_glGetMinmaxParameteriv(glGetMinmaxParameteriv_ARG_EXPAND); typedef void (*glGetMinmaxParameteriv_PTR)(glGetMinmaxParameteriv_ARG_EXPAND); -void glGetPixelMapfv(glGetPixelMapfv_ARG_EXPAND); +void glshim_glGetPixelMapfv(glGetPixelMapfv_ARG_EXPAND); typedef void (*glGetPixelMapfv_PTR)(glGetPixelMapfv_ARG_EXPAND); -void glGetPixelMapuiv(glGetPixelMapuiv_ARG_EXPAND); +void glshim_glGetPixelMapuiv(glGetPixelMapuiv_ARG_EXPAND); typedef void (*glGetPixelMapuiv_PTR)(glGetPixelMapuiv_ARG_EXPAND); -void glGetPixelMapusv(glGetPixelMapusv_ARG_EXPAND); +void glshim_glGetPixelMapusv(glGetPixelMapusv_ARG_EXPAND); typedef void (*glGetPixelMapusv_PTR)(glGetPixelMapusv_ARG_EXPAND); -void glGetPointerv(glGetPointerv_ARG_EXPAND); +void glshim_glGetPointerv(glGetPointerv_ARG_EXPAND); typedef void (*glGetPointerv_PTR)(glGetPointerv_ARG_EXPAND); -void glGetPolygonStipple(glGetPolygonStipple_ARG_EXPAND); +void glshim_glGetPolygonStipple(glGetPolygonStipple_ARG_EXPAND); typedef void (*glGetPolygonStipple_PTR)(glGetPolygonStipple_ARG_EXPAND); -void glGetQueryObjectiv(glGetQueryObjectiv_ARG_EXPAND); +void glshim_glGetQueryObjectiv(glGetQueryObjectiv_ARG_EXPAND); typedef void (*glGetQueryObjectiv_PTR)(glGetQueryObjectiv_ARG_EXPAND); -void glGetQueryObjectuiv(glGetQueryObjectuiv_ARG_EXPAND); +void glshim_glGetQueryObjectuiv(glGetQueryObjectuiv_ARG_EXPAND); typedef void (*glGetQueryObjectuiv_PTR)(glGetQueryObjectuiv_ARG_EXPAND); -void glGetQueryiv(glGetQueryiv_ARG_EXPAND); +void glshim_glGetQueryiv(glGetQueryiv_ARG_EXPAND); typedef void (*glGetQueryiv_PTR)(glGetQueryiv_ARG_EXPAND); -void glGetSeparableFilter(glGetSeparableFilter_ARG_EXPAND); +void glshim_glGetSeparableFilter(glGetSeparableFilter_ARG_EXPAND); typedef void (*glGetSeparableFilter_PTR)(glGetSeparableFilter_ARG_EXPAND); -const GLubyte * glGetString(glGetString_ARG_EXPAND); +const GLubyte * glshim_glGetString(glGetString_ARG_EXPAND); typedef const GLubyte * (*glGetString_PTR)(glGetString_ARG_EXPAND); -void glGetTexEnvfv(glGetTexEnvfv_ARG_EXPAND); +void glshim_glGetTexEnvfv(glGetTexEnvfv_ARG_EXPAND); typedef void (*glGetTexEnvfv_PTR)(glGetTexEnvfv_ARG_EXPAND); -void glGetTexEnviv(glGetTexEnviv_ARG_EXPAND); +void glshim_glGetTexEnviv(glGetTexEnviv_ARG_EXPAND); typedef void (*glGetTexEnviv_PTR)(glGetTexEnviv_ARG_EXPAND); -void glGetTexGendv(glGetTexGendv_ARG_EXPAND); +void glshim_glGetTexGendv(glGetTexGendv_ARG_EXPAND); typedef void (*glGetTexGendv_PTR)(glGetTexGendv_ARG_EXPAND); -void glGetTexGenfv(glGetTexGenfv_ARG_EXPAND); +void glshim_glGetTexGenfv(glGetTexGenfv_ARG_EXPAND); typedef void (*glGetTexGenfv_PTR)(glGetTexGenfv_ARG_EXPAND); -void glGetTexGeniv(glGetTexGeniv_ARG_EXPAND); +void glshim_glGetTexGeniv(glGetTexGeniv_ARG_EXPAND); typedef void (*glGetTexGeniv_PTR)(glGetTexGeniv_ARG_EXPAND); -void glGetTexImage(glGetTexImage_ARG_EXPAND); +void glshim_glGetTexImage(glGetTexImage_ARG_EXPAND); typedef void (*glGetTexImage_PTR)(glGetTexImage_ARG_EXPAND); -void glGetTexLevelParameterfv(glGetTexLevelParameterfv_ARG_EXPAND); +void glshim_glGetTexLevelParameterfv(glGetTexLevelParameterfv_ARG_EXPAND); typedef void (*glGetTexLevelParameterfv_PTR)(glGetTexLevelParameterfv_ARG_EXPAND); -void glGetTexLevelParameteriv(glGetTexLevelParameteriv_ARG_EXPAND); +void glshim_glGetTexLevelParameteriv(glGetTexLevelParameteriv_ARG_EXPAND); typedef void (*glGetTexLevelParameteriv_PTR)(glGetTexLevelParameteriv_ARG_EXPAND); -void glGetTexParameterfv(glGetTexParameterfv_ARG_EXPAND); +void glshim_glGetTexParameterfv(glGetTexParameterfv_ARG_EXPAND); typedef void (*glGetTexParameterfv_PTR)(glGetTexParameterfv_ARG_EXPAND); -void glGetTexParameteriv(glGetTexParameteriv_ARG_EXPAND); +void glshim_glGetTexParameteriv(glGetTexParameteriv_ARG_EXPAND); typedef void (*glGetTexParameteriv_PTR)(glGetTexParameteriv_ARG_EXPAND); -void glHint(glHint_ARG_EXPAND); +void glshim_glHint(glHint_ARG_EXPAND); typedef void (*glHint_PTR)(glHint_ARG_EXPAND); -void glHistogram(glHistogram_ARG_EXPAND); +void glshim_glHistogram(glHistogram_ARG_EXPAND); typedef void (*glHistogram_PTR)(glHistogram_ARG_EXPAND); -void glIndexMask(glIndexMask_ARG_EXPAND); +void glshim_glIndexMask(glIndexMask_ARG_EXPAND); typedef void (*glIndexMask_PTR)(glIndexMask_ARG_EXPAND); -void glIndexPointer(glIndexPointer_ARG_EXPAND); +void glshim_glIndexPointer(glIndexPointer_ARG_EXPAND); typedef void (*glIndexPointer_PTR)(glIndexPointer_ARG_EXPAND); -void glIndexd(glIndexd_ARG_EXPAND); +void glshim_glIndexd(glIndexd_ARG_EXPAND); typedef void (*glIndexd_PTR)(glIndexd_ARG_EXPAND); -void glIndexdv(glIndexdv_ARG_EXPAND); +void glshim_glIndexdv(glIndexdv_ARG_EXPAND); typedef void (*glIndexdv_PTR)(glIndexdv_ARG_EXPAND); -void glIndexf(glIndexf_ARG_EXPAND); +void glshim_glIndexf(glIndexf_ARG_EXPAND); typedef void (*glIndexf_PTR)(glIndexf_ARG_EXPAND); -void glIndexfv(glIndexfv_ARG_EXPAND); +void glshim_glIndexfv(glIndexfv_ARG_EXPAND); typedef void (*glIndexfv_PTR)(glIndexfv_ARG_EXPAND); -void glIndexi(glIndexi_ARG_EXPAND); +void glshim_glIndexi(glIndexi_ARG_EXPAND); typedef void (*glIndexi_PTR)(glIndexi_ARG_EXPAND); -void glIndexiv(glIndexiv_ARG_EXPAND); +void glshim_glIndexiv(glIndexiv_ARG_EXPAND); typedef void (*glIndexiv_PTR)(glIndexiv_ARG_EXPAND); -void glIndexs(glIndexs_ARG_EXPAND); +void glshim_glIndexs(glIndexs_ARG_EXPAND); typedef void (*glIndexs_PTR)(glIndexs_ARG_EXPAND); -void glIndexsv(glIndexsv_ARG_EXPAND); +void glshim_glIndexsv(glIndexsv_ARG_EXPAND); typedef void (*glIndexsv_PTR)(glIndexsv_ARG_EXPAND); -void glIndexub(glIndexub_ARG_EXPAND); +void glshim_glIndexub(glIndexub_ARG_EXPAND); typedef void (*glIndexub_PTR)(glIndexub_ARG_EXPAND); -void glIndexubv(glIndexubv_ARG_EXPAND); +void glshim_glIndexubv(glIndexubv_ARG_EXPAND); typedef void (*glIndexubv_PTR)(glIndexubv_ARG_EXPAND); -void glInitNames(glInitNames_ARG_EXPAND); +void glshim_glInitNames(glInitNames_ARG_EXPAND); typedef void (*glInitNames_PTR)(glInitNames_ARG_EXPAND); -void glInterleavedArrays(glInterleavedArrays_ARG_EXPAND); +void glshim_glInterleavedArrays(glInterleavedArrays_ARG_EXPAND); typedef void (*glInterleavedArrays_PTR)(glInterleavedArrays_ARG_EXPAND); -GLboolean glIsBuffer(glIsBuffer_ARG_EXPAND); +GLboolean glshim_glIsBuffer(glIsBuffer_ARG_EXPAND); typedef GLboolean (*glIsBuffer_PTR)(glIsBuffer_ARG_EXPAND); -GLboolean glIsEnabled(glIsEnabled_ARG_EXPAND); +GLboolean glshim_glIsEnabled(glIsEnabled_ARG_EXPAND); typedef GLboolean (*glIsEnabled_PTR)(glIsEnabled_ARG_EXPAND); -GLboolean glIsList(glIsList_ARG_EXPAND); +GLboolean glshim_glIsList(glIsList_ARG_EXPAND); typedef GLboolean (*glIsList_PTR)(glIsList_ARG_EXPAND); -GLboolean glIsQuery(glIsQuery_ARG_EXPAND); +GLboolean glshim_glIsQuery(glIsQuery_ARG_EXPAND); typedef GLboolean (*glIsQuery_PTR)(glIsQuery_ARG_EXPAND); -GLboolean glIsTexture(glIsTexture_ARG_EXPAND); +GLboolean glshim_glIsTexture(glIsTexture_ARG_EXPAND); typedef GLboolean (*glIsTexture_PTR)(glIsTexture_ARG_EXPAND); -void glLightModelf(glLightModelf_ARG_EXPAND); +void glshim_glLightModelf(glLightModelf_ARG_EXPAND); typedef void (*glLightModelf_PTR)(glLightModelf_ARG_EXPAND); -void glLightModelfv(glLightModelfv_ARG_EXPAND); +void glshim_glLightModelfv(glLightModelfv_ARG_EXPAND); typedef void (*glLightModelfv_PTR)(glLightModelfv_ARG_EXPAND); -void glLightModeli(glLightModeli_ARG_EXPAND); +void glshim_glLightModeli(glLightModeli_ARG_EXPAND); typedef void (*glLightModeli_PTR)(glLightModeli_ARG_EXPAND); -void glLightModeliv(glLightModeliv_ARG_EXPAND); +void glshim_glLightModeliv(glLightModeliv_ARG_EXPAND); typedef void (*glLightModeliv_PTR)(glLightModeliv_ARG_EXPAND); -void glLightf(glLightf_ARG_EXPAND); +void glshim_glLightf(glLightf_ARG_EXPAND); typedef void (*glLightf_PTR)(glLightf_ARG_EXPAND); -void glLightfv(glLightfv_ARG_EXPAND); +void glshim_glLightfv(glLightfv_ARG_EXPAND); typedef void (*glLightfv_PTR)(glLightfv_ARG_EXPAND); -void glLighti(glLighti_ARG_EXPAND); +void glshim_glLighti(glLighti_ARG_EXPAND); typedef void (*glLighti_PTR)(glLighti_ARG_EXPAND); -void glLightiv(glLightiv_ARG_EXPAND); +void glshim_glLightiv(glLightiv_ARG_EXPAND); typedef void (*glLightiv_PTR)(glLightiv_ARG_EXPAND); -void glLineStipple(glLineStipple_ARG_EXPAND); +void glshim_glLineStipple(glLineStipple_ARG_EXPAND); typedef void (*glLineStipple_PTR)(glLineStipple_ARG_EXPAND); -void glLineWidth(glLineWidth_ARG_EXPAND); +void glshim_glLineWidth(glLineWidth_ARG_EXPAND); typedef void (*glLineWidth_PTR)(glLineWidth_ARG_EXPAND); -void glListBase(glListBase_ARG_EXPAND); +void glshim_glListBase(glListBase_ARG_EXPAND); typedef void (*glListBase_PTR)(glListBase_ARG_EXPAND); -void glLoadIdentity(glLoadIdentity_ARG_EXPAND); +void glshim_glLoadIdentity(glLoadIdentity_ARG_EXPAND); typedef void (*glLoadIdentity_PTR)(glLoadIdentity_ARG_EXPAND); -void glLoadMatrixd(glLoadMatrixd_ARG_EXPAND); +void glshim_glLoadMatrixd(glLoadMatrixd_ARG_EXPAND); typedef void (*glLoadMatrixd_PTR)(glLoadMatrixd_ARG_EXPAND); -void glLoadMatrixf(glLoadMatrixf_ARG_EXPAND); +void glshim_glLoadMatrixf(glLoadMatrixf_ARG_EXPAND); typedef void (*glLoadMatrixf_PTR)(glLoadMatrixf_ARG_EXPAND); -void glLoadName(glLoadName_ARG_EXPAND); +void glshim_glLoadName(glLoadName_ARG_EXPAND); typedef void (*glLoadName_PTR)(glLoadName_ARG_EXPAND); -void glLoadTransposeMatrixd(glLoadTransposeMatrixd_ARG_EXPAND); +void glshim_glLoadTransposeMatrixd(glLoadTransposeMatrixd_ARG_EXPAND); typedef void (*glLoadTransposeMatrixd_PTR)(glLoadTransposeMatrixd_ARG_EXPAND); -void glLoadTransposeMatrixf(glLoadTransposeMatrixf_ARG_EXPAND); +void glshim_glLoadTransposeMatrixf(glLoadTransposeMatrixf_ARG_EXPAND); typedef void (*glLoadTransposeMatrixf_PTR)(glLoadTransposeMatrixf_ARG_EXPAND); -void glLogicOp(glLogicOp_ARG_EXPAND); +void glshim_glLogicOp(glLogicOp_ARG_EXPAND); typedef void (*glLogicOp_PTR)(glLogicOp_ARG_EXPAND); -void glMap1d(glMap1d_ARG_EXPAND); +void glshim_glMap1d(glMap1d_ARG_EXPAND); typedef void (*glMap1d_PTR)(glMap1d_ARG_EXPAND); -void glMap1f(glMap1f_ARG_EXPAND); +void glshim_glMap1f(glMap1f_ARG_EXPAND); typedef void (*glMap1f_PTR)(glMap1f_ARG_EXPAND); -void glMap2d(glMap2d_ARG_EXPAND); +void glshim_glMap2d(glMap2d_ARG_EXPAND); typedef void (*glMap2d_PTR)(glMap2d_ARG_EXPAND); -void glMap2f(glMap2f_ARG_EXPAND); +void glshim_glMap2f(glMap2f_ARG_EXPAND); typedef void (*glMap2f_PTR)(glMap2f_ARG_EXPAND); -GLvoid * glMapBuffer(glMapBuffer_ARG_EXPAND); +GLvoid * glshim_glMapBuffer(glMapBuffer_ARG_EXPAND); typedef GLvoid * (*glMapBuffer_PTR)(glMapBuffer_ARG_EXPAND); -void glMapGrid1d(glMapGrid1d_ARG_EXPAND); +void glshim_glMapGrid1d(glMapGrid1d_ARG_EXPAND); typedef void (*glMapGrid1d_PTR)(glMapGrid1d_ARG_EXPAND); -void glMapGrid1f(glMapGrid1f_ARG_EXPAND); +void glshim_glMapGrid1f(glMapGrid1f_ARG_EXPAND); typedef void (*glMapGrid1f_PTR)(glMapGrid1f_ARG_EXPAND); -void glMapGrid2d(glMapGrid2d_ARG_EXPAND); +void glshim_glMapGrid2d(glMapGrid2d_ARG_EXPAND); typedef void (*glMapGrid2d_PTR)(glMapGrid2d_ARG_EXPAND); -void glMapGrid2f(glMapGrid2f_ARG_EXPAND); +void glshim_glMapGrid2f(glMapGrid2f_ARG_EXPAND); typedef void (*glMapGrid2f_PTR)(glMapGrid2f_ARG_EXPAND); -void glMaterialf(glMaterialf_ARG_EXPAND); +void glshim_glMaterialf(glMaterialf_ARG_EXPAND); typedef void (*glMaterialf_PTR)(glMaterialf_ARG_EXPAND); -void glMaterialfv(glMaterialfv_ARG_EXPAND); +void glshim_glMaterialfv(glMaterialfv_ARG_EXPAND); typedef void (*glMaterialfv_PTR)(glMaterialfv_ARG_EXPAND); -void glMateriali(glMateriali_ARG_EXPAND); +void glshim_glMateriali(glMateriali_ARG_EXPAND); typedef void (*glMateriali_PTR)(glMateriali_ARG_EXPAND); -void glMaterialiv(glMaterialiv_ARG_EXPAND); +void glshim_glMaterialiv(glMaterialiv_ARG_EXPAND); typedef void (*glMaterialiv_PTR)(glMaterialiv_ARG_EXPAND); -void glMatrixMode(glMatrixMode_ARG_EXPAND); +void glshim_glMatrixMode(glMatrixMode_ARG_EXPAND); typedef void (*glMatrixMode_PTR)(glMatrixMode_ARG_EXPAND); -void glMinmax(glMinmax_ARG_EXPAND); +void glshim_glMinmax(glMinmax_ARG_EXPAND); typedef void (*glMinmax_PTR)(glMinmax_ARG_EXPAND); -void glMultMatrixd(glMultMatrixd_ARG_EXPAND); +void glshim_glMultMatrixd(glMultMatrixd_ARG_EXPAND); typedef void (*glMultMatrixd_PTR)(glMultMatrixd_ARG_EXPAND); -void glMultMatrixf(glMultMatrixf_ARG_EXPAND); +void glshim_glMultMatrixf(glMultMatrixf_ARG_EXPAND); typedef void (*glMultMatrixf_PTR)(glMultMatrixf_ARG_EXPAND); -void glMultTransposeMatrixd(glMultTransposeMatrixd_ARG_EXPAND); +void glshim_glMultTransposeMatrixd(glMultTransposeMatrixd_ARG_EXPAND); typedef void (*glMultTransposeMatrixd_PTR)(glMultTransposeMatrixd_ARG_EXPAND); -void glMultTransposeMatrixf(glMultTransposeMatrixf_ARG_EXPAND); +void glshim_glMultTransposeMatrixf(glMultTransposeMatrixf_ARG_EXPAND); typedef void (*glMultTransposeMatrixf_PTR)(glMultTransposeMatrixf_ARG_EXPAND); -void glMultiDrawArrays(glMultiDrawArrays_ARG_EXPAND); +void glshim_glMultiDrawArrays(glMultiDrawArrays_ARG_EXPAND); typedef void (*glMultiDrawArrays_PTR)(glMultiDrawArrays_ARG_EXPAND); -void glMultiDrawElements(glMultiDrawElements_ARG_EXPAND); +void glshim_glMultiDrawElements(glMultiDrawElements_ARG_EXPAND); typedef void (*glMultiDrawElements_PTR)(glMultiDrawElements_ARG_EXPAND); -void glMultiTexCoord1d(glMultiTexCoord1d_ARG_EXPAND); +void glshim_glMultiTexCoord1d(glMultiTexCoord1d_ARG_EXPAND); typedef void (*glMultiTexCoord1d_PTR)(glMultiTexCoord1d_ARG_EXPAND); -void glMultiTexCoord1dv(glMultiTexCoord1dv_ARG_EXPAND); +void glshim_glMultiTexCoord1dv(glMultiTexCoord1dv_ARG_EXPAND); typedef void (*glMultiTexCoord1dv_PTR)(glMultiTexCoord1dv_ARG_EXPAND); -void glMultiTexCoord1f(glMultiTexCoord1f_ARG_EXPAND); +void glshim_glMultiTexCoord1f(glMultiTexCoord1f_ARG_EXPAND); typedef void (*glMultiTexCoord1f_PTR)(glMultiTexCoord1f_ARG_EXPAND); -void glMultiTexCoord1fv(glMultiTexCoord1fv_ARG_EXPAND); +void glshim_glMultiTexCoord1fv(glMultiTexCoord1fv_ARG_EXPAND); typedef void (*glMultiTexCoord1fv_PTR)(glMultiTexCoord1fv_ARG_EXPAND); -void glMultiTexCoord1i(glMultiTexCoord1i_ARG_EXPAND); +void glshim_glMultiTexCoord1i(glMultiTexCoord1i_ARG_EXPAND); typedef void (*glMultiTexCoord1i_PTR)(glMultiTexCoord1i_ARG_EXPAND); -void glMultiTexCoord1iv(glMultiTexCoord1iv_ARG_EXPAND); +void glshim_glMultiTexCoord1iv(glMultiTexCoord1iv_ARG_EXPAND); typedef void (*glMultiTexCoord1iv_PTR)(glMultiTexCoord1iv_ARG_EXPAND); -void glMultiTexCoord1s(glMultiTexCoord1s_ARG_EXPAND); +void glshim_glMultiTexCoord1s(glMultiTexCoord1s_ARG_EXPAND); typedef void (*glMultiTexCoord1s_PTR)(glMultiTexCoord1s_ARG_EXPAND); -void glMultiTexCoord1sv(glMultiTexCoord1sv_ARG_EXPAND); +void glshim_glMultiTexCoord1sv(glMultiTexCoord1sv_ARG_EXPAND); typedef void (*glMultiTexCoord1sv_PTR)(glMultiTexCoord1sv_ARG_EXPAND); -void glMultiTexCoord2d(glMultiTexCoord2d_ARG_EXPAND); +void glshim_glMultiTexCoord2d(glMultiTexCoord2d_ARG_EXPAND); typedef void (*glMultiTexCoord2d_PTR)(glMultiTexCoord2d_ARG_EXPAND); -void glMultiTexCoord2dv(glMultiTexCoord2dv_ARG_EXPAND); +void glshim_glMultiTexCoord2dv(glMultiTexCoord2dv_ARG_EXPAND); typedef void (*glMultiTexCoord2dv_PTR)(glMultiTexCoord2dv_ARG_EXPAND); -void glMultiTexCoord2f(glMultiTexCoord2f_ARG_EXPAND); +void glshim_glMultiTexCoord2f(glMultiTexCoord2f_ARG_EXPAND); typedef void (*glMultiTexCoord2f_PTR)(glMultiTexCoord2f_ARG_EXPAND); -void glMultiTexCoord2fv(glMultiTexCoord2fv_ARG_EXPAND); +void glshim_glMultiTexCoord2fv(glMultiTexCoord2fv_ARG_EXPAND); typedef void (*glMultiTexCoord2fv_PTR)(glMultiTexCoord2fv_ARG_EXPAND); -void glMultiTexCoord2i(glMultiTexCoord2i_ARG_EXPAND); +void glshim_glMultiTexCoord2i(glMultiTexCoord2i_ARG_EXPAND); typedef void (*glMultiTexCoord2i_PTR)(glMultiTexCoord2i_ARG_EXPAND); -void glMultiTexCoord2iv(glMultiTexCoord2iv_ARG_EXPAND); +void glshim_glMultiTexCoord2iv(glMultiTexCoord2iv_ARG_EXPAND); typedef void (*glMultiTexCoord2iv_PTR)(glMultiTexCoord2iv_ARG_EXPAND); -void glMultiTexCoord2s(glMultiTexCoord2s_ARG_EXPAND); +void glshim_glMultiTexCoord2s(glMultiTexCoord2s_ARG_EXPAND); typedef void (*glMultiTexCoord2s_PTR)(glMultiTexCoord2s_ARG_EXPAND); -void glMultiTexCoord2sv(glMultiTexCoord2sv_ARG_EXPAND); +void glshim_glMultiTexCoord2sv(glMultiTexCoord2sv_ARG_EXPAND); typedef void (*glMultiTexCoord2sv_PTR)(glMultiTexCoord2sv_ARG_EXPAND); -void glMultiTexCoord3d(glMultiTexCoord3d_ARG_EXPAND); +void glshim_glMultiTexCoord3d(glMultiTexCoord3d_ARG_EXPAND); typedef void (*glMultiTexCoord3d_PTR)(glMultiTexCoord3d_ARG_EXPAND); -void glMultiTexCoord3dv(glMultiTexCoord3dv_ARG_EXPAND); +void glshim_glMultiTexCoord3dv(glMultiTexCoord3dv_ARG_EXPAND); typedef void (*glMultiTexCoord3dv_PTR)(glMultiTexCoord3dv_ARG_EXPAND); -void glMultiTexCoord3f(glMultiTexCoord3f_ARG_EXPAND); +void glshim_glMultiTexCoord3f(glMultiTexCoord3f_ARG_EXPAND); typedef void (*glMultiTexCoord3f_PTR)(glMultiTexCoord3f_ARG_EXPAND); -void glMultiTexCoord3fv(glMultiTexCoord3fv_ARG_EXPAND); +void glshim_glMultiTexCoord3fv(glMultiTexCoord3fv_ARG_EXPAND); typedef void (*glMultiTexCoord3fv_PTR)(glMultiTexCoord3fv_ARG_EXPAND); -void glMultiTexCoord3i(glMultiTexCoord3i_ARG_EXPAND); +void glshim_glMultiTexCoord3i(glMultiTexCoord3i_ARG_EXPAND); typedef void (*glMultiTexCoord3i_PTR)(glMultiTexCoord3i_ARG_EXPAND); -void glMultiTexCoord3iv(glMultiTexCoord3iv_ARG_EXPAND); +void glshim_glMultiTexCoord3iv(glMultiTexCoord3iv_ARG_EXPAND); typedef void (*glMultiTexCoord3iv_PTR)(glMultiTexCoord3iv_ARG_EXPAND); -void glMultiTexCoord3s(glMultiTexCoord3s_ARG_EXPAND); +void glshim_glMultiTexCoord3s(glMultiTexCoord3s_ARG_EXPAND); typedef void (*glMultiTexCoord3s_PTR)(glMultiTexCoord3s_ARG_EXPAND); -void glMultiTexCoord3sv(glMultiTexCoord3sv_ARG_EXPAND); +void glshim_glMultiTexCoord3sv(glMultiTexCoord3sv_ARG_EXPAND); typedef void (*glMultiTexCoord3sv_PTR)(glMultiTexCoord3sv_ARG_EXPAND); -void glMultiTexCoord4d(glMultiTexCoord4d_ARG_EXPAND); +void glshim_glMultiTexCoord4d(glMultiTexCoord4d_ARG_EXPAND); typedef void (*glMultiTexCoord4d_PTR)(glMultiTexCoord4d_ARG_EXPAND); -void glMultiTexCoord4dv(glMultiTexCoord4dv_ARG_EXPAND); +void glshim_glMultiTexCoord4dv(glMultiTexCoord4dv_ARG_EXPAND); typedef void (*glMultiTexCoord4dv_PTR)(glMultiTexCoord4dv_ARG_EXPAND); -void glMultiTexCoord4f(glMultiTexCoord4f_ARG_EXPAND); +void glshim_glMultiTexCoord4f(glMultiTexCoord4f_ARG_EXPAND); typedef void (*glMultiTexCoord4f_PTR)(glMultiTexCoord4f_ARG_EXPAND); -void glMultiTexCoord4fv(glMultiTexCoord4fv_ARG_EXPAND); +void glshim_glMultiTexCoord4fv(glMultiTexCoord4fv_ARG_EXPAND); typedef void (*glMultiTexCoord4fv_PTR)(glMultiTexCoord4fv_ARG_EXPAND); -void glMultiTexCoord4i(glMultiTexCoord4i_ARG_EXPAND); +void glshim_glMultiTexCoord4i(glMultiTexCoord4i_ARG_EXPAND); typedef void (*glMultiTexCoord4i_PTR)(glMultiTexCoord4i_ARG_EXPAND); -void glMultiTexCoord4iv(glMultiTexCoord4iv_ARG_EXPAND); +void glshim_glMultiTexCoord4iv(glMultiTexCoord4iv_ARG_EXPAND); typedef void (*glMultiTexCoord4iv_PTR)(glMultiTexCoord4iv_ARG_EXPAND); -void glMultiTexCoord4s(glMultiTexCoord4s_ARG_EXPAND); +void glshim_glMultiTexCoord4s(glMultiTexCoord4s_ARG_EXPAND); typedef void (*glMultiTexCoord4s_PTR)(glMultiTexCoord4s_ARG_EXPAND); -void glMultiTexCoord4sv(glMultiTexCoord4sv_ARG_EXPAND); +void glshim_glMultiTexCoord4sv(glMultiTexCoord4sv_ARG_EXPAND); typedef void (*glMultiTexCoord4sv_PTR)(glMultiTexCoord4sv_ARG_EXPAND); -void glNewList(glNewList_ARG_EXPAND); +void glshim_glNewList(glNewList_ARG_EXPAND); typedef void (*glNewList_PTR)(glNewList_ARG_EXPAND); -void glNormal3b(glNormal3b_ARG_EXPAND); +void glshim_glNormal3b(glNormal3b_ARG_EXPAND); typedef void (*glNormal3b_PTR)(glNormal3b_ARG_EXPAND); -void glNormal3bv(glNormal3bv_ARG_EXPAND); +void glshim_glNormal3bv(glNormal3bv_ARG_EXPAND); typedef void (*glNormal3bv_PTR)(glNormal3bv_ARG_EXPAND); -void glNormal3d(glNormal3d_ARG_EXPAND); +void glshim_glNormal3d(glNormal3d_ARG_EXPAND); typedef void (*glNormal3d_PTR)(glNormal3d_ARG_EXPAND); -void glNormal3dv(glNormal3dv_ARG_EXPAND); +void glshim_glNormal3dv(glNormal3dv_ARG_EXPAND); typedef void (*glNormal3dv_PTR)(glNormal3dv_ARG_EXPAND); -void glNormal3f(glNormal3f_ARG_EXPAND); +void glshim_glNormal3f(glNormal3f_ARG_EXPAND); typedef void (*glNormal3f_PTR)(glNormal3f_ARG_EXPAND); -void glNormal3fv(glNormal3fv_ARG_EXPAND); +void glshim_glNormal3fv(glNormal3fv_ARG_EXPAND); typedef void (*glNormal3fv_PTR)(glNormal3fv_ARG_EXPAND); -void glNormal3i(glNormal3i_ARG_EXPAND); +void glshim_glNormal3i(glNormal3i_ARG_EXPAND); typedef void (*glNormal3i_PTR)(glNormal3i_ARG_EXPAND); -void glNormal3iv(glNormal3iv_ARG_EXPAND); +void glshim_glNormal3iv(glNormal3iv_ARG_EXPAND); typedef void (*glNormal3iv_PTR)(glNormal3iv_ARG_EXPAND); -void glNormal3s(glNormal3s_ARG_EXPAND); +void glshim_glNormal3s(glNormal3s_ARG_EXPAND); typedef void (*glNormal3s_PTR)(glNormal3s_ARG_EXPAND); -void glNormal3sv(glNormal3sv_ARG_EXPAND); +void glshim_glNormal3sv(glNormal3sv_ARG_EXPAND); typedef void (*glNormal3sv_PTR)(glNormal3sv_ARG_EXPAND); -void glNormalPointer(glNormalPointer_ARG_EXPAND); +void glshim_glNormalPointer(glNormalPointer_ARG_EXPAND); typedef void (*glNormalPointer_PTR)(glNormalPointer_ARG_EXPAND); -void glOrtho(glOrtho_ARG_EXPAND); +void glshim_glOrtho(glOrtho_ARG_EXPAND); typedef void (*glOrtho_PTR)(glOrtho_ARG_EXPAND); -void glPassThrough(glPassThrough_ARG_EXPAND); +void glshim_glPassThrough(glPassThrough_ARG_EXPAND); typedef void (*glPassThrough_PTR)(glPassThrough_ARG_EXPAND); -void glPixelMapfv(glPixelMapfv_ARG_EXPAND); +void glshim_glPixelMapfv(glPixelMapfv_ARG_EXPAND); typedef void (*glPixelMapfv_PTR)(glPixelMapfv_ARG_EXPAND); -void glPixelMapuiv(glPixelMapuiv_ARG_EXPAND); +void glshim_glPixelMapuiv(glPixelMapuiv_ARG_EXPAND); typedef void (*glPixelMapuiv_PTR)(glPixelMapuiv_ARG_EXPAND); -void glPixelMapusv(glPixelMapusv_ARG_EXPAND); +void glshim_glPixelMapusv(glPixelMapusv_ARG_EXPAND); typedef void (*glPixelMapusv_PTR)(glPixelMapusv_ARG_EXPAND); -void glPixelStoref(glPixelStoref_ARG_EXPAND); +void glshim_glPixelStoref(glPixelStoref_ARG_EXPAND); typedef void (*glPixelStoref_PTR)(glPixelStoref_ARG_EXPAND); -void glPixelStorei(glPixelStorei_ARG_EXPAND); +void glshim_glPixelStorei(glPixelStorei_ARG_EXPAND); typedef void (*glPixelStorei_PTR)(glPixelStorei_ARG_EXPAND); -void glPixelTransferf(glPixelTransferf_ARG_EXPAND); +void glshim_glPixelTransferf(glPixelTransferf_ARG_EXPAND); typedef void (*glPixelTransferf_PTR)(glPixelTransferf_ARG_EXPAND); -void glPixelTransferi(glPixelTransferi_ARG_EXPAND); +void glshim_glPixelTransferi(glPixelTransferi_ARG_EXPAND); typedef void (*glPixelTransferi_PTR)(glPixelTransferi_ARG_EXPAND); -void glPixelZoom(glPixelZoom_ARG_EXPAND); +void glshim_glPixelZoom(glPixelZoom_ARG_EXPAND); typedef void (*glPixelZoom_PTR)(glPixelZoom_ARG_EXPAND); -void glPointParameterf(glPointParameterf_ARG_EXPAND); +void glshim_glPointParameterf(glPointParameterf_ARG_EXPAND); typedef void (*glPointParameterf_PTR)(glPointParameterf_ARG_EXPAND); -void glPointParameterfv(glPointParameterfv_ARG_EXPAND); +void glshim_glPointParameterfv(glPointParameterfv_ARG_EXPAND); typedef void (*glPointParameterfv_PTR)(glPointParameterfv_ARG_EXPAND); -void glPointParameteri(glPointParameteri_ARG_EXPAND); +void glshim_glPointParameteri(glPointParameteri_ARG_EXPAND); typedef void (*glPointParameteri_PTR)(glPointParameteri_ARG_EXPAND); -void glPointParameteriv(glPointParameteriv_ARG_EXPAND); +void glshim_glPointParameteriv(glPointParameteriv_ARG_EXPAND); typedef void (*glPointParameteriv_PTR)(glPointParameteriv_ARG_EXPAND); -void glPointSize(glPointSize_ARG_EXPAND); +void glshim_glPointSize(glPointSize_ARG_EXPAND); typedef void (*glPointSize_PTR)(glPointSize_ARG_EXPAND); -void glPolygonMode(glPolygonMode_ARG_EXPAND); +void glshim_glPolygonMode(glPolygonMode_ARG_EXPAND); typedef void (*glPolygonMode_PTR)(glPolygonMode_ARG_EXPAND); -void glPolygonOffset(glPolygonOffset_ARG_EXPAND); +void glshim_glPolygonOffset(glPolygonOffset_ARG_EXPAND); typedef void (*glPolygonOffset_PTR)(glPolygonOffset_ARG_EXPAND); -void glPolygonStipple(glPolygonStipple_ARG_EXPAND); +void glshim_glPolygonStipple(glPolygonStipple_ARG_EXPAND); typedef void (*glPolygonStipple_PTR)(glPolygonStipple_ARG_EXPAND); -void glPopAttrib(glPopAttrib_ARG_EXPAND); +void glshim_glPopAttrib(glPopAttrib_ARG_EXPAND); typedef void (*glPopAttrib_PTR)(glPopAttrib_ARG_EXPAND); -void glPopClientAttrib(glPopClientAttrib_ARG_EXPAND); +void glshim_glPopClientAttrib(glPopClientAttrib_ARG_EXPAND); typedef void (*glPopClientAttrib_PTR)(glPopClientAttrib_ARG_EXPAND); -void glPopMatrix(glPopMatrix_ARG_EXPAND); +void glshim_glPopMatrix(glPopMatrix_ARG_EXPAND); typedef void (*glPopMatrix_PTR)(glPopMatrix_ARG_EXPAND); -void glPopName(glPopName_ARG_EXPAND); +void glshim_glPopName(glPopName_ARG_EXPAND); typedef void (*glPopName_PTR)(glPopName_ARG_EXPAND); -void glPrioritizeTextures(glPrioritizeTextures_ARG_EXPAND); +void glshim_glPrioritizeTextures(glPrioritizeTextures_ARG_EXPAND); typedef void (*glPrioritizeTextures_PTR)(glPrioritizeTextures_ARG_EXPAND); -void glPushAttrib(glPushAttrib_ARG_EXPAND); +void glshim_glPushAttrib(glPushAttrib_ARG_EXPAND); typedef void (*glPushAttrib_PTR)(glPushAttrib_ARG_EXPAND); -void glPushClientAttrib(glPushClientAttrib_ARG_EXPAND); +void glshim_glPushClientAttrib(glPushClientAttrib_ARG_EXPAND); typedef void (*glPushClientAttrib_PTR)(glPushClientAttrib_ARG_EXPAND); -void glPushMatrix(glPushMatrix_ARG_EXPAND); +void glshim_glPushMatrix(glPushMatrix_ARG_EXPAND); typedef void (*glPushMatrix_PTR)(glPushMatrix_ARG_EXPAND); -void glPushName(glPushName_ARG_EXPAND); +void glshim_glPushName(glPushName_ARG_EXPAND); typedef void (*glPushName_PTR)(glPushName_ARG_EXPAND); -void glRasterPos2d(glRasterPos2d_ARG_EXPAND); +void glshim_glRasterPos2d(glRasterPos2d_ARG_EXPAND); typedef void (*glRasterPos2d_PTR)(glRasterPos2d_ARG_EXPAND); -void glRasterPos2dv(glRasterPos2dv_ARG_EXPAND); +void glshim_glRasterPos2dv(glRasterPos2dv_ARG_EXPAND); typedef void (*glRasterPos2dv_PTR)(glRasterPos2dv_ARG_EXPAND); -void glRasterPos2f(glRasterPos2f_ARG_EXPAND); +void glshim_glRasterPos2f(glRasterPos2f_ARG_EXPAND); typedef void (*glRasterPos2f_PTR)(glRasterPos2f_ARG_EXPAND); -void glRasterPos2fv(glRasterPos2fv_ARG_EXPAND); +void glshim_glRasterPos2fv(glRasterPos2fv_ARG_EXPAND); typedef void (*glRasterPos2fv_PTR)(glRasterPos2fv_ARG_EXPAND); -void glRasterPos2i(glRasterPos2i_ARG_EXPAND); +void glshim_glRasterPos2i(glRasterPos2i_ARG_EXPAND); typedef void (*glRasterPos2i_PTR)(glRasterPos2i_ARG_EXPAND); -void glRasterPos2iv(glRasterPos2iv_ARG_EXPAND); +void glshim_glRasterPos2iv(glRasterPos2iv_ARG_EXPAND); typedef void (*glRasterPos2iv_PTR)(glRasterPos2iv_ARG_EXPAND); -void glRasterPos2s(glRasterPos2s_ARG_EXPAND); +void glshim_glRasterPos2s(glRasterPos2s_ARG_EXPAND); typedef void (*glRasterPos2s_PTR)(glRasterPos2s_ARG_EXPAND); -void glRasterPos2sv(glRasterPos2sv_ARG_EXPAND); +void glshim_glRasterPos2sv(glRasterPos2sv_ARG_EXPAND); typedef void (*glRasterPos2sv_PTR)(glRasterPos2sv_ARG_EXPAND); -void glRasterPos3d(glRasterPos3d_ARG_EXPAND); +void glshim_glRasterPos3d(glRasterPos3d_ARG_EXPAND); typedef void (*glRasterPos3d_PTR)(glRasterPos3d_ARG_EXPAND); -void glRasterPos3dv(glRasterPos3dv_ARG_EXPAND); +void glshim_glRasterPos3dv(glRasterPos3dv_ARG_EXPAND); typedef void (*glRasterPos3dv_PTR)(glRasterPos3dv_ARG_EXPAND); -void glRasterPos3f(glRasterPos3f_ARG_EXPAND); +void glshim_glRasterPos3f(glRasterPos3f_ARG_EXPAND); typedef void (*glRasterPos3f_PTR)(glRasterPos3f_ARG_EXPAND); -void glRasterPos3fv(glRasterPos3fv_ARG_EXPAND); +void glshim_glRasterPos3fv(glRasterPos3fv_ARG_EXPAND); typedef void (*glRasterPos3fv_PTR)(glRasterPos3fv_ARG_EXPAND); -void glRasterPos3i(glRasterPos3i_ARG_EXPAND); +void glshim_glRasterPos3i(glRasterPos3i_ARG_EXPAND); typedef void (*glRasterPos3i_PTR)(glRasterPos3i_ARG_EXPAND); -void glRasterPos3iv(glRasterPos3iv_ARG_EXPAND); +void glshim_glRasterPos3iv(glRasterPos3iv_ARG_EXPAND); typedef void (*glRasterPos3iv_PTR)(glRasterPos3iv_ARG_EXPAND); -void glRasterPos3s(glRasterPos3s_ARG_EXPAND); +void glshim_glRasterPos3s(glRasterPos3s_ARG_EXPAND); typedef void (*glRasterPos3s_PTR)(glRasterPos3s_ARG_EXPAND); -void glRasterPos3sv(glRasterPos3sv_ARG_EXPAND); +void glshim_glRasterPos3sv(glRasterPos3sv_ARG_EXPAND); typedef void (*glRasterPos3sv_PTR)(glRasterPos3sv_ARG_EXPAND); -void glRasterPos4d(glRasterPos4d_ARG_EXPAND); +void glshim_glRasterPos4d(glRasterPos4d_ARG_EXPAND); typedef void (*glRasterPos4d_PTR)(glRasterPos4d_ARG_EXPAND); -void glRasterPos4dv(glRasterPos4dv_ARG_EXPAND); +void glshim_glRasterPos4dv(glRasterPos4dv_ARG_EXPAND); typedef void (*glRasterPos4dv_PTR)(glRasterPos4dv_ARG_EXPAND); -void glRasterPos4f(glRasterPos4f_ARG_EXPAND); +void glshim_glRasterPos4f(glRasterPos4f_ARG_EXPAND); typedef void (*glRasterPos4f_PTR)(glRasterPos4f_ARG_EXPAND); -void glRasterPos4fv(glRasterPos4fv_ARG_EXPAND); +void glshim_glRasterPos4fv(glRasterPos4fv_ARG_EXPAND); typedef void (*glRasterPos4fv_PTR)(glRasterPos4fv_ARG_EXPAND); -void glRasterPos4i(glRasterPos4i_ARG_EXPAND); +void glshim_glRasterPos4i(glRasterPos4i_ARG_EXPAND); typedef void (*glRasterPos4i_PTR)(glRasterPos4i_ARG_EXPAND); -void glRasterPos4iv(glRasterPos4iv_ARG_EXPAND); +void glshim_glRasterPos4iv(glRasterPos4iv_ARG_EXPAND); typedef void (*glRasterPos4iv_PTR)(glRasterPos4iv_ARG_EXPAND); -void glRasterPos4s(glRasterPos4s_ARG_EXPAND); +void glshim_glRasterPos4s(glRasterPos4s_ARG_EXPAND); typedef void (*glRasterPos4s_PTR)(glRasterPos4s_ARG_EXPAND); -void glRasterPos4sv(glRasterPos4sv_ARG_EXPAND); +void glshim_glRasterPos4sv(glRasterPos4sv_ARG_EXPAND); typedef void (*glRasterPos4sv_PTR)(glRasterPos4sv_ARG_EXPAND); -void glReadBuffer(glReadBuffer_ARG_EXPAND); +void glshim_glReadBuffer(glReadBuffer_ARG_EXPAND); typedef void (*glReadBuffer_PTR)(glReadBuffer_ARG_EXPAND); -void glReadPixels(glReadPixels_ARG_EXPAND); +void glshim_glReadPixels(glReadPixels_ARG_EXPAND); typedef void (*glReadPixels_PTR)(glReadPixels_ARG_EXPAND); -void glRectd(glRectd_ARG_EXPAND); +void glshim_glRectd(glRectd_ARG_EXPAND); typedef void (*glRectd_PTR)(glRectd_ARG_EXPAND); -void glRectdv(glRectdv_ARG_EXPAND); +void glshim_glRectdv(glRectdv_ARG_EXPAND); typedef void (*glRectdv_PTR)(glRectdv_ARG_EXPAND); -void glRectf(glRectf_ARG_EXPAND); +void glshim_glRectf(glRectf_ARG_EXPAND); typedef void (*glRectf_PTR)(glRectf_ARG_EXPAND); -void glRectfv(glRectfv_ARG_EXPAND); +void glshim_glRectfv(glRectfv_ARG_EXPAND); typedef void (*glRectfv_PTR)(glRectfv_ARG_EXPAND); -void glRecti(glRecti_ARG_EXPAND); +void glshim_glRecti(glRecti_ARG_EXPAND); typedef void (*glRecti_PTR)(glRecti_ARG_EXPAND); -void glRectiv(glRectiv_ARG_EXPAND); +void glshim_glRectiv(glRectiv_ARG_EXPAND); typedef void (*glRectiv_PTR)(glRectiv_ARG_EXPAND); -void glRects(glRects_ARG_EXPAND); +void glshim_glRects(glRects_ARG_EXPAND); typedef void (*glRects_PTR)(glRects_ARG_EXPAND); -void glRectsv(glRectsv_ARG_EXPAND); +void glshim_glRectsv(glRectsv_ARG_EXPAND); typedef void (*glRectsv_PTR)(glRectsv_ARG_EXPAND); -GLint glRenderMode(glRenderMode_ARG_EXPAND); +GLint glshim_glRenderMode(glRenderMode_ARG_EXPAND); typedef GLint (*glRenderMode_PTR)(glRenderMode_ARG_EXPAND); -void glResetHistogram(glResetHistogram_ARG_EXPAND); +void glshim_glResetHistogram(glResetHistogram_ARG_EXPAND); typedef void (*glResetHistogram_PTR)(glResetHistogram_ARG_EXPAND); -void glResetMinmax(glResetMinmax_ARG_EXPAND); +void glshim_glResetMinmax(glResetMinmax_ARG_EXPAND); typedef void (*glResetMinmax_PTR)(glResetMinmax_ARG_EXPAND); -void glRotated(glRotated_ARG_EXPAND); +void glshim_glRotated(glRotated_ARG_EXPAND); typedef void (*glRotated_PTR)(glRotated_ARG_EXPAND); -void glRotatef(glRotatef_ARG_EXPAND); +void glshim_glRotatef(glRotatef_ARG_EXPAND); typedef void (*glRotatef_PTR)(glRotatef_ARG_EXPAND); -void glSampleCoverage(glSampleCoverage_ARG_EXPAND); +void glshim_glSampleCoverage(glSampleCoverage_ARG_EXPAND); typedef void (*glSampleCoverage_PTR)(glSampleCoverage_ARG_EXPAND); -void glScaled(glScaled_ARG_EXPAND); +void glshim_glScaled(glScaled_ARG_EXPAND); typedef void (*glScaled_PTR)(glScaled_ARG_EXPAND); -void glScalef(glScalef_ARG_EXPAND); +void glshim_glScalef(glScalef_ARG_EXPAND); typedef void (*glScalef_PTR)(glScalef_ARG_EXPAND); -void glScissor(glScissor_ARG_EXPAND); +void glshim_glScissor(glScissor_ARG_EXPAND); typedef void (*glScissor_PTR)(glScissor_ARG_EXPAND); -void glSecondaryColor3b(glSecondaryColor3b_ARG_EXPAND); +void glshim_glSecondaryColor3b(glSecondaryColor3b_ARG_EXPAND); typedef void (*glSecondaryColor3b_PTR)(glSecondaryColor3b_ARG_EXPAND); -void glSecondaryColor3bv(glSecondaryColor3bv_ARG_EXPAND); +void glshim_glSecondaryColor3bv(glSecondaryColor3bv_ARG_EXPAND); typedef void (*glSecondaryColor3bv_PTR)(glSecondaryColor3bv_ARG_EXPAND); -void glSecondaryColor3d(glSecondaryColor3d_ARG_EXPAND); +void glshim_glSecondaryColor3d(glSecondaryColor3d_ARG_EXPAND); typedef void (*glSecondaryColor3d_PTR)(glSecondaryColor3d_ARG_EXPAND); -void glSecondaryColor3dv(glSecondaryColor3dv_ARG_EXPAND); +void glshim_glSecondaryColor3dv(glSecondaryColor3dv_ARG_EXPAND); typedef void (*glSecondaryColor3dv_PTR)(glSecondaryColor3dv_ARG_EXPAND); -void glSecondaryColor3f(glSecondaryColor3f_ARG_EXPAND); +void glshim_glSecondaryColor3f(glSecondaryColor3f_ARG_EXPAND); typedef void (*glSecondaryColor3f_PTR)(glSecondaryColor3f_ARG_EXPAND); -void glSecondaryColor3fv(glSecondaryColor3fv_ARG_EXPAND); +void glshim_glSecondaryColor3fv(glSecondaryColor3fv_ARG_EXPAND); typedef void (*glSecondaryColor3fv_PTR)(glSecondaryColor3fv_ARG_EXPAND); -void glSecondaryColor3i(glSecondaryColor3i_ARG_EXPAND); +void glshim_glSecondaryColor3i(glSecondaryColor3i_ARG_EXPAND); typedef void (*glSecondaryColor3i_PTR)(glSecondaryColor3i_ARG_EXPAND); -void glSecondaryColor3iv(glSecondaryColor3iv_ARG_EXPAND); +void glshim_glSecondaryColor3iv(glSecondaryColor3iv_ARG_EXPAND); typedef void (*glSecondaryColor3iv_PTR)(glSecondaryColor3iv_ARG_EXPAND); -void glSecondaryColor3s(glSecondaryColor3s_ARG_EXPAND); +void glshim_glSecondaryColor3s(glSecondaryColor3s_ARG_EXPAND); typedef void (*glSecondaryColor3s_PTR)(glSecondaryColor3s_ARG_EXPAND); -void glSecondaryColor3sv(glSecondaryColor3sv_ARG_EXPAND); +void glshim_glSecondaryColor3sv(glSecondaryColor3sv_ARG_EXPAND); typedef void (*glSecondaryColor3sv_PTR)(glSecondaryColor3sv_ARG_EXPAND); -void glSecondaryColor3ub(glSecondaryColor3ub_ARG_EXPAND); +void glshim_glSecondaryColor3ub(glSecondaryColor3ub_ARG_EXPAND); typedef void (*glSecondaryColor3ub_PTR)(glSecondaryColor3ub_ARG_EXPAND); -void glSecondaryColor3ubv(glSecondaryColor3ubv_ARG_EXPAND); +void glshim_glSecondaryColor3ubv(glSecondaryColor3ubv_ARG_EXPAND); typedef void (*glSecondaryColor3ubv_PTR)(glSecondaryColor3ubv_ARG_EXPAND); -void glSecondaryColor3ui(glSecondaryColor3ui_ARG_EXPAND); +void glshim_glSecondaryColor3ui(glSecondaryColor3ui_ARG_EXPAND); typedef void (*glSecondaryColor3ui_PTR)(glSecondaryColor3ui_ARG_EXPAND); -void glSecondaryColor3uiv(glSecondaryColor3uiv_ARG_EXPAND); +void glshim_glSecondaryColor3uiv(glSecondaryColor3uiv_ARG_EXPAND); typedef void (*glSecondaryColor3uiv_PTR)(glSecondaryColor3uiv_ARG_EXPAND); -void glSecondaryColor3us(glSecondaryColor3us_ARG_EXPAND); +void glshim_glSecondaryColor3us(glSecondaryColor3us_ARG_EXPAND); typedef void (*glSecondaryColor3us_PTR)(glSecondaryColor3us_ARG_EXPAND); -void glSecondaryColor3usv(glSecondaryColor3usv_ARG_EXPAND); +void glshim_glSecondaryColor3usv(glSecondaryColor3usv_ARG_EXPAND); typedef void (*glSecondaryColor3usv_PTR)(glSecondaryColor3usv_ARG_EXPAND); -void glSecondaryColorPointer(glSecondaryColorPointer_ARG_EXPAND); +void glshim_glSecondaryColorPointer(glSecondaryColorPointer_ARG_EXPAND); typedef void (*glSecondaryColorPointer_PTR)(glSecondaryColorPointer_ARG_EXPAND); -void glSelectBuffer(glSelectBuffer_ARG_EXPAND); +void glshim_glSelectBuffer(glSelectBuffer_ARG_EXPAND); typedef void (*glSelectBuffer_PTR)(glSelectBuffer_ARG_EXPAND); -void glSeparableFilter2D(glSeparableFilter2D_ARG_EXPAND); +void glshim_glSeparableFilter2D(glSeparableFilter2D_ARG_EXPAND); typedef void (*glSeparableFilter2D_PTR)(glSeparableFilter2D_ARG_EXPAND); -void glShadeModel(glShadeModel_ARG_EXPAND); +void glshim_glShadeModel(glShadeModel_ARG_EXPAND); typedef void (*glShadeModel_PTR)(glShadeModel_ARG_EXPAND); -void glStencilFunc(glStencilFunc_ARG_EXPAND); +void glshim_glStencilFunc(glStencilFunc_ARG_EXPAND); typedef void (*glStencilFunc_PTR)(glStencilFunc_ARG_EXPAND); -void glStencilMask(glStencilMask_ARG_EXPAND); +void glshim_glStencilMask(glStencilMask_ARG_EXPAND); typedef void (*glStencilMask_PTR)(glStencilMask_ARG_EXPAND); -void glStencilOp(glStencilOp_ARG_EXPAND); +void glshim_glStencilOp(glStencilOp_ARG_EXPAND); typedef void (*glStencilOp_PTR)(glStencilOp_ARG_EXPAND); -void glTexCoord1d(glTexCoord1d_ARG_EXPAND); +void glshim_glTexCoord1d(glTexCoord1d_ARG_EXPAND); typedef void (*glTexCoord1d_PTR)(glTexCoord1d_ARG_EXPAND); -void glTexCoord1dv(glTexCoord1dv_ARG_EXPAND); +void glshim_glTexCoord1dv(glTexCoord1dv_ARG_EXPAND); typedef void (*glTexCoord1dv_PTR)(glTexCoord1dv_ARG_EXPAND); -void glTexCoord1f(glTexCoord1f_ARG_EXPAND); +void glshim_glTexCoord1f(glTexCoord1f_ARG_EXPAND); typedef void (*glTexCoord1f_PTR)(glTexCoord1f_ARG_EXPAND); -void glTexCoord1fv(glTexCoord1fv_ARG_EXPAND); +void glshim_glTexCoord1fv(glTexCoord1fv_ARG_EXPAND); typedef void (*glTexCoord1fv_PTR)(glTexCoord1fv_ARG_EXPAND); -void glTexCoord1i(glTexCoord1i_ARG_EXPAND); +void glshim_glTexCoord1i(glTexCoord1i_ARG_EXPAND); typedef void (*glTexCoord1i_PTR)(glTexCoord1i_ARG_EXPAND); -void glTexCoord1iv(glTexCoord1iv_ARG_EXPAND); +void glshim_glTexCoord1iv(glTexCoord1iv_ARG_EXPAND); typedef void (*glTexCoord1iv_PTR)(glTexCoord1iv_ARG_EXPAND); -void glTexCoord1s(glTexCoord1s_ARG_EXPAND); +void glshim_glTexCoord1s(glTexCoord1s_ARG_EXPAND); typedef void (*glTexCoord1s_PTR)(glTexCoord1s_ARG_EXPAND); -void glTexCoord1sv(glTexCoord1sv_ARG_EXPAND); +void glshim_glTexCoord1sv(glTexCoord1sv_ARG_EXPAND); typedef void (*glTexCoord1sv_PTR)(glTexCoord1sv_ARG_EXPAND); -void glTexCoord2d(glTexCoord2d_ARG_EXPAND); +void glshim_glTexCoord2d(glTexCoord2d_ARG_EXPAND); typedef void (*glTexCoord2d_PTR)(glTexCoord2d_ARG_EXPAND); -void glTexCoord2dv(glTexCoord2dv_ARG_EXPAND); +void glshim_glTexCoord2dv(glTexCoord2dv_ARG_EXPAND); typedef void (*glTexCoord2dv_PTR)(glTexCoord2dv_ARG_EXPAND); -void glTexCoord2f(glTexCoord2f_ARG_EXPAND); +void glshim_glTexCoord2f(glTexCoord2f_ARG_EXPAND); typedef void (*glTexCoord2f_PTR)(glTexCoord2f_ARG_EXPAND); -void glTexCoord2fv(glTexCoord2fv_ARG_EXPAND); +void glshim_glTexCoord2fv(glTexCoord2fv_ARG_EXPAND); typedef void (*glTexCoord2fv_PTR)(glTexCoord2fv_ARG_EXPAND); -void glTexCoord2i(glTexCoord2i_ARG_EXPAND); +void glshim_glTexCoord2i(glTexCoord2i_ARG_EXPAND); typedef void (*glTexCoord2i_PTR)(glTexCoord2i_ARG_EXPAND); -void glTexCoord2iv(glTexCoord2iv_ARG_EXPAND); +void glshim_glTexCoord2iv(glTexCoord2iv_ARG_EXPAND); typedef void (*glTexCoord2iv_PTR)(glTexCoord2iv_ARG_EXPAND); -void glTexCoord2s(glTexCoord2s_ARG_EXPAND); +void glshim_glTexCoord2s(glTexCoord2s_ARG_EXPAND); typedef void (*glTexCoord2s_PTR)(glTexCoord2s_ARG_EXPAND); -void glTexCoord2sv(glTexCoord2sv_ARG_EXPAND); +void glshim_glTexCoord2sv(glTexCoord2sv_ARG_EXPAND); typedef void (*glTexCoord2sv_PTR)(glTexCoord2sv_ARG_EXPAND); -void glTexCoord3d(glTexCoord3d_ARG_EXPAND); +void glshim_glTexCoord3d(glTexCoord3d_ARG_EXPAND); typedef void (*glTexCoord3d_PTR)(glTexCoord3d_ARG_EXPAND); -void glTexCoord3dv(glTexCoord3dv_ARG_EXPAND); +void glshim_glTexCoord3dv(glTexCoord3dv_ARG_EXPAND); typedef void (*glTexCoord3dv_PTR)(glTexCoord3dv_ARG_EXPAND); -void glTexCoord3f(glTexCoord3f_ARG_EXPAND); +void glshim_glTexCoord3f(glTexCoord3f_ARG_EXPAND); typedef void (*glTexCoord3f_PTR)(glTexCoord3f_ARG_EXPAND); -void glTexCoord3fv(glTexCoord3fv_ARG_EXPAND); +void glshim_glTexCoord3fv(glTexCoord3fv_ARG_EXPAND); typedef void (*glTexCoord3fv_PTR)(glTexCoord3fv_ARG_EXPAND); -void glTexCoord3i(glTexCoord3i_ARG_EXPAND); +void glshim_glTexCoord3i(glTexCoord3i_ARG_EXPAND); typedef void (*glTexCoord3i_PTR)(glTexCoord3i_ARG_EXPAND); -void glTexCoord3iv(glTexCoord3iv_ARG_EXPAND); +void glshim_glTexCoord3iv(glTexCoord3iv_ARG_EXPAND); typedef void (*glTexCoord3iv_PTR)(glTexCoord3iv_ARG_EXPAND); -void glTexCoord3s(glTexCoord3s_ARG_EXPAND); +void glshim_glTexCoord3s(glTexCoord3s_ARG_EXPAND); typedef void (*glTexCoord3s_PTR)(glTexCoord3s_ARG_EXPAND); -void glTexCoord3sv(glTexCoord3sv_ARG_EXPAND); +void glshim_glTexCoord3sv(glTexCoord3sv_ARG_EXPAND); typedef void (*glTexCoord3sv_PTR)(glTexCoord3sv_ARG_EXPAND); -void glTexCoord4d(glTexCoord4d_ARG_EXPAND); +void glshim_glTexCoord4d(glTexCoord4d_ARG_EXPAND); typedef void (*glTexCoord4d_PTR)(glTexCoord4d_ARG_EXPAND); -void glTexCoord4dv(glTexCoord4dv_ARG_EXPAND); +void glshim_glTexCoord4dv(glTexCoord4dv_ARG_EXPAND); typedef void (*glTexCoord4dv_PTR)(glTexCoord4dv_ARG_EXPAND); -void glTexCoord4f(glTexCoord4f_ARG_EXPAND); +void glshim_glTexCoord4f(glTexCoord4f_ARG_EXPAND); typedef void (*glTexCoord4f_PTR)(glTexCoord4f_ARG_EXPAND); -void glTexCoord4fv(glTexCoord4fv_ARG_EXPAND); +void glshim_glTexCoord4fv(glTexCoord4fv_ARG_EXPAND); typedef void (*glTexCoord4fv_PTR)(glTexCoord4fv_ARG_EXPAND); -void glTexCoord4i(glTexCoord4i_ARG_EXPAND); +void glshim_glTexCoord4i(glTexCoord4i_ARG_EXPAND); typedef void (*glTexCoord4i_PTR)(glTexCoord4i_ARG_EXPAND); -void glTexCoord4iv(glTexCoord4iv_ARG_EXPAND); +void glshim_glTexCoord4iv(glTexCoord4iv_ARG_EXPAND); typedef void (*glTexCoord4iv_PTR)(glTexCoord4iv_ARG_EXPAND); -void glTexCoord4s(glTexCoord4s_ARG_EXPAND); +void glshim_glTexCoord4s(glTexCoord4s_ARG_EXPAND); typedef void (*glTexCoord4s_PTR)(glTexCoord4s_ARG_EXPAND); -void glTexCoord4sv(glTexCoord4sv_ARG_EXPAND); +void glshim_glTexCoord4sv(glTexCoord4sv_ARG_EXPAND); typedef void (*glTexCoord4sv_PTR)(glTexCoord4sv_ARG_EXPAND); -void glTexCoordPointer(glTexCoordPointer_ARG_EXPAND); +void glshim_glTexCoordPointer(glTexCoordPointer_ARG_EXPAND); typedef void (*glTexCoordPointer_PTR)(glTexCoordPointer_ARG_EXPAND); -void glTexEnvf(glTexEnvf_ARG_EXPAND); +void glshim_glTexEnvf(glTexEnvf_ARG_EXPAND); typedef void (*glTexEnvf_PTR)(glTexEnvf_ARG_EXPAND); -void glTexEnvfv(glTexEnvfv_ARG_EXPAND); +void glshim_glTexEnvfv(glTexEnvfv_ARG_EXPAND); typedef void (*glTexEnvfv_PTR)(glTexEnvfv_ARG_EXPAND); -void glTexEnvi(glTexEnvi_ARG_EXPAND); +void glshim_glTexEnvi(glTexEnvi_ARG_EXPAND); typedef void (*glTexEnvi_PTR)(glTexEnvi_ARG_EXPAND); -void glTexEnviv(glTexEnviv_ARG_EXPAND); +void glshim_glTexEnviv(glTexEnviv_ARG_EXPAND); typedef void (*glTexEnviv_PTR)(glTexEnviv_ARG_EXPAND); -void glTexGend(glTexGend_ARG_EXPAND); +void glshim_glTexGend(glTexGend_ARG_EXPAND); typedef void (*glTexGend_PTR)(glTexGend_ARG_EXPAND); -void glTexGendv(glTexGendv_ARG_EXPAND); +void glshim_glTexGendv(glTexGendv_ARG_EXPAND); typedef void (*glTexGendv_PTR)(glTexGendv_ARG_EXPAND); -void glTexGenf(glTexGenf_ARG_EXPAND); +void glshim_glTexGenf(glTexGenf_ARG_EXPAND); typedef void (*glTexGenf_PTR)(glTexGenf_ARG_EXPAND); -void glTexGenfv(glTexGenfv_ARG_EXPAND); +void glshim_glTexGenfv(glTexGenfv_ARG_EXPAND); typedef void (*glTexGenfv_PTR)(glTexGenfv_ARG_EXPAND); -void glTexGeni(glTexGeni_ARG_EXPAND); +void glshim_glTexGeni(glTexGeni_ARG_EXPAND); typedef void (*glTexGeni_PTR)(glTexGeni_ARG_EXPAND); -void glTexGeniv(glTexGeniv_ARG_EXPAND); +void glshim_glTexGeniv(glTexGeniv_ARG_EXPAND); typedef void (*glTexGeniv_PTR)(glTexGeniv_ARG_EXPAND); -void glTexImage1D(glTexImage1D_ARG_EXPAND); +void glshim_glTexImage1D(glTexImage1D_ARG_EXPAND); typedef void (*glTexImage1D_PTR)(glTexImage1D_ARG_EXPAND); -void glTexImage2D(glTexImage2D_ARG_EXPAND); +void glshim_glTexImage2D(glTexImage2D_ARG_EXPAND); typedef void (*glTexImage2D_PTR)(glTexImage2D_ARG_EXPAND); -void glTexImage3D(glTexImage3D_ARG_EXPAND); +void glshim_glTexImage3D(glTexImage3D_ARG_EXPAND); typedef void (*glTexImage3D_PTR)(glTexImage3D_ARG_EXPAND); -void glTexParameterf(glTexParameterf_ARG_EXPAND); +void glshim_glTexParameterf(glTexParameterf_ARG_EXPAND); typedef void (*glTexParameterf_PTR)(glTexParameterf_ARG_EXPAND); -void glTexParameterfv(glTexParameterfv_ARG_EXPAND); +void glshim_glTexParameterfv(glTexParameterfv_ARG_EXPAND); typedef void (*glTexParameterfv_PTR)(glTexParameterfv_ARG_EXPAND); -void glTexParameteri(glTexParameteri_ARG_EXPAND); +void glshim_glTexParameteri(glTexParameteri_ARG_EXPAND); typedef void (*glTexParameteri_PTR)(glTexParameteri_ARG_EXPAND); -void glTexParameteriv(glTexParameteriv_ARG_EXPAND); +void glshim_glTexParameteriv(glTexParameteriv_ARG_EXPAND); typedef void (*glTexParameteriv_PTR)(glTexParameteriv_ARG_EXPAND); -void glTexSubImage1D(glTexSubImage1D_ARG_EXPAND); +void glshim_glTexSubImage1D(glTexSubImage1D_ARG_EXPAND); typedef void (*glTexSubImage1D_PTR)(glTexSubImage1D_ARG_EXPAND); -void glTexSubImage2D(glTexSubImage2D_ARG_EXPAND); +void glshim_glTexSubImage2D(glTexSubImage2D_ARG_EXPAND); typedef void (*glTexSubImage2D_PTR)(glTexSubImage2D_ARG_EXPAND); -void glTexSubImage3D(glTexSubImage3D_ARG_EXPAND); +void glshim_glTexSubImage3D(glTexSubImage3D_ARG_EXPAND); typedef void (*glTexSubImage3D_PTR)(glTexSubImage3D_ARG_EXPAND); -void glTranslated(glTranslated_ARG_EXPAND); +void glshim_glTranslated(glTranslated_ARG_EXPAND); typedef void (*glTranslated_PTR)(glTranslated_ARG_EXPAND); -void glTranslatef(glTranslatef_ARG_EXPAND); +void glshim_glTranslatef(glTranslatef_ARG_EXPAND); typedef void (*glTranslatef_PTR)(glTranslatef_ARG_EXPAND); -GLboolean glUnmapBuffer(glUnmapBuffer_ARG_EXPAND); +GLboolean glshim_glUnmapBuffer(glUnmapBuffer_ARG_EXPAND); typedef GLboolean (*glUnmapBuffer_PTR)(glUnmapBuffer_ARG_EXPAND); -void glVertex2d(glVertex2d_ARG_EXPAND); +void glshim_glVertex2d(glVertex2d_ARG_EXPAND); typedef void (*glVertex2d_PTR)(glVertex2d_ARG_EXPAND); -void glVertex2dv(glVertex2dv_ARG_EXPAND); +void glshim_glVertex2dv(glVertex2dv_ARG_EXPAND); typedef void (*glVertex2dv_PTR)(glVertex2dv_ARG_EXPAND); -void glVertex2f(glVertex2f_ARG_EXPAND); +void glshim_glVertex2f(glVertex2f_ARG_EXPAND); typedef void (*glVertex2f_PTR)(glVertex2f_ARG_EXPAND); -void glVertex2fv(glVertex2fv_ARG_EXPAND); +void glshim_glVertex2fv(glVertex2fv_ARG_EXPAND); typedef void (*glVertex2fv_PTR)(glVertex2fv_ARG_EXPAND); -void glVertex2i(glVertex2i_ARG_EXPAND); +void glshim_glVertex2i(glVertex2i_ARG_EXPAND); typedef void (*glVertex2i_PTR)(glVertex2i_ARG_EXPAND); -void glVertex2iv(glVertex2iv_ARG_EXPAND); +void glshim_glVertex2iv(glVertex2iv_ARG_EXPAND); typedef void (*glVertex2iv_PTR)(glVertex2iv_ARG_EXPAND); -void glVertex2s(glVertex2s_ARG_EXPAND); +void glshim_glVertex2s(glVertex2s_ARG_EXPAND); typedef void (*glVertex2s_PTR)(glVertex2s_ARG_EXPAND); -void glVertex2sv(glVertex2sv_ARG_EXPAND); +void glshim_glVertex2sv(glVertex2sv_ARG_EXPAND); typedef void (*glVertex2sv_PTR)(glVertex2sv_ARG_EXPAND); -void glVertex3d(glVertex3d_ARG_EXPAND); +void glshim_glVertex3d(glVertex3d_ARG_EXPAND); typedef void (*glVertex3d_PTR)(glVertex3d_ARG_EXPAND); -void glVertex3dv(glVertex3dv_ARG_EXPAND); +void glshim_glVertex3dv(glVertex3dv_ARG_EXPAND); typedef void (*glVertex3dv_PTR)(glVertex3dv_ARG_EXPAND); -void glVertex3f(glVertex3f_ARG_EXPAND); +void glshim_glVertex3f(glVertex3f_ARG_EXPAND); typedef void (*glVertex3f_PTR)(glVertex3f_ARG_EXPAND); -void glVertex3fv(glVertex3fv_ARG_EXPAND); +void glshim_glVertex3fv(glVertex3fv_ARG_EXPAND); typedef void (*glVertex3fv_PTR)(glVertex3fv_ARG_EXPAND); -void glVertex3i(glVertex3i_ARG_EXPAND); +void glshim_glVertex3i(glVertex3i_ARG_EXPAND); typedef void (*glVertex3i_PTR)(glVertex3i_ARG_EXPAND); -void glVertex3iv(glVertex3iv_ARG_EXPAND); +void glshim_glVertex3iv(glVertex3iv_ARG_EXPAND); typedef void (*glVertex3iv_PTR)(glVertex3iv_ARG_EXPAND); -void glVertex3s(glVertex3s_ARG_EXPAND); +void glshim_glVertex3s(glVertex3s_ARG_EXPAND); typedef void (*glVertex3s_PTR)(glVertex3s_ARG_EXPAND); -void glVertex3sv(glVertex3sv_ARG_EXPAND); +void glshim_glVertex3sv(glVertex3sv_ARG_EXPAND); typedef void (*glVertex3sv_PTR)(glVertex3sv_ARG_EXPAND); -void glVertex4d(glVertex4d_ARG_EXPAND); +void glshim_glVertex4d(glVertex4d_ARG_EXPAND); typedef void (*glVertex4d_PTR)(glVertex4d_ARG_EXPAND); -void glVertex4dv(glVertex4dv_ARG_EXPAND); +void glshim_glVertex4dv(glVertex4dv_ARG_EXPAND); typedef void (*glVertex4dv_PTR)(glVertex4dv_ARG_EXPAND); -void glVertex4f(glVertex4f_ARG_EXPAND); +void glshim_glVertex4f(glVertex4f_ARG_EXPAND); typedef void (*glVertex4f_PTR)(glVertex4f_ARG_EXPAND); -void glVertex4fv(glVertex4fv_ARG_EXPAND); +void glshim_glVertex4fv(glVertex4fv_ARG_EXPAND); typedef void (*glVertex4fv_PTR)(glVertex4fv_ARG_EXPAND); -void glVertex4i(glVertex4i_ARG_EXPAND); +void glshim_glVertex4i(glVertex4i_ARG_EXPAND); typedef void (*glVertex4i_PTR)(glVertex4i_ARG_EXPAND); -void glVertex4iv(glVertex4iv_ARG_EXPAND); +void glshim_glVertex4iv(glVertex4iv_ARG_EXPAND); typedef void (*glVertex4iv_PTR)(glVertex4iv_ARG_EXPAND); -void glVertex4s(glVertex4s_ARG_EXPAND); +void glshim_glVertex4s(glVertex4s_ARG_EXPAND); typedef void (*glVertex4s_PTR)(glVertex4s_ARG_EXPAND); -void glVertex4sv(glVertex4sv_ARG_EXPAND); +void glshim_glVertex4sv(glVertex4sv_ARG_EXPAND); typedef void (*glVertex4sv_PTR)(glVertex4sv_ARG_EXPAND); -void glVertexPointer(glVertexPointer_ARG_EXPAND); +void glshim_glVertexPointer(glVertexPointer_ARG_EXPAND); typedef void (*glVertexPointer_PTR)(glVertexPointer_ARG_EXPAND); -void glViewport(glViewport_ARG_EXPAND); +void glshim_glViewport(glViewport_ARG_EXPAND); typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); -void glWindowPos2d(glWindowPos2d_ARG_EXPAND); +void glshim_glWindowPos2d(glWindowPos2d_ARG_EXPAND); typedef void (*glWindowPos2d_PTR)(glWindowPos2d_ARG_EXPAND); -void glWindowPos2dv(glWindowPos2dv_ARG_EXPAND); +void glshim_glWindowPos2dv(glWindowPos2dv_ARG_EXPAND); typedef void (*glWindowPos2dv_PTR)(glWindowPos2dv_ARG_EXPAND); -void glWindowPos2f(glWindowPos2f_ARG_EXPAND); +void glshim_glWindowPos2f(glWindowPos2f_ARG_EXPAND); typedef void (*glWindowPos2f_PTR)(glWindowPos2f_ARG_EXPAND); -void glWindowPos2fv(glWindowPos2fv_ARG_EXPAND); +void glshim_glWindowPos2fv(glWindowPos2fv_ARG_EXPAND); typedef void (*glWindowPos2fv_PTR)(glWindowPos2fv_ARG_EXPAND); -void glWindowPos2i(glWindowPos2i_ARG_EXPAND); +void glshim_glWindowPos2i(glWindowPos2i_ARG_EXPAND); typedef void (*glWindowPos2i_PTR)(glWindowPos2i_ARG_EXPAND); -void glWindowPos2iv(glWindowPos2iv_ARG_EXPAND); +void glshim_glWindowPos2iv(glWindowPos2iv_ARG_EXPAND); typedef void (*glWindowPos2iv_PTR)(glWindowPos2iv_ARG_EXPAND); -void glWindowPos2s(glWindowPos2s_ARG_EXPAND); +void glshim_glWindowPos2s(glWindowPos2s_ARG_EXPAND); typedef void (*glWindowPos2s_PTR)(glWindowPos2s_ARG_EXPAND); -void glWindowPos2sv(glWindowPos2sv_ARG_EXPAND); +void glshim_glWindowPos2sv(glWindowPos2sv_ARG_EXPAND); typedef void (*glWindowPos2sv_PTR)(glWindowPos2sv_ARG_EXPAND); -void glWindowPos3d(glWindowPos3d_ARG_EXPAND); +void glshim_glWindowPos3d(glWindowPos3d_ARG_EXPAND); typedef void (*glWindowPos3d_PTR)(glWindowPos3d_ARG_EXPAND); -void glWindowPos3dv(glWindowPos3dv_ARG_EXPAND); +void glshim_glWindowPos3dv(glWindowPos3dv_ARG_EXPAND); typedef void (*glWindowPos3dv_PTR)(glWindowPos3dv_ARG_EXPAND); -void glWindowPos3f(glWindowPos3f_ARG_EXPAND); +void glshim_glWindowPos3f(glWindowPos3f_ARG_EXPAND); typedef void (*glWindowPos3f_PTR)(glWindowPos3f_ARG_EXPAND); -void glWindowPos3fv(glWindowPos3fv_ARG_EXPAND); +void glshim_glWindowPos3fv(glWindowPos3fv_ARG_EXPAND); typedef void (*glWindowPos3fv_PTR)(glWindowPos3fv_ARG_EXPAND); -void glWindowPos3i(glWindowPos3i_ARG_EXPAND); +void glshim_glWindowPos3i(glWindowPos3i_ARG_EXPAND); typedef void (*glWindowPos3i_PTR)(glWindowPos3i_ARG_EXPAND); -void glWindowPos3iv(glWindowPos3iv_ARG_EXPAND); +void glshim_glWindowPos3iv(glWindowPos3iv_ARG_EXPAND); typedef void (*glWindowPos3iv_PTR)(glWindowPos3iv_ARG_EXPAND); -void glWindowPos3s(glWindowPos3s_ARG_EXPAND); +void glshim_glWindowPos3s(glWindowPos3s_ARG_EXPAND); typedef void (*glWindowPos3s_PTR)(glWindowPos3s_ARG_EXPAND); -void glWindowPos3sv(glWindowPos3sv_ARG_EXPAND); +void glshim_glWindowPos3sv(glWindowPos3sv_ARG_EXPAND); typedef void (*glWindowPos3sv_PTR)(glWindowPos3sv_ARG_EXPAND); -int glXBindHyperpipeSGIX(glXBindHyperpipeSGIX_ARG_EXPAND); +int glshim_glXBindHyperpipeSGIX(glXBindHyperpipeSGIX_ARG_EXPAND); typedef int (*glXBindHyperpipeSGIX_PTR)(glXBindHyperpipeSGIX_ARG_EXPAND); -void glXBindSwapBarrierSGIX(glXBindSwapBarrierSGIX_ARG_EXPAND); +void glshim_glXBindSwapBarrierSGIX(glXBindSwapBarrierSGIX_ARG_EXPAND); typedef void (*glXBindSwapBarrierSGIX_PTR)(glXBindSwapBarrierSGIX_ARG_EXPAND); -void glXChangeDrawableAttributes(glXChangeDrawableAttributes_ARG_EXPAND); +void glshim_glXChangeDrawableAttributes(glXChangeDrawableAttributes_ARG_EXPAND); typedef void (*glXChangeDrawableAttributes_PTR)(glXChangeDrawableAttributes_ARG_EXPAND); -void glXChangeDrawableAttributesSGIX(glXChangeDrawableAttributesSGIX_ARG_EXPAND); +void glshim_glXChangeDrawableAttributesSGIX(glXChangeDrawableAttributesSGIX_ARG_EXPAND); typedef void (*glXChangeDrawableAttributesSGIX_PTR)(glXChangeDrawableAttributesSGIX_ARG_EXPAND); -GLXFBConfig * glXChooseFBConfig(glXChooseFBConfig_ARG_EXPAND); +GLXFBConfig * glshim_glXChooseFBConfig(glXChooseFBConfig_ARG_EXPAND); typedef GLXFBConfig * (*glXChooseFBConfig_PTR)(glXChooseFBConfig_ARG_EXPAND); -XVisualInfo * glXChooseVisual(glXChooseVisual_ARG_EXPAND); +XVisualInfo * glshim_glXChooseVisual(glXChooseVisual_ARG_EXPAND); typedef XVisualInfo * (*glXChooseVisual_PTR)(glXChooseVisual_ARG_EXPAND); -void glXClientInfo(glXClientInfo_ARG_EXPAND); +void glshim_glXClientInfo(glXClientInfo_ARG_EXPAND); typedef void (*glXClientInfo_PTR)(glXClientInfo_ARG_EXPAND); -void glXCopyContext(glXCopyContext_ARG_EXPAND); +void glshim_glXCopyContext(glXCopyContext_ARG_EXPAND); typedef void (*glXCopyContext_PTR)(glXCopyContext_ARG_EXPAND); -GLXContext glXCreateContext(glXCreateContext_ARG_EXPAND); +GLXContext glshim_glXCreateContext(glXCreateContext_ARG_EXPAND); typedef GLXContext (*glXCreateContext_PTR)(glXCreateContext_ARG_EXPAND); -GLXContext glXCreateContextAttribsARB(glXCreateContextAttribsARB_ARG_EXPAND); +GLXContext glshim_glXCreateContextAttribsARB(glXCreateContextAttribsARB_ARG_EXPAND); typedef GLXContext (*glXCreateContextAttribsARB_PTR)(glXCreateContextAttribsARB_ARG_EXPAND); -void glXCreateContextWithConfigSGIX(glXCreateContextWithConfigSGIX_ARG_EXPAND); +void glshim_glXCreateContextWithConfigSGIX(glXCreateContextWithConfigSGIX_ARG_EXPAND); typedef void (*glXCreateContextWithConfigSGIX_PTR)(glXCreateContextWithConfigSGIX_ARG_EXPAND); -void glXCreateGLXPbufferSGIX(glXCreateGLXPbufferSGIX_ARG_EXPAND); +void glshim_glXCreateGLXPbufferSGIX(glXCreateGLXPbufferSGIX_ARG_EXPAND); typedef void (*glXCreateGLXPbufferSGIX_PTR)(glXCreateGLXPbufferSGIX_ARG_EXPAND); -GLXPixmap glXCreateGLXPixmap(glXCreateGLXPixmap_ARG_EXPAND); +GLXPixmap glshim_glXCreateGLXPixmap(glXCreateGLXPixmap_ARG_EXPAND); typedef GLXPixmap (*glXCreateGLXPixmap_PTR)(glXCreateGLXPixmap_ARG_EXPAND); -void glXCreateGLXPixmapWithConfigSGIX(glXCreateGLXPixmapWithConfigSGIX_ARG_EXPAND); +void glshim_glXCreateGLXPixmapWithConfigSGIX(glXCreateGLXPixmapWithConfigSGIX_ARG_EXPAND); typedef void (*glXCreateGLXPixmapWithConfigSGIX_PTR)(glXCreateGLXPixmapWithConfigSGIX_ARG_EXPAND); -void glXCreateGLXVideoSourceSGIX(glXCreateGLXVideoSourceSGIX_ARG_EXPAND); +void glshim_glXCreateGLXVideoSourceSGIX(glXCreateGLXVideoSourceSGIX_ARG_EXPAND); typedef void (*glXCreateGLXVideoSourceSGIX_PTR)(glXCreateGLXVideoSourceSGIX_ARG_EXPAND); -GLXContext glXCreateNewContext(glXCreateNewContext_ARG_EXPAND); +GLXContext glshim_glXCreateNewContext(glXCreateNewContext_ARG_EXPAND); typedef GLXContext (*glXCreateNewContext_PTR)(glXCreateNewContext_ARG_EXPAND); -GLXPbuffer glXCreatePbuffer(glXCreatePbuffer_ARG_EXPAND); +GLXPbuffer glshim_glXCreatePbuffer(glXCreatePbuffer_ARG_EXPAND); typedef GLXPbuffer (*glXCreatePbuffer_PTR)(glXCreatePbuffer_ARG_EXPAND); -GLXPixmap glXCreatePixmap(glXCreatePixmap_ARG_EXPAND); +GLXPixmap glshim_glXCreatePixmap(glXCreatePixmap_ARG_EXPAND); typedef GLXPixmap (*glXCreatePixmap_PTR)(glXCreatePixmap_ARG_EXPAND); -GLXWindow glXCreateWindow(glXCreateWindow_ARG_EXPAND); +GLXWindow glshim_glXCreateWindow(glXCreateWindow_ARG_EXPAND); typedef GLXWindow (*glXCreateWindow_PTR)(glXCreateWindow_ARG_EXPAND); -void glXDestroyContext(glXDestroyContext_ARG_EXPAND); +void glshim_glXDestroyContext(glXDestroyContext_ARG_EXPAND); typedef void (*glXDestroyContext_PTR)(glXDestroyContext_ARG_EXPAND); -void glXDestroyGLXPbufferSGIX(glXDestroyGLXPbufferSGIX_ARG_EXPAND); +void glshim_glXDestroyGLXPbufferSGIX(glXDestroyGLXPbufferSGIX_ARG_EXPAND); typedef void (*glXDestroyGLXPbufferSGIX_PTR)(glXDestroyGLXPbufferSGIX_ARG_EXPAND); -void glXDestroyGLXPixmap(glXDestroyGLXPixmap_ARG_EXPAND); +void glshim_glXDestroyGLXPixmap(glXDestroyGLXPixmap_ARG_EXPAND); typedef void (*glXDestroyGLXPixmap_PTR)(glXDestroyGLXPixmap_ARG_EXPAND); -void glXDestroyGLXVideoSourceSGIX(glXDestroyGLXVideoSourceSGIX_ARG_EXPAND); +void glshim_glXDestroyGLXVideoSourceSGIX(glXDestroyGLXVideoSourceSGIX_ARG_EXPAND); typedef void (*glXDestroyGLXVideoSourceSGIX_PTR)(glXDestroyGLXVideoSourceSGIX_ARG_EXPAND); -int glXDestroyHyperpipeConfigSGIX(glXDestroyHyperpipeConfigSGIX_ARG_EXPAND); +int glshim_glXDestroyHyperpipeConfigSGIX(glXDestroyHyperpipeConfigSGIX_ARG_EXPAND); typedef int (*glXDestroyHyperpipeConfigSGIX_PTR)(glXDestroyHyperpipeConfigSGIX_ARG_EXPAND); -void glXDestroyPbuffer(glXDestroyPbuffer_ARG_EXPAND); +void glshim_glXDestroyPbuffer(glXDestroyPbuffer_ARG_EXPAND); typedef void (*glXDestroyPbuffer_PTR)(glXDestroyPbuffer_ARG_EXPAND); -void glXDestroyPixmap(glXDestroyPixmap_ARG_EXPAND); +void glshim_glXDestroyPixmap(glXDestroyPixmap_ARG_EXPAND); typedef void (*glXDestroyPixmap_PTR)(glXDestroyPixmap_ARG_EXPAND); -void glXDestroyWindow(glXDestroyWindow_ARG_EXPAND); +void glshim_glXDestroyWindow(glXDestroyWindow_ARG_EXPAND); typedef void (*glXDestroyWindow_PTR)(glXDestroyWindow_ARG_EXPAND); -const char * glXGetClientString(glXGetClientString_ARG_EXPAND); +const char * glshim_glXGetClientString(glXGetClientString_ARG_EXPAND); typedef const char * (*glXGetClientString_PTR)(glXGetClientString_ARG_EXPAND); -int glXGetConfig(glXGetConfig_ARG_EXPAND); +int glshim_glXGetConfig(glXGetConfig_ARG_EXPAND); typedef int (*glXGetConfig_PTR)(glXGetConfig_ARG_EXPAND); -GLXContext glXGetCurrentContext(glXGetCurrentContext_ARG_EXPAND); +GLXContext glshim_glXGetCurrentContext(glXGetCurrentContext_ARG_EXPAND); typedef GLXContext (*glXGetCurrentContext_PTR)(glXGetCurrentContext_ARG_EXPAND); -Display * glXGetCurrentDisplay(glXGetCurrentDisplay_ARG_EXPAND); +Display * glshim_glXGetCurrentDisplay(glXGetCurrentDisplay_ARG_EXPAND); typedef Display * (*glXGetCurrentDisplay_PTR)(glXGetCurrentDisplay_ARG_EXPAND); -GLXDrawable glXGetCurrentDrawable(glXGetCurrentDrawable_ARG_EXPAND); +GLXDrawable glshim_glXGetCurrentDrawable(glXGetCurrentDrawable_ARG_EXPAND); typedef GLXDrawable (*glXGetCurrentDrawable_PTR)(glXGetCurrentDrawable_ARG_EXPAND); -GLXDrawable glXGetCurrentReadDrawable(glXGetCurrentReadDrawable_ARG_EXPAND); +GLXDrawable glshim_glXGetCurrentReadDrawable(glXGetCurrentReadDrawable_ARG_EXPAND); typedef GLXDrawable (*glXGetCurrentReadDrawable_PTR)(glXGetCurrentReadDrawable_ARG_EXPAND); -void glXGetDrawableAttributes(glXGetDrawableAttributes_ARG_EXPAND); +void glshim_glXGetDrawableAttributes(glXGetDrawableAttributes_ARG_EXPAND); typedef void (*glXGetDrawableAttributes_PTR)(glXGetDrawableAttributes_ARG_EXPAND); -void glXGetDrawableAttributesSGIX(glXGetDrawableAttributesSGIX_ARG_EXPAND); +void glshim_glXGetDrawableAttributesSGIX(glXGetDrawableAttributesSGIX_ARG_EXPAND); typedef void (*glXGetDrawableAttributesSGIX_PTR)(glXGetDrawableAttributesSGIX_ARG_EXPAND); -int glXGetFBConfigAttrib(glXGetFBConfigAttrib_ARG_EXPAND); +int glshim_glXGetFBConfigAttrib(glXGetFBConfigAttrib_ARG_EXPAND); typedef int (*glXGetFBConfigAttrib_PTR)(glXGetFBConfigAttrib_ARG_EXPAND); -GLXFBConfig * glXGetFBConfigs(glXGetFBConfigs_ARG_EXPAND); +GLXFBConfig * glshim_glXGetFBConfigs(glXGetFBConfigs_ARG_EXPAND); typedef GLXFBConfig * (*glXGetFBConfigs_PTR)(glXGetFBConfigs_ARG_EXPAND); -void glXGetFBConfigsSGIX(glXGetFBConfigsSGIX_ARG_EXPAND); +void glshim_glXGetFBConfigsSGIX(glXGetFBConfigsSGIX_ARG_EXPAND); typedef void (*glXGetFBConfigsSGIX_PTR)(glXGetFBConfigsSGIX_ARG_EXPAND); -__GLXextFuncPtr glXGetProcAddress(glXGetProcAddress_ARG_EXPAND); +__GLXextFuncPtr glshim_glXGetProcAddress(glXGetProcAddress_ARG_EXPAND); typedef __GLXextFuncPtr (*glXGetProcAddress_PTR)(glXGetProcAddress_ARG_EXPAND); -void glXGetSelectedEvent(glXGetSelectedEvent_ARG_EXPAND); +void glshim_glXGetSelectedEvent(glXGetSelectedEvent_ARG_EXPAND); typedef void (*glXGetSelectedEvent_PTR)(glXGetSelectedEvent_ARG_EXPAND); -void glXGetVisualConfigs(glXGetVisualConfigs_ARG_EXPAND); +void glshim_glXGetVisualConfigs(glXGetVisualConfigs_ARG_EXPAND); typedef void (*glXGetVisualConfigs_PTR)(glXGetVisualConfigs_ARG_EXPAND); -XVisualInfo * glXGetVisualFromFBConfig(glXGetVisualFromFBConfig_ARG_EXPAND); +XVisualInfo * glshim_glXGetVisualFromFBConfig(glXGetVisualFromFBConfig_ARG_EXPAND); typedef XVisualInfo * (*glXGetVisualFromFBConfig_PTR)(glXGetVisualFromFBConfig_ARG_EXPAND); -int glXHyperpipeAttribSGIX(glXHyperpipeAttribSGIX_ARG_EXPAND); +int glshim_glXHyperpipeAttribSGIX(glXHyperpipeAttribSGIX_ARG_EXPAND); typedef int (*glXHyperpipeAttribSGIX_PTR)(glXHyperpipeAttribSGIX_ARG_EXPAND); -int glXHyperpipeConfigSGIX(glXHyperpipeConfigSGIX_ARG_EXPAND); +int glshim_glXHyperpipeConfigSGIX(glXHyperpipeConfigSGIX_ARG_EXPAND); typedef int (*glXHyperpipeConfigSGIX_PTR)(glXHyperpipeConfigSGIX_ARG_EXPAND); -Bool glXIsDirect(glXIsDirect_ARG_EXPAND); +Bool glshim_glXIsDirect(glXIsDirect_ARG_EXPAND); typedef Bool (*glXIsDirect_PTR)(glXIsDirect_ARG_EXPAND); -void glXJoinSwapGroupSGIX(glXJoinSwapGroupSGIX_ARG_EXPAND); +void glshim_glXJoinSwapGroupSGIX(glXJoinSwapGroupSGIX_ARG_EXPAND); typedef void (*glXJoinSwapGroupSGIX_PTR)(glXJoinSwapGroupSGIX_ARG_EXPAND); -Bool glXMakeContextCurrent(glXMakeContextCurrent_ARG_EXPAND); +Bool glshim_glXMakeContextCurrent(glXMakeContextCurrent_ARG_EXPAND); typedef Bool (*glXMakeContextCurrent_PTR)(glXMakeContextCurrent_ARG_EXPAND); -Bool glXMakeCurrent(glXMakeCurrent_ARG_EXPAND); +Bool glshim_glXMakeCurrent(glXMakeCurrent_ARG_EXPAND); typedef Bool (*glXMakeCurrent_PTR)(glXMakeCurrent_ARG_EXPAND); -void glXMakeCurrentReadSGI(glXMakeCurrentReadSGI_ARG_EXPAND); +void glshim_glXMakeCurrentReadSGI(glXMakeCurrentReadSGI_ARG_EXPAND); typedef void (*glXMakeCurrentReadSGI_PTR)(glXMakeCurrentReadSGI_ARG_EXPAND); -int glXQueryContext(glXQueryContext_ARG_EXPAND); +int glshim_glXQueryContext(glXQueryContext_ARG_EXPAND); typedef int (*glXQueryContext_PTR)(glXQueryContext_ARG_EXPAND); -void glXQueryContextInfoEXT(glXQueryContextInfoEXT_ARG_EXPAND); +void glshim_glXQueryContextInfoEXT(glXQueryContextInfoEXT_ARG_EXPAND); typedef void (*glXQueryContextInfoEXT_PTR)(glXQueryContextInfoEXT_ARG_EXPAND); -void glXQueryDrawable(glXQueryDrawable_ARG_EXPAND); +void glshim_glXQueryDrawable(glXQueryDrawable_ARG_EXPAND); typedef void (*glXQueryDrawable_PTR)(glXQueryDrawable_ARG_EXPAND); -Bool glXQueryExtension(glXQueryExtension_ARG_EXPAND); +Bool glshim_glXQueryExtension(glXQueryExtension_ARG_EXPAND); typedef Bool (*glXQueryExtension_PTR)(glXQueryExtension_ARG_EXPAND); -const char * glXQueryExtensionsString(glXQueryExtensionsString_ARG_EXPAND); +const char * glshim_glXQueryExtensionsString(glXQueryExtensionsString_ARG_EXPAND); typedef const char * (*glXQueryExtensionsString_PTR)(glXQueryExtensionsString_ARG_EXPAND); -int glXQueryHyperpipeAttribSGIX(glXQueryHyperpipeAttribSGIX_ARG_EXPAND); +int glshim_glXQueryHyperpipeAttribSGIX(glXQueryHyperpipeAttribSGIX_ARG_EXPAND); typedef int (*glXQueryHyperpipeAttribSGIX_PTR)(glXQueryHyperpipeAttribSGIX_ARG_EXPAND); -int glXQueryHyperpipeBestAttribSGIX(glXQueryHyperpipeBestAttribSGIX_ARG_EXPAND); +int glshim_glXQueryHyperpipeBestAttribSGIX(glXQueryHyperpipeBestAttribSGIX_ARG_EXPAND); typedef int (*glXQueryHyperpipeBestAttribSGIX_PTR)(glXQueryHyperpipeBestAttribSGIX_ARG_EXPAND); -GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX(glXQueryHyperpipeConfigSGIX_ARG_EXPAND); +GLXHyperpipeConfigSGIX * glshim_glXQueryHyperpipeConfigSGIX(glXQueryHyperpipeConfigSGIX_ARG_EXPAND); typedef GLXHyperpipeConfigSGIX * (*glXQueryHyperpipeConfigSGIX_PTR)(glXQueryHyperpipeConfigSGIX_ARG_EXPAND); -GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX(glXQueryHyperpipeNetworkSGIX_ARG_EXPAND); +GLXHyperpipeNetworkSGIX * glshim_glXQueryHyperpipeNetworkSGIX(glXQueryHyperpipeNetworkSGIX_ARG_EXPAND); typedef GLXHyperpipeNetworkSGIX * (*glXQueryHyperpipeNetworkSGIX_PTR)(glXQueryHyperpipeNetworkSGIX_ARG_EXPAND); -void glXQueryMaxSwapBarriersSGIX(glXQueryMaxSwapBarriersSGIX_ARG_EXPAND); +void glshim_glXQueryMaxSwapBarriersSGIX(glXQueryMaxSwapBarriersSGIX_ARG_EXPAND); typedef void (*glXQueryMaxSwapBarriersSGIX_PTR)(glXQueryMaxSwapBarriersSGIX_ARG_EXPAND); -const char * glXQueryServerString(glXQueryServerString_ARG_EXPAND); +const char * glshim_glXQueryServerString(glXQueryServerString_ARG_EXPAND); typedef const char * (*glXQueryServerString_PTR)(glXQueryServerString_ARG_EXPAND); -Bool glXQueryVersion(glXQueryVersion_ARG_EXPAND); +Bool glshim_glXQueryVersion(glXQueryVersion_ARG_EXPAND); typedef Bool (*glXQueryVersion_PTR)(glXQueryVersion_ARG_EXPAND); -Bool glXReleaseBuffersMESA(glXReleaseBuffersMESA_ARG_EXPAND); +Bool glshim_glXReleaseBuffersMESA(glXReleaseBuffersMESA_ARG_EXPAND); typedef Bool (*glXReleaseBuffersMESA_PTR)(glXReleaseBuffersMESA_ARG_EXPAND); -void glXRender(glXRender_ARG_EXPAND); +void glshim_glXRender(glXRender_ARG_EXPAND); typedef void (*glXRender_PTR)(glXRender_ARG_EXPAND); -void glXRenderLarge(glXRenderLarge_ARG_EXPAND); +void glshim_glXRenderLarge(glXRenderLarge_ARG_EXPAND); typedef void (*glXRenderLarge_PTR)(glXRenderLarge_ARG_EXPAND); -void glXSelectEvent(glXSelectEvent_ARG_EXPAND); +void glshim_glXSelectEvent(glXSelectEvent_ARG_EXPAND); typedef void (*glXSelectEvent_PTR)(glXSelectEvent_ARG_EXPAND); -void glXSwapBuffers(glXSwapBuffers_ARG_EXPAND); +void glshim_glXSwapBuffers(glXSwapBuffers_ARG_EXPAND); typedef void (*glXSwapBuffers_PTR)(glXSwapBuffers_ARG_EXPAND); -int glXSwapIntervalMESA(glXSwapIntervalMESA_ARG_EXPAND); +int glshim_glXSwapIntervalMESA(glXSwapIntervalMESA_ARG_EXPAND); typedef int (*glXSwapIntervalMESA_PTR)(glXSwapIntervalMESA_ARG_EXPAND); -void glXSwapIntervalSGI(glXSwapIntervalSGI_ARG_EXPAND); +void glshim_glXSwapIntervalSGI(glXSwapIntervalSGI_ARG_EXPAND); typedef void (*glXSwapIntervalSGI_PTR)(glXSwapIntervalSGI_ARG_EXPAND); -void glXUseXFont(glXUseXFont_ARG_EXPAND); +void glshim_glXUseXFont(glXUseXFont_ARG_EXPAND); typedef void (*glXUseXFont_PTR)(glXUseXFont_ARG_EXPAND); -void glXVendorPrivate(glXVendorPrivate_ARG_EXPAND); +void glshim_glXVendorPrivate(glXVendorPrivate_ARG_EXPAND); typedef void (*glXVendorPrivate_PTR)(glXVendorPrivate_ARG_EXPAND); -void glXVendorPrivateWithReply(glXVendorPrivateWithReply_ARG_EXPAND); +void glshim_glXVendorPrivateWithReply(glXVendorPrivateWithReply_ARG_EXPAND); typedef void (*glXVendorPrivateWithReply_PTR)(glXVendorPrivateWithReply_ARG_EXPAND); -void glXWaitGL(glXWaitGL_ARG_EXPAND); +void glshim_glXWaitGL(glXWaitGL_ARG_EXPAND); typedef void (*glXWaitGL_PTR)(glXWaitGL_ARG_EXPAND); -void glXWaitX(glXWaitX_ARG_EXPAND); +void glshim_glXWaitX(glXWaitX_ARG_EXPAND); typedef void (*glXWaitX_PTR)(glXWaitX_ARG_EXPAND); -const char * snd_asoundlib_version(snd_asoundlib_version_ARG_EXPAND); +const char * glshim_snd_asoundlib_version(snd_asoundlib_version_ARG_EXPAND); typedef const char * (*snd_asoundlib_version_PTR)(snd_asoundlib_version_ARG_EXPAND); -int snd_async_add_ctl_handler(snd_async_add_ctl_handler_ARG_EXPAND); +int glshim_snd_async_add_ctl_handler(snd_async_add_ctl_handler_ARG_EXPAND); typedef int (*snd_async_add_ctl_handler_PTR)(snd_async_add_ctl_handler_ARG_EXPAND); -int snd_async_add_handler(snd_async_add_handler_ARG_EXPAND); +int glshim_snd_async_add_handler(snd_async_add_handler_ARG_EXPAND); typedef int (*snd_async_add_handler_PTR)(snd_async_add_handler_ARG_EXPAND); -int snd_async_add_pcm_handler(snd_async_add_pcm_handler_ARG_EXPAND); +int glshim_snd_async_add_pcm_handler(snd_async_add_pcm_handler_ARG_EXPAND); typedef int (*snd_async_add_pcm_handler_PTR)(snd_async_add_pcm_handler_ARG_EXPAND); -int snd_async_add_timer_handler(snd_async_add_timer_handler_ARG_EXPAND); +int glshim_snd_async_add_timer_handler(snd_async_add_timer_handler_ARG_EXPAND); typedef int (*snd_async_add_timer_handler_PTR)(snd_async_add_timer_handler_ARG_EXPAND); -int snd_async_del_handler(snd_async_del_handler_ARG_EXPAND); +int glshim_snd_async_del_handler(snd_async_del_handler_ARG_EXPAND); typedef int (*snd_async_del_handler_PTR)(snd_async_del_handler_ARG_EXPAND); -void * snd_async_handler_get_callback_private(snd_async_handler_get_callback_private_ARG_EXPAND); +void * glshim_snd_async_handler_get_callback_private(snd_async_handler_get_callback_private_ARG_EXPAND); typedef void * (*snd_async_handler_get_callback_private_PTR)(snd_async_handler_get_callback_private_ARG_EXPAND); -snd_ctl_t * snd_async_handler_get_ctl(snd_async_handler_get_ctl_ARG_EXPAND); +snd_ctl_t * glshim_snd_async_handler_get_ctl(snd_async_handler_get_ctl_ARG_EXPAND); typedef snd_ctl_t * (*snd_async_handler_get_ctl_PTR)(snd_async_handler_get_ctl_ARG_EXPAND); -int snd_async_handler_get_fd(snd_async_handler_get_fd_ARG_EXPAND); +int glshim_snd_async_handler_get_fd(snd_async_handler_get_fd_ARG_EXPAND); typedef int (*snd_async_handler_get_fd_PTR)(snd_async_handler_get_fd_ARG_EXPAND); -snd_pcm_t * snd_async_handler_get_pcm(snd_async_handler_get_pcm_ARG_EXPAND); +snd_pcm_t * glshim_snd_async_handler_get_pcm(snd_async_handler_get_pcm_ARG_EXPAND); typedef snd_pcm_t * (*snd_async_handler_get_pcm_PTR)(snd_async_handler_get_pcm_ARG_EXPAND); -int snd_async_handler_get_signo(snd_async_handler_get_signo_ARG_EXPAND); +int glshim_snd_async_handler_get_signo(snd_async_handler_get_signo_ARG_EXPAND); typedef int (*snd_async_handler_get_signo_PTR)(snd_async_handler_get_signo_ARG_EXPAND); -snd_timer_t * snd_async_handler_get_timer(snd_async_handler_get_timer_ARG_EXPAND); +snd_timer_t * glshim_snd_async_handler_get_timer(snd_async_handler_get_timer_ARG_EXPAND); typedef snd_timer_t * (*snd_async_handler_get_timer_PTR)(snd_async_handler_get_timer_ARG_EXPAND); -int snd_card_get_index(snd_card_get_index_ARG_EXPAND); +int glshim_snd_card_get_index(snd_card_get_index_ARG_EXPAND); typedef int (*snd_card_get_index_PTR)(snd_card_get_index_ARG_EXPAND); -int snd_card_get_longname(snd_card_get_longname_ARG_EXPAND); +int glshim_snd_card_get_longname(snd_card_get_longname_ARG_EXPAND); typedef int (*snd_card_get_longname_PTR)(snd_card_get_longname_ARG_EXPAND); -int snd_card_get_name(snd_card_get_name_ARG_EXPAND); +int glshim_snd_card_get_name(snd_card_get_name_ARG_EXPAND); typedef int (*snd_card_get_name_PTR)(snd_card_get_name_ARG_EXPAND); -int snd_card_load(snd_card_load_ARG_EXPAND); +int glshim_snd_card_load(snd_card_load_ARG_EXPAND); typedef int (*snd_card_load_PTR)(snd_card_load_ARG_EXPAND); -int snd_card_next(snd_card_next_ARG_EXPAND); +int glshim_snd_card_next(snd_card_next_ARG_EXPAND); typedef int (*snd_card_next_PTR)(snd_card_next_ARG_EXPAND); -int snd_config_add(snd_config_add_ARG_EXPAND); +int glshim_snd_config_add(snd_config_add_ARG_EXPAND); typedef int (*snd_config_add_PTR)(snd_config_add_ARG_EXPAND); -int snd_config_copy(snd_config_copy_ARG_EXPAND); +int glshim_snd_config_copy(snd_config_copy_ARG_EXPAND); typedef int (*snd_config_copy_PTR)(snd_config_copy_ARG_EXPAND); -int snd_config_delete(snd_config_delete_ARG_EXPAND); +int glshim_snd_config_delete(snd_config_delete_ARG_EXPAND); typedef int (*snd_config_delete_PTR)(snd_config_delete_ARG_EXPAND); -int snd_config_delete_compound_members(snd_config_delete_compound_members_ARG_EXPAND); +int glshim_snd_config_delete_compound_members(snd_config_delete_compound_members_ARG_EXPAND); typedef int (*snd_config_delete_compound_members_PTR)(snd_config_delete_compound_members_ARG_EXPAND); -int snd_config_evaluate(snd_config_evaluate_ARG_EXPAND); +int glshim_snd_config_evaluate(snd_config_evaluate_ARG_EXPAND); typedef int (*snd_config_evaluate_PTR)(snd_config_evaluate_ARG_EXPAND); -int snd_config_expand(snd_config_expand_ARG_EXPAND); +int glshim_snd_config_expand(snd_config_expand_ARG_EXPAND); typedef int (*snd_config_expand_PTR)(snd_config_expand_ARG_EXPAND); -int snd_config_get_ascii(snd_config_get_ascii_ARG_EXPAND); +int glshim_snd_config_get_ascii(snd_config_get_ascii_ARG_EXPAND); typedef int (*snd_config_get_ascii_PTR)(snd_config_get_ascii_ARG_EXPAND); -int snd_config_get_bool(snd_config_get_bool_ARG_EXPAND); +int glshim_snd_config_get_bool(snd_config_get_bool_ARG_EXPAND); typedef int (*snd_config_get_bool_PTR)(snd_config_get_bool_ARG_EXPAND); -int snd_config_get_bool_ascii(snd_config_get_bool_ascii_ARG_EXPAND); +int glshim_snd_config_get_bool_ascii(snd_config_get_bool_ascii_ARG_EXPAND); typedef int (*snd_config_get_bool_ascii_PTR)(snd_config_get_bool_ascii_ARG_EXPAND); -int snd_config_get_ctl_iface(snd_config_get_ctl_iface_ARG_EXPAND); +int glshim_snd_config_get_ctl_iface(snd_config_get_ctl_iface_ARG_EXPAND); typedef int (*snd_config_get_ctl_iface_PTR)(snd_config_get_ctl_iface_ARG_EXPAND); -int snd_config_get_ctl_iface_ascii(snd_config_get_ctl_iface_ascii_ARG_EXPAND); +int glshim_snd_config_get_ctl_iface_ascii(snd_config_get_ctl_iface_ascii_ARG_EXPAND); typedef int (*snd_config_get_ctl_iface_ascii_PTR)(snd_config_get_ctl_iface_ascii_ARG_EXPAND); -int snd_config_get_id(snd_config_get_id_ARG_EXPAND); +int glshim_snd_config_get_id(snd_config_get_id_ARG_EXPAND); typedef int (*snd_config_get_id_PTR)(snd_config_get_id_ARG_EXPAND); -int snd_config_get_integer(snd_config_get_integer_ARG_EXPAND); +int glshim_snd_config_get_integer(snd_config_get_integer_ARG_EXPAND); typedef int (*snd_config_get_integer_PTR)(snd_config_get_integer_ARG_EXPAND); -int snd_config_get_integer64(snd_config_get_integer64_ARG_EXPAND); +int glshim_snd_config_get_integer64(snd_config_get_integer64_ARG_EXPAND); typedef int (*snd_config_get_integer64_PTR)(snd_config_get_integer64_ARG_EXPAND); -int snd_config_get_ireal(snd_config_get_ireal_ARG_EXPAND); +int glshim_snd_config_get_ireal(snd_config_get_ireal_ARG_EXPAND); typedef int (*snd_config_get_ireal_PTR)(snd_config_get_ireal_ARG_EXPAND); -int snd_config_get_pointer(snd_config_get_pointer_ARG_EXPAND); +int glshim_snd_config_get_pointer(snd_config_get_pointer_ARG_EXPAND); typedef int (*snd_config_get_pointer_PTR)(snd_config_get_pointer_ARG_EXPAND); -int snd_config_get_real(snd_config_get_real_ARG_EXPAND); +int glshim_snd_config_get_real(snd_config_get_real_ARG_EXPAND); typedef int (*snd_config_get_real_PTR)(snd_config_get_real_ARG_EXPAND); -int snd_config_get_string(snd_config_get_string_ARG_EXPAND); +int glshim_snd_config_get_string(snd_config_get_string_ARG_EXPAND); typedef int (*snd_config_get_string_PTR)(snd_config_get_string_ARG_EXPAND); -snd_config_type_t snd_config_get_type(snd_config_get_type_ARG_EXPAND); +snd_config_type_t glshim_snd_config_get_type(snd_config_get_type_ARG_EXPAND); typedef snd_config_type_t (*snd_config_get_type_PTR)(snd_config_get_type_ARG_EXPAND); -int snd_config_imake_integer(snd_config_imake_integer_ARG_EXPAND); +int glshim_snd_config_imake_integer(snd_config_imake_integer_ARG_EXPAND); typedef int (*snd_config_imake_integer_PTR)(snd_config_imake_integer_ARG_EXPAND); -int snd_config_imake_integer64(snd_config_imake_integer64_ARG_EXPAND); +int glshim_snd_config_imake_integer64(snd_config_imake_integer64_ARG_EXPAND); typedef int (*snd_config_imake_integer64_PTR)(snd_config_imake_integer64_ARG_EXPAND); -int snd_config_imake_pointer(snd_config_imake_pointer_ARG_EXPAND); +int glshim_snd_config_imake_pointer(snd_config_imake_pointer_ARG_EXPAND); typedef int (*snd_config_imake_pointer_PTR)(snd_config_imake_pointer_ARG_EXPAND); -int snd_config_imake_real(snd_config_imake_real_ARG_EXPAND); +int glshim_snd_config_imake_real(snd_config_imake_real_ARG_EXPAND); typedef int (*snd_config_imake_real_PTR)(snd_config_imake_real_ARG_EXPAND); -int snd_config_imake_string(snd_config_imake_string_ARG_EXPAND); +int glshim_snd_config_imake_string(snd_config_imake_string_ARG_EXPAND); typedef int (*snd_config_imake_string_PTR)(snd_config_imake_string_ARG_EXPAND); -snd_config_iterator_t snd_config_iterator_end(snd_config_iterator_end_ARG_EXPAND); +snd_config_iterator_t glshim_snd_config_iterator_end(snd_config_iterator_end_ARG_EXPAND); typedef snd_config_iterator_t (*snd_config_iterator_end_PTR)(snd_config_iterator_end_ARG_EXPAND); -snd_config_t * snd_config_iterator_entry(snd_config_iterator_entry_ARG_EXPAND); +snd_config_t * glshim_snd_config_iterator_entry(snd_config_iterator_entry_ARG_EXPAND); typedef snd_config_t * (*snd_config_iterator_entry_PTR)(snd_config_iterator_entry_ARG_EXPAND); -snd_config_iterator_t snd_config_iterator_first(snd_config_iterator_first_ARG_EXPAND); +snd_config_iterator_t glshim_snd_config_iterator_first(snd_config_iterator_first_ARG_EXPAND); typedef snd_config_iterator_t (*snd_config_iterator_first_PTR)(snd_config_iterator_first_ARG_EXPAND); -snd_config_iterator_t snd_config_iterator_next(snd_config_iterator_next_ARG_EXPAND); +snd_config_iterator_t glshim_snd_config_iterator_next(snd_config_iterator_next_ARG_EXPAND); typedef snd_config_iterator_t (*snd_config_iterator_next_PTR)(snd_config_iterator_next_ARG_EXPAND); -int snd_config_load(snd_config_load_ARG_EXPAND); +int glshim_snd_config_load(snd_config_load_ARG_EXPAND); typedef int (*snd_config_load_PTR)(snd_config_load_ARG_EXPAND); -int snd_config_load_override(snd_config_load_override_ARG_EXPAND); +int glshim_snd_config_load_override(snd_config_load_override_ARG_EXPAND); typedef int (*snd_config_load_override_PTR)(snd_config_load_override_ARG_EXPAND); -int snd_config_make(snd_config_make_ARG_EXPAND); +int glshim_snd_config_make(snd_config_make_ARG_EXPAND); typedef int (*snd_config_make_PTR)(snd_config_make_ARG_EXPAND); -int snd_config_make_compound(snd_config_make_compound_ARG_EXPAND); +int glshim_snd_config_make_compound(snd_config_make_compound_ARG_EXPAND); typedef int (*snd_config_make_compound_PTR)(snd_config_make_compound_ARG_EXPAND); -int snd_config_make_integer(snd_config_make_integer_ARG_EXPAND); +int glshim_snd_config_make_integer(snd_config_make_integer_ARG_EXPAND); typedef int (*snd_config_make_integer_PTR)(snd_config_make_integer_ARG_EXPAND); -int snd_config_make_integer64(snd_config_make_integer64_ARG_EXPAND); +int glshim_snd_config_make_integer64(snd_config_make_integer64_ARG_EXPAND); typedef int (*snd_config_make_integer64_PTR)(snd_config_make_integer64_ARG_EXPAND); -int snd_config_make_pointer(snd_config_make_pointer_ARG_EXPAND); +int glshim_snd_config_make_pointer(snd_config_make_pointer_ARG_EXPAND); typedef int (*snd_config_make_pointer_PTR)(snd_config_make_pointer_ARG_EXPAND); -int snd_config_make_real(snd_config_make_real_ARG_EXPAND); +int glshim_snd_config_make_real(snd_config_make_real_ARG_EXPAND); typedef int (*snd_config_make_real_PTR)(snd_config_make_real_ARG_EXPAND); -int snd_config_make_string(snd_config_make_string_ARG_EXPAND); +int glshim_snd_config_make_string(snd_config_make_string_ARG_EXPAND); typedef int (*snd_config_make_string_PTR)(snd_config_make_string_ARG_EXPAND); -int snd_config_save(snd_config_save_ARG_EXPAND); +int glshim_snd_config_save(snd_config_save_ARG_EXPAND); typedef int (*snd_config_save_PTR)(snd_config_save_ARG_EXPAND); -int snd_config_search(snd_config_search_ARG_EXPAND); +int glshim_snd_config_search(snd_config_search_ARG_EXPAND); typedef int (*snd_config_search_PTR)(snd_config_search_ARG_EXPAND); -int snd_config_search_definition(snd_config_search_definition_ARG_EXPAND); +int glshim_snd_config_search_definition(snd_config_search_definition_ARG_EXPAND); typedef int (*snd_config_search_definition_PTR)(snd_config_search_definition_ARG_EXPAND); -int snd_config_set_ascii(snd_config_set_ascii_ARG_EXPAND); +int glshim_snd_config_set_ascii(snd_config_set_ascii_ARG_EXPAND); typedef int (*snd_config_set_ascii_PTR)(snd_config_set_ascii_ARG_EXPAND); -int snd_config_set_id(snd_config_set_id_ARG_EXPAND); +int glshim_snd_config_set_id(snd_config_set_id_ARG_EXPAND); typedef int (*snd_config_set_id_PTR)(snd_config_set_id_ARG_EXPAND); -int snd_config_set_integer(snd_config_set_integer_ARG_EXPAND); +int glshim_snd_config_set_integer(snd_config_set_integer_ARG_EXPAND); typedef int (*snd_config_set_integer_PTR)(snd_config_set_integer_ARG_EXPAND); -int snd_config_set_integer64(snd_config_set_integer64_ARG_EXPAND); +int glshim_snd_config_set_integer64(snd_config_set_integer64_ARG_EXPAND); typedef int (*snd_config_set_integer64_PTR)(snd_config_set_integer64_ARG_EXPAND); -int snd_config_set_pointer(snd_config_set_pointer_ARG_EXPAND); +int glshim_snd_config_set_pointer(snd_config_set_pointer_ARG_EXPAND); typedef int (*snd_config_set_pointer_PTR)(snd_config_set_pointer_ARG_EXPAND); -int snd_config_set_real(snd_config_set_real_ARG_EXPAND); +int glshim_snd_config_set_real(snd_config_set_real_ARG_EXPAND); typedef int (*snd_config_set_real_PTR)(snd_config_set_real_ARG_EXPAND); -int snd_config_set_string(snd_config_set_string_ARG_EXPAND); +int glshim_snd_config_set_string(snd_config_set_string_ARG_EXPAND); typedef int (*snd_config_set_string_PTR)(snd_config_set_string_ARG_EXPAND); -int snd_config_test_id(snd_config_test_id_ARG_EXPAND); +int glshim_snd_config_test_id(snd_config_test_id_ARG_EXPAND); typedef int (*snd_config_test_id_PTR)(snd_config_test_id_ARG_EXPAND); -int snd_config_top(snd_config_top_ARG_EXPAND); +int glshim_snd_config_top(snd_config_top_ARG_EXPAND); typedef int (*snd_config_top_PTR)(snd_config_top_ARG_EXPAND); -int snd_config_update(snd_config_update_ARG_EXPAND); +int glshim_snd_config_update(snd_config_update_ARG_EXPAND); typedef int (*snd_config_update_PTR)(snd_config_update_ARG_EXPAND); -int snd_config_update_free(snd_config_update_free_ARG_EXPAND); +int glshim_snd_config_update_free(snd_config_update_free_ARG_EXPAND); typedef int (*snd_config_update_free_PTR)(snd_config_update_free_ARG_EXPAND); -int snd_config_update_free_global(snd_config_update_free_global_ARG_EXPAND); +int glshim_snd_config_update_free_global(snd_config_update_free_global_ARG_EXPAND); typedef int (*snd_config_update_free_global_PTR)(snd_config_update_free_global_ARG_EXPAND); -int snd_config_update_r(snd_config_update_r_ARG_EXPAND); +int glshim_snd_config_update_r(snd_config_update_r_ARG_EXPAND); typedef int (*snd_config_update_r_PTR)(snd_config_update_r_ARG_EXPAND); -int snd_ctl_card_info(snd_ctl_card_info_ARG_EXPAND); +int glshim_snd_ctl_card_info(snd_ctl_card_info_ARG_EXPAND); typedef int (*snd_ctl_card_info_PTR)(snd_ctl_card_info_ARG_EXPAND); -void snd_ctl_card_info_clear(snd_ctl_card_info_clear_ARG_EXPAND); +void glshim_snd_ctl_card_info_clear(snd_ctl_card_info_clear_ARG_EXPAND); typedef void (*snd_ctl_card_info_clear_PTR)(snd_ctl_card_info_clear_ARG_EXPAND); -void snd_ctl_card_info_copy(snd_ctl_card_info_copy_ARG_EXPAND); +void glshim_snd_ctl_card_info_copy(snd_ctl_card_info_copy_ARG_EXPAND); typedef void (*snd_ctl_card_info_copy_PTR)(snd_ctl_card_info_copy_ARG_EXPAND); -void snd_ctl_card_info_free(snd_ctl_card_info_free_ARG_EXPAND); +void glshim_snd_ctl_card_info_free(snd_ctl_card_info_free_ARG_EXPAND); typedef void (*snd_ctl_card_info_free_PTR)(snd_ctl_card_info_free_ARG_EXPAND); -int snd_ctl_card_info_get_card(snd_ctl_card_info_get_card_ARG_EXPAND); +int glshim_snd_ctl_card_info_get_card(snd_ctl_card_info_get_card_ARG_EXPAND); typedef int (*snd_ctl_card_info_get_card_PTR)(snd_ctl_card_info_get_card_ARG_EXPAND); -const char * snd_ctl_card_info_get_components(snd_ctl_card_info_get_components_ARG_EXPAND); +const char * glshim_snd_ctl_card_info_get_components(snd_ctl_card_info_get_components_ARG_EXPAND); typedef const char * (*snd_ctl_card_info_get_components_PTR)(snd_ctl_card_info_get_components_ARG_EXPAND); -const char * snd_ctl_card_info_get_driver(snd_ctl_card_info_get_driver_ARG_EXPAND); +const char * glshim_snd_ctl_card_info_get_driver(snd_ctl_card_info_get_driver_ARG_EXPAND); typedef const char * (*snd_ctl_card_info_get_driver_PTR)(snd_ctl_card_info_get_driver_ARG_EXPAND); -const char * snd_ctl_card_info_get_id(snd_ctl_card_info_get_id_ARG_EXPAND); +const char * glshim_snd_ctl_card_info_get_id(snd_ctl_card_info_get_id_ARG_EXPAND); typedef const char * (*snd_ctl_card_info_get_id_PTR)(snd_ctl_card_info_get_id_ARG_EXPAND); -const char * snd_ctl_card_info_get_longname(snd_ctl_card_info_get_longname_ARG_EXPAND); +const char * glshim_snd_ctl_card_info_get_longname(snd_ctl_card_info_get_longname_ARG_EXPAND); typedef const char * (*snd_ctl_card_info_get_longname_PTR)(snd_ctl_card_info_get_longname_ARG_EXPAND); -const char * snd_ctl_card_info_get_mixername(snd_ctl_card_info_get_mixername_ARG_EXPAND); +const char * glshim_snd_ctl_card_info_get_mixername(snd_ctl_card_info_get_mixername_ARG_EXPAND); typedef const char * (*snd_ctl_card_info_get_mixername_PTR)(snd_ctl_card_info_get_mixername_ARG_EXPAND); -const char * snd_ctl_card_info_get_name(snd_ctl_card_info_get_name_ARG_EXPAND); +const char * glshim_snd_ctl_card_info_get_name(snd_ctl_card_info_get_name_ARG_EXPAND); typedef const char * (*snd_ctl_card_info_get_name_PTR)(snd_ctl_card_info_get_name_ARG_EXPAND); -int snd_ctl_card_info_malloc(snd_ctl_card_info_malloc_ARG_EXPAND); +int glshim_snd_ctl_card_info_malloc(snd_ctl_card_info_malloc_ARG_EXPAND); typedef int (*snd_ctl_card_info_malloc_PTR)(snd_ctl_card_info_malloc_ARG_EXPAND); -size_t snd_ctl_card_info_sizeof(snd_ctl_card_info_sizeof_ARG_EXPAND); +size_t glshim_snd_ctl_card_info_sizeof(snd_ctl_card_info_sizeof_ARG_EXPAND); typedef size_t (*snd_ctl_card_info_sizeof_PTR)(snd_ctl_card_info_sizeof_ARG_EXPAND); -int snd_ctl_close(snd_ctl_close_ARG_EXPAND); +int glshim_snd_ctl_close(snd_ctl_close_ARG_EXPAND); typedef int (*snd_ctl_close_PTR)(snd_ctl_close_ARG_EXPAND); -int snd_ctl_elem_add_boolean(snd_ctl_elem_add_boolean_ARG_EXPAND); +int glshim_snd_ctl_elem_add_boolean(snd_ctl_elem_add_boolean_ARG_EXPAND); typedef int (*snd_ctl_elem_add_boolean_PTR)(snd_ctl_elem_add_boolean_ARG_EXPAND); -int snd_ctl_elem_add_iec958(snd_ctl_elem_add_iec958_ARG_EXPAND); +int glshim_snd_ctl_elem_add_iec958(snd_ctl_elem_add_iec958_ARG_EXPAND); typedef int (*snd_ctl_elem_add_iec958_PTR)(snd_ctl_elem_add_iec958_ARG_EXPAND); -int snd_ctl_elem_add_integer(snd_ctl_elem_add_integer_ARG_EXPAND); +int glshim_snd_ctl_elem_add_integer(snd_ctl_elem_add_integer_ARG_EXPAND); typedef int (*snd_ctl_elem_add_integer_PTR)(snd_ctl_elem_add_integer_ARG_EXPAND); -int snd_ctl_elem_add_integer64(snd_ctl_elem_add_integer64_ARG_EXPAND); +int glshim_snd_ctl_elem_add_integer64(snd_ctl_elem_add_integer64_ARG_EXPAND); typedef int (*snd_ctl_elem_add_integer64_PTR)(snd_ctl_elem_add_integer64_ARG_EXPAND); -void snd_ctl_elem_id_clear(snd_ctl_elem_id_clear_ARG_EXPAND); +void glshim_snd_ctl_elem_id_clear(snd_ctl_elem_id_clear_ARG_EXPAND); typedef void (*snd_ctl_elem_id_clear_PTR)(snd_ctl_elem_id_clear_ARG_EXPAND); -void snd_ctl_elem_id_copy(snd_ctl_elem_id_copy_ARG_EXPAND); +void glshim_snd_ctl_elem_id_copy(snd_ctl_elem_id_copy_ARG_EXPAND); typedef void (*snd_ctl_elem_id_copy_PTR)(snd_ctl_elem_id_copy_ARG_EXPAND); -void snd_ctl_elem_id_free(snd_ctl_elem_id_free_ARG_EXPAND); +void glshim_snd_ctl_elem_id_free(snd_ctl_elem_id_free_ARG_EXPAND); typedef void (*snd_ctl_elem_id_free_PTR)(snd_ctl_elem_id_free_ARG_EXPAND); -unsigned int snd_ctl_elem_id_get_device(snd_ctl_elem_id_get_device_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_id_get_device(snd_ctl_elem_id_get_device_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_id_get_device_PTR)(snd_ctl_elem_id_get_device_ARG_EXPAND); -unsigned int snd_ctl_elem_id_get_index(snd_ctl_elem_id_get_index_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_id_get_index(snd_ctl_elem_id_get_index_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_id_get_index_PTR)(snd_ctl_elem_id_get_index_ARG_EXPAND); -snd_ctl_elem_iface_t snd_ctl_elem_id_get_interface(snd_ctl_elem_id_get_interface_ARG_EXPAND); +snd_ctl_elem_iface_t glshim_snd_ctl_elem_id_get_interface(snd_ctl_elem_id_get_interface_ARG_EXPAND); typedef snd_ctl_elem_iface_t (*snd_ctl_elem_id_get_interface_PTR)(snd_ctl_elem_id_get_interface_ARG_EXPAND); -const char * snd_ctl_elem_id_get_name(snd_ctl_elem_id_get_name_ARG_EXPAND); +const char * glshim_snd_ctl_elem_id_get_name(snd_ctl_elem_id_get_name_ARG_EXPAND); typedef const char * (*snd_ctl_elem_id_get_name_PTR)(snd_ctl_elem_id_get_name_ARG_EXPAND); -unsigned int snd_ctl_elem_id_get_numid(snd_ctl_elem_id_get_numid_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_id_get_numid(snd_ctl_elem_id_get_numid_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_id_get_numid_PTR)(snd_ctl_elem_id_get_numid_ARG_EXPAND); -unsigned int snd_ctl_elem_id_get_subdevice(snd_ctl_elem_id_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_id_get_subdevice(snd_ctl_elem_id_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_id_get_subdevice_PTR)(snd_ctl_elem_id_get_subdevice_ARG_EXPAND); -int snd_ctl_elem_id_malloc(snd_ctl_elem_id_malloc_ARG_EXPAND); +int glshim_snd_ctl_elem_id_malloc(snd_ctl_elem_id_malloc_ARG_EXPAND); typedef int (*snd_ctl_elem_id_malloc_PTR)(snd_ctl_elem_id_malloc_ARG_EXPAND); -void snd_ctl_elem_id_set_device(snd_ctl_elem_id_set_device_ARG_EXPAND); +void glshim_snd_ctl_elem_id_set_device(snd_ctl_elem_id_set_device_ARG_EXPAND); typedef void (*snd_ctl_elem_id_set_device_PTR)(snd_ctl_elem_id_set_device_ARG_EXPAND); -void snd_ctl_elem_id_set_index(snd_ctl_elem_id_set_index_ARG_EXPAND); +void glshim_snd_ctl_elem_id_set_index(snd_ctl_elem_id_set_index_ARG_EXPAND); typedef void (*snd_ctl_elem_id_set_index_PTR)(snd_ctl_elem_id_set_index_ARG_EXPAND); -void snd_ctl_elem_id_set_interface(snd_ctl_elem_id_set_interface_ARG_EXPAND); +void glshim_snd_ctl_elem_id_set_interface(snd_ctl_elem_id_set_interface_ARG_EXPAND); typedef void (*snd_ctl_elem_id_set_interface_PTR)(snd_ctl_elem_id_set_interface_ARG_EXPAND); -void snd_ctl_elem_id_set_name(snd_ctl_elem_id_set_name_ARG_EXPAND); +void glshim_snd_ctl_elem_id_set_name(snd_ctl_elem_id_set_name_ARG_EXPAND); typedef void (*snd_ctl_elem_id_set_name_PTR)(snd_ctl_elem_id_set_name_ARG_EXPAND); -void snd_ctl_elem_id_set_numid(snd_ctl_elem_id_set_numid_ARG_EXPAND); +void glshim_snd_ctl_elem_id_set_numid(snd_ctl_elem_id_set_numid_ARG_EXPAND); typedef void (*snd_ctl_elem_id_set_numid_PTR)(snd_ctl_elem_id_set_numid_ARG_EXPAND); -void snd_ctl_elem_id_set_subdevice(snd_ctl_elem_id_set_subdevice_ARG_EXPAND); +void glshim_snd_ctl_elem_id_set_subdevice(snd_ctl_elem_id_set_subdevice_ARG_EXPAND); typedef void (*snd_ctl_elem_id_set_subdevice_PTR)(snd_ctl_elem_id_set_subdevice_ARG_EXPAND); -size_t snd_ctl_elem_id_sizeof(snd_ctl_elem_id_sizeof_ARG_EXPAND); +size_t glshim_snd_ctl_elem_id_sizeof(snd_ctl_elem_id_sizeof_ARG_EXPAND); typedef size_t (*snd_ctl_elem_id_sizeof_PTR)(snd_ctl_elem_id_sizeof_ARG_EXPAND); -const char * snd_ctl_elem_iface_name(snd_ctl_elem_iface_name_ARG_EXPAND); +const char * glshim_snd_ctl_elem_iface_name(snd_ctl_elem_iface_name_ARG_EXPAND); typedef const char * (*snd_ctl_elem_iface_name_PTR)(snd_ctl_elem_iface_name_ARG_EXPAND); -int snd_ctl_elem_info(snd_ctl_elem_info_ARG_EXPAND); +int glshim_snd_ctl_elem_info(snd_ctl_elem_info_ARG_EXPAND); typedef int (*snd_ctl_elem_info_PTR)(snd_ctl_elem_info_ARG_EXPAND); -void snd_ctl_elem_info_clear(snd_ctl_elem_info_clear_ARG_EXPAND); +void glshim_snd_ctl_elem_info_clear(snd_ctl_elem_info_clear_ARG_EXPAND); typedef void (*snd_ctl_elem_info_clear_PTR)(snd_ctl_elem_info_clear_ARG_EXPAND); -void snd_ctl_elem_info_copy(snd_ctl_elem_info_copy_ARG_EXPAND); +void glshim_snd_ctl_elem_info_copy(snd_ctl_elem_info_copy_ARG_EXPAND); typedef void (*snd_ctl_elem_info_copy_PTR)(snd_ctl_elem_info_copy_ARG_EXPAND); -void snd_ctl_elem_info_free(snd_ctl_elem_info_free_ARG_EXPAND); +void glshim_snd_ctl_elem_info_free(snd_ctl_elem_info_free_ARG_EXPAND); typedef void (*snd_ctl_elem_info_free_PTR)(snd_ctl_elem_info_free_ARG_EXPAND); -unsigned int snd_ctl_elem_info_get_count(snd_ctl_elem_info_get_count_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_info_get_count(snd_ctl_elem_info_get_count_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_info_get_count_PTR)(snd_ctl_elem_info_get_count_ARG_EXPAND); -unsigned int snd_ctl_elem_info_get_device(snd_ctl_elem_info_get_device_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_info_get_device(snd_ctl_elem_info_get_device_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_info_get_device_PTR)(snd_ctl_elem_info_get_device_ARG_EXPAND); -int snd_ctl_elem_info_get_dimension(snd_ctl_elem_info_get_dimension_ARG_EXPAND); +int glshim_snd_ctl_elem_info_get_dimension(snd_ctl_elem_info_get_dimension_ARG_EXPAND); typedef int (*snd_ctl_elem_info_get_dimension_PTR)(snd_ctl_elem_info_get_dimension_ARG_EXPAND); -int snd_ctl_elem_info_get_dimensions(snd_ctl_elem_info_get_dimensions_ARG_EXPAND); +int glshim_snd_ctl_elem_info_get_dimensions(snd_ctl_elem_info_get_dimensions_ARG_EXPAND); typedef int (*snd_ctl_elem_info_get_dimensions_PTR)(snd_ctl_elem_info_get_dimensions_ARG_EXPAND); -void snd_ctl_elem_info_get_id(snd_ctl_elem_info_get_id_ARG_EXPAND); +void glshim_snd_ctl_elem_info_get_id(snd_ctl_elem_info_get_id_ARG_EXPAND); typedef void (*snd_ctl_elem_info_get_id_PTR)(snd_ctl_elem_info_get_id_ARG_EXPAND); -unsigned int snd_ctl_elem_info_get_index(snd_ctl_elem_info_get_index_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_info_get_index(snd_ctl_elem_info_get_index_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_info_get_index_PTR)(snd_ctl_elem_info_get_index_ARG_EXPAND); -snd_ctl_elem_iface_t snd_ctl_elem_info_get_interface(snd_ctl_elem_info_get_interface_ARG_EXPAND); +snd_ctl_elem_iface_t glshim_snd_ctl_elem_info_get_interface(snd_ctl_elem_info_get_interface_ARG_EXPAND); typedef snd_ctl_elem_iface_t (*snd_ctl_elem_info_get_interface_PTR)(snd_ctl_elem_info_get_interface_ARG_EXPAND); -const char * snd_ctl_elem_info_get_item_name(snd_ctl_elem_info_get_item_name_ARG_EXPAND); +const char * glshim_snd_ctl_elem_info_get_item_name(snd_ctl_elem_info_get_item_name_ARG_EXPAND); typedef const char * (*snd_ctl_elem_info_get_item_name_PTR)(snd_ctl_elem_info_get_item_name_ARG_EXPAND); -unsigned int snd_ctl_elem_info_get_items(snd_ctl_elem_info_get_items_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_info_get_items(snd_ctl_elem_info_get_items_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_info_get_items_PTR)(snd_ctl_elem_info_get_items_ARG_EXPAND); -long snd_ctl_elem_info_get_max(snd_ctl_elem_info_get_max_ARG_EXPAND); +long glshim_snd_ctl_elem_info_get_max(snd_ctl_elem_info_get_max_ARG_EXPAND); typedef long (*snd_ctl_elem_info_get_max_PTR)(snd_ctl_elem_info_get_max_ARG_EXPAND); -long long snd_ctl_elem_info_get_max64(snd_ctl_elem_info_get_max64_ARG_EXPAND); +long long glshim_snd_ctl_elem_info_get_max64(snd_ctl_elem_info_get_max64_ARG_EXPAND); typedef long long (*snd_ctl_elem_info_get_max64_PTR)(snd_ctl_elem_info_get_max64_ARG_EXPAND); -long snd_ctl_elem_info_get_min(snd_ctl_elem_info_get_min_ARG_EXPAND); +long glshim_snd_ctl_elem_info_get_min(snd_ctl_elem_info_get_min_ARG_EXPAND); typedef long (*snd_ctl_elem_info_get_min_PTR)(snd_ctl_elem_info_get_min_ARG_EXPAND); -long long snd_ctl_elem_info_get_min64(snd_ctl_elem_info_get_min64_ARG_EXPAND); +long long glshim_snd_ctl_elem_info_get_min64(snd_ctl_elem_info_get_min64_ARG_EXPAND); typedef long long (*snd_ctl_elem_info_get_min64_PTR)(snd_ctl_elem_info_get_min64_ARG_EXPAND); -const char * snd_ctl_elem_info_get_name(snd_ctl_elem_info_get_name_ARG_EXPAND); +const char * glshim_snd_ctl_elem_info_get_name(snd_ctl_elem_info_get_name_ARG_EXPAND); typedef const char * (*snd_ctl_elem_info_get_name_PTR)(snd_ctl_elem_info_get_name_ARG_EXPAND); -unsigned int snd_ctl_elem_info_get_numid(snd_ctl_elem_info_get_numid_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_info_get_numid(snd_ctl_elem_info_get_numid_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_info_get_numid_PTR)(snd_ctl_elem_info_get_numid_ARG_EXPAND); -pid_t snd_ctl_elem_info_get_owner(snd_ctl_elem_info_get_owner_ARG_EXPAND); +pid_t glshim_snd_ctl_elem_info_get_owner(snd_ctl_elem_info_get_owner_ARG_EXPAND); typedef pid_t (*snd_ctl_elem_info_get_owner_PTR)(snd_ctl_elem_info_get_owner_ARG_EXPAND); -long snd_ctl_elem_info_get_step(snd_ctl_elem_info_get_step_ARG_EXPAND); +long glshim_snd_ctl_elem_info_get_step(snd_ctl_elem_info_get_step_ARG_EXPAND); typedef long (*snd_ctl_elem_info_get_step_PTR)(snd_ctl_elem_info_get_step_ARG_EXPAND); -long long snd_ctl_elem_info_get_step64(snd_ctl_elem_info_get_step64_ARG_EXPAND); +long long glshim_snd_ctl_elem_info_get_step64(snd_ctl_elem_info_get_step64_ARG_EXPAND); typedef long long (*snd_ctl_elem_info_get_step64_PTR)(snd_ctl_elem_info_get_step64_ARG_EXPAND); -unsigned int snd_ctl_elem_info_get_subdevice(snd_ctl_elem_info_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_info_get_subdevice(snd_ctl_elem_info_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_info_get_subdevice_PTR)(snd_ctl_elem_info_get_subdevice_ARG_EXPAND); -snd_ctl_elem_type_t snd_ctl_elem_info_get_type(snd_ctl_elem_info_get_type_ARG_EXPAND); +snd_ctl_elem_type_t glshim_snd_ctl_elem_info_get_type(snd_ctl_elem_info_get_type_ARG_EXPAND); typedef snd_ctl_elem_type_t (*snd_ctl_elem_info_get_type_PTR)(snd_ctl_elem_info_get_type_ARG_EXPAND); -int snd_ctl_elem_info_is_inactive(snd_ctl_elem_info_is_inactive_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_inactive(snd_ctl_elem_info_is_inactive_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_inactive_PTR)(snd_ctl_elem_info_is_inactive_ARG_EXPAND); -int snd_ctl_elem_info_is_locked(snd_ctl_elem_info_is_locked_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_locked(snd_ctl_elem_info_is_locked_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_locked_PTR)(snd_ctl_elem_info_is_locked_ARG_EXPAND); -int snd_ctl_elem_info_is_owner(snd_ctl_elem_info_is_owner_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_owner(snd_ctl_elem_info_is_owner_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_owner_PTR)(snd_ctl_elem_info_is_owner_ARG_EXPAND); -int snd_ctl_elem_info_is_readable(snd_ctl_elem_info_is_readable_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_readable(snd_ctl_elem_info_is_readable_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_readable_PTR)(snd_ctl_elem_info_is_readable_ARG_EXPAND); -int snd_ctl_elem_info_is_tlv_commandable(snd_ctl_elem_info_is_tlv_commandable_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_tlv_commandable(snd_ctl_elem_info_is_tlv_commandable_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_tlv_commandable_PTR)(snd_ctl_elem_info_is_tlv_commandable_ARG_EXPAND); -int snd_ctl_elem_info_is_tlv_readable(snd_ctl_elem_info_is_tlv_readable_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_tlv_readable(snd_ctl_elem_info_is_tlv_readable_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_tlv_readable_PTR)(snd_ctl_elem_info_is_tlv_readable_ARG_EXPAND); -int snd_ctl_elem_info_is_tlv_writable(snd_ctl_elem_info_is_tlv_writable_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_tlv_writable(snd_ctl_elem_info_is_tlv_writable_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_tlv_writable_PTR)(snd_ctl_elem_info_is_tlv_writable_ARG_EXPAND); -int snd_ctl_elem_info_is_user(snd_ctl_elem_info_is_user_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_user(snd_ctl_elem_info_is_user_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_user_PTR)(snd_ctl_elem_info_is_user_ARG_EXPAND); -int snd_ctl_elem_info_is_volatile(snd_ctl_elem_info_is_volatile_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_volatile(snd_ctl_elem_info_is_volatile_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_volatile_PTR)(snd_ctl_elem_info_is_volatile_ARG_EXPAND); -int snd_ctl_elem_info_is_writable(snd_ctl_elem_info_is_writable_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_writable(snd_ctl_elem_info_is_writable_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_writable_PTR)(snd_ctl_elem_info_is_writable_ARG_EXPAND); -int snd_ctl_elem_info_malloc(snd_ctl_elem_info_malloc_ARG_EXPAND); +int glshim_snd_ctl_elem_info_malloc(snd_ctl_elem_info_malloc_ARG_EXPAND); typedef int (*snd_ctl_elem_info_malloc_PTR)(snd_ctl_elem_info_malloc_ARG_EXPAND); -void snd_ctl_elem_info_set_device(snd_ctl_elem_info_set_device_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_device(snd_ctl_elem_info_set_device_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_device_PTR)(snd_ctl_elem_info_set_device_ARG_EXPAND); -void snd_ctl_elem_info_set_id(snd_ctl_elem_info_set_id_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_id(snd_ctl_elem_info_set_id_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_id_PTR)(snd_ctl_elem_info_set_id_ARG_EXPAND); -void snd_ctl_elem_info_set_index(snd_ctl_elem_info_set_index_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_index(snd_ctl_elem_info_set_index_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_index_PTR)(snd_ctl_elem_info_set_index_ARG_EXPAND); -void snd_ctl_elem_info_set_interface(snd_ctl_elem_info_set_interface_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_interface(snd_ctl_elem_info_set_interface_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_interface_PTR)(snd_ctl_elem_info_set_interface_ARG_EXPAND); -void snd_ctl_elem_info_set_item(snd_ctl_elem_info_set_item_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_item(snd_ctl_elem_info_set_item_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_item_PTR)(snd_ctl_elem_info_set_item_ARG_EXPAND); -void snd_ctl_elem_info_set_name(snd_ctl_elem_info_set_name_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_name(snd_ctl_elem_info_set_name_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_name_PTR)(snd_ctl_elem_info_set_name_ARG_EXPAND); -void snd_ctl_elem_info_set_numid(snd_ctl_elem_info_set_numid_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_numid(snd_ctl_elem_info_set_numid_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_numid_PTR)(snd_ctl_elem_info_set_numid_ARG_EXPAND); -void snd_ctl_elem_info_set_subdevice(snd_ctl_elem_info_set_subdevice_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_subdevice(snd_ctl_elem_info_set_subdevice_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_subdevice_PTR)(snd_ctl_elem_info_set_subdevice_ARG_EXPAND); -size_t snd_ctl_elem_info_sizeof(snd_ctl_elem_info_sizeof_ARG_EXPAND); +size_t glshim_snd_ctl_elem_info_sizeof(snd_ctl_elem_info_sizeof_ARG_EXPAND); typedef size_t (*snd_ctl_elem_info_sizeof_PTR)(snd_ctl_elem_info_sizeof_ARG_EXPAND); -int snd_ctl_elem_list(snd_ctl_elem_list_ARG_EXPAND); +int glshim_snd_ctl_elem_list(snd_ctl_elem_list_ARG_EXPAND); typedef int (*snd_ctl_elem_list_PTR)(snd_ctl_elem_list_ARG_EXPAND); -int snd_ctl_elem_list_alloc_space(snd_ctl_elem_list_alloc_space_ARG_EXPAND); +int glshim_snd_ctl_elem_list_alloc_space(snd_ctl_elem_list_alloc_space_ARG_EXPAND); typedef int (*snd_ctl_elem_list_alloc_space_PTR)(snd_ctl_elem_list_alloc_space_ARG_EXPAND); -void snd_ctl_elem_list_clear(snd_ctl_elem_list_clear_ARG_EXPAND); +void glshim_snd_ctl_elem_list_clear(snd_ctl_elem_list_clear_ARG_EXPAND); typedef void (*snd_ctl_elem_list_clear_PTR)(snd_ctl_elem_list_clear_ARG_EXPAND); -void snd_ctl_elem_list_copy(snd_ctl_elem_list_copy_ARG_EXPAND); +void glshim_snd_ctl_elem_list_copy(snd_ctl_elem_list_copy_ARG_EXPAND); typedef void (*snd_ctl_elem_list_copy_PTR)(snd_ctl_elem_list_copy_ARG_EXPAND); -void snd_ctl_elem_list_free(snd_ctl_elem_list_free_ARG_EXPAND); +void glshim_snd_ctl_elem_list_free(snd_ctl_elem_list_free_ARG_EXPAND); typedef void (*snd_ctl_elem_list_free_PTR)(snd_ctl_elem_list_free_ARG_EXPAND); -void snd_ctl_elem_list_free_space(snd_ctl_elem_list_free_space_ARG_EXPAND); +void glshim_snd_ctl_elem_list_free_space(snd_ctl_elem_list_free_space_ARG_EXPAND); typedef void (*snd_ctl_elem_list_free_space_PTR)(snd_ctl_elem_list_free_space_ARG_EXPAND); -unsigned int snd_ctl_elem_list_get_count(snd_ctl_elem_list_get_count_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_list_get_count(snd_ctl_elem_list_get_count_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_list_get_count_PTR)(snd_ctl_elem_list_get_count_ARG_EXPAND); -unsigned int snd_ctl_elem_list_get_device(snd_ctl_elem_list_get_device_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_list_get_device(snd_ctl_elem_list_get_device_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_list_get_device_PTR)(snd_ctl_elem_list_get_device_ARG_EXPAND); -void snd_ctl_elem_list_get_id(snd_ctl_elem_list_get_id_ARG_EXPAND); +void glshim_snd_ctl_elem_list_get_id(snd_ctl_elem_list_get_id_ARG_EXPAND); typedef void (*snd_ctl_elem_list_get_id_PTR)(snd_ctl_elem_list_get_id_ARG_EXPAND); -unsigned int snd_ctl_elem_list_get_index(snd_ctl_elem_list_get_index_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_list_get_index(snd_ctl_elem_list_get_index_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_list_get_index_PTR)(snd_ctl_elem_list_get_index_ARG_EXPAND); -snd_ctl_elem_iface_t snd_ctl_elem_list_get_interface(snd_ctl_elem_list_get_interface_ARG_EXPAND); +snd_ctl_elem_iface_t glshim_snd_ctl_elem_list_get_interface(snd_ctl_elem_list_get_interface_ARG_EXPAND); typedef snd_ctl_elem_iface_t (*snd_ctl_elem_list_get_interface_PTR)(snd_ctl_elem_list_get_interface_ARG_EXPAND); -const char * snd_ctl_elem_list_get_name(snd_ctl_elem_list_get_name_ARG_EXPAND); +const char * glshim_snd_ctl_elem_list_get_name(snd_ctl_elem_list_get_name_ARG_EXPAND); typedef const char * (*snd_ctl_elem_list_get_name_PTR)(snd_ctl_elem_list_get_name_ARG_EXPAND); -unsigned int snd_ctl_elem_list_get_numid(snd_ctl_elem_list_get_numid_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_list_get_numid(snd_ctl_elem_list_get_numid_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_list_get_numid_PTR)(snd_ctl_elem_list_get_numid_ARG_EXPAND); -unsigned int snd_ctl_elem_list_get_subdevice(snd_ctl_elem_list_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_list_get_subdevice(snd_ctl_elem_list_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_list_get_subdevice_PTR)(snd_ctl_elem_list_get_subdevice_ARG_EXPAND); -unsigned int snd_ctl_elem_list_get_used(snd_ctl_elem_list_get_used_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_list_get_used(snd_ctl_elem_list_get_used_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_list_get_used_PTR)(snd_ctl_elem_list_get_used_ARG_EXPAND); -int snd_ctl_elem_list_malloc(snd_ctl_elem_list_malloc_ARG_EXPAND); +int glshim_snd_ctl_elem_list_malloc(snd_ctl_elem_list_malloc_ARG_EXPAND); typedef int (*snd_ctl_elem_list_malloc_PTR)(snd_ctl_elem_list_malloc_ARG_EXPAND); -void snd_ctl_elem_list_set_offset(snd_ctl_elem_list_set_offset_ARG_EXPAND); +void glshim_snd_ctl_elem_list_set_offset(snd_ctl_elem_list_set_offset_ARG_EXPAND); typedef void (*snd_ctl_elem_list_set_offset_PTR)(snd_ctl_elem_list_set_offset_ARG_EXPAND); -size_t snd_ctl_elem_list_sizeof(snd_ctl_elem_list_sizeof_ARG_EXPAND); +size_t glshim_snd_ctl_elem_list_sizeof(snd_ctl_elem_list_sizeof_ARG_EXPAND); typedef size_t (*snd_ctl_elem_list_sizeof_PTR)(snd_ctl_elem_list_sizeof_ARG_EXPAND); -int snd_ctl_elem_lock(snd_ctl_elem_lock_ARG_EXPAND); +int glshim_snd_ctl_elem_lock(snd_ctl_elem_lock_ARG_EXPAND); typedef int (*snd_ctl_elem_lock_PTR)(snd_ctl_elem_lock_ARG_EXPAND); -int snd_ctl_elem_read(snd_ctl_elem_read_ARG_EXPAND); +int glshim_snd_ctl_elem_read(snd_ctl_elem_read_ARG_EXPAND); typedef int (*snd_ctl_elem_read_PTR)(snd_ctl_elem_read_ARG_EXPAND); -int snd_ctl_elem_remove(snd_ctl_elem_remove_ARG_EXPAND); +int glshim_snd_ctl_elem_remove(snd_ctl_elem_remove_ARG_EXPAND); typedef int (*snd_ctl_elem_remove_PTR)(snd_ctl_elem_remove_ARG_EXPAND); -void snd_ctl_elem_set_bytes(snd_ctl_elem_set_bytes_ARG_EXPAND); +void glshim_snd_ctl_elem_set_bytes(snd_ctl_elem_set_bytes_ARG_EXPAND); typedef void (*snd_ctl_elem_set_bytes_PTR)(snd_ctl_elem_set_bytes_ARG_EXPAND); -int snd_ctl_elem_tlv_command(snd_ctl_elem_tlv_command_ARG_EXPAND); +int glshim_snd_ctl_elem_tlv_command(snd_ctl_elem_tlv_command_ARG_EXPAND); typedef int (*snd_ctl_elem_tlv_command_PTR)(snd_ctl_elem_tlv_command_ARG_EXPAND); -int snd_ctl_elem_tlv_read(snd_ctl_elem_tlv_read_ARG_EXPAND); +int glshim_snd_ctl_elem_tlv_read(snd_ctl_elem_tlv_read_ARG_EXPAND); typedef int (*snd_ctl_elem_tlv_read_PTR)(snd_ctl_elem_tlv_read_ARG_EXPAND); -int snd_ctl_elem_tlv_write(snd_ctl_elem_tlv_write_ARG_EXPAND); +int glshim_snd_ctl_elem_tlv_write(snd_ctl_elem_tlv_write_ARG_EXPAND); typedef int (*snd_ctl_elem_tlv_write_PTR)(snd_ctl_elem_tlv_write_ARG_EXPAND); -const char * snd_ctl_elem_type_name(snd_ctl_elem_type_name_ARG_EXPAND); +const char * glshim_snd_ctl_elem_type_name(snd_ctl_elem_type_name_ARG_EXPAND); typedef const char * (*snd_ctl_elem_type_name_PTR)(snd_ctl_elem_type_name_ARG_EXPAND); -int snd_ctl_elem_unlock(snd_ctl_elem_unlock_ARG_EXPAND); +int glshim_snd_ctl_elem_unlock(snd_ctl_elem_unlock_ARG_EXPAND); typedef int (*snd_ctl_elem_unlock_PTR)(snd_ctl_elem_unlock_ARG_EXPAND); -void snd_ctl_elem_value_clear(snd_ctl_elem_value_clear_ARG_EXPAND); +void glshim_snd_ctl_elem_value_clear(snd_ctl_elem_value_clear_ARG_EXPAND); typedef void (*snd_ctl_elem_value_clear_PTR)(snd_ctl_elem_value_clear_ARG_EXPAND); -void snd_ctl_elem_value_copy(snd_ctl_elem_value_copy_ARG_EXPAND); +void glshim_snd_ctl_elem_value_copy(snd_ctl_elem_value_copy_ARG_EXPAND); typedef void (*snd_ctl_elem_value_copy_PTR)(snd_ctl_elem_value_copy_ARG_EXPAND); -void snd_ctl_elem_value_free(snd_ctl_elem_value_free_ARG_EXPAND); +void glshim_snd_ctl_elem_value_free(snd_ctl_elem_value_free_ARG_EXPAND); typedef void (*snd_ctl_elem_value_free_PTR)(snd_ctl_elem_value_free_ARG_EXPAND); -int snd_ctl_elem_value_get_boolean(snd_ctl_elem_value_get_boolean_ARG_EXPAND); +int glshim_snd_ctl_elem_value_get_boolean(snd_ctl_elem_value_get_boolean_ARG_EXPAND); typedef int (*snd_ctl_elem_value_get_boolean_PTR)(snd_ctl_elem_value_get_boolean_ARG_EXPAND); -unsigned char snd_ctl_elem_value_get_byte(snd_ctl_elem_value_get_byte_ARG_EXPAND); +unsigned char glshim_snd_ctl_elem_value_get_byte(snd_ctl_elem_value_get_byte_ARG_EXPAND); typedef unsigned char (*snd_ctl_elem_value_get_byte_PTR)(snd_ctl_elem_value_get_byte_ARG_EXPAND); -const void * snd_ctl_elem_value_get_bytes(snd_ctl_elem_value_get_bytes_ARG_EXPAND); +const void * glshim_snd_ctl_elem_value_get_bytes(snd_ctl_elem_value_get_bytes_ARG_EXPAND); typedef const void * (*snd_ctl_elem_value_get_bytes_PTR)(snd_ctl_elem_value_get_bytes_ARG_EXPAND); -unsigned int snd_ctl_elem_value_get_device(snd_ctl_elem_value_get_device_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_value_get_device(snd_ctl_elem_value_get_device_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_value_get_device_PTR)(snd_ctl_elem_value_get_device_ARG_EXPAND); -unsigned int snd_ctl_elem_value_get_enumerated(snd_ctl_elem_value_get_enumerated_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_value_get_enumerated(snd_ctl_elem_value_get_enumerated_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_value_get_enumerated_PTR)(snd_ctl_elem_value_get_enumerated_ARG_EXPAND); -void snd_ctl_elem_value_get_id(snd_ctl_elem_value_get_id_ARG_EXPAND); +void glshim_snd_ctl_elem_value_get_id(snd_ctl_elem_value_get_id_ARG_EXPAND); typedef void (*snd_ctl_elem_value_get_id_PTR)(snd_ctl_elem_value_get_id_ARG_EXPAND); -void snd_ctl_elem_value_get_iec958(snd_ctl_elem_value_get_iec958_ARG_EXPAND); +void glshim_snd_ctl_elem_value_get_iec958(snd_ctl_elem_value_get_iec958_ARG_EXPAND); typedef void (*snd_ctl_elem_value_get_iec958_PTR)(snd_ctl_elem_value_get_iec958_ARG_EXPAND); -unsigned int snd_ctl_elem_value_get_index(snd_ctl_elem_value_get_index_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_value_get_index(snd_ctl_elem_value_get_index_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_value_get_index_PTR)(snd_ctl_elem_value_get_index_ARG_EXPAND); -long snd_ctl_elem_value_get_integer(snd_ctl_elem_value_get_integer_ARG_EXPAND); +long glshim_snd_ctl_elem_value_get_integer(snd_ctl_elem_value_get_integer_ARG_EXPAND); typedef long (*snd_ctl_elem_value_get_integer_PTR)(snd_ctl_elem_value_get_integer_ARG_EXPAND); -long long snd_ctl_elem_value_get_integer64(snd_ctl_elem_value_get_integer64_ARG_EXPAND); +long long glshim_snd_ctl_elem_value_get_integer64(snd_ctl_elem_value_get_integer64_ARG_EXPAND); typedef long long (*snd_ctl_elem_value_get_integer64_PTR)(snd_ctl_elem_value_get_integer64_ARG_EXPAND); -snd_ctl_elem_iface_t snd_ctl_elem_value_get_interface(snd_ctl_elem_value_get_interface_ARG_EXPAND); +snd_ctl_elem_iface_t glshim_snd_ctl_elem_value_get_interface(snd_ctl_elem_value_get_interface_ARG_EXPAND); typedef snd_ctl_elem_iface_t (*snd_ctl_elem_value_get_interface_PTR)(snd_ctl_elem_value_get_interface_ARG_EXPAND); -const char * snd_ctl_elem_value_get_name(snd_ctl_elem_value_get_name_ARG_EXPAND); +const char * glshim_snd_ctl_elem_value_get_name(snd_ctl_elem_value_get_name_ARG_EXPAND); typedef const char * (*snd_ctl_elem_value_get_name_PTR)(snd_ctl_elem_value_get_name_ARG_EXPAND); -unsigned int snd_ctl_elem_value_get_numid(snd_ctl_elem_value_get_numid_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_value_get_numid(snd_ctl_elem_value_get_numid_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_value_get_numid_PTR)(snd_ctl_elem_value_get_numid_ARG_EXPAND); -unsigned int snd_ctl_elem_value_get_subdevice(snd_ctl_elem_value_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_value_get_subdevice(snd_ctl_elem_value_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_value_get_subdevice_PTR)(snd_ctl_elem_value_get_subdevice_ARG_EXPAND); -int snd_ctl_elem_value_malloc(snd_ctl_elem_value_malloc_ARG_EXPAND); +int glshim_snd_ctl_elem_value_malloc(snd_ctl_elem_value_malloc_ARG_EXPAND); typedef int (*snd_ctl_elem_value_malloc_PTR)(snd_ctl_elem_value_malloc_ARG_EXPAND); -void snd_ctl_elem_value_set_boolean(snd_ctl_elem_value_set_boolean_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_boolean(snd_ctl_elem_value_set_boolean_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_boolean_PTR)(snd_ctl_elem_value_set_boolean_ARG_EXPAND); -void snd_ctl_elem_value_set_byte(snd_ctl_elem_value_set_byte_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_byte(snd_ctl_elem_value_set_byte_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_byte_PTR)(snd_ctl_elem_value_set_byte_ARG_EXPAND); -void snd_ctl_elem_value_set_device(snd_ctl_elem_value_set_device_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_device(snd_ctl_elem_value_set_device_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_device_PTR)(snd_ctl_elem_value_set_device_ARG_EXPAND); -void snd_ctl_elem_value_set_enumerated(snd_ctl_elem_value_set_enumerated_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_enumerated(snd_ctl_elem_value_set_enumerated_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_enumerated_PTR)(snd_ctl_elem_value_set_enumerated_ARG_EXPAND); -void snd_ctl_elem_value_set_id(snd_ctl_elem_value_set_id_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_id(snd_ctl_elem_value_set_id_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_id_PTR)(snd_ctl_elem_value_set_id_ARG_EXPAND); -void snd_ctl_elem_value_set_iec958(snd_ctl_elem_value_set_iec958_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_iec958(snd_ctl_elem_value_set_iec958_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_iec958_PTR)(snd_ctl_elem_value_set_iec958_ARG_EXPAND); -void snd_ctl_elem_value_set_index(snd_ctl_elem_value_set_index_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_index(snd_ctl_elem_value_set_index_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_index_PTR)(snd_ctl_elem_value_set_index_ARG_EXPAND); -void snd_ctl_elem_value_set_integer(snd_ctl_elem_value_set_integer_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_integer(snd_ctl_elem_value_set_integer_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_integer_PTR)(snd_ctl_elem_value_set_integer_ARG_EXPAND); -void snd_ctl_elem_value_set_integer64(snd_ctl_elem_value_set_integer64_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_integer64(snd_ctl_elem_value_set_integer64_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_integer64_PTR)(snd_ctl_elem_value_set_integer64_ARG_EXPAND); -void snd_ctl_elem_value_set_interface(snd_ctl_elem_value_set_interface_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_interface(snd_ctl_elem_value_set_interface_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_interface_PTR)(snd_ctl_elem_value_set_interface_ARG_EXPAND); -void snd_ctl_elem_value_set_name(snd_ctl_elem_value_set_name_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_name(snd_ctl_elem_value_set_name_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_name_PTR)(snd_ctl_elem_value_set_name_ARG_EXPAND); -void snd_ctl_elem_value_set_numid(snd_ctl_elem_value_set_numid_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_numid(snd_ctl_elem_value_set_numid_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_numid_PTR)(snd_ctl_elem_value_set_numid_ARG_EXPAND); -void snd_ctl_elem_value_set_subdevice(snd_ctl_elem_value_set_subdevice_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_subdevice(snd_ctl_elem_value_set_subdevice_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_subdevice_PTR)(snd_ctl_elem_value_set_subdevice_ARG_EXPAND); -size_t snd_ctl_elem_value_sizeof(snd_ctl_elem_value_sizeof_ARG_EXPAND); +size_t glshim_snd_ctl_elem_value_sizeof(snd_ctl_elem_value_sizeof_ARG_EXPAND); typedef size_t (*snd_ctl_elem_value_sizeof_PTR)(snd_ctl_elem_value_sizeof_ARG_EXPAND); -int snd_ctl_elem_write(snd_ctl_elem_write_ARG_EXPAND); +int glshim_snd_ctl_elem_write(snd_ctl_elem_write_ARG_EXPAND); typedef int (*snd_ctl_elem_write_PTR)(snd_ctl_elem_write_ARG_EXPAND); -void snd_ctl_event_clear(snd_ctl_event_clear_ARG_EXPAND); +void glshim_snd_ctl_event_clear(snd_ctl_event_clear_ARG_EXPAND); typedef void (*snd_ctl_event_clear_PTR)(snd_ctl_event_clear_ARG_EXPAND); -void snd_ctl_event_copy(snd_ctl_event_copy_ARG_EXPAND); +void glshim_snd_ctl_event_copy(snd_ctl_event_copy_ARG_EXPAND); typedef void (*snd_ctl_event_copy_PTR)(snd_ctl_event_copy_ARG_EXPAND); -unsigned int snd_ctl_event_elem_get_device(snd_ctl_event_elem_get_device_ARG_EXPAND); +unsigned int glshim_snd_ctl_event_elem_get_device(snd_ctl_event_elem_get_device_ARG_EXPAND); typedef unsigned int (*snd_ctl_event_elem_get_device_PTR)(snd_ctl_event_elem_get_device_ARG_EXPAND); -void snd_ctl_event_elem_get_id(snd_ctl_event_elem_get_id_ARG_EXPAND); +void glshim_snd_ctl_event_elem_get_id(snd_ctl_event_elem_get_id_ARG_EXPAND); typedef void (*snd_ctl_event_elem_get_id_PTR)(snd_ctl_event_elem_get_id_ARG_EXPAND); -unsigned int snd_ctl_event_elem_get_index(snd_ctl_event_elem_get_index_ARG_EXPAND); +unsigned int glshim_snd_ctl_event_elem_get_index(snd_ctl_event_elem_get_index_ARG_EXPAND); typedef unsigned int (*snd_ctl_event_elem_get_index_PTR)(snd_ctl_event_elem_get_index_ARG_EXPAND); -snd_ctl_elem_iface_t snd_ctl_event_elem_get_interface(snd_ctl_event_elem_get_interface_ARG_EXPAND); +snd_ctl_elem_iface_t glshim_snd_ctl_event_elem_get_interface(snd_ctl_event_elem_get_interface_ARG_EXPAND); typedef snd_ctl_elem_iface_t (*snd_ctl_event_elem_get_interface_PTR)(snd_ctl_event_elem_get_interface_ARG_EXPAND); -unsigned int snd_ctl_event_elem_get_mask(snd_ctl_event_elem_get_mask_ARG_EXPAND); +unsigned int glshim_snd_ctl_event_elem_get_mask(snd_ctl_event_elem_get_mask_ARG_EXPAND); typedef unsigned int (*snd_ctl_event_elem_get_mask_PTR)(snd_ctl_event_elem_get_mask_ARG_EXPAND); -const char * snd_ctl_event_elem_get_name(snd_ctl_event_elem_get_name_ARG_EXPAND); +const char * glshim_snd_ctl_event_elem_get_name(snd_ctl_event_elem_get_name_ARG_EXPAND); typedef const char * (*snd_ctl_event_elem_get_name_PTR)(snd_ctl_event_elem_get_name_ARG_EXPAND); -unsigned int snd_ctl_event_elem_get_numid(snd_ctl_event_elem_get_numid_ARG_EXPAND); +unsigned int glshim_snd_ctl_event_elem_get_numid(snd_ctl_event_elem_get_numid_ARG_EXPAND); typedef unsigned int (*snd_ctl_event_elem_get_numid_PTR)(snd_ctl_event_elem_get_numid_ARG_EXPAND); -unsigned int snd_ctl_event_elem_get_subdevice(snd_ctl_event_elem_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_ctl_event_elem_get_subdevice(snd_ctl_event_elem_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_ctl_event_elem_get_subdevice_PTR)(snd_ctl_event_elem_get_subdevice_ARG_EXPAND); -void snd_ctl_event_free(snd_ctl_event_free_ARG_EXPAND); +void glshim_snd_ctl_event_free(snd_ctl_event_free_ARG_EXPAND); typedef void (*snd_ctl_event_free_PTR)(snd_ctl_event_free_ARG_EXPAND); -snd_ctl_event_type_t snd_ctl_event_get_type(snd_ctl_event_get_type_ARG_EXPAND); +snd_ctl_event_type_t glshim_snd_ctl_event_get_type(snd_ctl_event_get_type_ARG_EXPAND); typedef snd_ctl_event_type_t (*snd_ctl_event_get_type_PTR)(snd_ctl_event_get_type_ARG_EXPAND); -int snd_ctl_event_malloc(snd_ctl_event_malloc_ARG_EXPAND); +int glshim_snd_ctl_event_malloc(snd_ctl_event_malloc_ARG_EXPAND); typedef int (*snd_ctl_event_malloc_PTR)(snd_ctl_event_malloc_ARG_EXPAND); -size_t snd_ctl_event_sizeof(snd_ctl_event_sizeof_ARG_EXPAND); +size_t glshim_snd_ctl_event_sizeof(snd_ctl_event_sizeof_ARG_EXPAND); typedef size_t (*snd_ctl_event_sizeof_PTR)(snd_ctl_event_sizeof_ARG_EXPAND); -const char * snd_ctl_event_type_name(snd_ctl_event_type_name_ARG_EXPAND); +const char * glshim_snd_ctl_event_type_name(snd_ctl_event_type_name_ARG_EXPAND); typedef const char * (*snd_ctl_event_type_name_PTR)(snd_ctl_event_type_name_ARG_EXPAND); -int snd_ctl_get_power_state(snd_ctl_get_power_state_ARG_EXPAND); +int glshim_snd_ctl_get_power_state(snd_ctl_get_power_state_ARG_EXPAND); typedef int (*snd_ctl_get_power_state_PTR)(snd_ctl_get_power_state_ARG_EXPAND); -int snd_ctl_hwdep_info(snd_ctl_hwdep_info_ARG_EXPAND); +int glshim_snd_ctl_hwdep_info(snd_ctl_hwdep_info_ARG_EXPAND); typedef int (*snd_ctl_hwdep_info_PTR)(snd_ctl_hwdep_info_ARG_EXPAND); -int snd_ctl_hwdep_next_device(snd_ctl_hwdep_next_device_ARG_EXPAND); +int glshim_snd_ctl_hwdep_next_device(snd_ctl_hwdep_next_device_ARG_EXPAND); typedef int (*snd_ctl_hwdep_next_device_PTR)(snd_ctl_hwdep_next_device_ARG_EXPAND); -const char * snd_ctl_name(snd_ctl_name_ARG_EXPAND); +const char * glshim_snd_ctl_name(snd_ctl_name_ARG_EXPAND); typedef const char * (*snd_ctl_name_PTR)(snd_ctl_name_ARG_EXPAND); -int snd_ctl_nonblock(snd_ctl_nonblock_ARG_EXPAND); +int glshim_snd_ctl_nonblock(snd_ctl_nonblock_ARG_EXPAND); typedef int (*snd_ctl_nonblock_PTR)(snd_ctl_nonblock_ARG_EXPAND); -int snd_ctl_open(snd_ctl_open_ARG_EXPAND); +int glshim_snd_ctl_open(snd_ctl_open_ARG_EXPAND); typedef int (*snd_ctl_open_PTR)(snd_ctl_open_ARG_EXPAND); -int snd_ctl_open_lconf(snd_ctl_open_lconf_ARG_EXPAND); +int glshim_snd_ctl_open_lconf(snd_ctl_open_lconf_ARG_EXPAND); typedef int (*snd_ctl_open_lconf_PTR)(snd_ctl_open_lconf_ARG_EXPAND); -int snd_ctl_pcm_info(snd_ctl_pcm_info_ARG_EXPAND); +int glshim_snd_ctl_pcm_info(snd_ctl_pcm_info_ARG_EXPAND); typedef int (*snd_ctl_pcm_info_PTR)(snd_ctl_pcm_info_ARG_EXPAND); -int snd_ctl_pcm_next_device(snd_ctl_pcm_next_device_ARG_EXPAND); +int glshim_snd_ctl_pcm_next_device(snd_ctl_pcm_next_device_ARG_EXPAND); typedef int (*snd_ctl_pcm_next_device_PTR)(snd_ctl_pcm_next_device_ARG_EXPAND); -int snd_ctl_pcm_prefer_subdevice(snd_ctl_pcm_prefer_subdevice_ARG_EXPAND); +int glshim_snd_ctl_pcm_prefer_subdevice(snd_ctl_pcm_prefer_subdevice_ARG_EXPAND); typedef int (*snd_ctl_pcm_prefer_subdevice_PTR)(snd_ctl_pcm_prefer_subdevice_ARG_EXPAND); -int snd_ctl_poll_descriptors(snd_ctl_poll_descriptors_ARG_EXPAND); +int glshim_snd_ctl_poll_descriptors(snd_ctl_poll_descriptors_ARG_EXPAND); typedef int (*snd_ctl_poll_descriptors_PTR)(snd_ctl_poll_descriptors_ARG_EXPAND); -int snd_ctl_poll_descriptors_count(snd_ctl_poll_descriptors_count_ARG_EXPAND); +int glshim_snd_ctl_poll_descriptors_count(snd_ctl_poll_descriptors_count_ARG_EXPAND); typedef int (*snd_ctl_poll_descriptors_count_PTR)(snd_ctl_poll_descriptors_count_ARG_EXPAND); -int snd_ctl_poll_descriptors_revents(snd_ctl_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_ctl_poll_descriptors_revents(snd_ctl_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_ctl_poll_descriptors_revents_PTR)(snd_ctl_poll_descriptors_revents_ARG_EXPAND); -int snd_ctl_rawmidi_info(snd_ctl_rawmidi_info_ARG_EXPAND); +int glshim_snd_ctl_rawmidi_info(snd_ctl_rawmidi_info_ARG_EXPAND); typedef int (*snd_ctl_rawmidi_info_PTR)(snd_ctl_rawmidi_info_ARG_EXPAND); -int snd_ctl_rawmidi_next_device(snd_ctl_rawmidi_next_device_ARG_EXPAND); +int glshim_snd_ctl_rawmidi_next_device(snd_ctl_rawmidi_next_device_ARG_EXPAND); typedef int (*snd_ctl_rawmidi_next_device_PTR)(snd_ctl_rawmidi_next_device_ARG_EXPAND); -int snd_ctl_rawmidi_prefer_subdevice(snd_ctl_rawmidi_prefer_subdevice_ARG_EXPAND); +int glshim_snd_ctl_rawmidi_prefer_subdevice(snd_ctl_rawmidi_prefer_subdevice_ARG_EXPAND); typedef int (*snd_ctl_rawmidi_prefer_subdevice_PTR)(snd_ctl_rawmidi_prefer_subdevice_ARG_EXPAND); -int snd_ctl_read(snd_ctl_read_ARG_EXPAND); +int glshim_snd_ctl_read(snd_ctl_read_ARG_EXPAND); typedef int (*snd_ctl_read_PTR)(snd_ctl_read_ARG_EXPAND); -int snd_ctl_set_power_state(snd_ctl_set_power_state_ARG_EXPAND); +int glshim_snd_ctl_set_power_state(snd_ctl_set_power_state_ARG_EXPAND); typedef int (*snd_ctl_set_power_state_PTR)(snd_ctl_set_power_state_ARG_EXPAND); -int snd_ctl_subscribe_events(snd_ctl_subscribe_events_ARG_EXPAND); +int glshim_snd_ctl_subscribe_events(snd_ctl_subscribe_events_ARG_EXPAND); typedef int (*snd_ctl_subscribe_events_PTR)(snd_ctl_subscribe_events_ARG_EXPAND); -snd_ctl_type_t snd_ctl_type(snd_ctl_type_ARG_EXPAND); +snd_ctl_type_t glshim_snd_ctl_type(snd_ctl_type_ARG_EXPAND); typedef snd_ctl_type_t (*snd_ctl_type_PTR)(snd_ctl_type_ARG_EXPAND); -int snd_ctl_wait(snd_ctl_wait_ARG_EXPAND); +int glshim_snd_ctl_wait(snd_ctl_wait_ARG_EXPAND); typedef int (*snd_ctl_wait_PTR)(snd_ctl_wait_ARG_EXPAND); -int snd_dlclose(snd_dlclose_ARG_EXPAND); +int glshim_snd_dlclose(snd_dlclose_ARG_EXPAND); typedef int (*snd_dlclose_PTR)(snd_dlclose_ARG_EXPAND); -void * snd_dlopen(snd_dlopen_ARG_EXPAND); +void * glshim_snd_dlopen(snd_dlopen_ARG_EXPAND); typedef void * (*snd_dlopen_PTR)(snd_dlopen_ARG_EXPAND); -void * snd_dlsym(snd_dlsym_ARG_EXPAND); +void * glshim_snd_dlsym(snd_dlsym_ARG_EXPAND); typedef void * (*snd_dlsym_PTR)(snd_dlsym_ARG_EXPAND); -int snd_hctl_close(snd_hctl_close_ARG_EXPAND); +int glshim_snd_hctl_close(snd_hctl_close_ARG_EXPAND); typedef int (*snd_hctl_close_PTR)(snd_hctl_close_ARG_EXPAND); -int snd_hctl_compare_fast(snd_hctl_compare_fast_ARG_EXPAND); +int glshim_snd_hctl_compare_fast(snd_hctl_compare_fast_ARG_EXPAND); typedef int (*snd_hctl_compare_fast_PTR)(snd_hctl_compare_fast_ARG_EXPAND); -snd_ctl_t * snd_hctl_ctl(snd_hctl_ctl_ARG_EXPAND); +snd_ctl_t * glshim_snd_hctl_ctl(snd_hctl_ctl_ARG_EXPAND); typedef snd_ctl_t * (*snd_hctl_ctl_PTR)(snd_hctl_ctl_ARG_EXPAND); -void * snd_hctl_elem_get_callback_private(snd_hctl_elem_get_callback_private_ARG_EXPAND); +void * glshim_snd_hctl_elem_get_callback_private(snd_hctl_elem_get_callback_private_ARG_EXPAND); typedef void * (*snd_hctl_elem_get_callback_private_PTR)(snd_hctl_elem_get_callback_private_ARG_EXPAND); -unsigned int snd_hctl_elem_get_device(snd_hctl_elem_get_device_ARG_EXPAND); +unsigned int glshim_snd_hctl_elem_get_device(snd_hctl_elem_get_device_ARG_EXPAND); typedef unsigned int (*snd_hctl_elem_get_device_PTR)(snd_hctl_elem_get_device_ARG_EXPAND); -snd_hctl_t * snd_hctl_elem_get_hctl(snd_hctl_elem_get_hctl_ARG_EXPAND); +snd_hctl_t * glshim_snd_hctl_elem_get_hctl(snd_hctl_elem_get_hctl_ARG_EXPAND); typedef snd_hctl_t * (*snd_hctl_elem_get_hctl_PTR)(snd_hctl_elem_get_hctl_ARG_EXPAND); -void snd_hctl_elem_get_id(snd_hctl_elem_get_id_ARG_EXPAND); +void glshim_snd_hctl_elem_get_id(snd_hctl_elem_get_id_ARG_EXPAND); typedef void (*snd_hctl_elem_get_id_PTR)(snd_hctl_elem_get_id_ARG_EXPAND); -unsigned int snd_hctl_elem_get_index(snd_hctl_elem_get_index_ARG_EXPAND); +unsigned int glshim_snd_hctl_elem_get_index(snd_hctl_elem_get_index_ARG_EXPAND); typedef unsigned int (*snd_hctl_elem_get_index_PTR)(snd_hctl_elem_get_index_ARG_EXPAND); -snd_ctl_elem_iface_t snd_hctl_elem_get_interface(snd_hctl_elem_get_interface_ARG_EXPAND); +snd_ctl_elem_iface_t glshim_snd_hctl_elem_get_interface(snd_hctl_elem_get_interface_ARG_EXPAND); typedef snd_ctl_elem_iface_t (*snd_hctl_elem_get_interface_PTR)(snd_hctl_elem_get_interface_ARG_EXPAND); -const char * snd_hctl_elem_get_name(snd_hctl_elem_get_name_ARG_EXPAND); +const char * glshim_snd_hctl_elem_get_name(snd_hctl_elem_get_name_ARG_EXPAND); typedef const char * (*snd_hctl_elem_get_name_PTR)(snd_hctl_elem_get_name_ARG_EXPAND); -unsigned int snd_hctl_elem_get_numid(snd_hctl_elem_get_numid_ARG_EXPAND); +unsigned int glshim_snd_hctl_elem_get_numid(snd_hctl_elem_get_numid_ARG_EXPAND); typedef unsigned int (*snd_hctl_elem_get_numid_PTR)(snd_hctl_elem_get_numid_ARG_EXPAND); -unsigned int snd_hctl_elem_get_subdevice(snd_hctl_elem_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_hctl_elem_get_subdevice(snd_hctl_elem_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_hctl_elem_get_subdevice_PTR)(snd_hctl_elem_get_subdevice_ARG_EXPAND); -int snd_hctl_elem_info(snd_hctl_elem_info_ARG_EXPAND); +int glshim_snd_hctl_elem_info(snd_hctl_elem_info_ARG_EXPAND); typedef int (*snd_hctl_elem_info_PTR)(snd_hctl_elem_info_ARG_EXPAND); -snd_hctl_elem_t * snd_hctl_elem_next(snd_hctl_elem_next_ARG_EXPAND); +snd_hctl_elem_t * glshim_snd_hctl_elem_next(snd_hctl_elem_next_ARG_EXPAND); typedef snd_hctl_elem_t * (*snd_hctl_elem_next_PTR)(snd_hctl_elem_next_ARG_EXPAND); -snd_hctl_elem_t * snd_hctl_elem_prev(snd_hctl_elem_prev_ARG_EXPAND); +snd_hctl_elem_t * glshim_snd_hctl_elem_prev(snd_hctl_elem_prev_ARG_EXPAND); typedef snd_hctl_elem_t * (*snd_hctl_elem_prev_PTR)(snd_hctl_elem_prev_ARG_EXPAND); -int snd_hctl_elem_read(snd_hctl_elem_read_ARG_EXPAND); +int glshim_snd_hctl_elem_read(snd_hctl_elem_read_ARG_EXPAND); typedef int (*snd_hctl_elem_read_PTR)(snd_hctl_elem_read_ARG_EXPAND); -void snd_hctl_elem_set_callback(snd_hctl_elem_set_callback_ARG_EXPAND); +void glshim_snd_hctl_elem_set_callback(snd_hctl_elem_set_callback_ARG_EXPAND); typedef void (*snd_hctl_elem_set_callback_PTR)(snd_hctl_elem_set_callback_ARG_EXPAND); -void snd_hctl_elem_set_callback_private(snd_hctl_elem_set_callback_private_ARG_EXPAND); +void glshim_snd_hctl_elem_set_callback_private(snd_hctl_elem_set_callback_private_ARG_EXPAND); typedef void (*snd_hctl_elem_set_callback_private_PTR)(snd_hctl_elem_set_callback_private_ARG_EXPAND); -int snd_hctl_elem_tlv_command(snd_hctl_elem_tlv_command_ARG_EXPAND); +int glshim_snd_hctl_elem_tlv_command(snd_hctl_elem_tlv_command_ARG_EXPAND); typedef int (*snd_hctl_elem_tlv_command_PTR)(snd_hctl_elem_tlv_command_ARG_EXPAND); -int snd_hctl_elem_tlv_read(snd_hctl_elem_tlv_read_ARG_EXPAND); +int glshim_snd_hctl_elem_tlv_read(snd_hctl_elem_tlv_read_ARG_EXPAND); typedef int (*snd_hctl_elem_tlv_read_PTR)(snd_hctl_elem_tlv_read_ARG_EXPAND); -int snd_hctl_elem_tlv_write(snd_hctl_elem_tlv_write_ARG_EXPAND); +int glshim_snd_hctl_elem_tlv_write(snd_hctl_elem_tlv_write_ARG_EXPAND); typedef int (*snd_hctl_elem_tlv_write_PTR)(snd_hctl_elem_tlv_write_ARG_EXPAND); -int snd_hctl_elem_write(snd_hctl_elem_write_ARG_EXPAND); +int glshim_snd_hctl_elem_write(snd_hctl_elem_write_ARG_EXPAND); typedef int (*snd_hctl_elem_write_PTR)(snd_hctl_elem_write_ARG_EXPAND); -snd_hctl_elem_t * snd_hctl_find_elem(snd_hctl_find_elem_ARG_EXPAND); +snd_hctl_elem_t * glshim_snd_hctl_find_elem(snd_hctl_find_elem_ARG_EXPAND); typedef snd_hctl_elem_t * (*snd_hctl_find_elem_PTR)(snd_hctl_find_elem_ARG_EXPAND); -snd_hctl_elem_t * snd_hctl_first_elem(snd_hctl_first_elem_ARG_EXPAND); +snd_hctl_elem_t * glshim_snd_hctl_first_elem(snd_hctl_first_elem_ARG_EXPAND); typedef snd_hctl_elem_t * (*snd_hctl_first_elem_PTR)(snd_hctl_first_elem_ARG_EXPAND); -int snd_hctl_free(snd_hctl_free_ARG_EXPAND); +int glshim_snd_hctl_free(snd_hctl_free_ARG_EXPAND); typedef int (*snd_hctl_free_PTR)(snd_hctl_free_ARG_EXPAND); -void * snd_hctl_get_callback_private(snd_hctl_get_callback_private_ARG_EXPAND); +void * glshim_snd_hctl_get_callback_private(snd_hctl_get_callback_private_ARG_EXPAND); typedef void * (*snd_hctl_get_callback_private_PTR)(snd_hctl_get_callback_private_ARG_EXPAND); -unsigned int snd_hctl_get_count(snd_hctl_get_count_ARG_EXPAND); +unsigned int glshim_snd_hctl_get_count(snd_hctl_get_count_ARG_EXPAND); typedef unsigned int (*snd_hctl_get_count_PTR)(snd_hctl_get_count_ARG_EXPAND); -int snd_hctl_handle_events(snd_hctl_handle_events_ARG_EXPAND); +int glshim_snd_hctl_handle_events(snd_hctl_handle_events_ARG_EXPAND); typedef int (*snd_hctl_handle_events_PTR)(snd_hctl_handle_events_ARG_EXPAND); -snd_hctl_elem_t * snd_hctl_last_elem(snd_hctl_last_elem_ARG_EXPAND); +snd_hctl_elem_t * glshim_snd_hctl_last_elem(snd_hctl_last_elem_ARG_EXPAND); typedef snd_hctl_elem_t * (*snd_hctl_last_elem_PTR)(snd_hctl_last_elem_ARG_EXPAND); -int snd_hctl_load(snd_hctl_load_ARG_EXPAND); +int glshim_snd_hctl_load(snd_hctl_load_ARG_EXPAND); typedef int (*snd_hctl_load_PTR)(snd_hctl_load_ARG_EXPAND); -const char * snd_hctl_name(snd_hctl_name_ARG_EXPAND); +const char * glshim_snd_hctl_name(snd_hctl_name_ARG_EXPAND); typedef const char * (*snd_hctl_name_PTR)(snd_hctl_name_ARG_EXPAND); -int snd_hctl_nonblock(snd_hctl_nonblock_ARG_EXPAND); +int glshim_snd_hctl_nonblock(snd_hctl_nonblock_ARG_EXPAND); typedef int (*snd_hctl_nonblock_PTR)(snd_hctl_nonblock_ARG_EXPAND); -int snd_hctl_open(snd_hctl_open_ARG_EXPAND); +int glshim_snd_hctl_open(snd_hctl_open_ARG_EXPAND); typedef int (*snd_hctl_open_PTR)(snd_hctl_open_ARG_EXPAND); -int snd_hctl_open_ctl(snd_hctl_open_ctl_ARG_EXPAND); +int glshim_snd_hctl_open_ctl(snd_hctl_open_ctl_ARG_EXPAND); typedef int (*snd_hctl_open_ctl_PTR)(snd_hctl_open_ctl_ARG_EXPAND); -int snd_hctl_poll_descriptors(snd_hctl_poll_descriptors_ARG_EXPAND); +int glshim_snd_hctl_poll_descriptors(snd_hctl_poll_descriptors_ARG_EXPAND); typedef int (*snd_hctl_poll_descriptors_PTR)(snd_hctl_poll_descriptors_ARG_EXPAND); -int snd_hctl_poll_descriptors_count(snd_hctl_poll_descriptors_count_ARG_EXPAND); +int glshim_snd_hctl_poll_descriptors_count(snd_hctl_poll_descriptors_count_ARG_EXPAND); typedef int (*snd_hctl_poll_descriptors_count_PTR)(snd_hctl_poll_descriptors_count_ARG_EXPAND); -int snd_hctl_poll_descriptors_revents(snd_hctl_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_hctl_poll_descriptors_revents(snd_hctl_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_hctl_poll_descriptors_revents_PTR)(snd_hctl_poll_descriptors_revents_ARG_EXPAND); -void snd_hctl_set_callback(snd_hctl_set_callback_ARG_EXPAND); +void glshim_snd_hctl_set_callback(snd_hctl_set_callback_ARG_EXPAND); typedef void (*snd_hctl_set_callback_PTR)(snd_hctl_set_callback_ARG_EXPAND); -void snd_hctl_set_callback_private(snd_hctl_set_callback_private_ARG_EXPAND); +void glshim_snd_hctl_set_callback_private(snd_hctl_set_callback_private_ARG_EXPAND); typedef void (*snd_hctl_set_callback_private_PTR)(snd_hctl_set_callback_private_ARG_EXPAND); -int snd_hctl_set_compare(snd_hctl_set_compare_ARG_EXPAND); +int glshim_snd_hctl_set_compare(snd_hctl_set_compare_ARG_EXPAND); typedef int (*snd_hctl_set_compare_PTR)(snd_hctl_set_compare_ARG_EXPAND); -int snd_hctl_wait(snd_hctl_wait_ARG_EXPAND); +int glshim_snd_hctl_wait(snd_hctl_wait_ARG_EXPAND); typedef int (*snd_hctl_wait_PTR)(snd_hctl_wait_ARG_EXPAND); -int snd_hwdep_close(snd_hwdep_close_ARG_EXPAND); +int glshim_snd_hwdep_close(snd_hwdep_close_ARG_EXPAND); typedef int (*snd_hwdep_close_PTR)(snd_hwdep_close_ARG_EXPAND); -void snd_hwdep_dsp_image_copy(snd_hwdep_dsp_image_copy_ARG_EXPAND); +void glshim_snd_hwdep_dsp_image_copy(snd_hwdep_dsp_image_copy_ARG_EXPAND); typedef void (*snd_hwdep_dsp_image_copy_PTR)(snd_hwdep_dsp_image_copy_ARG_EXPAND); -void snd_hwdep_dsp_image_free(snd_hwdep_dsp_image_free_ARG_EXPAND); +void glshim_snd_hwdep_dsp_image_free(snd_hwdep_dsp_image_free_ARG_EXPAND); typedef void (*snd_hwdep_dsp_image_free_PTR)(snd_hwdep_dsp_image_free_ARG_EXPAND); -const void * snd_hwdep_dsp_image_get_image(snd_hwdep_dsp_image_get_image_ARG_EXPAND); +const void * glshim_snd_hwdep_dsp_image_get_image(snd_hwdep_dsp_image_get_image_ARG_EXPAND); typedef const void * (*snd_hwdep_dsp_image_get_image_PTR)(snd_hwdep_dsp_image_get_image_ARG_EXPAND); -unsigned int snd_hwdep_dsp_image_get_index(snd_hwdep_dsp_image_get_index_ARG_EXPAND); +unsigned int glshim_snd_hwdep_dsp_image_get_index(snd_hwdep_dsp_image_get_index_ARG_EXPAND); typedef unsigned int (*snd_hwdep_dsp_image_get_index_PTR)(snd_hwdep_dsp_image_get_index_ARG_EXPAND); -size_t snd_hwdep_dsp_image_get_length(snd_hwdep_dsp_image_get_length_ARG_EXPAND); +size_t glshim_snd_hwdep_dsp_image_get_length(snd_hwdep_dsp_image_get_length_ARG_EXPAND); typedef size_t (*snd_hwdep_dsp_image_get_length_PTR)(snd_hwdep_dsp_image_get_length_ARG_EXPAND); -const char * snd_hwdep_dsp_image_get_name(snd_hwdep_dsp_image_get_name_ARG_EXPAND); +const char * glshim_snd_hwdep_dsp_image_get_name(snd_hwdep_dsp_image_get_name_ARG_EXPAND); typedef const char * (*snd_hwdep_dsp_image_get_name_PTR)(snd_hwdep_dsp_image_get_name_ARG_EXPAND); -int snd_hwdep_dsp_image_malloc(snd_hwdep_dsp_image_malloc_ARG_EXPAND); +int glshim_snd_hwdep_dsp_image_malloc(snd_hwdep_dsp_image_malloc_ARG_EXPAND); typedef int (*snd_hwdep_dsp_image_malloc_PTR)(snd_hwdep_dsp_image_malloc_ARG_EXPAND); -void snd_hwdep_dsp_image_set_image(snd_hwdep_dsp_image_set_image_ARG_EXPAND); +void glshim_snd_hwdep_dsp_image_set_image(snd_hwdep_dsp_image_set_image_ARG_EXPAND); typedef void (*snd_hwdep_dsp_image_set_image_PTR)(snd_hwdep_dsp_image_set_image_ARG_EXPAND); -void snd_hwdep_dsp_image_set_index(snd_hwdep_dsp_image_set_index_ARG_EXPAND); +void glshim_snd_hwdep_dsp_image_set_index(snd_hwdep_dsp_image_set_index_ARG_EXPAND); typedef void (*snd_hwdep_dsp_image_set_index_PTR)(snd_hwdep_dsp_image_set_index_ARG_EXPAND); -void snd_hwdep_dsp_image_set_length(snd_hwdep_dsp_image_set_length_ARG_EXPAND); +void glshim_snd_hwdep_dsp_image_set_length(snd_hwdep_dsp_image_set_length_ARG_EXPAND); typedef void (*snd_hwdep_dsp_image_set_length_PTR)(snd_hwdep_dsp_image_set_length_ARG_EXPAND); -void snd_hwdep_dsp_image_set_name(snd_hwdep_dsp_image_set_name_ARG_EXPAND); +void glshim_snd_hwdep_dsp_image_set_name(snd_hwdep_dsp_image_set_name_ARG_EXPAND); typedef void (*snd_hwdep_dsp_image_set_name_PTR)(snd_hwdep_dsp_image_set_name_ARG_EXPAND); -size_t snd_hwdep_dsp_image_sizeof(snd_hwdep_dsp_image_sizeof_ARG_EXPAND); +size_t glshim_snd_hwdep_dsp_image_sizeof(snd_hwdep_dsp_image_sizeof_ARG_EXPAND); typedef size_t (*snd_hwdep_dsp_image_sizeof_PTR)(snd_hwdep_dsp_image_sizeof_ARG_EXPAND); -int snd_hwdep_dsp_load(snd_hwdep_dsp_load_ARG_EXPAND); +int glshim_snd_hwdep_dsp_load(snd_hwdep_dsp_load_ARG_EXPAND); typedef int (*snd_hwdep_dsp_load_PTR)(snd_hwdep_dsp_load_ARG_EXPAND); -int snd_hwdep_dsp_status(snd_hwdep_dsp_status_ARG_EXPAND); +int glshim_snd_hwdep_dsp_status(snd_hwdep_dsp_status_ARG_EXPAND); typedef int (*snd_hwdep_dsp_status_PTR)(snd_hwdep_dsp_status_ARG_EXPAND); -void snd_hwdep_dsp_status_copy(snd_hwdep_dsp_status_copy_ARG_EXPAND); +void glshim_snd_hwdep_dsp_status_copy(snd_hwdep_dsp_status_copy_ARG_EXPAND); typedef void (*snd_hwdep_dsp_status_copy_PTR)(snd_hwdep_dsp_status_copy_ARG_EXPAND); -void snd_hwdep_dsp_status_free(snd_hwdep_dsp_status_free_ARG_EXPAND); +void glshim_snd_hwdep_dsp_status_free(snd_hwdep_dsp_status_free_ARG_EXPAND); typedef void (*snd_hwdep_dsp_status_free_PTR)(snd_hwdep_dsp_status_free_ARG_EXPAND); -unsigned int snd_hwdep_dsp_status_get_chip_ready(snd_hwdep_dsp_status_get_chip_ready_ARG_EXPAND); +unsigned int glshim_snd_hwdep_dsp_status_get_chip_ready(snd_hwdep_dsp_status_get_chip_ready_ARG_EXPAND); typedef unsigned int (*snd_hwdep_dsp_status_get_chip_ready_PTR)(snd_hwdep_dsp_status_get_chip_ready_ARG_EXPAND); -unsigned int snd_hwdep_dsp_status_get_dsp_loaded(snd_hwdep_dsp_status_get_dsp_loaded_ARG_EXPAND); +unsigned int glshim_snd_hwdep_dsp_status_get_dsp_loaded(snd_hwdep_dsp_status_get_dsp_loaded_ARG_EXPAND); typedef unsigned int (*snd_hwdep_dsp_status_get_dsp_loaded_PTR)(snd_hwdep_dsp_status_get_dsp_loaded_ARG_EXPAND); -const char * snd_hwdep_dsp_status_get_id(snd_hwdep_dsp_status_get_id_ARG_EXPAND); +const char * glshim_snd_hwdep_dsp_status_get_id(snd_hwdep_dsp_status_get_id_ARG_EXPAND); typedef const char * (*snd_hwdep_dsp_status_get_id_PTR)(snd_hwdep_dsp_status_get_id_ARG_EXPAND); -unsigned int snd_hwdep_dsp_status_get_num_dsps(snd_hwdep_dsp_status_get_num_dsps_ARG_EXPAND); +unsigned int glshim_snd_hwdep_dsp_status_get_num_dsps(snd_hwdep_dsp_status_get_num_dsps_ARG_EXPAND); typedef unsigned int (*snd_hwdep_dsp_status_get_num_dsps_PTR)(snd_hwdep_dsp_status_get_num_dsps_ARG_EXPAND); -unsigned int snd_hwdep_dsp_status_get_version(snd_hwdep_dsp_status_get_version_ARG_EXPAND); +unsigned int glshim_snd_hwdep_dsp_status_get_version(snd_hwdep_dsp_status_get_version_ARG_EXPAND); typedef unsigned int (*snd_hwdep_dsp_status_get_version_PTR)(snd_hwdep_dsp_status_get_version_ARG_EXPAND); -int snd_hwdep_dsp_status_malloc(snd_hwdep_dsp_status_malloc_ARG_EXPAND); +int glshim_snd_hwdep_dsp_status_malloc(snd_hwdep_dsp_status_malloc_ARG_EXPAND); typedef int (*snd_hwdep_dsp_status_malloc_PTR)(snd_hwdep_dsp_status_malloc_ARG_EXPAND); -size_t snd_hwdep_dsp_status_sizeof(snd_hwdep_dsp_status_sizeof_ARG_EXPAND); +size_t glshim_snd_hwdep_dsp_status_sizeof(snd_hwdep_dsp_status_sizeof_ARG_EXPAND); typedef size_t (*snd_hwdep_dsp_status_sizeof_PTR)(snd_hwdep_dsp_status_sizeof_ARG_EXPAND); -int snd_hwdep_info(snd_hwdep_info_ARG_EXPAND); +int glshim_snd_hwdep_info(snd_hwdep_info_ARG_EXPAND); typedef int (*snd_hwdep_info_PTR)(snd_hwdep_info_ARG_EXPAND); -size_t snd_hwdep_info_sizeof(snd_hwdep_info_sizeof_ARG_EXPAND); +size_t glshim_snd_hwdep_info_sizeof(snd_hwdep_info_sizeof_ARG_EXPAND); typedef size_t (*snd_hwdep_info_sizeof_PTR)(snd_hwdep_info_sizeof_ARG_EXPAND); -int snd_hwdep_ioctl(snd_hwdep_ioctl_ARG_EXPAND); +int glshim_snd_hwdep_ioctl(snd_hwdep_ioctl_ARG_EXPAND); typedef int (*snd_hwdep_ioctl_PTR)(snd_hwdep_ioctl_ARG_EXPAND); -int snd_hwdep_nonblock(snd_hwdep_nonblock_ARG_EXPAND); +int glshim_snd_hwdep_nonblock(snd_hwdep_nonblock_ARG_EXPAND); typedef int (*snd_hwdep_nonblock_PTR)(snd_hwdep_nonblock_ARG_EXPAND); -int snd_hwdep_open(snd_hwdep_open_ARG_EXPAND); +int glshim_snd_hwdep_open(snd_hwdep_open_ARG_EXPAND); typedef int (*snd_hwdep_open_PTR)(snd_hwdep_open_ARG_EXPAND); -int snd_hwdep_poll_descriptors(snd_hwdep_poll_descriptors_ARG_EXPAND); +int glshim_snd_hwdep_poll_descriptors(snd_hwdep_poll_descriptors_ARG_EXPAND); typedef int (*snd_hwdep_poll_descriptors_PTR)(snd_hwdep_poll_descriptors_ARG_EXPAND); -int snd_hwdep_poll_descriptors_revents(snd_hwdep_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_hwdep_poll_descriptors_revents(snd_hwdep_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_hwdep_poll_descriptors_revents_PTR)(snd_hwdep_poll_descriptors_revents_ARG_EXPAND); -ssize_t snd_hwdep_read(snd_hwdep_read_ARG_EXPAND); +ssize_t glshim_snd_hwdep_read(snd_hwdep_read_ARG_EXPAND); typedef ssize_t (*snd_hwdep_read_PTR)(snd_hwdep_read_ARG_EXPAND); -ssize_t snd_hwdep_write(snd_hwdep_write_ARG_EXPAND); +ssize_t glshim_snd_hwdep_write(snd_hwdep_write_ARG_EXPAND); typedef ssize_t (*snd_hwdep_write_PTR)(snd_hwdep_write_ARG_EXPAND); -int snd_input_buffer_open(snd_input_buffer_open_ARG_EXPAND); +int glshim_snd_input_buffer_open(snd_input_buffer_open_ARG_EXPAND); typedef int (*snd_input_buffer_open_PTR)(snd_input_buffer_open_ARG_EXPAND); -int snd_input_close(snd_input_close_ARG_EXPAND); +int glshim_snd_input_close(snd_input_close_ARG_EXPAND); typedef int (*snd_input_close_PTR)(snd_input_close_ARG_EXPAND); -int snd_input_getc(snd_input_getc_ARG_EXPAND); +int glshim_snd_input_getc(snd_input_getc_ARG_EXPAND); typedef int (*snd_input_getc_PTR)(snd_input_getc_ARG_EXPAND); -char * snd_input_gets(snd_input_gets_ARG_EXPAND); +char * glshim_snd_input_gets(snd_input_gets_ARG_EXPAND); typedef char * (*snd_input_gets_PTR)(snd_input_gets_ARG_EXPAND); -int snd_input_stdio_attach(snd_input_stdio_attach_ARG_EXPAND); +int glshim_snd_input_stdio_attach(snd_input_stdio_attach_ARG_EXPAND); typedef int (*snd_input_stdio_attach_PTR)(snd_input_stdio_attach_ARG_EXPAND); -int snd_input_stdio_open(snd_input_stdio_open_ARG_EXPAND); +int glshim_snd_input_stdio_open(snd_input_stdio_open_ARG_EXPAND); typedef int (*snd_input_stdio_open_PTR)(snd_input_stdio_open_ARG_EXPAND); -int snd_input_ungetc(snd_input_ungetc_ARG_EXPAND); +int glshim_snd_input_ungetc(snd_input_ungetc_ARG_EXPAND); typedef int (*snd_input_ungetc_PTR)(snd_input_ungetc_ARG_EXPAND); -int snd_lib_error_set_handler(snd_lib_error_set_handler_ARG_EXPAND); +int glshim_snd_lib_error_set_handler(snd_lib_error_set_handler_ARG_EXPAND); typedef int (*snd_lib_error_set_handler_PTR)(snd_lib_error_set_handler_ARG_EXPAND); -long snd_midi_event_decode(snd_midi_event_decode_ARG_EXPAND); +long glshim_snd_midi_event_decode(snd_midi_event_decode_ARG_EXPAND); typedef long (*snd_midi_event_decode_PTR)(snd_midi_event_decode_ARG_EXPAND); -long snd_midi_event_encode(snd_midi_event_encode_ARG_EXPAND); +long glshim_snd_midi_event_encode(snd_midi_event_encode_ARG_EXPAND); typedef long (*snd_midi_event_encode_PTR)(snd_midi_event_encode_ARG_EXPAND); -int snd_midi_event_encode_byte(snd_midi_event_encode_byte_ARG_EXPAND); +int glshim_snd_midi_event_encode_byte(snd_midi_event_encode_byte_ARG_EXPAND); typedef int (*snd_midi_event_encode_byte_PTR)(snd_midi_event_encode_byte_ARG_EXPAND); -void snd_midi_event_free(snd_midi_event_free_ARG_EXPAND); +void glshim_snd_midi_event_free(snd_midi_event_free_ARG_EXPAND); typedef void (*snd_midi_event_free_PTR)(snd_midi_event_free_ARG_EXPAND); -void snd_midi_event_init(snd_midi_event_init_ARG_EXPAND); +void glshim_snd_midi_event_init(snd_midi_event_init_ARG_EXPAND); typedef void (*snd_midi_event_init_PTR)(snd_midi_event_init_ARG_EXPAND); -int snd_midi_event_new(snd_midi_event_new_ARG_EXPAND); +int glshim_snd_midi_event_new(snd_midi_event_new_ARG_EXPAND); typedef int (*snd_midi_event_new_PTR)(snd_midi_event_new_ARG_EXPAND); -void snd_midi_event_no_status(snd_midi_event_no_status_ARG_EXPAND); +void glshim_snd_midi_event_no_status(snd_midi_event_no_status_ARG_EXPAND); typedef void (*snd_midi_event_no_status_PTR)(snd_midi_event_no_status_ARG_EXPAND); -void snd_midi_event_reset_decode(snd_midi_event_reset_decode_ARG_EXPAND); +void glshim_snd_midi_event_reset_decode(snd_midi_event_reset_decode_ARG_EXPAND); typedef void (*snd_midi_event_reset_decode_PTR)(snd_midi_event_reset_decode_ARG_EXPAND); -void snd_midi_event_reset_encode(snd_midi_event_reset_encode_ARG_EXPAND); +void glshim_snd_midi_event_reset_encode(snd_midi_event_reset_encode_ARG_EXPAND); typedef void (*snd_midi_event_reset_encode_PTR)(snd_midi_event_reset_encode_ARG_EXPAND); -int snd_midi_event_resize_buffer(snd_midi_event_resize_buffer_ARG_EXPAND); +int glshim_snd_midi_event_resize_buffer(snd_midi_event_resize_buffer_ARG_EXPAND); typedef int (*snd_midi_event_resize_buffer_PTR)(snd_midi_event_resize_buffer_ARG_EXPAND); -int snd_mixer_attach(snd_mixer_attach_ARG_EXPAND); +int glshim_snd_mixer_attach(snd_mixer_attach_ARG_EXPAND); typedef int (*snd_mixer_attach_PTR)(snd_mixer_attach_ARG_EXPAND); -int snd_mixer_attach_hctl(snd_mixer_attach_hctl_ARG_EXPAND); +int glshim_snd_mixer_attach_hctl(snd_mixer_attach_hctl_ARG_EXPAND); typedef int (*snd_mixer_attach_hctl_PTR)(snd_mixer_attach_hctl_ARG_EXPAND); -void snd_mixer_class_copy(snd_mixer_class_copy_ARG_EXPAND); +void glshim_snd_mixer_class_copy(snd_mixer_class_copy_ARG_EXPAND); typedef void (*snd_mixer_class_copy_PTR)(snd_mixer_class_copy_ARG_EXPAND); -void snd_mixer_class_free(snd_mixer_class_free_ARG_EXPAND); +void glshim_snd_mixer_class_free(snd_mixer_class_free_ARG_EXPAND); typedef void (*snd_mixer_class_free_PTR)(snd_mixer_class_free_ARG_EXPAND); -snd_mixer_compare_t snd_mixer_class_get_compare(snd_mixer_class_get_compare_ARG_EXPAND); +snd_mixer_compare_t glshim_snd_mixer_class_get_compare(snd_mixer_class_get_compare_ARG_EXPAND); typedef snd_mixer_compare_t (*snd_mixer_class_get_compare_PTR)(snd_mixer_class_get_compare_ARG_EXPAND); -snd_mixer_event_t snd_mixer_class_get_event(snd_mixer_class_get_event_ARG_EXPAND); +snd_mixer_event_t glshim_snd_mixer_class_get_event(snd_mixer_class_get_event_ARG_EXPAND); typedef snd_mixer_event_t (*snd_mixer_class_get_event_PTR)(snd_mixer_class_get_event_ARG_EXPAND); -snd_mixer_t * snd_mixer_class_get_mixer(snd_mixer_class_get_mixer_ARG_EXPAND); +snd_mixer_t * glshim_snd_mixer_class_get_mixer(snd_mixer_class_get_mixer_ARG_EXPAND); typedef snd_mixer_t * (*snd_mixer_class_get_mixer_PTR)(snd_mixer_class_get_mixer_ARG_EXPAND); -void * snd_mixer_class_get_private(snd_mixer_class_get_private_ARG_EXPAND); +void * glshim_snd_mixer_class_get_private(snd_mixer_class_get_private_ARG_EXPAND); typedef void * (*snd_mixer_class_get_private_PTR)(snd_mixer_class_get_private_ARG_EXPAND); -int snd_mixer_class_malloc(snd_mixer_class_malloc_ARG_EXPAND); +int glshim_snd_mixer_class_malloc(snd_mixer_class_malloc_ARG_EXPAND); typedef int (*snd_mixer_class_malloc_PTR)(snd_mixer_class_malloc_ARG_EXPAND); -int snd_mixer_class_register(snd_mixer_class_register_ARG_EXPAND); +int glshim_snd_mixer_class_register(snd_mixer_class_register_ARG_EXPAND); typedef int (*snd_mixer_class_register_PTR)(snd_mixer_class_register_ARG_EXPAND); -int snd_mixer_class_set_compare(snd_mixer_class_set_compare_ARG_EXPAND); +int glshim_snd_mixer_class_set_compare(snd_mixer_class_set_compare_ARG_EXPAND); typedef int (*snd_mixer_class_set_compare_PTR)(snd_mixer_class_set_compare_ARG_EXPAND); -int snd_mixer_class_set_event(snd_mixer_class_set_event_ARG_EXPAND); +int glshim_snd_mixer_class_set_event(snd_mixer_class_set_event_ARG_EXPAND); typedef int (*snd_mixer_class_set_event_PTR)(snd_mixer_class_set_event_ARG_EXPAND); -int snd_mixer_class_set_private(snd_mixer_class_set_private_ARG_EXPAND); +int glshim_snd_mixer_class_set_private(snd_mixer_class_set_private_ARG_EXPAND); typedef int (*snd_mixer_class_set_private_PTR)(snd_mixer_class_set_private_ARG_EXPAND); -size_t snd_mixer_class_sizeof(snd_mixer_class_sizeof_ARG_EXPAND); +size_t glshim_snd_mixer_class_sizeof(snd_mixer_class_sizeof_ARG_EXPAND); typedef size_t (*snd_mixer_class_sizeof_PTR)(snd_mixer_class_sizeof_ARG_EXPAND); -int snd_mixer_class_unregister(snd_mixer_class_unregister_ARG_EXPAND); +int glshim_snd_mixer_class_unregister(snd_mixer_class_unregister_ARG_EXPAND); typedef int (*snd_mixer_class_unregister_PTR)(snd_mixer_class_unregister_ARG_EXPAND); -int snd_mixer_close(snd_mixer_close_ARG_EXPAND); +int glshim_snd_mixer_close(snd_mixer_close_ARG_EXPAND); typedef int (*snd_mixer_close_PTR)(snd_mixer_close_ARG_EXPAND); -int snd_mixer_detach(snd_mixer_detach_ARG_EXPAND); +int glshim_snd_mixer_detach(snd_mixer_detach_ARG_EXPAND); typedef int (*snd_mixer_detach_PTR)(snd_mixer_detach_ARG_EXPAND); -int snd_mixer_detach_hctl(snd_mixer_detach_hctl_ARG_EXPAND); +int glshim_snd_mixer_detach_hctl(snd_mixer_detach_hctl_ARG_EXPAND); typedef int (*snd_mixer_detach_hctl_PTR)(snd_mixer_detach_hctl_ARG_EXPAND); -int snd_mixer_elem_add(snd_mixer_elem_add_ARG_EXPAND); +int glshim_snd_mixer_elem_add(snd_mixer_elem_add_ARG_EXPAND); typedef int (*snd_mixer_elem_add_PTR)(snd_mixer_elem_add_ARG_EXPAND); -int snd_mixer_elem_attach(snd_mixer_elem_attach_ARG_EXPAND); +int glshim_snd_mixer_elem_attach(snd_mixer_elem_attach_ARG_EXPAND); typedef int (*snd_mixer_elem_attach_PTR)(snd_mixer_elem_attach_ARG_EXPAND); -int snd_mixer_elem_detach(snd_mixer_elem_detach_ARG_EXPAND); +int glshim_snd_mixer_elem_detach(snd_mixer_elem_detach_ARG_EXPAND); typedef int (*snd_mixer_elem_detach_PTR)(snd_mixer_elem_detach_ARG_EXPAND); -int snd_mixer_elem_empty(snd_mixer_elem_empty_ARG_EXPAND); +int glshim_snd_mixer_elem_empty(snd_mixer_elem_empty_ARG_EXPAND); typedef int (*snd_mixer_elem_empty_PTR)(snd_mixer_elem_empty_ARG_EXPAND); -void snd_mixer_elem_free(snd_mixer_elem_free_ARG_EXPAND); +void glshim_snd_mixer_elem_free(snd_mixer_elem_free_ARG_EXPAND); typedef void (*snd_mixer_elem_free_PTR)(snd_mixer_elem_free_ARG_EXPAND); -void * snd_mixer_elem_get_callback_private(snd_mixer_elem_get_callback_private_ARG_EXPAND); +void * glshim_snd_mixer_elem_get_callback_private(snd_mixer_elem_get_callback_private_ARG_EXPAND); typedef void * (*snd_mixer_elem_get_callback_private_PTR)(snd_mixer_elem_get_callback_private_ARG_EXPAND); -void * snd_mixer_elem_get_private(snd_mixer_elem_get_private_ARG_EXPAND); +void * glshim_snd_mixer_elem_get_private(snd_mixer_elem_get_private_ARG_EXPAND); typedef void * (*snd_mixer_elem_get_private_PTR)(snd_mixer_elem_get_private_ARG_EXPAND); -snd_mixer_elem_type_t snd_mixer_elem_get_type(snd_mixer_elem_get_type_ARG_EXPAND); +snd_mixer_elem_type_t glshim_snd_mixer_elem_get_type(snd_mixer_elem_get_type_ARG_EXPAND); typedef snd_mixer_elem_type_t (*snd_mixer_elem_get_type_PTR)(snd_mixer_elem_get_type_ARG_EXPAND); -int snd_mixer_elem_info(snd_mixer_elem_info_ARG_EXPAND); +int glshim_snd_mixer_elem_info(snd_mixer_elem_info_ARG_EXPAND); typedef int (*snd_mixer_elem_info_PTR)(snd_mixer_elem_info_ARG_EXPAND); -snd_mixer_elem_t * snd_mixer_elem_next(snd_mixer_elem_next_ARG_EXPAND); +snd_mixer_elem_t * glshim_snd_mixer_elem_next(snd_mixer_elem_next_ARG_EXPAND); typedef snd_mixer_elem_t * (*snd_mixer_elem_next_PTR)(snd_mixer_elem_next_ARG_EXPAND); -snd_mixer_elem_t * snd_mixer_elem_prev(snd_mixer_elem_prev_ARG_EXPAND); +snd_mixer_elem_t * glshim_snd_mixer_elem_prev(snd_mixer_elem_prev_ARG_EXPAND); typedef snd_mixer_elem_t * (*snd_mixer_elem_prev_PTR)(snd_mixer_elem_prev_ARG_EXPAND); -int snd_mixer_elem_remove(snd_mixer_elem_remove_ARG_EXPAND); +int glshim_snd_mixer_elem_remove(snd_mixer_elem_remove_ARG_EXPAND); typedef int (*snd_mixer_elem_remove_PTR)(snd_mixer_elem_remove_ARG_EXPAND); -void snd_mixer_elem_set_callback(snd_mixer_elem_set_callback_ARG_EXPAND); +void glshim_snd_mixer_elem_set_callback(snd_mixer_elem_set_callback_ARG_EXPAND); typedef void (*snd_mixer_elem_set_callback_PTR)(snd_mixer_elem_set_callback_ARG_EXPAND); -void snd_mixer_elem_set_callback_private(snd_mixer_elem_set_callback_private_ARG_EXPAND); +void glshim_snd_mixer_elem_set_callback_private(snd_mixer_elem_set_callback_private_ARG_EXPAND); typedef void (*snd_mixer_elem_set_callback_private_PTR)(snd_mixer_elem_set_callback_private_ARG_EXPAND); -int snd_mixer_elem_value(snd_mixer_elem_value_ARG_EXPAND); +int glshim_snd_mixer_elem_value(snd_mixer_elem_value_ARG_EXPAND); typedef int (*snd_mixer_elem_value_PTR)(snd_mixer_elem_value_ARG_EXPAND); -snd_mixer_elem_t * snd_mixer_find_selem(snd_mixer_find_selem_ARG_EXPAND); +snd_mixer_elem_t * glshim_snd_mixer_find_selem(snd_mixer_find_selem_ARG_EXPAND); typedef snd_mixer_elem_t * (*snd_mixer_find_selem_PTR)(snd_mixer_find_selem_ARG_EXPAND); -snd_mixer_elem_t * snd_mixer_first_elem(snd_mixer_first_elem_ARG_EXPAND); +snd_mixer_elem_t * glshim_snd_mixer_first_elem(snd_mixer_first_elem_ARG_EXPAND); typedef snd_mixer_elem_t * (*snd_mixer_first_elem_PTR)(snd_mixer_first_elem_ARG_EXPAND); -void snd_mixer_free(snd_mixer_free_ARG_EXPAND); +void glshim_snd_mixer_free(snd_mixer_free_ARG_EXPAND); typedef void (*snd_mixer_free_PTR)(snd_mixer_free_ARG_EXPAND); -void * snd_mixer_get_callback_private(snd_mixer_get_callback_private_ARG_EXPAND); +void * glshim_snd_mixer_get_callback_private(snd_mixer_get_callback_private_ARG_EXPAND); typedef void * (*snd_mixer_get_callback_private_PTR)(snd_mixer_get_callback_private_ARG_EXPAND); -unsigned int snd_mixer_get_count(snd_mixer_get_count_ARG_EXPAND); +unsigned int glshim_snd_mixer_get_count(snd_mixer_get_count_ARG_EXPAND); typedef unsigned int (*snd_mixer_get_count_PTR)(snd_mixer_get_count_ARG_EXPAND); -int snd_mixer_get_hctl(snd_mixer_get_hctl_ARG_EXPAND); +int glshim_snd_mixer_get_hctl(snd_mixer_get_hctl_ARG_EXPAND); typedef int (*snd_mixer_get_hctl_PTR)(snd_mixer_get_hctl_ARG_EXPAND); -int snd_mixer_handle_events(snd_mixer_handle_events_ARG_EXPAND); +int glshim_snd_mixer_handle_events(snd_mixer_handle_events_ARG_EXPAND); typedef int (*snd_mixer_handle_events_PTR)(snd_mixer_handle_events_ARG_EXPAND); -snd_mixer_elem_t * snd_mixer_last_elem(snd_mixer_last_elem_ARG_EXPAND); +snd_mixer_elem_t * glshim_snd_mixer_last_elem(snd_mixer_last_elem_ARG_EXPAND); typedef snd_mixer_elem_t * (*snd_mixer_last_elem_PTR)(snd_mixer_last_elem_ARG_EXPAND); -int snd_mixer_load(snd_mixer_load_ARG_EXPAND); +int glshim_snd_mixer_load(snd_mixer_load_ARG_EXPAND); typedef int (*snd_mixer_load_PTR)(snd_mixer_load_ARG_EXPAND); -int snd_mixer_open(snd_mixer_open_ARG_EXPAND); +int glshim_snd_mixer_open(snd_mixer_open_ARG_EXPAND); typedef int (*snd_mixer_open_PTR)(snd_mixer_open_ARG_EXPAND); -int snd_mixer_poll_descriptors(snd_mixer_poll_descriptors_ARG_EXPAND); +int glshim_snd_mixer_poll_descriptors(snd_mixer_poll_descriptors_ARG_EXPAND); typedef int (*snd_mixer_poll_descriptors_PTR)(snd_mixer_poll_descriptors_ARG_EXPAND); -int snd_mixer_poll_descriptors_count(snd_mixer_poll_descriptors_count_ARG_EXPAND); +int glshim_snd_mixer_poll_descriptors_count(snd_mixer_poll_descriptors_count_ARG_EXPAND); typedef int (*snd_mixer_poll_descriptors_count_PTR)(snd_mixer_poll_descriptors_count_ARG_EXPAND); -int snd_mixer_poll_descriptors_revents(snd_mixer_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_mixer_poll_descriptors_revents(snd_mixer_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_mixer_poll_descriptors_revents_PTR)(snd_mixer_poll_descriptors_revents_ARG_EXPAND); -const char * snd_mixer_selem_channel_name(snd_mixer_selem_channel_name_ARG_EXPAND); +const char * glshim_snd_mixer_selem_channel_name(snd_mixer_selem_channel_name_ARG_EXPAND); typedef const char * (*snd_mixer_selem_channel_name_PTR)(snd_mixer_selem_channel_name_ARG_EXPAND); -int snd_mixer_selem_get_capture_dB(snd_mixer_selem_get_capture_dB_ARG_EXPAND); +int glshim_snd_mixer_selem_get_capture_dB(snd_mixer_selem_get_capture_dB_ARG_EXPAND); typedef int (*snd_mixer_selem_get_capture_dB_PTR)(snd_mixer_selem_get_capture_dB_ARG_EXPAND); -int snd_mixer_selem_get_capture_dB_range(snd_mixer_selem_get_capture_dB_range_ARG_EXPAND); +int glshim_snd_mixer_selem_get_capture_dB_range(snd_mixer_selem_get_capture_dB_range_ARG_EXPAND); typedef int (*snd_mixer_selem_get_capture_dB_range_PTR)(snd_mixer_selem_get_capture_dB_range_ARG_EXPAND); -int snd_mixer_selem_get_capture_group(snd_mixer_selem_get_capture_group_ARG_EXPAND); +int glshim_snd_mixer_selem_get_capture_group(snd_mixer_selem_get_capture_group_ARG_EXPAND); typedef int (*snd_mixer_selem_get_capture_group_PTR)(snd_mixer_selem_get_capture_group_ARG_EXPAND); -int snd_mixer_selem_get_capture_switch(snd_mixer_selem_get_capture_switch_ARG_EXPAND); +int glshim_snd_mixer_selem_get_capture_switch(snd_mixer_selem_get_capture_switch_ARG_EXPAND); typedef int (*snd_mixer_selem_get_capture_switch_PTR)(snd_mixer_selem_get_capture_switch_ARG_EXPAND); -int snd_mixer_selem_get_capture_volume(snd_mixer_selem_get_capture_volume_ARG_EXPAND); +int glshim_snd_mixer_selem_get_capture_volume(snd_mixer_selem_get_capture_volume_ARG_EXPAND); typedef int (*snd_mixer_selem_get_capture_volume_PTR)(snd_mixer_selem_get_capture_volume_ARG_EXPAND); -int snd_mixer_selem_get_capture_volume_range(snd_mixer_selem_get_capture_volume_range_ARG_EXPAND); +int glshim_snd_mixer_selem_get_capture_volume_range(snd_mixer_selem_get_capture_volume_range_ARG_EXPAND); typedef int (*snd_mixer_selem_get_capture_volume_range_PTR)(snd_mixer_selem_get_capture_volume_range_ARG_EXPAND); -int snd_mixer_selem_get_enum_item(snd_mixer_selem_get_enum_item_ARG_EXPAND); +int glshim_snd_mixer_selem_get_enum_item(snd_mixer_selem_get_enum_item_ARG_EXPAND); typedef int (*snd_mixer_selem_get_enum_item_PTR)(snd_mixer_selem_get_enum_item_ARG_EXPAND); -int snd_mixer_selem_get_enum_item_name(snd_mixer_selem_get_enum_item_name_ARG_EXPAND); +int glshim_snd_mixer_selem_get_enum_item_name(snd_mixer_selem_get_enum_item_name_ARG_EXPAND); typedef int (*snd_mixer_selem_get_enum_item_name_PTR)(snd_mixer_selem_get_enum_item_name_ARG_EXPAND); -int snd_mixer_selem_get_enum_items(snd_mixer_selem_get_enum_items_ARG_EXPAND); +int glshim_snd_mixer_selem_get_enum_items(snd_mixer_selem_get_enum_items_ARG_EXPAND); typedef int (*snd_mixer_selem_get_enum_items_PTR)(snd_mixer_selem_get_enum_items_ARG_EXPAND); -void snd_mixer_selem_get_id(snd_mixer_selem_get_id_ARG_EXPAND); +void glshim_snd_mixer_selem_get_id(snd_mixer_selem_get_id_ARG_EXPAND); typedef void (*snd_mixer_selem_get_id_PTR)(snd_mixer_selem_get_id_ARG_EXPAND); -unsigned int snd_mixer_selem_get_index(snd_mixer_selem_get_index_ARG_EXPAND); +unsigned int glshim_snd_mixer_selem_get_index(snd_mixer_selem_get_index_ARG_EXPAND); typedef unsigned int (*snd_mixer_selem_get_index_PTR)(snd_mixer_selem_get_index_ARG_EXPAND); -const char * snd_mixer_selem_get_name(snd_mixer_selem_get_name_ARG_EXPAND); +const char * glshim_snd_mixer_selem_get_name(snd_mixer_selem_get_name_ARG_EXPAND); typedef const char * (*snd_mixer_selem_get_name_PTR)(snd_mixer_selem_get_name_ARG_EXPAND); -int snd_mixer_selem_get_playback_dB(snd_mixer_selem_get_playback_dB_ARG_EXPAND); +int glshim_snd_mixer_selem_get_playback_dB(snd_mixer_selem_get_playback_dB_ARG_EXPAND); typedef int (*snd_mixer_selem_get_playback_dB_PTR)(snd_mixer_selem_get_playback_dB_ARG_EXPAND); -int snd_mixer_selem_get_playback_dB_range(snd_mixer_selem_get_playback_dB_range_ARG_EXPAND); +int glshim_snd_mixer_selem_get_playback_dB_range(snd_mixer_selem_get_playback_dB_range_ARG_EXPAND); typedef int (*snd_mixer_selem_get_playback_dB_range_PTR)(snd_mixer_selem_get_playback_dB_range_ARG_EXPAND); -int snd_mixer_selem_get_playback_switch(snd_mixer_selem_get_playback_switch_ARG_EXPAND); +int glshim_snd_mixer_selem_get_playback_switch(snd_mixer_selem_get_playback_switch_ARG_EXPAND); typedef int (*snd_mixer_selem_get_playback_switch_PTR)(snd_mixer_selem_get_playback_switch_ARG_EXPAND); -int snd_mixer_selem_get_playback_volume(snd_mixer_selem_get_playback_volume_ARG_EXPAND); +int glshim_snd_mixer_selem_get_playback_volume(snd_mixer_selem_get_playback_volume_ARG_EXPAND); typedef int (*snd_mixer_selem_get_playback_volume_PTR)(snd_mixer_selem_get_playback_volume_ARG_EXPAND); -int snd_mixer_selem_get_playback_volume_range(snd_mixer_selem_get_playback_volume_range_ARG_EXPAND); +int glshim_snd_mixer_selem_get_playback_volume_range(snd_mixer_selem_get_playback_volume_range_ARG_EXPAND); typedef int (*snd_mixer_selem_get_playback_volume_range_PTR)(snd_mixer_selem_get_playback_volume_range_ARG_EXPAND); -int snd_mixer_selem_has_capture_channel(snd_mixer_selem_has_capture_channel_ARG_EXPAND); +int glshim_snd_mixer_selem_has_capture_channel(snd_mixer_selem_has_capture_channel_ARG_EXPAND); typedef int (*snd_mixer_selem_has_capture_channel_PTR)(snd_mixer_selem_has_capture_channel_ARG_EXPAND); -int snd_mixer_selem_has_capture_switch(snd_mixer_selem_has_capture_switch_ARG_EXPAND); +int glshim_snd_mixer_selem_has_capture_switch(snd_mixer_selem_has_capture_switch_ARG_EXPAND); typedef int (*snd_mixer_selem_has_capture_switch_PTR)(snd_mixer_selem_has_capture_switch_ARG_EXPAND); -int snd_mixer_selem_has_capture_switch_exclusive(snd_mixer_selem_has_capture_switch_exclusive_ARG_EXPAND); +int glshim_snd_mixer_selem_has_capture_switch_exclusive(snd_mixer_selem_has_capture_switch_exclusive_ARG_EXPAND); typedef int (*snd_mixer_selem_has_capture_switch_exclusive_PTR)(snd_mixer_selem_has_capture_switch_exclusive_ARG_EXPAND); -int snd_mixer_selem_has_capture_switch_joined(snd_mixer_selem_has_capture_switch_joined_ARG_EXPAND); +int glshim_snd_mixer_selem_has_capture_switch_joined(snd_mixer_selem_has_capture_switch_joined_ARG_EXPAND); typedef int (*snd_mixer_selem_has_capture_switch_joined_PTR)(snd_mixer_selem_has_capture_switch_joined_ARG_EXPAND); -int snd_mixer_selem_has_capture_volume(snd_mixer_selem_has_capture_volume_ARG_EXPAND); +int glshim_snd_mixer_selem_has_capture_volume(snd_mixer_selem_has_capture_volume_ARG_EXPAND); typedef int (*snd_mixer_selem_has_capture_volume_PTR)(snd_mixer_selem_has_capture_volume_ARG_EXPAND); -int snd_mixer_selem_has_capture_volume_joined(snd_mixer_selem_has_capture_volume_joined_ARG_EXPAND); +int glshim_snd_mixer_selem_has_capture_volume_joined(snd_mixer_selem_has_capture_volume_joined_ARG_EXPAND); typedef int (*snd_mixer_selem_has_capture_volume_joined_PTR)(snd_mixer_selem_has_capture_volume_joined_ARG_EXPAND); -int snd_mixer_selem_has_common_switch(snd_mixer_selem_has_common_switch_ARG_EXPAND); +int glshim_snd_mixer_selem_has_common_switch(snd_mixer_selem_has_common_switch_ARG_EXPAND); typedef int (*snd_mixer_selem_has_common_switch_PTR)(snd_mixer_selem_has_common_switch_ARG_EXPAND); -int snd_mixer_selem_has_common_volume(snd_mixer_selem_has_common_volume_ARG_EXPAND); +int glshim_snd_mixer_selem_has_common_volume(snd_mixer_selem_has_common_volume_ARG_EXPAND); typedef int (*snd_mixer_selem_has_common_volume_PTR)(snd_mixer_selem_has_common_volume_ARG_EXPAND); -int snd_mixer_selem_has_playback_channel(snd_mixer_selem_has_playback_channel_ARG_EXPAND); +int glshim_snd_mixer_selem_has_playback_channel(snd_mixer_selem_has_playback_channel_ARG_EXPAND); typedef int (*snd_mixer_selem_has_playback_channel_PTR)(snd_mixer_selem_has_playback_channel_ARG_EXPAND); -int snd_mixer_selem_has_playback_switch(snd_mixer_selem_has_playback_switch_ARG_EXPAND); +int glshim_snd_mixer_selem_has_playback_switch(snd_mixer_selem_has_playback_switch_ARG_EXPAND); typedef int (*snd_mixer_selem_has_playback_switch_PTR)(snd_mixer_selem_has_playback_switch_ARG_EXPAND); -int snd_mixer_selem_has_playback_switch_joined(snd_mixer_selem_has_playback_switch_joined_ARG_EXPAND); +int glshim_snd_mixer_selem_has_playback_switch_joined(snd_mixer_selem_has_playback_switch_joined_ARG_EXPAND); typedef int (*snd_mixer_selem_has_playback_switch_joined_PTR)(snd_mixer_selem_has_playback_switch_joined_ARG_EXPAND); -int snd_mixer_selem_has_playback_volume(snd_mixer_selem_has_playback_volume_ARG_EXPAND); +int glshim_snd_mixer_selem_has_playback_volume(snd_mixer_selem_has_playback_volume_ARG_EXPAND); typedef int (*snd_mixer_selem_has_playback_volume_PTR)(snd_mixer_selem_has_playback_volume_ARG_EXPAND); -int snd_mixer_selem_has_playback_volume_joined(snd_mixer_selem_has_playback_volume_joined_ARG_EXPAND); +int glshim_snd_mixer_selem_has_playback_volume_joined(snd_mixer_selem_has_playback_volume_joined_ARG_EXPAND); typedef int (*snd_mixer_selem_has_playback_volume_joined_PTR)(snd_mixer_selem_has_playback_volume_joined_ARG_EXPAND); -void snd_mixer_selem_id_copy(snd_mixer_selem_id_copy_ARG_EXPAND); +void glshim_snd_mixer_selem_id_copy(snd_mixer_selem_id_copy_ARG_EXPAND); typedef void (*snd_mixer_selem_id_copy_PTR)(snd_mixer_selem_id_copy_ARG_EXPAND); -void snd_mixer_selem_id_free(snd_mixer_selem_id_free_ARG_EXPAND); +void glshim_snd_mixer_selem_id_free(snd_mixer_selem_id_free_ARG_EXPAND); typedef void (*snd_mixer_selem_id_free_PTR)(snd_mixer_selem_id_free_ARG_EXPAND); -unsigned int snd_mixer_selem_id_get_index(snd_mixer_selem_id_get_index_ARG_EXPAND); +unsigned int glshim_snd_mixer_selem_id_get_index(snd_mixer_selem_id_get_index_ARG_EXPAND); typedef unsigned int (*snd_mixer_selem_id_get_index_PTR)(snd_mixer_selem_id_get_index_ARG_EXPAND); -const char * snd_mixer_selem_id_get_name(snd_mixer_selem_id_get_name_ARG_EXPAND); +const char * glshim_snd_mixer_selem_id_get_name(snd_mixer_selem_id_get_name_ARG_EXPAND); typedef const char * (*snd_mixer_selem_id_get_name_PTR)(snd_mixer_selem_id_get_name_ARG_EXPAND); -int snd_mixer_selem_id_malloc(snd_mixer_selem_id_malloc_ARG_EXPAND); +int glshim_snd_mixer_selem_id_malloc(snd_mixer_selem_id_malloc_ARG_EXPAND); typedef int (*snd_mixer_selem_id_malloc_PTR)(snd_mixer_selem_id_malloc_ARG_EXPAND); -void snd_mixer_selem_id_set_index(snd_mixer_selem_id_set_index_ARG_EXPAND); +void glshim_snd_mixer_selem_id_set_index(snd_mixer_selem_id_set_index_ARG_EXPAND); typedef void (*snd_mixer_selem_id_set_index_PTR)(snd_mixer_selem_id_set_index_ARG_EXPAND); -void snd_mixer_selem_id_set_name(snd_mixer_selem_id_set_name_ARG_EXPAND); +void glshim_snd_mixer_selem_id_set_name(snd_mixer_selem_id_set_name_ARG_EXPAND); typedef void (*snd_mixer_selem_id_set_name_PTR)(snd_mixer_selem_id_set_name_ARG_EXPAND); -size_t snd_mixer_selem_id_sizeof(snd_mixer_selem_id_sizeof_ARG_EXPAND); +size_t glshim_snd_mixer_selem_id_sizeof(snd_mixer_selem_id_sizeof_ARG_EXPAND); typedef size_t (*snd_mixer_selem_id_sizeof_PTR)(snd_mixer_selem_id_sizeof_ARG_EXPAND); -int snd_mixer_selem_is_active(snd_mixer_selem_is_active_ARG_EXPAND); +int glshim_snd_mixer_selem_is_active(snd_mixer_selem_is_active_ARG_EXPAND); typedef int (*snd_mixer_selem_is_active_PTR)(snd_mixer_selem_is_active_ARG_EXPAND); -int snd_mixer_selem_is_capture_mono(snd_mixer_selem_is_capture_mono_ARG_EXPAND); +int glshim_snd_mixer_selem_is_capture_mono(snd_mixer_selem_is_capture_mono_ARG_EXPAND); typedef int (*snd_mixer_selem_is_capture_mono_PTR)(snd_mixer_selem_is_capture_mono_ARG_EXPAND); -int snd_mixer_selem_is_enum_capture(snd_mixer_selem_is_enum_capture_ARG_EXPAND); +int glshim_snd_mixer_selem_is_enum_capture(snd_mixer_selem_is_enum_capture_ARG_EXPAND); typedef int (*snd_mixer_selem_is_enum_capture_PTR)(snd_mixer_selem_is_enum_capture_ARG_EXPAND); -int snd_mixer_selem_is_enum_playback(snd_mixer_selem_is_enum_playback_ARG_EXPAND); +int glshim_snd_mixer_selem_is_enum_playback(snd_mixer_selem_is_enum_playback_ARG_EXPAND); typedef int (*snd_mixer_selem_is_enum_playback_PTR)(snd_mixer_selem_is_enum_playback_ARG_EXPAND); -int snd_mixer_selem_is_enumerated(snd_mixer_selem_is_enumerated_ARG_EXPAND); +int glshim_snd_mixer_selem_is_enumerated(snd_mixer_selem_is_enumerated_ARG_EXPAND); typedef int (*snd_mixer_selem_is_enumerated_PTR)(snd_mixer_selem_is_enumerated_ARG_EXPAND); -int snd_mixer_selem_is_playback_mono(snd_mixer_selem_is_playback_mono_ARG_EXPAND); +int glshim_snd_mixer_selem_is_playback_mono(snd_mixer_selem_is_playback_mono_ARG_EXPAND); typedef int (*snd_mixer_selem_is_playback_mono_PTR)(snd_mixer_selem_is_playback_mono_ARG_EXPAND); -int snd_mixer_selem_register(snd_mixer_selem_register_ARG_EXPAND); +int glshim_snd_mixer_selem_register(snd_mixer_selem_register_ARG_EXPAND); typedef int (*snd_mixer_selem_register_PTR)(snd_mixer_selem_register_ARG_EXPAND); -int snd_mixer_selem_set_capture_dB(snd_mixer_selem_set_capture_dB_ARG_EXPAND); +int glshim_snd_mixer_selem_set_capture_dB(snd_mixer_selem_set_capture_dB_ARG_EXPAND); typedef int (*snd_mixer_selem_set_capture_dB_PTR)(snd_mixer_selem_set_capture_dB_ARG_EXPAND); -int snd_mixer_selem_set_capture_dB_all(snd_mixer_selem_set_capture_dB_all_ARG_EXPAND); +int glshim_snd_mixer_selem_set_capture_dB_all(snd_mixer_selem_set_capture_dB_all_ARG_EXPAND); typedef int (*snd_mixer_selem_set_capture_dB_all_PTR)(snd_mixer_selem_set_capture_dB_all_ARG_EXPAND); -int snd_mixer_selem_set_capture_switch(snd_mixer_selem_set_capture_switch_ARG_EXPAND); +int glshim_snd_mixer_selem_set_capture_switch(snd_mixer_selem_set_capture_switch_ARG_EXPAND); typedef int (*snd_mixer_selem_set_capture_switch_PTR)(snd_mixer_selem_set_capture_switch_ARG_EXPAND); -int snd_mixer_selem_set_capture_switch_all(snd_mixer_selem_set_capture_switch_all_ARG_EXPAND); +int glshim_snd_mixer_selem_set_capture_switch_all(snd_mixer_selem_set_capture_switch_all_ARG_EXPAND); typedef int (*snd_mixer_selem_set_capture_switch_all_PTR)(snd_mixer_selem_set_capture_switch_all_ARG_EXPAND); -int snd_mixer_selem_set_capture_volume(snd_mixer_selem_set_capture_volume_ARG_EXPAND); +int glshim_snd_mixer_selem_set_capture_volume(snd_mixer_selem_set_capture_volume_ARG_EXPAND); typedef int (*snd_mixer_selem_set_capture_volume_PTR)(snd_mixer_selem_set_capture_volume_ARG_EXPAND); -int snd_mixer_selem_set_capture_volume_all(snd_mixer_selem_set_capture_volume_all_ARG_EXPAND); +int glshim_snd_mixer_selem_set_capture_volume_all(snd_mixer_selem_set_capture_volume_all_ARG_EXPAND); typedef int (*snd_mixer_selem_set_capture_volume_all_PTR)(snd_mixer_selem_set_capture_volume_all_ARG_EXPAND); -int snd_mixer_selem_set_capture_volume_range(snd_mixer_selem_set_capture_volume_range_ARG_EXPAND); +int glshim_snd_mixer_selem_set_capture_volume_range(snd_mixer_selem_set_capture_volume_range_ARG_EXPAND); typedef int (*snd_mixer_selem_set_capture_volume_range_PTR)(snd_mixer_selem_set_capture_volume_range_ARG_EXPAND); -int snd_mixer_selem_set_enum_item(snd_mixer_selem_set_enum_item_ARG_EXPAND); +int glshim_snd_mixer_selem_set_enum_item(snd_mixer_selem_set_enum_item_ARG_EXPAND); typedef int (*snd_mixer_selem_set_enum_item_PTR)(snd_mixer_selem_set_enum_item_ARG_EXPAND); -int snd_mixer_selem_set_playback_dB(snd_mixer_selem_set_playback_dB_ARG_EXPAND); +int glshim_snd_mixer_selem_set_playback_dB(snd_mixer_selem_set_playback_dB_ARG_EXPAND); typedef int (*snd_mixer_selem_set_playback_dB_PTR)(snd_mixer_selem_set_playback_dB_ARG_EXPAND); -int snd_mixer_selem_set_playback_dB_all(snd_mixer_selem_set_playback_dB_all_ARG_EXPAND); +int glshim_snd_mixer_selem_set_playback_dB_all(snd_mixer_selem_set_playback_dB_all_ARG_EXPAND); typedef int (*snd_mixer_selem_set_playback_dB_all_PTR)(snd_mixer_selem_set_playback_dB_all_ARG_EXPAND); -int snd_mixer_selem_set_playback_switch(snd_mixer_selem_set_playback_switch_ARG_EXPAND); +int glshim_snd_mixer_selem_set_playback_switch(snd_mixer_selem_set_playback_switch_ARG_EXPAND); typedef int (*snd_mixer_selem_set_playback_switch_PTR)(snd_mixer_selem_set_playback_switch_ARG_EXPAND); -int snd_mixer_selem_set_playback_switch_all(snd_mixer_selem_set_playback_switch_all_ARG_EXPAND); +int glshim_snd_mixer_selem_set_playback_switch_all(snd_mixer_selem_set_playback_switch_all_ARG_EXPAND); typedef int (*snd_mixer_selem_set_playback_switch_all_PTR)(snd_mixer_selem_set_playback_switch_all_ARG_EXPAND); -int snd_mixer_selem_set_playback_volume(snd_mixer_selem_set_playback_volume_ARG_EXPAND); +int glshim_snd_mixer_selem_set_playback_volume(snd_mixer_selem_set_playback_volume_ARG_EXPAND); typedef int (*snd_mixer_selem_set_playback_volume_PTR)(snd_mixer_selem_set_playback_volume_ARG_EXPAND); -int snd_mixer_selem_set_playback_volume_all(snd_mixer_selem_set_playback_volume_all_ARG_EXPAND); +int glshim_snd_mixer_selem_set_playback_volume_all(snd_mixer_selem_set_playback_volume_all_ARG_EXPAND); typedef int (*snd_mixer_selem_set_playback_volume_all_PTR)(snd_mixer_selem_set_playback_volume_all_ARG_EXPAND); -int snd_mixer_selem_set_playback_volume_range(snd_mixer_selem_set_playback_volume_range_ARG_EXPAND); +int glshim_snd_mixer_selem_set_playback_volume_range(snd_mixer_selem_set_playback_volume_range_ARG_EXPAND); typedef int (*snd_mixer_selem_set_playback_volume_range_PTR)(snd_mixer_selem_set_playback_volume_range_ARG_EXPAND); -void snd_mixer_set_callback(snd_mixer_set_callback_ARG_EXPAND); +void glshim_snd_mixer_set_callback(snd_mixer_set_callback_ARG_EXPAND); typedef void (*snd_mixer_set_callback_PTR)(snd_mixer_set_callback_ARG_EXPAND); -void snd_mixer_set_callback_private(snd_mixer_set_callback_private_ARG_EXPAND); +void glshim_snd_mixer_set_callback_private(snd_mixer_set_callback_private_ARG_EXPAND); typedef void (*snd_mixer_set_callback_private_PTR)(snd_mixer_set_callback_private_ARG_EXPAND); -int snd_mixer_set_compare(snd_mixer_set_compare_ARG_EXPAND); +int glshim_snd_mixer_set_compare(snd_mixer_set_compare_ARG_EXPAND); typedef int (*snd_mixer_set_compare_PTR)(snd_mixer_set_compare_ARG_EXPAND); -int snd_mixer_wait(snd_mixer_wait_ARG_EXPAND); +int glshim_snd_mixer_wait(snd_mixer_wait_ARG_EXPAND); typedef int (*snd_mixer_wait_PTR)(snd_mixer_wait_ARG_EXPAND); -int snd_names_list(snd_names_list_ARG_EXPAND); +int glshim_snd_names_list(snd_names_list_ARG_EXPAND); typedef int (*snd_names_list_PTR)(snd_names_list_ARG_EXPAND); -void snd_names_list_free(snd_names_list_free_ARG_EXPAND); +void glshim_snd_names_list_free(snd_names_list_free_ARG_EXPAND); typedef void (*snd_names_list_free_PTR)(snd_names_list_free_ARG_EXPAND); -int snd_output_buffer_open(snd_output_buffer_open_ARG_EXPAND); +int glshim_snd_output_buffer_open(snd_output_buffer_open_ARG_EXPAND); typedef int (*snd_output_buffer_open_PTR)(snd_output_buffer_open_ARG_EXPAND); -size_t snd_output_buffer_string(snd_output_buffer_string_ARG_EXPAND); +size_t glshim_snd_output_buffer_string(snd_output_buffer_string_ARG_EXPAND); typedef size_t (*snd_output_buffer_string_PTR)(snd_output_buffer_string_ARG_EXPAND); -int snd_output_close(snd_output_close_ARG_EXPAND); +int glshim_snd_output_close(snd_output_close_ARG_EXPAND); typedef int (*snd_output_close_PTR)(snd_output_close_ARG_EXPAND); -int snd_output_flush(snd_output_flush_ARG_EXPAND); +int glshim_snd_output_flush(snd_output_flush_ARG_EXPAND); typedef int (*snd_output_flush_PTR)(snd_output_flush_ARG_EXPAND); -int snd_output_putc(snd_output_putc_ARG_EXPAND); +int glshim_snd_output_putc(snd_output_putc_ARG_EXPAND); typedef int (*snd_output_putc_PTR)(snd_output_putc_ARG_EXPAND); -int snd_output_puts(snd_output_puts_ARG_EXPAND); +int glshim_snd_output_puts(snd_output_puts_ARG_EXPAND); typedef int (*snd_output_puts_PTR)(snd_output_puts_ARG_EXPAND); -int snd_output_stdio_attach(snd_output_stdio_attach_ARG_EXPAND); +int glshim_snd_output_stdio_attach(snd_output_stdio_attach_ARG_EXPAND); typedef int (*snd_output_stdio_attach_PTR)(snd_output_stdio_attach_ARG_EXPAND); -int snd_output_stdio_open(snd_output_stdio_open_ARG_EXPAND); +int glshim_snd_output_stdio_open(snd_output_stdio_open_ARG_EXPAND); typedef int (*snd_output_stdio_open_PTR)(snd_output_stdio_open_ARG_EXPAND); -int snd_output_vprintf(snd_output_vprintf_ARG_EXPAND); +int glshim_snd_output_vprintf(snd_output_vprintf_ARG_EXPAND); typedef int (*snd_output_vprintf_PTR)(snd_output_vprintf_ARG_EXPAND); -void snd_pcm_access_mask_any(snd_pcm_access_mask_any_ARG_EXPAND); +void glshim_snd_pcm_access_mask_any(snd_pcm_access_mask_any_ARG_EXPAND); typedef void (*snd_pcm_access_mask_any_PTR)(snd_pcm_access_mask_any_ARG_EXPAND); -void snd_pcm_access_mask_copy(snd_pcm_access_mask_copy_ARG_EXPAND); +void glshim_snd_pcm_access_mask_copy(snd_pcm_access_mask_copy_ARG_EXPAND); typedef void (*snd_pcm_access_mask_copy_PTR)(snd_pcm_access_mask_copy_ARG_EXPAND); -int snd_pcm_access_mask_empty(snd_pcm_access_mask_empty_ARG_EXPAND); +int glshim_snd_pcm_access_mask_empty(snd_pcm_access_mask_empty_ARG_EXPAND); typedef int (*snd_pcm_access_mask_empty_PTR)(snd_pcm_access_mask_empty_ARG_EXPAND); -void snd_pcm_access_mask_free(snd_pcm_access_mask_free_ARG_EXPAND); +void glshim_snd_pcm_access_mask_free(snd_pcm_access_mask_free_ARG_EXPAND); typedef void (*snd_pcm_access_mask_free_PTR)(snd_pcm_access_mask_free_ARG_EXPAND); -int snd_pcm_access_mask_malloc(snd_pcm_access_mask_malloc_ARG_EXPAND); +int glshim_snd_pcm_access_mask_malloc(snd_pcm_access_mask_malloc_ARG_EXPAND); typedef int (*snd_pcm_access_mask_malloc_PTR)(snd_pcm_access_mask_malloc_ARG_EXPAND); -void snd_pcm_access_mask_none(snd_pcm_access_mask_none_ARG_EXPAND); +void glshim_snd_pcm_access_mask_none(snd_pcm_access_mask_none_ARG_EXPAND); typedef void (*snd_pcm_access_mask_none_PTR)(snd_pcm_access_mask_none_ARG_EXPAND); -void snd_pcm_access_mask_reset(snd_pcm_access_mask_reset_ARG_EXPAND); +void glshim_snd_pcm_access_mask_reset(snd_pcm_access_mask_reset_ARG_EXPAND); typedef void (*snd_pcm_access_mask_reset_PTR)(snd_pcm_access_mask_reset_ARG_EXPAND); -void snd_pcm_access_mask_set(snd_pcm_access_mask_set_ARG_EXPAND); +void glshim_snd_pcm_access_mask_set(snd_pcm_access_mask_set_ARG_EXPAND); typedef void (*snd_pcm_access_mask_set_PTR)(snd_pcm_access_mask_set_ARG_EXPAND); -size_t snd_pcm_access_mask_sizeof(snd_pcm_access_mask_sizeof_ARG_EXPAND); +size_t glshim_snd_pcm_access_mask_sizeof(snd_pcm_access_mask_sizeof_ARG_EXPAND); typedef size_t (*snd_pcm_access_mask_sizeof_PTR)(snd_pcm_access_mask_sizeof_ARG_EXPAND); -int snd_pcm_access_mask_test(snd_pcm_access_mask_test_ARG_EXPAND); +int glshim_snd_pcm_access_mask_test(snd_pcm_access_mask_test_ARG_EXPAND); typedef int (*snd_pcm_access_mask_test_PTR)(snd_pcm_access_mask_test_ARG_EXPAND); -const char * snd_pcm_access_name(snd_pcm_access_name_ARG_EXPAND); +const char * glshim_snd_pcm_access_name(snd_pcm_access_name_ARG_EXPAND); typedef const char * (*snd_pcm_access_name_PTR)(snd_pcm_access_name_ARG_EXPAND); -int snd_pcm_area_copy(snd_pcm_area_copy_ARG_EXPAND); +int glshim_snd_pcm_area_copy(snd_pcm_area_copy_ARG_EXPAND); typedef int (*snd_pcm_area_copy_PTR)(snd_pcm_area_copy_ARG_EXPAND); -int snd_pcm_area_silence(snd_pcm_area_silence_ARG_EXPAND); +int glshim_snd_pcm_area_silence(snd_pcm_area_silence_ARG_EXPAND); typedef int (*snd_pcm_area_silence_PTR)(snd_pcm_area_silence_ARG_EXPAND); -int snd_pcm_areas_copy(snd_pcm_areas_copy_ARG_EXPAND); +int glshim_snd_pcm_areas_copy(snd_pcm_areas_copy_ARG_EXPAND); typedef int (*snd_pcm_areas_copy_PTR)(snd_pcm_areas_copy_ARG_EXPAND); -int snd_pcm_areas_silence(snd_pcm_areas_silence_ARG_EXPAND); +int glshim_snd_pcm_areas_silence(snd_pcm_areas_silence_ARG_EXPAND); typedef int (*snd_pcm_areas_silence_PTR)(snd_pcm_areas_silence_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_avail_update(snd_pcm_avail_update_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_avail_update(snd_pcm_avail_update_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_avail_update_PTR)(snd_pcm_avail_update_ARG_EXPAND); -snd_pcm_format_t snd_pcm_build_linear_format(snd_pcm_build_linear_format_ARG_EXPAND); +snd_pcm_format_t glshim_snd_pcm_build_linear_format(snd_pcm_build_linear_format_ARG_EXPAND); typedef snd_pcm_format_t (*snd_pcm_build_linear_format_PTR)(snd_pcm_build_linear_format_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_bytes_to_frames(snd_pcm_bytes_to_frames_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_bytes_to_frames(snd_pcm_bytes_to_frames_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_bytes_to_frames_PTR)(snd_pcm_bytes_to_frames_ARG_EXPAND); -long snd_pcm_bytes_to_samples(snd_pcm_bytes_to_samples_ARG_EXPAND); +long glshim_snd_pcm_bytes_to_samples(snd_pcm_bytes_to_samples_ARG_EXPAND); typedef long (*snd_pcm_bytes_to_samples_PTR)(snd_pcm_bytes_to_samples_ARG_EXPAND); -int snd_pcm_close(snd_pcm_close_ARG_EXPAND); +int glshim_snd_pcm_close(snd_pcm_close_ARG_EXPAND); typedef int (*snd_pcm_close_PTR)(snd_pcm_close_ARG_EXPAND); -int snd_pcm_delay(snd_pcm_delay_ARG_EXPAND); +int glshim_snd_pcm_delay(snd_pcm_delay_ARG_EXPAND); typedef int (*snd_pcm_delay_PTR)(snd_pcm_delay_ARG_EXPAND); -int snd_pcm_drain(snd_pcm_drain_ARG_EXPAND); +int glshim_snd_pcm_drain(snd_pcm_drain_ARG_EXPAND); typedef int (*snd_pcm_drain_PTR)(snd_pcm_drain_ARG_EXPAND); -int snd_pcm_drop(snd_pcm_drop_ARG_EXPAND); +int glshim_snd_pcm_drop(snd_pcm_drop_ARG_EXPAND); typedef int (*snd_pcm_drop_PTR)(snd_pcm_drop_ARG_EXPAND); -int snd_pcm_dump(snd_pcm_dump_ARG_EXPAND); +int glshim_snd_pcm_dump(snd_pcm_dump_ARG_EXPAND); typedef int (*snd_pcm_dump_PTR)(snd_pcm_dump_ARG_EXPAND); -int snd_pcm_dump_hw_setup(snd_pcm_dump_hw_setup_ARG_EXPAND); +int glshim_snd_pcm_dump_hw_setup(snd_pcm_dump_hw_setup_ARG_EXPAND); typedef int (*snd_pcm_dump_hw_setup_PTR)(snd_pcm_dump_hw_setup_ARG_EXPAND); -int snd_pcm_dump_setup(snd_pcm_dump_setup_ARG_EXPAND); +int glshim_snd_pcm_dump_setup(snd_pcm_dump_setup_ARG_EXPAND); typedef int (*snd_pcm_dump_setup_PTR)(snd_pcm_dump_setup_ARG_EXPAND); -int snd_pcm_dump_sw_setup(snd_pcm_dump_sw_setup_ARG_EXPAND); +int glshim_snd_pcm_dump_sw_setup(snd_pcm_dump_sw_setup_ARG_EXPAND); typedef int (*snd_pcm_dump_sw_setup_PTR)(snd_pcm_dump_sw_setup_ARG_EXPAND); -int snd_pcm_format_big_endian(snd_pcm_format_big_endian_ARG_EXPAND); +int glshim_snd_pcm_format_big_endian(snd_pcm_format_big_endian_ARG_EXPAND); typedef int (*snd_pcm_format_big_endian_PTR)(snd_pcm_format_big_endian_ARG_EXPAND); -int snd_pcm_format_cpu_endian(snd_pcm_format_cpu_endian_ARG_EXPAND); +int glshim_snd_pcm_format_cpu_endian(snd_pcm_format_cpu_endian_ARG_EXPAND); typedef int (*snd_pcm_format_cpu_endian_PTR)(snd_pcm_format_cpu_endian_ARG_EXPAND); -const char * snd_pcm_format_description(snd_pcm_format_description_ARG_EXPAND); +const char * glshim_snd_pcm_format_description(snd_pcm_format_description_ARG_EXPAND); typedef const char * (*snd_pcm_format_description_PTR)(snd_pcm_format_description_ARG_EXPAND); -int snd_pcm_format_float(snd_pcm_format_float_ARG_EXPAND); +int glshim_snd_pcm_format_float(snd_pcm_format_float_ARG_EXPAND); typedef int (*snd_pcm_format_float_PTR)(snd_pcm_format_float_ARG_EXPAND); -int snd_pcm_format_linear(snd_pcm_format_linear_ARG_EXPAND); +int glshim_snd_pcm_format_linear(snd_pcm_format_linear_ARG_EXPAND); typedef int (*snd_pcm_format_linear_PTR)(snd_pcm_format_linear_ARG_EXPAND); -int snd_pcm_format_little_endian(snd_pcm_format_little_endian_ARG_EXPAND); +int glshim_snd_pcm_format_little_endian(snd_pcm_format_little_endian_ARG_EXPAND); typedef int (*snd_pcm_format_little_endian_PTR)(snd_pcm_format_little_endian_ARG_EXPAND); -void snd_pcm_format_mask_any(snd_pcm_format_mask_any_ARG_EXPAND); +void glshim_snd_pcm_format_mask_any(snd_pcm_format_mask_any_ARG_EXPAND); typedef void (*snd_pcm_format_mask_any_PTR)(snd_pcm_format_mask_any_ARG_EXPAND); -void snd_pcm_format_mask_copy(snd_pcm_format_mask_copy_ARG_EXPAND); +void glshim_snd_pcm_format_mask_copy(snd_pcm_format_mask_copy_ARG_EXPAND); typedef void (*snd_pcm_format_mask_copy_PTR)(snd_pcm_format_mask_copy_ARG_EXPAND); -int snd_pcm_format_mask_empty(snd_pcm_format_mask_empty_ARG_EXPAND); +int glshim_snd_pcm_format_mask_empty(snd_pcm_format_mask_empty_ARG_EXPAND); typedef int (*snd_pcm_format_mask_empty_PTR)(snd_pcm_format_mask_empty_ARG_EXPAND); -void snd_pcm_format_mask_free(snd_pcm_format_mask_free_ARG_EXPAND); +void glshim_snd_pcm_format_mask_free(snd_pcm_format_mask_free_ARG_EXPAND); typedef void (*snd_pcm_format_mask_free_PTR)(snd_pcm_format_mask_free_ARG_EXPAND); -int snd_pcm_format_mask_malloc(snd_pcm_format_mask_malloc_ARG_EXPAND); +int glshim_snd_pcm_format_mask_malloc(snd_pcm_format_mask_malloc_ARG_EXPAND); typedef int (*snd_pcm_format_mask_malloc_PTR)(snd_pcm_format_mask_malloc_ARG_EXPAND); -void snd_pcm_format_mask_none(snd_pcm_format_mask_none_ARG_EXPAND); +void glshim_snd_pcm_format_mask_none(snd_pcm_format_mask_none_ARG_EXPAND); typedef void (*snd_pcm_format_mask_none_PTR)(snd_pcm_format_mask_none_ARG_EXPAND); -void snd_pcm_format_mask_reset(snd_pcm_format_mask_reset_ARG_EXPAND); +void glshim_snd_pcm_format_mask_reset(snd_pcm_format_mask_reset_ARG_EXPAND); typedef void (*snd_pcm_format_mask_reset_PTR)(snd_pcm_format_mask_reset_ARG_EXPAND); -void snd_pcm_format_mask_set(snd_pcm_format_mask_set_ARG_EXPAND); +void glshim_snd_pcm_format_mask_set(snd_pcm_format_mask_set_ARG_EXPAND); typedef void (*snd_pcm_format_mask_set_PTR)(snd_pcm_format_mask_set_ARG_EXPAND); -size_t snd_pcm_format_mask_sizeof(snd_pcm_format_mask_sizeof_ARG_EXPAND); +size_t glshim_snd_pcm_format_mask_sizeof(snd_pcm_format_mask_sizeof_ARG_EXPAND); typedef size_t (*snd_pcm_format_mask_sizeof_PTR)(snd_pcm_format_mask_sizeof_ARG_EXPAND); -int snd_pcm_format_mask_test(snd_pcm_format_mask_test_ARG_EXPAND); +int glshim_snd_pcm_format_mask_test(snd_pcm_format_mask_test_ARG_EXPAND); typedef int (*snd_pcm_format_mask_test_PTR)(snd_pcm_format_mask_test_ARG_EXPAND); -const char * snd_pcm_format_name(snd_pcm_format_name_ARG_EXPAND); +const char * glshim_snd_pcm_format_name(snd_pcm_format_name_ARG_EXPAND); typedef const char * (*snd_pcm_format_name_PTR)(snd_pcm_format_name_ARG_EXPAND); -int snd_pcm_format_physical_width(snd_pcm_format_physical_width_ARG_EXPAND); +int glshim_snd_pcm_format_physical_width(snd_pcm_format_physical_width_ARG_EXPAND); typedef int (*snd_pcm_format_physical_width_PTR)(snd_pcm_format_physical_width_ARG_EXPAND); -int snd_pcm_format_set_silence(snd_pcm_format_set_silence_ARG_EXPAND); +int glshim_snd_pcm_format_set_silence(snd_pcm_format_set_silence_ARG_EXPAND); typedef int (*snd_pcm_format_set_silence_PTR)(snd_pcm_format_set_silence_ARG_EXPAND); -int snd_pcm_format_signed(snd_pcm_format_signed_ARG_EXPAND); +int glshim_snd_pcm_format_signed(snd_pcm_format_signed_ARG_EXPAND); typedef int (*snd_pcm_format_signed_PTR)(snd_pcm_format_signed_ARG_EXPAND); -u_int8_t snd_pcm_format_silence(snd_pcm_format_silence_ARG_EXPAND); +u_int8_t glshim_snd_pcm_format_silence(snd_pcm_format_silence_ARG_EXPAND); typedef u_int8_t (*snd_pcm_format_silence_PTR)(snd_pcm_format_silence_ARG_EXPAND); -u_int16_t snd_pcm_format_silence_16(snd_pcm_format_silence_16_ARG_EXPAND); +u_int16_t glshim_snd_pcm_format_silence_16(snd_pcm_format_silence_16_ARG_EXPAND); typedef u_int16_t (*snd_pcm_format_silence_16_PTR)(snd_pcm_format_silence_16_ARG_EXPAND); -u_int32_t snd_pcm_format_silence_32(snd_pcm_format_silence_32_ARG_EXPAND); +u_int32_t glshim_snd_pcm_format_silence_32(snd_pcm_format_silence_32_ARG_EXPAND); typedef u_int32_t (*snd_pcm_format_silence_32_PTR)(snd_pcm_format_silence_32_ARG_EXPAND); -u_int64_t snd_pcm_format_silence_64(snd_pcm_format_silence_64_ARG_EXPAND); +u_int64_t glshim_snd_pcm_format_silence_64(snd_pcm_format_silence_64_ARG_EXPAND); typedef u_int64_t (*snd_pcm_format_silence_64_PTR)(snd_pcm_format_silence_64_ARG_EXPAND); -ssize_t snd_pcm_format_size(snd_pcm_format_size_ARG_EXPAND); +ssize_t glshim_snd_pcm_format_size(snd_pcm_format_size_ARG_EXPAND); typedef ssize_t (*snd_pcm_format_size_PTR)(snd_pcm_format_size_ARG_EXPAND); -int snd_pcm_format_unsigned(snd_pcm_format_unsigned_ARG_EXPAND); +int glshim_snd_pcm_format_unsigned(snd_pcm_format_unsigned_ARG_EXPAND); typedef int (*snd_pcm_format_unsigned_PTR)(snd_pcm_format_unsigned_ARG_EXPAND); -snd_pcm_format_t snd_pcm_format_value(snd_pcm_format_value_ARG_EXPAND); +snd_pcm_format_t glshim_snd_pcm_format_value(snd_pcm_format_value_ARG_EXPAND); typedef snd_pcm_format_t (*snd_pcm_format_value_PTR)(snd_pcm_format_value_ARG_EXPAND); -int snd_pcm_format_width(snd_pcm_format_width_ARG_EXPAND); +int glshim_snd_pcm_format_width(snd_pcm_format_width_ARG_EXPAND); typedef int (*snd_pcm_format_width_PTR)(snd_pcm_format_width_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_forward(snd_pcm_forward_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_forward(snd_pcm_forward_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_forward_PTR)(snd_pcm_forward_ARG_EXPAND); -ssize_t snd_pcm_frames_to_bytes(snd_pcm_frames_to_bytes_ARG_EXPAND); +ssize_t glshim_snd_pcm_frames_to_bytes(snd_pcm_frames_to_bytes_ARG_EXPAND); typedef ssize_t (*snd_pcm_frames_to_bytes_PTR)(snd_pcm_frames_to_bytes_ARG_EXPAND); -int snd_pcm_get_params(snd_pcm_get_params_ARG_EXPAND); +int glshim_snd_pcm_get_params(snd_pcm_get_params_ARG_EXPAND); typedef int (*snd_pcm_get_params_PTR)(snd_pcm_get_params_ARG_EXPAND); -int snd_pcm_hook_add(snd_pcm_hook_add_ARG_EXPAND); +int glshim_snd_pcm_hook_add(snd_pcm_hook_add_ARG_EXPAND); typedef int (*snd_pcm_hook_add_PTR)(snd_pcm_hook_add_ARG_EXPAND); -snd_pcm_t * snd_pcm_hook_get_pcm(snd_pcm_hook_get_pcm_ARG_EXPAND); +snd_pcm_t * glshim_snd_pcm_hook_get_pcm(snd_pcm_hook_get_pcm_ARG_EXPAND); typedef snd_pcm_t * (*snd_pcm_hook_get_pcm_PTR)(snd_pcm_hook_get_pcm_ARG_EXPAND); -void * snd_pcm_hook_get_private(snd_pcm_hook_get_private_ARG_EXPAND); +void * glshim_snd_pcm_hook_get_private(snd_pcm_hook_get_private_ARG_EXPAND); typedef void * (*snd_pcm_hook_get_private_PTR)(snd_pcm_hook_get_private_ARG_EXPAND); -int snd_pcm_hook_remove(snd_pcm_hook_remove_ARG_EXPAND); +int glshim_snd_pcm_hook_remove(snd_pcm_hook_remove_ARG_EXPAND); typedef int (*snd_pcm_hook_remove_PTR)(snd_pcm_hook_remove_ARG_EXPAND); -void snd_pcm_hook_set_private(snd_pcm_hook_set_private_ARG_EXPAND); +void glshim_snd_pcm_hook_set_private(snd_pcm_hook_set_private_ARG_EXPAND); typedef void (*snd_pcm_hook_set_private_PTR)(snd_pcm_hook_set_private_ARG_EXPAND); -int snd_pcm_hw_free(snd_pcm_hw_free_ARG_EXPAND); +int glshim_snd_pcm_hw_free(snd_pcm_hw_free_ARG_EXPAND); typedef int (*snd_pcm_hw_free_PTR)(snd_pcm_hw_free_ARG_EXPAND); -int snd_pcm_hw_params(snd_pcm_hw_params_ARG_EXPAND); +int glshim_snd_pcm_hw_params(snd_pcm_hw_params_ARG_EXPAND); typedef int (*snd_pcm_hw_params_PTR)(snd_pcm_hw_params_ARG_EXPAND); -int snd_pcm_hw_params_any(snd_pcm_hw_params_any_ARG_EXPAND); +int glshim_snd_pcm_hw_params_any(snd_pcm_hw_params_any_ARG_EXPAND); typedef int (*snd_pcm_hw_params_any_PTR)(snd_pcm_hw_params_any_ARG_EXPAND); -int snd_pcm_hw_params_can_mmap_sample_resolution(snd_pcm_hw_params_can_mmap_sample_resolution_ARG_EXPAND); +int glshim_snd_pcm_hw_params_can_mmap_sample_resolution(snd_pcm_hw_params_can_mmap_sample_resolution_ARG_EXPAND); typedef int (*snd_pcm_hw_params_can_mmap_sample_resolution_PTR)(snd_pcm_hw_params_can_mmap_sample_resolution_ARG_EXPAND); -int snd_pcm_hw_params_can_overrange(snd_pcm_hw_params_can_overrange_ARG_EXPAND); +int glshim_snd_pcm_hw_params_can_overrange(snd_pcm_hw_params_can_overrange_ARG_EXPAND); typedef int (*snd_pcm_hw_params_can_overrange_PTR)(snd_pcm_hw_params_can_overrange_ARG_EXPAND); -int snd_pcm_hw_params_can_pause(snd_pcm_hw_params_can_pause_ARG_EXPAND); +int glshim_snd_pcm_hw_params_can_pause(snd_pcm_hw_params_can_pause_ARG_EXPAND); typedef int (*snd_pcm_hw_params_can_pause_PTR)(snd_pcm_hw_params_can_pause_ARG_EXPAND); -int snd_pcm_hw_params_can_resume(snd_pcm_hw_params_can_resume_ARG_EXPAND); +int glshim_snd_pcm_hw_params_can_resume(snd_pcm_hw_params_can_resume_ARG_EXPAND); typedef int (*snd_pcm_hw_params_can_resume_PTR)(snd_pcm_hw_params_can_resume_ARG_EXPAND); -int snd_pcm_hw_params_can_sync_start(snd_pcm_hw_params_can_sync_start_ARG_EXPAND); +int glshim_snd_pcm_hw_params_can_sync_start(snd_pcm_hw_params_can_sync_start_ARG_EXPAND); typedef int (*snd_pcm_hw_params_can_sync_start_PTR)(snd_pcm_hw_params_can_sync_start_ARG_EXPAND); -void snd_pcm_hw_params_copy(snd_pcm_hw_params_copy_ARG_EXPAND); +void glshim_snd_pcm_hw_params_copy(snd_pcm_hw_params_copy_ARG_EXPAND); typedef void (*snd_pcm_hw_params_copy_PTR)(snd_pcm_hw_params_copy_ARG_EXPAND); -int snd_pcm_hw_params_current(snd_pcm_hw_params_current_ARG_EXPAND); +int glshim_snd_pcm_hw_params_current(snd_pcm_hw_params_current_ARG_EXPAND); typedef int (*snd_pcm_hw_params_current_PTR)(snd_pcm_hw_params_current_ARG_EXPAND); -int snd_pcm_hw_params_dump(snd_pcm_hw_params_dump_ARG_EXPAND); +int glshim_snd_pcm_hw_params_dump(snd_pcm_hw_params_dump_ARG_EXPAND); typedef int (*snd_pcm_hw_params_dump_PTR)(snd_pcm_hw_params_dump_ARG_EXPAND); -void snd_pcm_hw_params_free(snd_pcm_hw_params_free_ARG_EXPAND); +void glshim_snd_pcm_hw_params_free(snd_pcm_hw_params_free_ARG_EXPAND); typedef void (*snd_pcm_hw_params_free_PTR)(snd_pcm_hw_params_free_ARG_EXPAND); -int snd_pcm_hw_params_get_access(snd_pcm_hw_params_get_access_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_access(snd_pcm_hw_params_get_access_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_access_PTR)(snd_pcm_hw_params_get_access_ARG_EXPAND); -int snd_pcm_hw_params_get_access_mask(snd_pcm_hw_params_get_access_mask_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_access_mask(snd_pcm_hw_params_get_access_mask_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_access_mask_PTR)(snd_pcm_hw_params_get_access_mask_ARG_EXPAND); -int snd_pcm_hw_params_get_buffer_size(snd_pcm_hw_params_get_buffer_size_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_buffer_size(snd_pcm_hw_params_get_buffer_size_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_buffer_size_PTR)(snd_pcm_hw_params_get_buffer_size_ARG_EXPAND); -int snd_pcm_hw_params_get_buffer_size_max(snd_pcm_hw_params_get_buffer_size_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_buffer_size_max(snd_pcm_hw_params_get_buffer_size_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_buffer_size_max_PTR)(snd_pcm_hw_params_get_buffer_size_max_ARG_EXPAND); -int snd_pcm_hw_params_get_buffer_size_min(snd_pcm_hw_params_get_buffer_size_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_buffer_size_min(snd_pcm_hw_params_get_buffer_size_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_buffer_size_min_PTR)(snd_pcm_hw_params_get_buffer_size_min_ARG_EXPAND); -int snd_pcm_hw_params_get_buffer_time(snd_pcm_hw_params_get_buffer_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_buffer_time(snd_pcm_hw_params_get_buffer_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_buffer_time_PTR)(snd_pcm_hw_params_get_buffer_time_ARG_EXPAND); -int snd_pcm_hw_params_get_buffer_time_max(snd_pcm_hw_params_get_buffer_time_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_buffer_time_max(snd_pcm_hw_params_get_buffer_time_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_buffer_time_max_PTR)(snd_pcm_hw_params_get_buffer_time_max_ARG_EXPAND); -int snd_pcm_hw_params_get_buffer_time_min(snd_pcm_hw_params_get_buffer_time_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_buffer_time_min(snd_pcm_hw_params_get_buffer_time_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_buffer_time_min_PTR)(snd_pcm_hw_params_get_buffer_time_min_ARG_EXPAND); -int snd_pcm_hw_params_get_channels(snd_pcm_hw_params_get_channels_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_channels(snd_pcm_hw_params_get_channels_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_channels_PTR)(snd_pcm_hw_params_get_channels_ARG_EXPAND); -int snd_pcm_hw_params_get_channels_max(snd_pcm_hw_params_get_channels_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_channels_max(snd_pcm_hw_params_get_channels_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_channels_max_PTR)(snd_pcm_hw_params_get_channels_max_ARG_EXPAND); -int snd_pcm_hw_params_get_channels_min(snd_pcm_hw_params_get_channels_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_channels_min(snd_pcm_hw_params_get_channels_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_channels_min_PTR)(snd_pcm_hw_params_get_channels_min_ARG_EXPAND); -int snd_pcm_hw_params_get_export_buffer(snd_pcm_hw_params_get_export_buffer_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_export_buffer(snd_pcm_hw_params_get_export_buffer_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_export_buffer_PTR)(snd_pcm_hw_params_get_export_buffer_ARG_EXPAND); -int snd_pcm_hw_params_get_fifo_size(snd_pcm_hw_params_get_fifo_size_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_fifo_size(snd_pcm_hw_params_get_fifo_size_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_fifo_size_PTR)(snd_pcm_hw_params_get_fifo_size_ARG_EXPAND); -int snd_pcm_hw_params_get_format(snd_pcm_hw_params_get_format_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_format(snd_pcm_hw_params_get_format_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_format_PTR)(snd_pcm_hw_params_get_format_ARG_EXPAND); -void snd_pcm_hw_params_get_format_mask(snd_pcm_hw_params_get_format_mask_ARG_EXPAND); +void glshim_snd_pcm_hw_params_get_format_mask(snd_pcm_hw_params_get_format_mask_ARG_EXPAND); typedef void (*snd_pcm_hw_params_get_format_mask_PTR)(snd_pcm_hw_params_get_format_mask_ARG_EXPAND); -int snd_pcm_hw_params_get_min_align(snd_pcm_hw_params_get_min_align_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_min_align(snd_pcm_hw_params_get_min_align_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_min_align_PTR)(snd_pcm_hw_params_get_min_align_ARG_EXPAND); -int snd_pcm_hw_params_get_period_size(snd_pcm_hw_params_get_period_size_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_period_size(snd_pcm_hw_params_get_period_size_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_period_size_PTR)(snd_pcm_hw_params_get_period_size_ARG_EXPAND); -int snd_pcm_hw_params_get_period_size_max(snd_pcm_hw_params_get_period_size_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_period_size_max(snd_pcm_hw_params_get_period_size_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_period_size_max_PTR)(snd_pcm_hw_params_get_period_size_max_ARG_EXPAND); -int snd_pcm_hw_params_get_period_size_min(snd_pcm_hw_params_get_period_size_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_period_size_min(snd_pcm_hw_params_get_period_size_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_period_size_min_PTR)(snd_pcm_hw_params_get_period_size_min_ARG_EXPAND); -int snd_pcm_hw_params_get_period_time(snd_pcm_hw_params_get_period_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_period_time(snd_pcm_hw_params_get_period_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_period_time_PTR)(snd_pcm_hw_params_get_period_time_ARG_EXPAND); -int snd_pcm_hw_params_get_period_time_max(snd_pcm_hw_params_get_period_time_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_period_time_max(snd_pcm_hw_params_get_period_time_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_period_time_max_PTR)(snd_pcm_hw_params_get_period_time_max_ARG_EXPAND); -int snd_pcm_hw_params_get_period_time_min(snd_pcm_hw_params_get_period_time_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_period_time_min(snd_pcm_hw_params_get_period_time_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_period_time_min_PTR)(snd_pcm_hw_params_get_period_time_min_ARG_EXPAND); -int snd_pcm_hw_params_get_periods(snd_pcm_hw_params_get_periods_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_periods(snd_pcm_hw_params_get_periods_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_periods_PTR)(snd_pcm_hw_params_get_periods_ARG_EXPAND); -int snd_pcm_hw_params_get_periods_max(snd_pcm_hw_params_get_periods_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_periods_max(snd_pcm_hw_params_get_periods_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_periods_max_PTR)(snd_pcm_hw_params_get_periods_max_ARG_EXPAND); -int snd_pcm_hw_params_get_periods_min(snd_pcm_hw_params_get_periods_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_periods_min(snd_pcm_hw_params_get_periods_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_periods_min_PTR)(snd_pcm_hw_params_get_periods_min_ARG_EXPAND); -int snd_pcm_hw_params_get_rate(snd_pcm_hw_params_get_rate_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_rate(snd_pcm_hw_params_get_rate_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_rate_PTR)(snd_pcm_hw_params_get_rate_ARG_EXPAND); -int snd_pcm_hw_params_get_rate_max(snd_pcm_hw_params_get_rate_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_rate_max(snd_pcm_hw_params_get_rate_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_rate_max_PTR)(snd_pcm_hw_params_get_rate_max_ARG_EXPAND); -int snd_pcm_hw_params_get_rate_min(snd_pcm_hw_params_get_rate_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_rate_min(snd_pcm_hw_params_get_rate_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_rate_min_PTR)(snd_pcm_hw_params_get_rate_min_ARG_EXPAND); -int snd_pcm_hw_params_get_rate_numden(snd_pcm_hw_params_get_rate_numden_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_rate_numden(snd_pcm_hw_params_get_rate_numden_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_rate_numden_PTR)(snd_pcm_hw_params_get_rate_numden_ARG_EXPAND); -int snd_pcm_hw_params_get_rate_resample(snd_pcm_hw_params_get_rate_resample_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_rate_resample(snd_pcm_hw_params_get_rate_resample_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_rate_resample_PTR)(snd_pcm_hw_params_get_rate_resample_ARG_EXPAND); -int snd_pcm_hw_params_get_sbits(snd_pcm_hw_params_get_sbits_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_sbits(snd_pcm_hw_params_get_sbits_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_sbits_PTR)(snd_pcm_hw_params_get_sbits_ARG_EXPAND); -int snd_pcm_hw_params_get_subformat(snd_pcm_hw_params_get_subformat_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_subformat(snd_pcm_hw_params_get_subformat_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_subformat_PTR)(snd_pcm_hw_params_get_subformat_ARG_EXPAND); -void snd_pcm_hw_params_get_subformat_mask(snd_pcm_hw_params_get_subformat_mask_ARG_EXPAND); +void glshim_snd_pcm_hw_params_get_subformat_mask(snd_pcm_hw_params_get_subformat_mask_ARG_EXPAND); typedef void (*snd_pcm_hw_params_get_subformat_mask_PTR)(snd_pcm_hw_params_get_subformat_mask_ARG_EXPAND); -int snd_pcm_hw_params_get_tick_time(snd_pcm_hw_params_get_tick_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_tick_time(snd_pcm_hw_params_get_tick_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_tick_time_PTR)(snd_pcm_hw_params_get_tick_time_ARG_EXPAND); -int snd_pcm_hw_params_get_tick_time_max(snd_pcm_hw_params_get_tick_time_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_tick_time_max(snd_pcm_hw_params_get_tick_time_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_tick_time_max_PTR)(snd_pcm_hw_params_get_tick_time_max_ARG_EXPAND); -int snd_pcm_hw_params_get_tick_time_min(snd_pcm_hw_params_get_tick_time_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_tick_time_min(snd_pcm_hw_params_get_tick_time_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_tick_time_min_PTR)(snd_pcm_hw_params_get_tick_time_min_ARG_EXPAND); -int snd_pcm_hw_params_is_batch(snd_pcm_hw_params_is_batch_ARG_EXPAND); +int glshim_snd_pcm_hw_params_is_batch(snd_pcm_hw_params_is_batch_ARG_EXPAND); typedef int (*snd_pcm_hw_params_is_batch_PTR)(snd_pcm_hw_params_is_batch_ARG_EXPAND); -int snd_pcm_hw_params_is_block_transfer(snd_pcm_hw_params_is_block_transfer_ARG_EXPAND); +int glshim_snd_pcm_hw_params_is_block_transfer(snd_pcm_hw_params_is_block_transfer_ARG_EXPAND); typedef int (*snd_pcm_hw_params_is_block_transfer_PTR)(snd_pcm_hw_params_is_block_transfer_ARG_EXPAND); -int snd_pcm_hw_params_is_double(snd_pcm_hw_params_is_double_ARG_EXPAND); +int glshim_snd_pcm_hw_params_is_double(snd_pcm_hw_params_is_double_ARG_EXPAND); typedef int (*snd_pcm_hw_params_is_double_PTR)(snd_pcm_hw_params_is_double_ARG_EXPAND); -int snd_pcm_hw_params_is_half_duplex(snd_pcm_hw_params_is_half_duplex_ARG_EXPAND); +int glshim_snd_pcm_hw_params_is_half_duplex(snd_pcm_hw_params_is_half_duplex_ARG_EXPAND); typedef int (*snd_pcm_hw_params_is_half_duplex_PTR)(snd_pcm_hw_params_is_half_duplex_ARG_EXPAND); -int snd_pcm_hw_params_is_joint_duplex(snd_pcm_hw_params_is_joint_duplex_ARG_EXPAND); +int glshim_snd_pcm_hw_params_is_joint_duplex(snd_pcm_hw_params_is_joint_duplex_ARG_EXPAND); typedef int (*snd_pcm_hw_params_is_joint_duplex_PTR)(snd_pcm_hw_params_is_joint_duplex_ARG_EXPAND); -int snd_pcm_hw_params_is_monotonic(snd_pcm_hw_params_is_monotonic_ARG_EXPAND); +int glshim_snd_pcm_hw_params_is_monotonic(snd_pcm_hw_params_is_monotonic_ARG_EXPAND); typedef int (*snd_pcm_hw_params_is_monotonic_PTR)(snd_pcm_hw_params_is_monotonic_ARG_EXPAND); -int snd_pcm_hw_params_malloc(snd_pcm_hw_params_malloc_ARG_EXPAND); +int glshim_snd_pcm_hw_params_malloc(snd_pcm_hw_params_malloc_ARG_EXPAND); typedef int (*snd_pcm_hw_params_malloc_PTR)(snd_pcm_hw_params_malloc_ARG_EXPAND); -int snd_pcm_hw_params_set_access(snd_pcm_hw_params_set_access_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_access(snd_pcm_hw_params_set_access_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_access_PTR)(snd_pcm_hw_params_set_access_ARG_EXPAND); -int snd_pcm_hw_params_set_access_first(snd_pcm_hw_params_set_access_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_access_first(snd_pcm_hw_params_set_access_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_access_first_PTR)(snd_pcm_hw_params_set_access_first_ARG_EXPAND); -int snd_pcm_hw_params_set_access_last(snd_pcm_hw_params_set_access_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_access_last(snd_pcm_hw_params_set_access_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_access_last_PTR)(snd_pcm_hw_params_set_access_last_ARG_EXPAND); -int snd_pcm_hw_params_set_access_mask(snd_pcm_hw_params_set_access_mask_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_access_mask(snd_pcm_hw_params_set_access_mask_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_access_mask_PTR)(snd_pcm_hw_params_set_access_mask_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_size(snd_pcm_hw_params_set_buffer_size_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_size(snd_pcm_hw_params_set_buffer_size_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_size_PTR)(snd_pcm_hw_params_set_buffer_size_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_size_first(snd_pcm_hw_params_set_buffer_size_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_size_first(snd_pcm_hw_params_set_buffer_size_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_size_first_PTR)(snd_pcm_hw_params_set_buffer_size_first_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_size_last(snd_pcm_hw_params_set_buffer_size_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_size_last(snd_pcm_hw_params_set_buffer_size_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_size_last_PTR)(snd_pcm_hw_params_set_buffer_size_last_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_size_max(snd_pcm_hw_params_set_buffer_size_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_size_max(snd_pcm_hw_params_set_buffer_size_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_size_max_PTR)(snd_pcm_hw_params_set_buffer_size_max_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_size_min(snd_pcm_hw_params_set_buffer_size_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_size_min(snd_pcm_hw_params_set_buffer_size_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_size_min_PTR)(snd_pcm_hw_params_set_buffer_size_min_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_size_minmax(snd_pcm_hw_params_set_buffer_size_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_size_minmax(snd_pcm_hw_params_set_buffer_size_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_size_minmax_PTR)(snd_pcm_hw_params_set_buffer_size_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_size_near(snd_pcm_hw_params_set_buffer_size_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_size_near(snd_pcm_hw_params_set_buffer_size_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_size_near_PTR)(snd_pcm_hw_params_set_buffer_size_near_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_time(snd_pcm_hw_params_set_buffer_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_time(snd_pcm_hw_params_set_buffer_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_time_PTR)(snd_pcm_hw_params_set_buffer_time_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_time_first(snd_pcm_hw_params_set_buffer_time_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_time_first(snd_pcm_hw_params_set_buffer_time_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_time_first_PTR)(snd_pcm_hw_params_set_buffer_time_first_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_time_last(snd_pcm_hw_params_set_buffer_time_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_time_last(snd_pcm_hw_params_set_buffer_time_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_time_last_PTR)(snd_pcm_hw_params_set_buffer_time_last_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_time_max(snd_pcm_hw_params_set_buffer_time_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_time_max(snd_pcm_hw_params_set_buffer_time_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_time_max_PTR)(snd_pcm_hw_params_set_buffer_time_max_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_time_min(snd_pcm_hw_params_set_buffer_time_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_time_min(snd_pcm_hw_params_set_buffer_time_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_time_min_PTR)(snd_pcm_hw_params_set_buffer_time_min_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_time_minmax(snd_pcm_hw_params_set_buffer_time_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_time_minmax(snd_pcm_hw_params_set_buffer_time_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_time_minmax_PTR)(snd_pcm_hw_params_set_buffer_time_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_time_near(snd_pcm_hw_params_set_buffer_time_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_time_near(snd_pcm_hw_params_set_buffer_time_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_time_near_PTR)(snd_pcm_hw_params_set_buffer_time_near_ARG_EXPAND); -int snd_pcm_hw_params_set_channels(snd_pcm_hw_params_set_channels_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_channels(snd_pcm_hw_params_set_channels_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_channels_PTR)(snd_pcm_hw_params_set_channels_ARG_EXPAND); -int snd_pcm_hw_params_set_channels_first(snd_pcm_hw_params_set_channels_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_channels_first(snd_pcm_hw_params_set_channels_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_channels_first_PTR)(snd_pcm_hw_params_set_channels_first_ARG_EXPAND); -int snd_pcm_hw_params_set_channels_last(snd_pcm_hw_params_set_channels_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_channels_last(snd_pcm_hw_params_set_channels_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_channels_last_PTR)(snd_pcm_hw_params_set_channels_last_ARG_EXPAND); -int snd_pcm_hw_params_set_channels_max(snd_pcm_hw_params_set_channels_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_channels_max(snd_pcm_hw_params_set_channels_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_channels_max_PTR)(snd_pcm_hw_params_set_channels_max_ARG_EXPAND); -int snd_pcm_hw_params_set_channels_min(snd_pcm_hw_params_set_channels_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_channels_min(snd_pcm_hw_params_set_channels_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_channels_min_PTR)(snd_pcm_hw_params_set_channels_min_ARG_EXPAND); -int snd_pcm_hw_params_set_channels_minmax(snd_pcm_hw_params_set_channels_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_channels_minmax(snd_pcm_hw_params_set_channels_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_channels_minmax_PTR)(snd_pcm_hw_params_set_channels_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_channels_near(snd_pcm_hw_params_set_channels_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_channels_near(snd_pcm_hw_params_set_channels_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_channels_near_PTR)(snd_pcm_hw_params_set_channels_near_ARG_EXPAND); -int snd_pcm_hw_params_set_export_buffer(snd_pcm_hw_params_set_export_buffer_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_export_buffer(snd_pcm_hw_params_set_export_buffer_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_export_buffer_PTR)(snd_pcm_hw_params_set_export_buffer_ARG_EXPAND); -int snd_pcm_hw_params_set_format(snd_pcm_hw_params_set_format_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_format(snd_pcm_hw_params_set_format_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_format_PTR)(snd_pcm_hw_params_set_format_ARG_EXPAND); -int snd_pcm_hw_params_set_format_first(snd_pcm_hw_params_set_format_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_format_first(snd_pcm_hw_params_set_format_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_format_first_PTR)(snd_pcm_hw_params_set_format_first_ARG_EXPAND); -int snd_pcm_hw_params_set_format_last(snd_pcm_hw_params_set_format_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_format_last(snd_pcm_hw_params_set_format_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_format_last_PTR)(snd_pcm_hw_params_set_format_last_ARG_EXPAND); -int snd_pcm_hw_params_set_format_mask(snd_pcm_hw_params_set_format_mask_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_format_mask(snd_pcm_hw_params_set_format_mask_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_format_mask_PTR)(snd_pcm_hw_params_set_format_mask_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size(snd_pcm_hw_params_set_period_size_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size(snd_pcm_hw_params_set_period_size_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_PTR)(snd_pcm_hw_params_set_period_size_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size_first(snd_pcm_hw_params_set_period_size_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size_first(snd_pcm_hw_params_set_period_size_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_first_PTR)(snd_pcm_hw_params_set_period_size_first_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size_integer(snd_pcm_hw_params_set_period_size_integer_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size_integer(snd_pcm_hw_params_set_period_size_integer_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_integer_PTR)(snd_pcm_hw_params_set_period_size_integer_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size_last(snd_pcm_hw_params_set_period_size_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size_last(snd_pcm_hw_params_set_period_size_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_last_PTR)(snd_pcm_hw_params_set_period_size_last_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size_max(snd_pcm_hw_params_set_period_size_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size_max(snd_pcm_hw_params_set_period_size_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_max_PTR)(snd_pcm_hw_params_set_period_size_max_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size_min(snd_pcm_hw_params_set_period_size_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size_min(snd_pcm_hw_params_set_period_size_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_min_PTR)(snd_pcm_hw_params_set_period_size_min_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size_minmax(snd_pcm_hw_params_set_period_size_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size_minmax(snd_pcm_hw_params_set_period_size_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_minmax_PTR)(snd_pcm_hw_params_set_period_size_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size_near(snd_pcm_hw_params_set_period_size_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size_near(snd_pcm_hw_params_set_period_size_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_near_PTR)(snd_pcm_hw_params_set_period_size_near_ARG_EXPAND); -int snd_pcm_hw_params_set_period_time(snd_pcm_hw_params_set_period_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_time(snd_pcm_hw_params_set_period_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_time_PTR)(snd_pcm_hw_params_set_period_time_ARG_EXPAND); -int snd_pcm_hw_params_set_period_time_first(snd_pcm_hw_params_set_period_time_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_time_first(snd_pcm_hw_params_set_period_time_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_time_first_PTR)(snd_pcm_hw_params_set_period_time_first_ARG_EXPAND); -int snd_pcm_hw_params_set_period_time_last(snd_pcm_hw_params_set_period_time_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_time_last(snd_pcm_hw_params_set_period_time_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_time_last_PTR)(snd_pcm_hw_params_set_period_time_last_ARG_EXPAND); -int snd_pcm_hw_params_set_period_time_max(snd_pcm_hw_params_set_period_time_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_time_max(snd_pcm_hw_params_set_period_time_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_time_max_PTR)(snd_pcm_hw_params_set_period_time_max_ARG_EXPAND); -int snd_pcm_hw_params_set_period_time_min(snd_pcm_hw_params_set_period_time_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_time_min(snd_pcm_hw_params_set_period_time_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_time_min_PTR)(snd_pcm_hw_params_set_period_time_min_ARG_EXPAND); -int snd_pcm_hw_params_set_period_time_minmax(snd_pcm_hw_params_set_period_time_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_time_minmax(snd_pcm_hw_params_set_period_time_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_time_minmax_PTR)(snd_pcm_hw_params_set_period_time_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_period_time_near(snd_pcm_hw_params_set_period_time_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_time_near(snd_pcm_hw_params_set_period_time_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_time_near_PTR)(snd_pcm_hw_params_set_period_time_near_ARG_EXPAND); -int snd_pcm_hw_params_set_periods(snd_pcm_hw_params_set_periods_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods(snd_pcm_hw_params_set_periods_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_PTR)(snd_pcm_hw_params_set_periods_ARG_EXPAND); -int snd_pcm_hw_params_set_periods_first(snd_pcm_hw_params_set_periods_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods_first(snd_pcm_hw_params_set_periods_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_first_PTR)(snd_pcm_hw_params_set_periods_first_ARG_EXPAND); -int snd_pcm_hw_params_set_periods_integer(snd_pcm_hw_params_set_periods_integer_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods_integer(snd_pcm_hw_params_set_periods_integer_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_integer_PTR)(snd_pcm_hw_params_set_periods_integer_ARG_EXPAND); -int snd_pcm_hw_params_set_periods_last(snd_pcm_hw_params_set_periods_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods_last(snd_pcm_hw_params_set_periods_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_last_PTR)(snd_pcm_hw_params_set_periods_last_ARG_EXPAND); -int snd_pcm_hw_params_set_periods_max(snd_pcm_hw_params_set_periods_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods_max(snd_pcm_hw_params_set_periods_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_max_PTR)(snd_pcm_hw_params_set_periods_max_ARG_EXPAND); -int snd_pcm_hw_params_set_periods_min(snd_pcm_hw_params_set_periods_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods_min(snd_pcm_hw_params_set_periods_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_min_PTR)(snd_pcm_hw_params_set_periods_min_ARG_EXPAND); -int snd_pcm_hw_params_set_periods_minmax(snd_pcm_hw_params_set_periods_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods_minmax(snd_pcm_hw_params_set_periods_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_minmax_PTR)(snd_pcm_hw_params_set_periods_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_periods_near(snd_pcm_hw_params_set_periods_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods_near(snd_pcm_hw_params_set_periods_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_near_PTR)(snd_pcm_hw_params_set_periods_near_ARG_EXPAND); -int snd_pcm_hw_params_set_rate(snd_pcm_hw_params_set_rate_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate(snd_pcm_hw_params_set_rate_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_PTR)(snd_pcm_hw_params_set_rate_ARG_EXPAND); -int snd_pcm_hw_params_set_rate_first(snd_pcm_hw_params_set_rate_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate_first(snd_pcm_hw_params_set_rate_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_first_PTR)(snd_pcm_hw_params_set_rate_first_ARG_EXPAND); -int snd_pcm_hw_params_set_rate_last(snd_pcm_hw_params_set_rate_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate_last(snd_pcm_hw_params_set_rate_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_last_PTR)(snd_pcm_hw_params_set_rate_last_ARG_EXPAND); -int snd_pcm_hw_params_set_rate_max(snd_pcm_hw_params_set_rate_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate_max(snd_pcm_hw_params_set_rate_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_max_PTR)(snd_pcm_hw_params_set_rate_max_ARG_EXPAND); -int snd_pcm_hw_params_set_rate_min(snd_pcm_hw_params_set_rate_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate_min(snd_pcm_hw_params_set_rate_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_min_PTR)(snd_pcm_hw_params_set_rate_min_ARG_EXPAND); -int snd_pcm_hw_params_set_rate_minmax(snd_pcm_hw_params_set_rate_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate_minmax(snd_pcm_hw_params_set_rate_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_minmax_PTR)(snd_pcm_hw_params_set_rate_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_rate_near(snd_pcm_hw_params_set_rate_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate_near(snd_pcm_hw_params_set_rate_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_near_PTR)(snd_pcm_hw_params_set_rate_near_ARG_EXPAND); -int snd_pcm_hw_params_set_rate_resample(snd_pcm_hw_params_set_rate_resample_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate_resample(snd_pcm_hw_params_set_rate_resample_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_resample_PTR)(snd_pcm_hw_params_set_rate_resample_ARG_EXPAND); -int snd_pcm_hw_params_set_subformat(snd_pcm_hw_params_set_subformat_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_subformat(snd_pcm_hw_params_set_subformat_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_subformat_PTR)(snd_pcm_hw_params_set_subformat_ARG_EXPAND); -int snd_pcm_hw_params_set_subformat_first(snd_pcm_hw_params_set_subformat_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_subformat_first(snd_pcm_hw_params_set_subformat_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_subformat_first_PTR)(snd_pcm_hw_params_set_subformat_first_ARG_EXPAND); -int snd_pcm_hw_params_set_subformat_last(snd_pcm_hw_params_set_subformat_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_subformat_last(snd_pcm_hw_params_set_subformat_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_subformat_last_PTR)(snd_pcm_hw_params_set_subformat_last_ARG_EXPAND); -int snd_pcm_hw_params_set_subformat_mask(snd_pcm_hw_params_set_subformat_mask_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_subformat_mask(snd_pcm_hw_params_set_subformat_mask_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_subformat_mask_PTR)(snd_pcm_hw_params_set_subformat_mask_ARG_EXPAND); -int snd_pcm_hw_params_set_tick_time(snd_pcm_hw_params_set_tick_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_tick_time(snd_pcm_hw_params_set_tick_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_tick_time_PTR)(snd_pcm_hw_params_set_tick_time_ARG_EXPAND); -int snd_pcm_hw_params_set_tick_time_first(snd_pcm_hw_params_set_tick_time_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_tick_time_first(snd_pcm_hw_params_set_tick_time_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_tick_time_first_PTR)(snd_pcm_hw_params_set_tick_time_first_ARG_EXPAND); -int snd_pcm_hw_params_set_tick_time_last(snd_pcm_hw_params_set_tick_time_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_tick_time_last(snd_pcm_hw_params_set_tick_time_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_tick_time_last_PTR)(snd_pcm_hw_params_set_tick_time_last_ARG_EXPAND); -int snd_pcm_hw_params_set_tick_time_max(snd_pcm_hw_params_set_tick_time_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_tick_time_max(snd_pcm_hw_params_set_tick_time_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_tick_time_max_PTR)(snd_pcm_hw_params_set_tick_time_max_ARG_EXPAND); -int snd_pcm_hw_params_set_tick_time_min(snd_pcm_hw_params_set_tick_time_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_tick_time_min(snd_pcm_hw_params_set_tick_time_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_tick_time_min_PTR)(snd_pcm_hw_params_set_tick_time_min_ARG_EXPAND); -int snd_pcm_hw_params_set_tick_time_minmax(snd_pcm_hw_params_set_tick_time_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_tick_time_minmax(snd_pcm_hw_params_set_tick_time_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_tick_time_minmax_PTR)(snd_pcm_hw_params_set_tick_time_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_tick_time_near(snd_pcm_hw_params_set_tick_time_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_tick_time_near(snd_pcm_hw_params_set_tick_time_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_tick_time_near_PTR)(snd_pcm_hw_params_set_tick_time_near_ARG_EXPAND); -size_t snd_pcm_hw_params_sizeof(snd_pcm_hw_params_sizeof_ARG_EXPAND); +size_t glshim_snd_pcm_hw_params_sizeof(snd_pcm_hw_params_sizeof_ARG_EXPAND); typedef size_t (*snd_pcm_hw_params_sizeof_PTR)(snd_pcm_hw_params_sizeof_ARG_EXPAND); -int snd_pcm_hw_params_test_access(snd_pcm_hw_params_test_access_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_access(snd_pcm_hw_params_test_access_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_access_PTR)(snd_pcm_hw_params_test_access_ARG_EXPAND); -int snd_pcm_hw_params_test_buffer_size(snd_pcm_hw_params_test_buffer_size_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_buffer_size(snd_pcm_hw_params_test_buffer_size_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_buffer_size_PTR)(snd_pcm_hw_params_test_buffer_size_ARG_EXPAND); -int snd_pcm_hw_params_test_buffer_time(snd_pcm_hw_params_test_buffer_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_buffer_time(snd_pcm_hw_params_test_buffer_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_buffer_time_PTR)(snd_pcm_hw_params_test_buffer_time_ARG_EXPAND); -int snd_pcm_hw_params_test_channels(snd_pcm_hw_params_test_channels_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_channels(snd_pcm_hw_params_test_channels_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_channels_PTR)(snd_pcm_hw_params_test_channels_ARG_EXPAND); -int snd_pcm_hw_params_test_format(snd_pcm_hw_params_test_format_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_format(snd_pcm_hw_params_test_format_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_format_PTR)(snd_pcm_hw_params_test_format_ARG_EXPAND); -int snd_pcm_hw_params_test_period_size(snd_pcm_hw_params_test_period_size_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_period_size(snd_pcm_hw_params_test_period_size_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_period_size_PTR)(snd_pcm_hw_params_test_period_size_ARG_EXPAND); -int snd_pcm_hw_params_test_period_time(snd_pcm_hw_params_test_period_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_period_time(snd_pcm_hw_params_test_period_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_period_time_PTR)(snd_pcm_hw_params_test_period_time_ARG_EXPAND); -int snd_pcm_hw_params_test_periods(snd_pcm_hw_params_test_periods_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_periods(snd_pcm_hw_params_test_periods_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_periods_PTR)(snd_pcm_hw_params_test_periods_ARG_EXPAND); -int snd_pcm_hw_params_test_rate(snd_pcm_hw_params_test_rate_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_rate(snd_pcm_hw_params_test_rate_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_rate_PTR)(snd_pcm_hw_params_test_rate_ARG_EXPAND); -int snd_pcm_hw_params_test_subformat(snd_pcm_hw_params_test_subformat_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_subformat(snd_pcm_hw_params_test_subformat_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_subformat_PTR)(snd_pcm_hw_params_test_subformat_ARG_EXPAND); -int snd_pcm_hw_params_test_tick_time(snd_pcm_hw_params_test_tick_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_tick_time(snd_pcm_hw_params_test_tick_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_tick_time_PTR)(snd_pcm_hw_params_test_tick_time_ARG_EXPAND); -int snd_pcm_hwsync(snd_pcm_hwsync_ARG_EXPAND); +int glshim_snd_pcm_hwsync(snd_pcm_hwsync_ARG_EXPAND); typedef int (*snd_pcm_hwsync_PTR)(snd_pcm_hwsync_ARG_EXPAND); -int snd_pcm_info(snd_pcm_info_ARG_EXPAND); +int glshim_snd_pcm_info(snd_pcm_info_ARG_EXPAND); typedef int (*snd_pcm_info_PTR)(snd_pcm_info_ARG_EXPAND); -void snd_pcm_info_copy(snd_pcm_info_copy_ARG_EXPAND); +void glshim_snd_pcm_info_copy(snd_pcm_info_copy_ARG_EXPAND); typedef void (*snd_pcm_info_copy_PTR)(snd_pcm_info_copy_ARG_EXPAND); -void snd_pcm_info_free(snd_pcm_info_free_ARG_EXPAND); +void glshim_snd_pcm_info_free(snd_pcm_info_free_ARG_EXPAND); typedef void (*snd_pcm_info_free_PTR)(snd_pcm_info_free_ARG_EXPAND); -int snd_pcm_info_get_card(snd_pcm_info_get_card_ARG_EXPAND); +int glshim_snd_pcm_info_get_card(snd_pcm_info_get_card_ARG_EXPAND); typedef int (*snd_pcm_info_get_card_PTR)(snd_pcm_info_get_card_ARG_EXPAND); -snd_pcm_class_t snd_pcm_info_get_class(snd_pcm_info_get_class_ARG_EXPAND); +snd_pcm_class_t glshim_snd_pcm_info_get_class(snd_pcm_info_get_class_ARG_EXPAND); typedef snd_pcm_class_t (*snd_pcm_info_get_class_PTR)(snd_pcm_info_get_class_ARG_EXPAND); -unsigned int snd_pcm_info_get_device(snd_pcm_info_get_device_ARG_EXPAND); +unsigned int glshim_snd_pcm_info_get_device(snd_pcm_info_get_device_ARG_EXPAND); typedef unsigned int (*snd_pcm_info_get_device_PTR)(snd_pcm_info_get_device_ARG_EXPAND); -const char * snd_pcm_info_get_id(snd_pcm_info_get_id_ARG_EXPAND); +const char * glshim_snd_pcm_info_get_id(snd_pcm_info_get_id_ARG_EXPAND); typedef const char * (*snd_pcm_info_get_id_PTR)(snd_pcm_info_get_id_ARG_EXPAND); -const char * snd_pcm_info_get_name(snd_pcm_info_get_name_ARG_EXPAND); +const char * glshim_snd_pcm_info_get_name(snd_pcm_info_get_name_ARG_EXPAND); typedef const char * (*snd_pcm_info_get_name_PTR)(snd_pcm_info_get_name_ARG_EXPAND); -snd_pcm_stream_t snd_pcm_info_get_stream(snd_pcm_info_get_stream_ARG_EXPAND); +snd_pcm_stream_t glshim_snd_pcm_info_get_stream(snd_pcm_info_get_stream_ARG_EXPAND); typedef snd_pcm_stream_t (*snd_pcm_info_get_stream_PTR)(snd_pcm_info_get_stream_ARG_EXPAND); -snd_pcm_subclass_t snd_pcm_info_get_subclass(snd_pcm_info_get_subclass_ARG_EXPAND); +snd_pcm_subclass_t glshim_snd_pcm_info_get_subclass(snd_pcm_info_get_subclass_ARG_EXPAND); typedef snd_pcm_subclass_t (*snd_pcm_info_get_subclass_PTR)(snd_pcm_info_get_subclass_ARG_EXPAND); -unsigned int snd_pcm_info_get_subdevice(snd_pcm_info_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_pcm_info_get_subdevice(snd_pcm_info_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_pcm_info_get_subdevice_PTR)(snd_pcm_info_get_subdevice_ARG_EXPAND); -const char * snd_pcm_info_get_subdevice_name(snd_pcm_info_get_subdevice_name_ARG_EXPAND); +const char * glshim_snd_pcm_info_get_subdevice_name(snd_pcm_info_get_subdevice_name_ARG_EXPAND); typedef const char * (*snd_pcm_info_get_subdevice_name_PTR)(snd_pcm_info_get_subdevice_name_ARG_EXPAND); -unsigned int snd_pcm_info_get_subdevices_avail(snd_pcm_info_get_subdevices_avail_ARG_EXPAND); +unsigned int glshim_snd_pcm_info_get_subdevices_avail(snd_pcm_info_get_subdevices_avail_ARG_EXPAND); typedef unsigned int (*snd_pcm_info_get_subdevices_avail_PTR)(snd_pcm_info_get_subdevices_avail_ARG_EXPAND); -unsigned int snd_pcm_info_get_subdevices_count(snd_pcm_info_get_subdevices_count_ARG_EXPAND); +unsigned int glshim_snd_pcm_info_get_subdevices_count(snd_pcm_info_get_subdevices_count_ARG_EXPAND); typedef unsigned int (*snd_pcm_info_get_subdevices_count_PTR)(snd_pcm_info_get_subdevices_count_ARG_EXPAND); -snd_pcm_sync_id_t snd_pcm_info_get_sync(snd_pcm_info_get_sync_ARG_EXPAND); +snd_pcm_sync_id_t glshim_snd_pcm_info_get_sync(snd_pcm_info_get_sync_ARG_EXPAND); typedef snd_pcm_sync_id_t (*snd_pcm_info_get_sync_PTR)(snd_pcm_info_get_sync_ARG_EXPAND); -int snd_pcm_info_malloc(snd_pcm_info_malloc_ARG_EXPAND); +int glshim_snd_pcm_info_malloc(snd_pcm_info_malloc_ARG_EXPAND); typedef int (*snd_pcm_info_malloc_PTR)(snd_pcm_info_malloc_ARG_EXPAND); -void snd_pcm_info_set_device(snd_pcm_info_set_device_ARG_EXPAND); +void glshim_snd_pcm_info_set_device(snd_pcm_info_set_device_ARG_EXPAND); typedef void (*snd_pcm_info_set_device_PTR)(snd_pcm_info_set_device_ARG_EXPAND); -void snd_pcm_info_set_stream(snd_pcm_info_set_stream_ARG_EXPAND); +void glshim_snd_pcm_info_set_stream(snd_pcm_info_set_stream_ARG_EXPAND); typedef void (*snd_pcm_info_set_stream_PTR)(snd_pcm_info_set_stream_ARG_EXPAND); -void snd_pcm_info_set_subdevice(snd_pcm_info_set_subdevice_ARG_EXPAND); +void glshim_snd_pcm_info_set_subdevice(snd_pcm_info_set_subdevice_ARG_EXPAND); typedef void (*snd_pcm_info_set_subdevice_PTR)(snd_pcm_info_set_subdevice_ARG_EXPAND); -size_t snd_pcm_info_sizeof(snd_pcm_info_sizeof_ARG_EXPAND); +size_t glshim_snd_pcm_info_sizeof(snd_pcm_info_sizeof_ARG_EXPAND); typedef size_t (*snd_pcm_info_sizeof_PTR)(snd_pcm_info_sizeof_ARG_EXPAND); -int snd_pcm_link(snd_pcm_link_ARG_EXPAND); +int glshim_snd_pcm_link(snd_pcm_link_ARG_EXPAND); typedef int (*snd_pcm_link_PTR)(snd_pcm_link_ARG_EXPAND); -int snd_pcm_meter_add_scope(snd_pcm_meter_add_scope_ARG_EXPAND); +int glshim_snd_pcm_meter_add_scope(snd_pcm_meter_add_scope_ARG_EXPAND); typedef int (*snd_pcm_meter_add_scope_PTR)(snd_pcm_meter_add_scope_ARG_EXPAND); -snd_pcm_uframes_t snd_pcm_meter_get_boundary(snd_pcm_meter_get_boundary_ARG_EXPAND); +snd_pcm_uframes_t glshim_snd_pcm_meter_get_boundary(snd_pcm_meter_get_boundary_ARG_EXPAND); typedef snd_pcm_uframes_t (*snd_pcm_meter_get_boundary_PTR)(snd_pcm_meter_get_boundary_ARG_EXPAND); -snd_pcm_uframes_t snd_pcm_meter_get_bufsize(snd_pcm_meter_get_bufsize_ARG_EXPAND); +snd_pcm_uframes_t glshim_snd_pcm_meter_get_bufsize(snd_pcm_meter_get_bufsize_ARG_EXPAND); typedef snd_pcm_uframes_t (*snd_pcm_meter_get_bufsize_PTR)(snd_pcm_meter_get_bufsize_ARG_EXPAND); -unsigned int snd_pcm_meter_get_channels(snd_pcm_meter_get_channels_ARG_EXPAND); +unsigned int glshim_snd_pcm_meter_get_channels(snd_pcm_meter_get_channels_ARG_EXPAND); typedef unsigned int (*snd_pcm_meter_get_channels_PTR)(snd_pcm_meter_get_channels_ARG_EXPAND); -snd_pcm_uframes_t snd_pcm_meter_get_now(snd_pcm_meter_get_now_ARG_EXPAND); +snd_pcm_uframes_t glshim_snd_pcm_meter_get_now(snd_pcm_meter_get_now_ARG_EXPAND); typedef snd_pcm_uframes_t (*snd_pcm_meter_get_now_PTR)(snd_pcm_meter_get_now_ARG_EXPAND); -unsigned int snd_pcm_meter_get_rate(snd_pcm_meter_get_rate_ARG_EXPAND); +unsigned int glshim_snd_pcm_meter_get_rate(snd_pcm_meter_get_rate_ARG_EXPAND); typedef unsigned int (*snd_pcm_meter_get_rate_PTR)(snd_pcm_meter_get_rate_ARG_EXPAND); -snd_pcm_scope_t * snd_pcm_meter_search_scope(snd_pcm_meter_search_scope_ARG_EXPAND); +snd_pcm_scope_t * glshim_snd_pcm_meter_search_scope(snd_pcm_meter_search_scope_ARG_EXPAND); typedef snd_pcm_scope_t * (*snd_pcm_meter_search_scope_PTR)(snd_pcm_meter_search_scope_ARG_EXPAND); -int snd_pcm_mmap_begin(snd_pcm_mmap_begin_ARG_EXPAND); +int glshim_snd_pcm_mmap_begin(snd_pcm_mmap_begin_ARG_EXPAND); typedef int (*snd_pcm_mmap_begin_PTR)(snd_pcm_mmap_begin_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_mmap_commit(snd_pcm_mmap_commit_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_mmap_commit(snd_pcm_mmap_commit_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_mmap_commit_PTR)(snd_pcm_mmap_commit_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_mmap_readi(snd_pcm_mmap_readi_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_mmap_readi(snd_pcm_mmap_readi_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_mmap_readi_PTR)(snd_pcm_mmap_readi_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_mmap_readn(snd_pcm_mmap_readn_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_mmap_readn(snd_pcm_mmap_readn_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_mmap_readn_PTR)(snd_pcm_mmap_readn_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_mmap_writei(snd_pcm_mmap_writei_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_mmap_writei(snd_pcm_mmap_writei_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_mmap_writei_PTR)(snd_pcm_mmap_writei_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_mmap_writen(snd_pcm_mmap_writen_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_mmap_writen(snd_pcm_mmap_writen_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_mmap_writen_PTR)(snd_pcm_mmap_writen_ARG_EXPAND); -const char * snd_pcm_name(snd_pcm_name_ARG_EXPAND); +const char * glshim_snd_pcm_name(snd_pcm_name_ARG_EXPAND); typedef const char * (*snd_pcm_name_PTR)(snd_pcm_name_ARG_EXPAND); -int snd_pcm_nonblock(snd_pcm_nonblock_ARG_EXPAND); +int glshim_snd_pcm_nonblock(snd_pcm_nonblock_ARG_EXPAND); typedef int (*snd_pcm_nonblock_PTR)(snd_pcm_nonblock_ARG_EXPAND); -int snd_pcm_open(snd_pcm_open_ARG_EXPAND); +int glshim_snd_pcm_open(snd_pcm_open_ARG_EXPAND); typedef int (*snd_pcm_open_PTR)(snd_pcm_open_ARG_EXPAND); -int snd_pcm_open_lconf(snd_pcm_open_lconf_ARG_EXPAND); +int glshim_snd_pcm_open_lconf(snd_pcm_open_lconf_ARG_EXPAND); typedef int (*snd_pcm_open_lconf_PTR)(snd_pcm_open_lconf_ARG_EXPAND); -int snd_pcm_pause(snd_pcm_pause_ARG_EXPAND); +int glshim_snd_pcm_pause(snd_pcm_pause_ARG_EXPAND); typedef int (*snd_pcm_pause_PTR)(snd_pcm_pause_ARG_EXPAND); -int snd_pcm_poll_descriptors(snd_pcm_poll_descriptors_ARG_EXPAND); +int glshim_snd_pcm_poll_descriptors(snd_pcm_poll_descriptors_ARG_EXPAND); typedef int (*snd_pcm_poll_descriptors_PTR)(snd_pcm_poll_descriptors_ARG_EXPAND); -int snd_pcm_poll_descriptors_count(snd_pcm_poll_descriptors_count_ARG_EXPAND); +int glshim_snd_pcm_poll_descriptors_count(snd_pcm_poll_descriptors_count_ARG_EXPAND); typedef int (*snd_pcm_poll_descriptors_count_PTR)(snd_pcm_poll_descriptors_count_ARG_EXPAND); -int snd_pcm_poll_descriptors_revents(snd_pcm_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_pcm_poll_descriptors_revents(snd_pcm_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_pcm_poll_descriptors_revents_PTR)(snd_pcm_poll_descriptors_revents_ARG_EXPAND); -int snd_pcm_prepare(snd_pcm_prepare_ARG_EXPAND); +int glshim_snd_pcm_prepare(snd_pcm_prepare_ARG_EXPAND); typedef int (*snd_pcm_prepare_PTR)(snd_pcm_prepare_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_readi(snd_pcm_readi_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_readi(snd_pcm_readi_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_readi_PTR)(snd_pcm_readi_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_readn(snd_pcm_readn_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_readn(snd_pcm_readn_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_readn_PTR)(snd_pcm_readn_ARG_EXPAND); -int snd_pcm_recover(snd_pcm_recover_ARG_EXPAND); +int glshim_snd_pcm_recover(snd_pcm_recover_ARG_EXPAND); typedef int (*snd_pcm_recover_PTR)(snd_pcm_recover_ARG_EXPAND); -int snd_pcm_reset(snd_pcm_reset_ARG_EXPAND); +int glshim_snd_pcm_reset(snd_pcm_reset_ARG_EXPAND); typedef int (*snd_pcm_reset_PTR)(snd_pcm_reset_ARG_EXPAND); -int snd_pcm_resume(snd_pcm_resume_ARG_EXPAND); +int glshim_snd_pcm_resume(snd_pcm_resume_ARG_EXPAND); typedef int (*snd_pcm_resume_PTR)(snd_pcm_resume_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_rewind(snd_pcm_rewind_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_rewind(snd_pcm_rewind_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_rewind_PTR)(snd_pcm_rewind_ARG_EXPAND); -ssize_t snd_pcm_samples_to_bytes(snd_pcm_samples_to_bytes_ARG_EXPAND); +ssize_t glshim_snd_pcm_samples_to_bytes(snd_pcm_samples_to_bytes_ARG_EXPAND); typedef ssize_t (*snd_pcm_samples_to_bytes_PTR)(snd_pcm_samples_to_bytes_ARG_EXPAND); -void * snd_pcm_scope_get_callback_private(snd_pcm_scope_get_callback_private_ARG_EXPAND); +void * glshim_snd_pcm_scope_get_callback_private(snd_pcm_scope_get_callback_private_ARG_EXPAND); typedef void * (*snd_pcm_scope_get_callback_private_PTR)(snd_pcm_scope_get_callback_private_ARG_EXPAND); -const char * snd_pcm_scope_get_name(snd_pcm_scope_get_name_ARG_EXPAND); +const char * glshim_snd_pcm_scope_get_name(snd_pcm_scope_get_name_ARG_EXPAND); typedef const char * (*snd_pcm_scope_get_name_PTR)(snd_pcm_scope_get_name_ARG_EXPAND); -int snd_pcm_scope_malloc(snd_pcm_scope_malloc_ARG_EXPAND); +int glshim_snd_pcm_scope_malloc(snd_pcm_scope_malloc_ARG_EXPAND); typedef int (*snd_pcm_scope_malloc_PTR)(snd_pcm_scope_malloc_ARG_EXPAND); -int16_t * snd_pcm_scope_s16_get_channel_buffer(snd_pcm_scope_s16_get_channel_buffer_ARG_EXPAND); +int16_t * glshim_snd_pcm_scope_s16_get_channel_buffer(snd_pcm_scope_s16_get_channel_buffer_ARG_EXPAND); typedef int16_t * (*snd_pcm_scope_s16_get_channel_buffer_PTR)(snd_pcm_scope_s16_get_channel_buffer_ARG_EXPAND); -int snd_pcm_scope_s16_open(snd_pcm_scope_s16_open_ARG_EXPAND); +int glshim_snd_pcm_scope_s16_open(snd_pcm_scope_s16_open_ARG_EXPAND); typedef int (*snd_pcm_scope_s16_open_PTR)(snd_pcm_scope_s16_open_ARG_EXPAND); -void snd_pcm_scope_set_callback_private(snd_pcm_scope_set_callback_private_ARG_EXPAND); +void glshim_snd_pcm_scope_set_callback_private(snd_pcm_scope_set_callback_private_ARG_EXPAND); typedef void (*snd_pcm_scope_set_callback_private_PTR)(snd_pcm_scope_set_callback_private_ARG_EXPAND); -void snd_pcm_scope_set_name(snd_pcm_scope_set_name_ARG_EXPAND); +void glshim_snd_pcm_scope_set_name(snd_pcm_scope_set_name_ARG_EXPAND); typedef void (*snd_pcm_scope_set_name_PTR)(snd_pcm_scope_set_name_ARG_EXPAND); -void snd_pcm_scope_set_ops(snd_pcm_scope_set_ops_ARG_EXPAND); +void glshim_snd_pcm_scope_set_ops(snd_pcm_scope_set_ops_ARG_EXPAND); typedef void (*snd_pcm_scope_set_ops_PTR)(snd_pcm_scope_set_ops_ARG_EXPAND); -int snd_pcm_set_params(snd_pcm_set_params_ARG_EXPAND); +int glshim_snd_pcm_set_params(snd_pcm_set_params_ARG_EXPAND); typedef int (*snd_pcm_set_params_PTR)(snd_pcm_set_params_ARG_EXPAND); -int snd_pcm_start(snd_pcm_start_ARG_EXPAND); +int glshim_snd_pcm_start(snd_pcm_start_ARG_EXPAND); typedef int (*snd_pcm_start_PTR)(snd_pcm_start_ARG_EXPAND); -const char * snd_pcm_start_mode_name(snd_pcm_start_mode_name_ARG_EXPAND); +const char * glshim_snd_pcm_start_mode_name(snd_pcm_start_mode_name_ARG_EXPAND); typedef const char * (*snd_pcm_start_mode_name_PTR)(snd_pcm_start_mode_name_ARG_EXPAND); -snd_pcm_state_t snd_pcm_state(snd_pcm_state_ARG_EXPAND); +snd_pcm_state_t glshim_snd_pcm_state(snd_pcm_state_ARG_EXPAND); typedef snd_pcm_state_t (*snd_pcm_state_PTR)(snd_pcm_state_ARG_EXPAND); -const char * snd_pcm_state_name(snd_pcm_state_name_ARG_EXPAND); +const char * glshim_snd_pcm_state_name(snd_pcm_state_name_ARG_EXPAND); typedef const char * (*snd_pcm_state_name_PTR)(snd_pcm_state_name_ARG_EXPAND); -int snd_pcm_status(snd_pcm_status_ARG_EXPAND); +int glshim_snd_pcm_status(snd_pcm_status_ARG_EXPAND); typedef int (*snd_pcm_status_PTR)(snd_pcm_status_ARG_EXPAND); -void snd_pcm_status_copy(snd_pcm_status_copy_ARG_EXPAND); +void glshim_snd_pcm_status_copy(snd_pcm_status_copy_ARG_EXPAND); typedef void (*snd_pcm_status_copy_PTR)(snd_pcm_status_copy_ARG_EXPAND); -int snd_pcm_status_dump(snd_pcm_status_dump_ARG_EXPAND); +int glshim_snd_pcm_status_dump(snd_pcm_status_dump_ARG_EXPAND); typedef int (*snd_pcm_status_dump_PTR)(snd_pcm_status_dump_ARG_EXPAND); -void snd_pcm_status_free(snd_pcm_status_free_ARG_EXPAND); +void glshim_snd_pcm_status_free(snd_pcm_status_free_ARG_EXPAND); typedef void (*snd_pcm_status_free_PTR)(snd_pcm_status_free_ARG_EXPAND); -snd_pcm_uframes_t snd_pcm_status_get_avail(snd_pcm_status_get_avail_ARG_EXPAND); +snd_pcm_uframes_t glshim_snd_pcm_status_get_avail(snd_pcm_status_get_avail_ARG_EXPAND); typedef snd_pcm_uframes_t (*snd_pcm_status_get_avail_PTR)(snd_pcm_status_get_avail_ARG_EXPAND); -snd_pcm_uframes_t snd_pcm_status_get_avail_max(snd_pcm_status_get_avail_max_ARG_EXPAND); +snd_pcm_uframes_t glshim_snd_pcm_status_get_avail_max(snd_pcm_status_get_avail_max_ARG_EXPAND); typedef snd_pcm_uframes_t (*snd_pcm_status_get_avail_max_PTR)(snd_pcm_status_get_avail_max_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_status_get_delay(snd_pcm_status_get_delay_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_status_get_delay(snd_pcm_status_get_delay_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_status_get_delay_PTR)(snd_pcm_status_get_delay_ARG_EXPAND); -void snd_pcm_status_get_htstamp(snd_pcm_status_get_htstamp_ARG_EXPAND); +void glshim_snd_pcm_status_get_htstamp(snd_pcm_status_get_htstamp_ARG_EXPAND); typedef void (*snd_pcm_status_get_htstamp_PTR)(snd_pcm_status_get_htstamp_ARG_EXPAND); -snd_pcm_uframes_t snd_pcm_status_get_overrange(snd_pcm_status_get_overrange_ARG_EXPAND); +snd_pcm_uframes_t glshim_snd_pcm_status_get_overrange(snd_pcm_status_get_overrange_ARG_EXPAND); typedef snd_pcm_uframes_t (*snd_pcm_status_get_overrange_PTR)(snd_pcm_status_get_overrange_ARG_EXPAND); -snd_pcm_state_t snd_pcm_status_get_state(snd_pcm_status_get_state_ARG_EXPAND); +snd_pcm_state_t glshim_snd_pcm_status_get_state(snd_pcm_status_get_state_ARG_EXPAND); typedef snd_pcm_state_t (*snd_pcm_status_get_state_PTR)(snd_pcm_status_get_state_ARG_EXPAND); -void snd_pcm_status_get_trigger_htstamp(snd_pcm_status_get_trigger_htstamp_ARG_EXPAND); +void glshim_snd_pcm_status_get_trigger_htstamp(snd_pcm_status_get_trigger_htstamp_ARG_EXPAND); typedef void (*snd_pcm_status_get_trigger_htstamp_PTR)(snd_pcm_status_get_trigger_htstamp_ARG_EXPAND); -void snd_pcm_status_get_trigger_tstamp(snd_pcm_status_get_trigger_tstamp_ARG_EXPAND); +void glshim_snd_pcm_status_get_trigger_tstamp(snd_pcm_status_get_trigger_tstamp_ARG_EXPAND); typedef void (*snd_pcm_status_get_trigger_tstamp_PTR)(snd_pcm_status_get_trigger_tstamp_ARG_EXPAND); -void snd_pcm_status_get_tstamp(snd_pcm_status_get_tstamp_ARG_EXPAND); +void glshim_snd_pcm_status_get_tstamp(snd_pcm_status_get_tstamp_ARG_EXPAND); typedef void (*snd_pcm_status_get_tstamp_PTR)(snd_pcm_status_get_tstamp_ARG_EXPAND); -int snd_pcm_status_malloc(snd_pcm_status_malloc_ARG_EXPAND); +int glshim_snd_pcm_status_malloc(snd_pcm_status_malloc_ARG_EXPAND); typedef int (*snd_pcm_status_malloc_PTR)(snd_pcm_status_malloc_ARG_EXPAND); -size_t snd_pcm_status_sizeof(snd_pcm_status_sizeof_ARG_EXPAND); +size_t glshim_snd_pcm_status_sizeof(snd_pcm_status_sizeof_ARG_EXPAND); typedef size_t (*snd_pcm_status_sizeof_PTR)(snd_pcm_status_sizeof_ARG_EXPAND); -snd_pcm_stream_t snd_pcm_stream(snd_pcm_stream_ARG_EXPAND); +snd_pcm_stream_t glshim_snd_pcm_stream(snd_pcm_stream_ARG_EXPAND); typedef snd_pcm_stream_t (*snd_pcm_stream_PTR)(snd_pcm_stream_ARG_EXPAND); -const char * snd_pcm_stream_name(snd_pcm_stream_name_ARG_EXPAND); +const char * glshim_snd_pcm_stream_name(snd_pcm_stream_name_ARG_EXPAND); typedef const char * (*snd_pcm_stream_name_PTR)(snd_pcm_stream_name_ARG_EXPAND); -const char * snd_pcm_subformat_description(snd_pcm_subformat_description_ARG_EXPAND); +const char * glshim_snd_pcm_subformat_description(snd_pcm_subformat_description_ARG_EXPAND); typedef const char * (*snd_pcm_subformat_description_PTR)(snd_pcm_subformat_description_ARG_EXPAND); -void snd_pcm_subformat_mask_any(snd_pcm_subformat_mask_any_ARG_EXPAND); +void glshim_snd_pcm_subformat_mask_any(snd_pcm_subformat_mask_any_ARG_EXPAND); typedef void (*snd_pcm_subformat_mask_any_PTR)(snd_pcm_subformat_mask_any_ARG_EXPAND); -void snd_pcm_subformat_mask_copy(snd_pcm_subformat_mask_copy_ARG_EXPAND); +void glshim_snd_pcm_subformat_mask_copy(snd_pcm_subformat_mask_copy_ARG_EXPAND); typedef void (*snd_pcm_subformat_mask_copy_PTR)(snd_pcm_subformat_mask_copy_ARG_EXPAND); -int snd_pcm_subformat_mask_empty(snd_pcm_subformat_mask_empty_ARG_EXPAND); +int glshim_snd_pcm_subformat_mask_empty(snd_pcm_subformat_mask_empty_ARG_EXPAND); typedef int (*snd_pcm_subformat_mask_empty_PTR)(snd_pcm_subformat_mask_empty_ARG_EXPAND); -void snd_pcm_subformat_mask_free(snd_pcm_subformat_mask_free_ARG_EXPAND); +void glshim_snd_pcm_subformat_mask_free(snd_pcm_subformat_mask_free_ARG_EXPAND); typedef void (*snd_pcm_subformat_mask_free_PTR)(snd_pcm_subformat_mask_free_ARG_EXPAND); -int snd_pcm_subformat_mask_malloc(snd_pcm_subformat_mask_malloc_ARG_EXPAND); +int glshim_snd_pcm_subformat_mask_malloc(snd_pcm_subformat_mask_malloc_ARG_EXPAND); typedef int (*snd_pcm_subformat_mask_malloc_PTR)(snd_pcm_subformat_mask_malloc_ARG_EXPAND); -void snd_pcm_subformat_mask_none(snd_pcm_subformat_mask_none_ARG_EXPAND); +void glshim_snd_pcm_subformat_mask_none(snd_pcm_subformat_mask_none_ARG_EXPAND); typedef void (*snd_pcm_subformat_mask_none_PTR)(snd_pcm_subformat_mask_none_ARG_EXPAND); -void snd_pcm_subformat_mask_reset(snd_pcm_subformat_mask_reset_ARG_EXPAND); +void glshim_snd_pcm_subformat_mask_reset(snd_pcm_subformat_mask_reset_ARG_EXPAND); typedef void (*snd_pcm_subformat_mask_reset_PTR)(snd_pcm_subformat_mask_reset_ARG_EXPAND); -void snd_pcm_subformat_mask_set(snd_pcm_subformat_mask_set_ARG_EXPAND); +void glshim_snd_pcm_subformat_mask_set(snd_pcm_subformat_mask_set_ARG_EXPAND); typedef void (*snd_pcm_subformat_mask_set_PTR)(snd_pcm_subformat_mask_set_ARG_EXPAND); -size_t snd_pcm_subformat_mask_sizeof(snd_pcm_subformat_mask_sizeof_ARG_EXPAND); +size_t glshim_snd_pcm_subformat_mask_sizeof(snd_pcm_subformat_mask_sizeof_ARG_EXPAND); typedef size_t (*snd_pcm_subformat_mask_sizeof_PTR)(snd_pcm_subformat_mask_sizeof_ARG_EXPAND); -int snd_pcm_subformat_mask_test(snd_pcm_subformat_mask_test_ARG_EXPAND); +int glshim_snd_pcm_subformat_mask_test(snd_pcm_subformat_mask_test_ARG_EXPAND); typedef int (*snd_pcm_subformat_mask_test_PTR)(snd_pcm_subformat_mask_test_ARG_EXPAND); -const char * snd_pcm_subformat_name(snd_pcm_subformat_name_ARG_EXPAND); +const char * glshim_snd_pcm_subformat_name(snd_pcm_subformat_name_ARG_EXPAND); typedef const char * (*snd_pcm_subformat_name_PTR)(snd_pcm_subformat_name_ARG_EXPAND); -int snd_pcm_sw_params(snd_pcm_sw_params_ARG_EXPAND); +int glshim_snd_pcm_sw_params(snd_pcm_sw_params_ARG_EXPAND); typedef int (*snd_pcm_sw_params_PTR)(snd_pcm_sw_params_ARG_EXPAND); -void snd_pcm_sw_params_copy(snd_pcm_sw_params_copy_ARG_EXPAND); +void glshim_snd_pcm_sw_params_copy(snd_pcm_sw_params_copy_ARG_EXPAND); typedef void (*snd_pcm_sw_params_copy_PTR)(snd_pcm_sw_params_copy_ARG_EXPAND); -int snd_pcm_sw_params_current(snd_pcm_sw_params_current_ARG_EXPAND); +int glshim_snd_pcm_sw_params_current(snd_pcm_sw_params_current_ARG_EXPAND); typedef int (*snd_pcm_sw_params_current_PTR)(snd_pcm_sw_params_current_ARG_EXPAND); -int snd_pcm_sw_params_dump(snd_pcm_sw_params_dump_ARG_EXPAND); +int glshim_snd_pcm_sw_params_dump(snd_pcm_sw_params_dump_ARG_EXPAND); typedef int (*snd_pcm_sw_params_dump_PTR)(snd_pcm_sw_params_dump_ARG_EXPAND); -void snd_pcm_sw_params_free(snd_pcm_sw_params_free_ARG_EXPAND); +void glshim_snd_pcm_sw_params_free(snd_pcm_sw_params_free_ARG_EXPAND); typedef void (*snd_pcm_sw_params_free_PTR)(snd_pcm_sw_params_free_ARG_EXPAND); -int snd_pcm_sw_params_get_avail_min(snd_pcm_sw_params_get_avail_min_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_avail_min(snd_pcm_sw_params_get_avail_min_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_avail_min_PTR)(snd_pcm_sw_params_get_avail_min_ARG_EXPAND); -int snd_pcm_sw_params_get_boundary(snd_pcm_sw_params_get_boundary_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_boundary(snd_pcm_sw_params_get_boundary_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_boundary_PTR)(snd_pcm_sw_params_get_boundary_ARG_EXPAND); -int snd_pcm_sw_params_get_silence_size(snd_pcm_sw_params_get_silence_size_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_silence_size(snd_pcm_sw_params_get_silence_size_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_silence_size_PTR)(snd_pcm_sw_params_get_silence_size_ARG_EXPAND); -int snd_pcm_sw_params_get_silence_threshold(snd_pcm_sw_params_get_silence_threshold_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_silence_threshold(snd_pcm_sw_params_get_silence_threshold_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_silence_threshold_PTR)(snd_pcm_sw_params_get_silence_threshold_ARG_EXPAND); -int snd_pcm_sw_params_get_sleep_min(snd_pcm_sw_params_get_sleep_min_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_sleep_min(snd_pcm_sw_params_get_sleep_min_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_sleep_min_PTR)(snd_pcm_sw_params_get_sleep_min_ARG_EXPAND); -snd_pcm_start_t snd_pcm_sw_params_get_start_mode(snd_pcm_sw_params_get_start_mode_ARG_EXPAND); +snd_pcm_start_t glshim_snd_pcm_sw_params_get_start_mode(snd_pcm_sw_params_get_start_mode_ARG_EXPAND); typedef snd_pcm_start_t (*snd_pcm_sw_params_get_start_mode_PTR)(snd_pcm_sw_params_get_start_mode_ARG_EXPAND); -int snd_pcm_sw_params_get_start_threshold(snd_pcm_sw_params_get_start_threshold_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_start_threshold(snd_pcm_sw_params_get_start_threshold_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_start_threshold_PTR)(snd_pcm_sw_params_get_start_threshold_ARG_EXPAND); -int snd_pcm_sw_params_get_stop_threshold(snd_pcm_sw_params_get_stop_threshold_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_stop_threshold(snd_pcm_sw_params_get_stop_threshold_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_stop_threshold_PTR)(snd_pcm_sw_params_get_stop_threshold_ARG_EXPAND); -int snd_pcm_sw_params_get_tstamp_mode(snd_pcm_sw_params_get_tstamp_mode_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_tstamp_mode(snd_pcm_sw_params_get_tstamp_mode_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_tstamp_mode_PTR)(snd_pcm_sw_params_get_tstamp_mode_ARG_EXPAND); -int snd_pcm_sw_params_get_xfer_align(snd_pcm_sw_params_get_xfer_align_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_xfer_align(snd_pcm_sw_params_get_xfer_align_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_xfer_align_PTR)(snd_pcm_sw_params_get_xfer_align_ARG_EXPAND); -snd_pcm_xrun_t snd_pcm_sw_params_get_xrun_mode(snd_pcm_sw_params_get_xrun_mode_ARG_EXPAND); +snd_pcm_xrun_t glshim_snd_pcm_sw_params_get_xrun_mode(snd_pcm_sw_params_get_xrun_mode_ARG_EXPAND); typedef snd_pcm_xrun_t (*snd_pcm_sw_params_get_xrun_mode_PTR)(snd_pcm_sw_params_get_xrun_mode_ARG_EXPAND); -int snd_pcm_sw_params_malloc(snd_pcm_sw_params_malloc_ARG_EXPAND); +int glshim_snd_pcm_sw_params_malloc(snd_pcm_sw_params_malloc_ARG_EXPAND); typedef int (*snd_pcm_sw_params_malloc_PTR)(snd_pcm_sw_params_malloc_ARG_EXPAND); -int snd_pcm_sw_params_set_avail_min(snd_pcm_sw_params_set_avail_min_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_avail_min(snd_pcm_sw_params_set_avail_min_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_avail_min_PTR)(snd_pcm_sw_params_set_avail_min_ARG_EXPAND); -int snd_pcm_sw_params_set_silence_size(snd_pcm_sw_params_set_silence_size_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_silence_size(snd_pcm_sw_params_set_silence_size_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_silence_size_PTR)(snd_pcm_sw_params_set_silence_size_ARG_EXPAND); -int snd_pcm_sw_params_set_silence_threshold(snd_pcm_sw_params_set_silence_threshold_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_silence_threshold(snd_pcm_sw_params_set_silence_threshold_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_silence_threshold_PTR)(snd_pcm_sw_params_set_silence_threshold_ARG_EXPAND); -int snd_pcm_sw_params_set_sleep_min(snd_pcm_sw_params_set_sleep_min_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_sleep_min(snd_pcm_sw_params_set_sleep_min_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_sleep_min_PTR)(snd_pcm_sw_params_set_sleep_min_ARG_EXPAND); -int snd_pcm_sw_params_set_start_mode(snd_pcm_sw_params_set_start_mode_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_start_mode(snd_pcm_sw_params_set_start_mode_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_start_mode_PTR)(snd_pcm_sw_params_set_start_mode_ARG_EXPAND); -int snd_pcm_sw_params_set_start_threshold(snd_pcm_sw_params_set_start_threshold_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_start_threshold(snd_pcm_sw_params_set_start_threshold_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_start_threshold_PTR)(snd_pcm_sw_params_set_start_threshold_ARG_EXPAND); -int snd_pcm_sw_params_set_stop_threshold(snd_pcm_sw_params_set_stop_threshold_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_stop_threshold(snd_pcm_sw_params_set_stop_threshold_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_stop_threshold_PTR)(snd_pcm_sw_params_set_stop_threshold_ARG_EXPAND); -int snd_pcm_sw_params_set_tstamp_mode(snd_pcm_sw_params_set_tstamp_mode_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_tstamp_mode(snd_pcm_sw_params_set_tstamp_mode_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_tstamp_mode_PTR)(snd_pcm_sw_params_set_tstamp_mode_ARG_EXPAND); -int snd_pcm_sw_params_set_xfer_align(snd_pcm_sw_params_set_xfer_align_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_xfer_align(snd_pcm_sw_params_set_xfer_align_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_xfer_align_PTR)(snd_pcm_sw_params_set_xfer_align_ARG_EXPAND); -int snd_pcm_sw_params_set_xrun_mode(snd_pcm_sw_params_set_xrun_mode_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_xrun_mode(snd_pcm_sw_params_set_xrun_mode_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_xrun_mode_PTR)(snd_pcm_sw_params_set_xrun_mode_ARG_EXPAND); -size_t snd_pcm_sw_params_sizeof(snd_pcm_sw_params_sizeof_ARG_EXPAND); +size_t glshim_snd_pcm_sw_params_sizeof(snd_pcm_sw_params_sizeof_ARG_EXPAND); typedef size_t (*snd_pcm_sw_params_sizeof_PTR)(snd_pcm_sw_params_sizeof_ARG_EXPAND); -const char * snd_pcm_tstamp_mode_name(snd_pcm_tstamp_mode_name_ARG_EXPAND); +const char * glshim_snd_pcm_tstamp_mode_name(snd_pcm_tstamp_mode_name_ARG_EXPAND); typedef const char * (*snd_pcm_tstamp_mode_name_PTR)(snd_pcm_tstamp_mode_name_ARG_EXPAND); -snd_pcm_type_t snd_pcm_type(snd_pcm_type_ARG_EXPAND); +snd_pcm_type_t glshim_snd_pcm_type(snd_pcm_type_ARG_EXPAND); typedef snd_pcm_type_t (*snd_pcm_type_PTR)(snd_pcm_type_ARG_EXPAND); -const char * snd_pcm_type_name(snd_pcm_type_name_ARG_EXPAND); +const char * glshim_snd_pcm_type_name(snd_pcm_type_name_ARG_EXPAND); typedef const char * (*snd_pcm_type_name_PTR)(snd_pcm_type_name_ARG_EXPAND); -int snd_pcm_unlink(snd_pcm_unlink_ARG_EXPAND); +int glshim_snd_pcm_unlink(snd_pcm_unlink_ARG_EXPAND); typedef int (*snd_pcm_unlink_PTR)(snd_pcm_unlink_ARG_EXPAND); -int snd_pcm_wait(snd_pcm_wait_ARG_EXPAND); +int glshim_snd_pcm_wait(snd_pcm_wait_ARG_EXPAND); typedef int (*snd_pcm_wait_PTR)(snd_pcm_wait_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_writei(snd_pcm_writei_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_writei(snd_pcm_writei_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_writei_PTR)(snd_pcm_writei_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_writen(snd_pcm_writen_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_writen(snd_pcm_writen_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_writen_PTR)(snd_pcm_writen_ARG_EXPAND); -const char * snd_pcm_xrun_mode_name(snd_pcm_xrun_mode_name_ARG_EXPAND); +const char * glshim_snd_pcm_xrun_mode_name(snd_pcm_xrun_mode_name_ARG_EXPAND); typedef const char * (*snd_pcm_xrun_mode_name_PTR)(snd_pcm_xrun_mode_name_ARG_EXPAND); -int snd_rawmidi_close(snd_rawmidi_close_ARG_EXPAND); +int glshim_snd_rawmidi_close(snd_rawmidi_close_ARG_EXPAND); typedef int (*snd_rawmidi_close_PTR)(snd_rawmidi_close_ARG_EXPAND); -int snd_rawmidi_drain(snd_rawmidi_drain_ARG_EXPAND); +int glshim_snd_rawmidi_drain(snd_rawmidi_drain_ARG_EXPAND); typedef int (*snd_rawmidi_drain_PTR)(snd_rawmidi_drain_ARG_EXPAND); -int snd_rawmidi_drop(snd_rawmidi_drop_ARG_EXPAND); +int glshim_snd_rawmidi_drop(snd_rawmidi_drop_ARG_EXPAND); typedef int (*snd_rawmidi_drop_PTR)(snd_rawmidi_drop_ARG_EXPAND); -int snd_rawmidi_info(snd_rawmidi_info_ARG_EXPAND); +int glshim_snd_rawmidi_info(snd_rawmidi_info_ARG_EXPAND); typedef int (*snd_rawmidi_info_PTR)(snd_rawmidi_info_ARG_EXPAND); -void snd_rawmidi_info_copy(snd_rawmidi_info_copy_ARG_EXPAND); +void glshim_snd_rawmidi_info_copy(snd_rawmidi_info_copy_ARG_EXPAND); typedef void (*snd_rawmidi_info_copy_PTR)(snd_rawmidi_info_copy_ARG_EXPAND); -void snd_rawmidi_info_free(snd_rawmidi_info_free_ARG_EXPAND); +void glshim_snd_rawmidi_info_free(snd_rawmidi_info_free_ARG_EXPAND); typedef void (*snd_rawmidi_info_free_PTR)(snd_rawmidi_info_free_ARG_EXPAND); -int snd_rawmidi_info_get_card(snd_rawmidi_info_get_card_ARG_EXPAND); +int glshim_snd_rawmidi_info_get_card(snd_rawmidi_info_get_card_ARG_EXPAND); typedef int (*snd_rawmidi_info_get_card_PTR)(snd_rawmidi_info_get_card_ARG_EXPAND); -unsigned int snd_rawmidi_info_get_device(snd_rawmidi_info_get_device_ARG_EXPAND); +unsigned int glshim_snd_rawmidi_info_get_device(snd_rawmidi_info_get_device_ARG_EXPAND); typedef unsigned int (*snd_rawmidi_info_get_device_PTR)(snd_rawmidi_info_get_device_ARG_EXPAND); -unsigned int snd_rawmidi_info_get_flags(snd_rawmidi_info_get_flags_ARG_EXPAND); +unsigned int glshim_snd_rawmidi_info_get_flags(snd_rawmidi_info_get_flags_ARG_EXPAND); typedef unsigned int (*snd_rawmidi_info_get_flags_PTR)(snd_rawmidi_info_get_flags_ARG_EXPAND); -const char * snd_rawmidi_info_get_id(snd_rawmidi_info_get_id_ARG_EXPAND); +const char * glshim_snd_rawmidi_info_get_id(snd_rawmidi_info_get_id_ARG_EXPAND); typedef const char * (*snd_rawmidi_info_get_id_PTR)(snd_rawmidi_info_get_id_ARG_EXPAND); -const char * snd_rawmidi_info_get_name(snd_rawmidi_info_get_name_ARG_EXPAND); +const char * glshim_snd_rawmidi_info_get_name(snd_rawmidi_info_get_name_ARG_EXPAND); typedef const char * (*snd_rawmidi_info_get_name_PTR)(snd_rawmidi_info_get_name_ARG_EXPAND); -snd_rawmidi_stream_t snd_rawmidi_info_get_stream(snd_rawmidi_info_get_stream_ARG_EXPAND); +snd_rawmidi_stream_t glshim_snd_rawmidi_info_get_stream(snd_rawmidi_info_get_stream_ARG_EXPAND); typedef snd_rawmidi_stream_t (*snd_rawmidi_info_get_stream_PTR)(snd_rawmidi_info_get_stream_ARG_EXPAND); -unsigned int snd_rawmidi_info_get_subdevice(snd_rawmidi_info_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_rawmidi_info_get_subdevice(snd_rawmidi_info_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_rawmidi_info_get_subdevice_PTR)(snd_rawmidi_info_get_subdevice_ARG_EXPAND); -const char * snd_rawmidi_info_get_subdevice_name(snd_rawmidi_info_get_subdevice_name_ARG_EXPAND); +const char * glshim_snd_rawmidi_info_get_subdevice_name(snd_rawmidi_info_get_subdevice_name_ARG_EXPAND); typedef const char * (*snd_rawmidi_info_get_subdevice_name_PTR)(snd_rawmidi_info_get_subdevice_name_ARG_EXPAND); -unsigned int snd_rawmidi_info_get_subdevices_avail(snd_rawmidi_info_get_subdevices_avail_ARG_EXPAND); +unsigned int glshim_snd_rawmidi_info_get_subdevices_avail(snd_rawmidi_info_get_subdevices_avail_ARG_EXPAND); typedef unsigned int (*snd_rawmidi_info_get_subdevices_avail_PTR)(snd_rawmidi_info_get_subdevices_avail_ARG_EXPAND); -unsigned int snd_rawmidi_info_get_subdevices_count(snd_rawmidi_info_get_subdevices_count_ARG_EXPAND); +unsigned int glshim_snd_rawmidi_info_get_subdevices_count(snd_rawmidi_info_get_subdevices_count_ARG_EXPAND); typedef unsigned int (*snd_rawmidi_info_get_subdevices_count_PTR)(snd_rawmidi_info_get_subdevices_count_ARG_EXPAND); -int snd_rawmidi_info_malloc(snd_rawmidi_info_malloc_ARG_EXPAND); +int glshim_snd_rawmidi_info_malloc(snd_rawmidi_info_malloc_ARG_EXPAND); typedef int (*snd_rawmidi_info_malloc_PTR)(snd_rawmidi_info_malloc_ARG_EXPAND); -void snd_rawmidi_info_set_device(snd_rawmidi_info_set_device_ARG_EXPAND); +void glshim_snd_rawmidi_info_set_device(snd_rawmidi_info_set_device_ARG_EXPAND); typedef void (*snd_rawmidi_info_set_device_PTR)(snd_rawmidi_info_set_device_ARG_EXPAND); -void snd_rawmidi_info_set_stream(snd_rawmidi_info_set_stream_ARG_EXPAND); +void glshim_snd_rawmidi_info_set_stream(snd_rawmidi_info_set_stream_ARG_EXPAND); typedef void (*snd_rawmidi_info_set_stream_PTR)(snd_rawmidi_info_set_stream_ARG_EXPAND); -void snd_rawmidi_info_set_subdevice(snd_rawmidi_info_set_subdevice_ARG_EXPAND); +void glshim_snd_rawmidi_info_set_subdevice(snd_rawmidi_info_set_subdevice_ARG_EXPAND); typedef void (*snd_rawmidi_info_set_subdevice_PTR)(snd_rawmidi_info_set_subdevice_ARG_EXPAND); -size_t snd_rawmidi_info_sizeof(snd_rawmidi_info_sizeof_ARG_EXPAND); +size_t glshim_snd_rawmidi_info_sizeof(snd_rawmidi_info_sizeof_ARG_EXPAND); typedef size_t (*snd_rawmidi_info_sizeof_PTR)(snd_rawmidi_info_sizeof_ARG_EXPAND); -const char * snd_rawmidi_name(snd_rawmidi_name_ARG_EXPAND); +const char * glshim_snd_rawmidi_name(snd_rawmidi_name_ARG_EXPAND); typedef const char * (*snd_rawmidi_name_PTR)(snd_rawmidi_name_ARG_EXPAND); -int snd_rawmidi_nonblock(snd_rawmidi_nonblock_ARG_EXPAND); +int glshim_snd_rawmidi_nonblock(snd_rawmidi_nonblock_ARG_EXPAND); typedef int (*snd_rawmidi_nonblock_PTR)(snd_rawmidi_nonblock_ARG_EXPAND); -int snd_rawmidi_open(snd_rawmidi_open_ARG_EXPAND); +int glshim_snd_rawmidi_open(snd_rawmidi_open_ARG_EXPAND); typedef int (*snd_rawmidi_open_PTR)(snd_rawmidi_open_ARG_EXPAND); -int snd_rawmidi_open_lconf(snd_rawmidi_open_lconf_ARG_EXPAND); +int glshim_snd_rawmidi_open_lconf(snd_rawmidi_open_lconf_ARG_EXPAND); typedef int (*snd_rawmidi_open_lconf_PTR)(snd_rawmidi_open_lconf_ARG_EXPAND); -int snd_rawmidi_params(snd_rawmidi_params_ARG_EXPAND); +int glshim_snd_rawmidi_params(snd_rawmidi_params_ARG_EXPAND); typedef int (*snd_rawmidi_params_PTR)(snd_rawmidi_params_ARG_EXPAND); -void snd_rawmidi_params_copy(snd_rawmidi_params_copy_ARG_EXPAND); +void glshim_snd_rawmidi_params_copy(snd_rawmidi_params_copy_ARG_EXPAND); typedef void (*snd_rawmidi_params_copy_PTR)(snd_rawmidi_params_copy_ARG_EXPAND); -int snd_rawmidi_params_current(snd_rawmidi_params_current_ARG_EXPAND); +int glshim_snd_rawmidi_params_current(snd_rawmidi_params_current_ARG_EXPAND); typedef int (*snd_rawmidi_params_current_PTR)(snd_rawmidi_params_current_ARG_EXPAND); -void snd_rawmidi_params_free(snd_rawmidi_params_free_ARG_EXPAND); +void glshim_snd_rawmidi_params_free(snd_rawmidi_params_free_ARG_EXPAND); typedef void (*snd_rawmidi_params_free_PTR)(snd_rawmidi_params_free_ARG_EXPAND); -size_t snd_rawmidi_params_get_avail_min(snd_rawmidi_params_get_avail_min_ARG_EXPAND); +size_t glshim_snd_rawmidi_params_get_avail_min(snd_rawmidi_params_get_avail_min_ARG_EXPAND); typedef size_t (*snd_rawmidi_params_get_avail_min_PTR)(snd_rawmidi_params_get_avail_min_ARG_EXPAND); -size_t snd_rawmidi_params_get_buffer_size(snd_rawmidi_params_get_buffer_size_ARG_EXPAND); +size_t glshim_snd_rawmidi_params_get_buffer_size(snd_rawmidi_params_get_buffer_size_ARG_EXPAND); typedef size_t (*snd_rawmidi_params_get_buffer_size_PTR)(snd_rawmidi_params_get_buffer_size_ARG_EXPAND); -int snd_rawmidi_params_get_no_active_sensing(snd_rawmidi_params_get_no_active_sensing_ARG_EXPAND); +int glshim_snd_rawmidi_params_get_no_active_sensing(snd_rawmidi_params_get_no_active_sensing_ARG_EXPAND); typedef int (*snd_rawmidi_params_get_no_active_sensing_PTR)(snd_rawmidi_params_get_no_active_sensing_ARG_EXPAND); -int snd_rawmidi_params_malloc(snd_rawmidi_params_malloc_ARG_EXPAND); +int glshim_snd_rawmidi_params_malloc(snd_rawmidi_params_malloc_ARG_EXPAND); typedef int (*snd_rawmidi_params_malloc_PTR)(snd_rawmidi_params_malloc_ARG_EXPAND); -int snd_rawmidi_params_set_avail_min(snd_rawmidi_params_set_avail_min_ARG_EXPAND); +int glshim_snd_rawmidi_params_set_avail_min(snd_rawmidi_params_set_avail_min_ARG_EXPAND); typedef int (*snd_rawmidi_params_set_avail_min_PTR)(snd_rawmidi_params_set_avail_min_ARG_EXPAND); -int snd_rawmidi_params_set_buffer_size(snd_rawmidi_params_set_buffer_size_ARG_EXPAND); +int glshim_snd_rawmidi_params_set_buffer_size(snd_rawmidi_params_set_buffer_size_ARG_EXPAND); typedef int (*snd_rawmidi_params_set_buffer_size_PTR)(snd_rawmidi_params_set_buffer_size_ARG_EXPAND); -int snd_rawmidi_params_set_no_active_sensing(snd_rawmidi_params_set_no_active_sensing_ARG_EXPAND); +int glshim_snd_rawmidi_params_set_no_active_sensing(snd_rawmidi_params_set_no_active_sensing_ARG_EXPAND); typedef int (*snd_rawmidi_params_set_no_active_sensing_PTR)(snd_rawmidi_params_set_no_active_sensing_ARG_EXPAND); -size_t snd_rawmidi_params_sizeof(snd_rawmidi_params_sizeof_ARG_EXPAND); +size_t glshim_snd_rawmidi_params_sizeof(snd_rawmidi_params_sizeof_ARG_EXPAND); typedef size_t (*snd_rawmidi_params_sizeof_PTR)(snd_rawmidi_params_sizeof_ARG_EXPAND); -int snd_rawmidi_poll_descriptors(snd_rawmidi_poll_descriptors_ARG_EXPAND); +int glshim_snd_rawmidi_poll_descriptors(snd_rawmidi_poll_descriptors_ARG_EXPAND); typedef int (*snd_rawmidi_poll_descriptors_PTR)(snd_rawmidi_poll_descriptors_ARG_EXPAND); -int snd_rawmidi_poll_descriptors_count(snd_rawmidi_poll_descriptors_count_ARG_EXPAND); +int glshim_snd_rawmidi_poll_descriptors_count(snd_rawmidi_poll_descriptors_count_ARG_EXPAND); typedef int (*snd_rawmidi_poll_descriptors_count_PTR)(snd_rawmidi_poll_descriptors_count_ARG_EXPAND); -int snd_rawmidi_poll_descriptors_revents(snd_rawmidi_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_rawmidi_poll_descriptors_revents(snd_rawmidi_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_rawmidi_poll_descriptors_revents_PTR)(snd_rawmidi_poll_descriptors_revents_ARG_EXPAND); -ssize_t snd_rawmidi_read(snd_rawmidi_read_ARG_EXPAND); +ssize_t glshim_snd_rawmidi_read(snd_rawmidi_read_ARG_EXPAND); typedef ssize_t (*snd_rawmidi_read_PTR)(snd_rawmidi_read_ARG_EXPAND); -int snd_rawmidi_status(snd_rawmidi_status_ARG_EXPAND); +int glshim_snd_rawmidi_status(snd_rawmidi_status_ARG_EXPAND); typedef int (*snd_rawmidi_status_PTR)(snd_rawmidi_status_ARG_EXPAND); -void snd_rawmidi_status_copy(snd_rawmidi_status_copy_ARG_EXPAND); +void glshim_snd_rawmidi_status_copy(snd_rawmidi_status_copy_ARG_EXPAND); typedef void (*snd_rawmidi_status_copy_PTR)(snd_rawmidi_status_copy_ARG_EXPAND); -void snd_rawmidi_status_free(snd_rawmidi_status_free_ARG_EXPAND); +void glshim_snd_rawmidi_status_free(snd_rawmidi_status_free_ARG_EXPAND); typedef void (*snd_rawmidi_status_free_PTR)(snd_rawmidi_status_free_ARG_EXPAND); -size_t snd_rawmidi_status_get_avail(snd_rawmidi_status_get_avail_ARG_EXPAND); +size_t glshim_snd_rawmidi_status_get_avail(snd_rawmidi_status_get_avail_ARG_EXPAND); typedef size_t (*snd_rawmidi_status_get_avail_PTR)(snd_rawmidi_status_get_avail_ARG_EXPAND); -void snd_rawmidi_status_get_tstamp(snd_rawmidi_status_get_tstamp_ARG_EXPAND); +void glshim_snd_rawmidi_status_get_tstamp(snd_rawmidi_status_get_tstamp_ARG_EXPAND); typedef void (*snd_rawmidi_status_get_tstamp_PTR)(snd_rawmidi_status_get_tstamp_ARG_EXPAND); -size_t snd_rawmidi_status_get_xruns(snd_rawmidi_status_get_xruns_ARG_EXPAND); +size_t glshim_snd_rawmidi_status_get_xruns(snd_rawmidi_status_get_xruns_ARG_EXPAND); typedef size_t (*snd_rawmidi_status_get_xruns_PTR)(snd_rawmidi_status_get_xruns_ARG_EXPAND); -int snd_rawmidi_status_malloc(snd_rawmidi_status_malloc_ARG_EXPAND); +int glshim_snd_rawmidi_status_malloc(snd_rawmidi_status_malloc_ARG_EXPAND); typedef int (*snd_rawmidi_status_malloc_PTR)(snd_rawmidi_status_malloc_ARG_EXPAND); -size_t snd_rawmidi_status_sizeof(snd_rawmidi_status_sizeof_ARG_EXPAND); +size_t glshim_snd_rawmidi_status_sizeof(snd_rawmidi_status_sizeof_ARG_EXPAND); typedef size_t (*snd_rawmidi_status_sizeof_PTR)(snd_rawmidi_status_sizeof_ARG_EXPAND); -snd_rawmidi_stream_t snd_rawmidi_stream(snd_rawmidi_stream_ARG_EXPAND); +snd_rawmidi_stream_t glshim_snd_rawmidi_stream(snd_rawmidi_stream_ARG_EXPAND); typedef snd_rawmidi_stream_t (*snd_rawmidi_stream_PTR)(snd_rawmidi_stream_ARG_EXPAND); -snd_rawmidi_type_t snd_rawmidi_type(snd_rawmidi_type_ARG_EXPAND); +snd_rawmidi_type_t glshim_snd_rawmidi_type(snd_rawmidi_type_ARG_EXPAND); typedef snd_rawmidi_type_t (*snd_rawmidi_type_PTR)(snd_rawmidi_type_ARG_EXPAND); -ssize_t snd_rawmidi_write(snd_rawmidi_write_ARG_EXPAND); +ssize_t glshim_snd_rawmidi_write(snd_rawmidi_write_ARG_EXPAND); typedef ssize_t (*snd_rawmidi_write_PTR)(snd_rawmidi_write_ARG_EXPAND); -int snd_sctl_build(snd_sctl_build_ARG_EXPAND); +int glshim_snd_sctl_build(snd_sctl_build_ARG_EXPAND); typedef int (*snd_sctl_build_PTR)(snd_sctl_build_ARG_EXPAND); -int snd_sctl_free(snd_sctl_free_ARG_EXPAND); +int glshim_snd_sctl_free(snd_sctl_free_ARG_EXPAND); typedef int (*snd_sctl_free_PTR)(snd_sctl_free_ARG_EXPAND); -int snd_sctl_install(snd_sctl_install_ARG_EXPAND); +int glshim_snd_sctl_install(snd_sctl_install_ARG_EXPAND); typedef int (*snd_sctl_install_PTR)(snd_sctl_install_ARG_EXPAND); -int snd_sctl_remove(snd_sctl_remove_ARG_EXPAND); +int glshim_snd_sctl_remove(snd_sctl_remove_ARG_EXPAND); typedef int (*snd_sctl_remove_PTR)(snd_sctl_remove_ARG_EXPAND); -int snd_seq_alloc_named_queue(snd_seq_alloc_named_queue_ARG_EXPAND); +int glshim_snd_seq_alloc_named_queue(snd_seq_alloc_named_queue_ARG_EXPAND); typedef int (*snd_seq_alloc_named_queue_PTR)(snd_seq_alloc_named_queue_ARG_EXPAND); -int snd_seq_alloc_queue(snd_seq_alloc_queue_ARG_EXPAND); +int glshim_snd_seq_alloc_queue(snd_seq_alloc_queue_ARG_EXPAND); typedef int (*snd_seq_alloc_queue_PTR)(snd_seq_alloc_queue_ARG_EXPAND); -int snd_seq_change_bit(snd_seq_change_bit_ARG_EXPAND); +int glshim_snd_seq_change_bit(snd_seq_change_bit_ARG_EXPAND); typedef int (*snd_seq_change_bit_PTR)(snd_seq_change_bit_ARG_EXPAND); -int snd_seq_client_id(snd_seq_client_id_ARG_EXPAND); +int glshim_snd_seq_client_id(snd_seq_client_id_ARG_EXPAND); typedef int (*snd_seq_client_id_PTR)(snd_seq_client_id_ARG_EXPAND); -void snd_seq_client_info_copy(snd_seq_client_info_copy_ARG_EXPAND); +void glshim_snd_seq_client_info_copy(snd_seq_client_info_copy_ARG_EXPAND); typedef void (*snd_seq_client_info_copy_PTR)(snd_seq_client_info_copy_ARG_EXPAND); -void snd_seq_client_info_free(snd_seq_client_info_free_ARG_EXPAND); +void glshim_snd_seq_client_info_free(snd_seq_client_info_free_ARG_EXPAND); typedef void (*snd_seq_client_info_free_PTR)(snd_seq_client_info_free_ARG_EXPAND); -int snd_seq_client_info_get_broadcast_filter(snd_seq_client_info_get_broadcast_filter_ARG_EXPAND); +int glshim_snd_seq_client_info_get_broadcast_filter(snd_seq_client_info_get_broadcast_filter_ARG_EXPAND); typedef int (*snd_seq_client_info_get_broadcast_filter_PTR)(snd_seq_client_info_get_broadcast_filter_ARG_EXPAND); -int snd_seq_client_info_get_client(snd_seq_client_info_get_client_ARG_EXPAND); +int glshim_snd_seq_client_info_get_client(snd_seq_client_info_get_client_ARG_EXPAND); typedef int (*snd_seq_client_info_get_client_PTR)(snd_seq_client_info_get_client_ARG_EXPAND); -int snd_seq_client_info_get_error_bounce(snd_seq_client_info_get_error_bounce_ARG_EXPAND); +int glshim_snd_seq_client_info_get_error_bounce(snd_seq_client_info_get_error_bounce_ARG_EXPAND); typedef int (*snd_seq_client_info_get_error_bounce_PTR)(snd_seq_client_info_get_error_bounce_ARG_EXPAND); -const unsigned char * snd_seq_client_info_get_event_filter(snd_seq_client_info_get_event_filter_ARG_EXPAND); +const unsigned char * glshim_snd_seq_client_info_get_event_filter(snd_seq_client_info_get_event_filter_ARG_EXPAND); typedef const unsigned char * (*snd_seq_client_info_get_event_filter_PTR)(snd_seq_client_info_get_event_filter_ARG_EXPAND); -int snd_seq_client_info_get_event_lost(snd_seq_client_info_get_event_lost_ARG_EXPAND); +int glshim_snd_seq_client_info_get_event_lost(snd_seq_client_info_get_event_lost_ARG_EXPAND); typedef int (*snd_seq_client_info_get_event_lost_PTR)(snd_seq_client_info_get_event_lost_ARG_EXPAND); -const char * snd_seq_client_info_get_name(snd_seq_client_info_get_name_ARG_EXPAND); +const char * glshim_snd_seq_client_info_get_name(snd_seq_client_info_get_name_ARG_EXPAND); typedef const char * (*snd_seq_client_info_get_name_PTR)(snd_seq_client_info_get_name_ARG_EXPAND); -int snd_seq_client_info_get_num_ports(snd_seq_client_info_get_num_ports_ARG_EXPAND); +int glshim_snd_seq_client_info_get_num_ports(snd_seq_client_info_get_num_ports_ARG_EXPAND); typedef int (*snd_seq_client_info_get_num_ports_PTR)(snd_seq_client_info_get_num_ports_ARG_EXPAND); -snd_seq_client_type_t snd_seq_client_info_get_type(snd_seq_client_info_get_type_ARG_EXPAND); +snd_seq_client_type_t glshim_snd_seq_client_info_get_type(snd_seq_client_info_get_type_ARG_EXPAND); typedef snd_seq_client_type_t (*snd_seq_client_info_get_type_PTR)(snd_seq_client_info_get_type_ARG_EXPAND); -int snd_seq_client_info_malloc(snd_seq_client_info_malloc_ARG_EXPAND); +int glshim_snd_seq_client_info_malloc(snd_seq_client_info_malloc_ARG_EXPAND); typedef int (*snd_seq_client_info_malloc_PTR)(snd_seq_client_info_malloc_ARG_EXPAND); -void snd_seq_client_info_set_broadcast_filter(snd_seq_client_info_set_broadcast_filter_ARG_EXPAND); +void glshim_snd_seq_client_info_set_broadcast_filter(snd_seq_client_info_set_broadcast_filter_ARG_EXPAND); typedef void (*snd_seq_client_info_set_broadcast_filter_PTR)(snd_seq_client_info_set_broadcast_filter_ARG_EXPAND); -void snd_seq_client_info_set_client(snd_seq_client_info_set_client_ARG_EXPAND); +void glshim_snd_seq_client_info_set_client(snd_seq_client_info_set_client_ARG_EXPAND); typedef void (*snd_seq_client_info_set_client_PTR)(snd_seq_client_info_set_client_ARG_EXPAND); -void snd_seq_client_info_set_error_bounce(snd_seq_client_info_set_error_bounce_ARG_EXPAND); +void glshim_snd_seq_client_info_set_error_bounce(snd_seq_client_info_set_error_bounce_ARG_EXPAND); typedef void (*snd_seq_client_info_set_error_bounce_PTR)(snd_seq_client_info_set_error_bounce_ARG_EXPAND); -void snd_seq_client_info_set_event_filter(snd_seq_client_info_set_event_filter_ARG_EXPAND); +void glshim_snd_seq_client_info_set_event_filter(snd_seq_client_info_set_event_filter_ARG_EXPAND); typedef void (*snd_seq_client_info_set_event_filter_PTR)(snd_seq_client_info_set_event_filter_ARG_EXPAND); -void snd_seq_client_info_set_name(snd_seq_client_info_set_name_ARG_EXPAND); +void glshim_snd_seq_client_info_set_name(snd_seq_client_info_set_name_ARG_EXPAND); typedef void (*snd_seq_client_info_set_name_PTR)(snd_seq_client_info_set_name_ARG_EXPAND); -size_t snd_seq_client_info_sizeof(snd_seq_client_info_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_client_info_sizeof(snd_seq_client_info_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_client_info_sizeof_PTR)(snd_seq_client_info_sizeof_ARG_EXPAND); -void snd_seq_client_pool_copy(snd_seq_client_pool_copy_ARG_EXPAND); +void glshim_snd_seq_client_pool_copy(snd_seq_client_pool_copy_ARG_EXPAND); typedef void (*snd_seq_client_pool_copy_PTR)(snd_seq_client_pool_copy_ARG_EXPAND); -void snd_seq_client_pool_free(snd_seq_client_pool_free_ARG_EXPAND); +void glshim_snd_seq_client_pool_free(snd_seq_client_pool_free_ARG_EXPAND); typedef void (*snd_seq_client_pool_free_PTR)(snd_seq_client_pool_free_ARG_EXPAND); -int snd_seq_client_pool_get_client(snd_seq_client_pool_get_client_ARG_EXPAND); +int glshim_snd_seq_client_pool_get_client(snd_seq_client_pool_get_client_ARG_EXPAND); typedef int (*snd_seq_client_pool_get_client_PTR)(snd_seq_client_pool_get_client_ARG_EXPAND); -size_t snd_seq_client_pool_get_input_free(snd_seq_client_pool_get_input_free_ARG_EXPAND); +size_t glshim_snd_seq_client_pool_get_input_free(snd_seq_client_pool_get_input_free_ARG_EXPAND); typedef size_t (*snd_seq_client_pool_get_input_free_PTR)(snd_seq_client_pool_get_input_free_ARG_EXPAND); -size_t snd_seq_client_pool_get_input_pool(snd_seq_client_pool_get_input_pool_ARG_EXPAND); +size_t glshim_snd_seq_client_pool_get_input_pool(snd_seq_client_pool_get_input_pool_ARG_EXPAND); typedef size_t (*snd_seq_client_pool_get_input_pool_PTR)(snd_seq_client_pool_get_input_pool_ARG_EXPAND); -size_t snd_seq_client_pool_get_output_free(snd_seq_client_pool_get_output_free_ARG_EXPAND); +size_t glshim_snd_seq_client_pool_get_output_free(snd_seq_client_pool_get_output_free_ARG_EXPAND); typedef size_t (*snd_seq_client_pool_get_output_free_PTR)(snd_seq_client_pool_get_output_free_ARG_EXPAND); -size_t snd_seq_client_pool_get_output_pool(snd_seq_client_pool_get_output_pool_ARG_EXPAND); +size_t glshim_snd_seq_client_pool_get_output_pool(snd_seq_client_pool_get_output_pool_ARG_EXPAND); typedef size_t (*snd_seq_client_pool_get_output_pool_PTR)(snd_seq_client_pool_get_output_pool_ARG_EXPAND); -size_t snd_seq_client_pool_get_output_room(snd_seq_client_pool_get_output_room_ARG_EXPAND); +size_t glshim_snd_seq_client_pool_get_output_room(snd_seq_client_pool_get_output_room_ARG_EXPAND); typedef size_t (*snd_seq_client_pool_get_output_room_PTR)(snd_seq_client_pool_get_output_room_ARG_EXPAND); -int snd_seq_client_pool_malloc(snd_seq_client_pool_malloc_ARG_EXPAND); +int glshim_snd_seq_client_pool_malloc(snd_seq_client_pool_malloc_ARG_EXPAND); typedef int (*snd_seq_client_pool_malloc_PTR)(snd_seq_client_pool_malloc_ARG_EXPAND); -void snd_seq_client_pool_set_input_pool(snd_seq_client_pool_set_input_pool_ARG_EXPAND); +void glshim_snd_seq_client_pool_set_input_pool(snd_seq_client_pool_set_input_pool_ARG_EXPAND); typedef void (*snd_seq_client_pool_set_input_pool_PTR)(snd_seq_client_pool_set_input_pool_ARG_EXPAND); -void snd_seq_client_pool_set_output_pool(snd_seq_client_pool_set_output_pool_ARG_EXPAND); +void glshim_snd_seq_client_pool_set_output_pool(snd_seq_client_pool_set_output_pool_ARG_EXPAND); typedef void (*snd_seq_client_pool_set_output_pool_PTR)(snd_seq_client_pool_set_output_pool_ARG_EXPAND); -void snd_seq_client_pool_set_output_room(snd_seq_client_pool_set_output_room_ARG_EXPAND); +void glshim_snd_seq_client_pool_set_output_room(snd_seq_client_pool_set_output_room_ARG_EXPAND); typedef void (*snd_seq_client_pool_set_output_room_PTR)(snd_seq_client_pool_set_output_room_ARG_EXPAND); -size_t snd_seq_client_pool_sizeof(snd_seq_client_pool_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_client_pool_sizeof(snd_seq_client_pool_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_client_pool_sizeof_PTR)(snd_seq_client_pool_sizeof_ARG_EXPAND); -int snd_seq_close(snd_seq_close_ARG_EXPAND); +int glshim_snd_seq_close(snd_seq_close_ARG_EXPAND); typedef int (*snd_seq_close_PTR)(snd_seq_close_ARG_EXPAND); -int snd_seq_connect_from(snd_seq_connect_from_ARG_EXPAND); +int glshim_snd_seq_connect_from(snd_seq_connect_from_ARG_EXPAND); typedef int (*snd_seq_connect_from_PTR)(snd_seq_connect_from_ARG_EXPAND); -int snd_seq_connect_to(snd_seq_connect_to_ARG_EXPAND); +int glshim_snd_seq_connect_to(snd_seq_connect_to_ARG_EXPAND); typedef int (*snd_seq_connect_to_PTR)(snd_seq_connect_to_ARG_EXPAND); -int snd_seq_control_queue(snd_seq_control_queue_ARG_EXPAND); +int glshim_snd_seq_control_queue(snd_seq_control_queue_ARG_EXPAND); typedef int (*snd_seq_control_queue_PTR)(snd_seq_control_queue_ARG_EXPAND); -int snd_seq_create_port(snd_seq_create_port_ARG_EXPAND); +int glshim_snd_seq_create_port(snd_seq_create_port_ARG_EXPAND); typedef int (*snd_seq_create_port_PTR)(snd_seq_create_port_ARG_EXPAND); -int snd_seq_create_queue(snd_seq_create_queue_ARG_EXPAND); +int glshim_snd_seq_create_queue(snd_seq_create_queue_ARG_EXPAND); typedef int (*snd_seq_create_queue_PTR)(snd_seq_create_queue_ARG_EXPAND); -int snd_seq_create_simple_port(snd_seq_create_simple_port_ARG_EXPAND); +int glshim_snd_seq_create_simple_port(snd_seq_create_simple_port_ARG_EXPAND); typedef int (*snd_seq_create_simple_port_PTR)(snd_seq_create_simple_port_ARG_EXPAND); -int snd_seq_delete_port(snd_seq_delete_port_ARG_EXPAND); +int glshim_snd_seq_delete_port(snd_seq_delete_port_ARG_EXPAND); typedef int (*snd_seq_delete_port_PTR)(snd_seq_delete_port_ARG_EXPAND); -int snd_seq_delete_simple_port(snd_seq_delete_simple_port_ARG_EXPAND); +int glshim_snd_seq_delete_simple_port(snd_seq_delete_simple_port_ARG_EXPAND); typedef int (*snd_seq_delete_simple_port_PTR)(snd_seq_delete_simple_port_ARG_EXPAND); -int snd_seq_disconnect_from(snd_seq_disconnect_from_ARG_EXPAND); +int glshim_snd_seq_disconnect_from(snd_seq_disconnect_from_ARG_EXPAND); typedef int (*snd_seq_disconnect_from_PTR)(snd_seq_disconnect_from_ARG_EXPAND); -int snd_seq_disconnect_to(snd_seq_disconnect_to_ARG_EXPAND); +int glshim_snd_seq_disconnect_to(snd_seq_disconnect_to_ARG_EXPAND); typedef int (*snd_seq_disconnect_to_PTR)(snd_seq_disconnect_to_ARG_EXPAND); -int snd_seq_drain_output(snd_seq_drain_output_ARG_EXPAND); +int glshim_snd_seq_drain_output(snd_seq_drain_output_ARG_EXPAND); typedef int (*snd_seq_drain_output_PTR)(snd_seq_drain_output_ARG_EXPAND); -int snd_seq_drop_input(snd_seq_drop_input_ARG_EXPAND); +int glshim_snd_seq_drop_input(snd_seq_drop_input_ARG_EXPAND); typedef int (*snd_seq_drop_input_PTR)(snd_seq_drop_input_ARG_EXPAND); -int snd_seq_drop_input_buffer(snd_seq_drop_input_buffer_ARG_EXPAND); +int glshim_snd_seq_drop_input_buffer(snd_seq_drop_input_buffer_ARG_EXPAND); typedef int (*snd_seq_drop_input_buffer_PTR)(snd_seq_drop_input_buffer_ARG_EXPAND); -int snd_seq_drop_output(snd_seq_drop_output_ARG_EXPAND); +int glshim_snd_seq_drop_output(snd_seq_drop_output_ARG_EXPAND); typedef int (*snd_seq_drop_output_PTR)(snd_seq_drop_output_ARG_EXPAND); -int snd_seq_drop_output_buffer(snd_seq_drop_output_buffer_ARG_EXPAND); +int glshim_snd_seq_drop_output_buffer(snd_seq_drop_output_buffer_ARG_EXPAND); typedef int (*snd_seq_drop_output_buffer_PTR)(snd_seq_drop_output_buffer_ARG_EXPAND); -int snd_seq_event_input(snd_seq_event_input_ARG_EXPAND); +int glshim_snd_seq_event_input(snd_seq_event_input_ARG_EXPAND); typedef int (*snd_seq_event_input_PTR)(snd_seq_event_input_ARG_EXPAND); -int snd_seq_event_input_pending(snd_seq_event_input_pending_ARG_EXPAND); +int glshim_snd_seq_event_input_pending(snd_seq_event_input_pending_ARG_EXPAND); typedef int (*snd_seq_event_input_pending_PTR)(snd_seq_event_input_pending_ARG_EXPAND); -ssize_t snd_seq_event_length(snd_seq_event_length_ARG_EXPAND); +ssize_t glshim_snd_seq_event_length(snd_seq_event_length_ARG_EXPAND); typedef ssize_t (*snd_seq_event_length_PTR)(snd_seq_event_length_ARG_EXPAND); -int snd_seq_event_output(snd_seq_event_output_ARG_EXPAND); +int glshim_snd_seq_event_output(snd_seq_event_output_ARG_EXPAND); typedef int (*snd_seq_event_output_PTR)(snd_seq_event_output_ARG_EXPAND); -int snd_seq_event_output_buffer(snd_seq_event_output_buffer_ARG_EXPAND); +int glshim_snd_seq_event_output_buffer(snd_seq_event_output_buffer_ARG_EXPAND); typedef int (*snd_seq_event_output_buffer_PTR)(snd_seq_event_output_buffer_ARG_EXPAND); -int snd_seq_event_output_direct(snd_seq_event_output_direct_ARG_EXPAND); +int glshim_snd_seq_event_output_direct(snd_seq_event_output_direct_ARG_EXPAND); typedef int (*snd_seq_event_output_direct_PTR)(snd_seq_event_output_direct_ARG_EXPAND); -int snd_seq_event_output_pending(snd_seq_event_output_pending_ARG_EXPAND); +int glshim_snd_seq_event_output_pending(snd_seq_event_output_pending_ARG_EXPAND); typedef int (*snd_seq_event_output_pending_PTR)(snd_seq_event_output_pending_ARG_EXPAND); -int snd_seq_extract_output(snd_seq_extract_output_ARG_EXPAND); +int glshim_snd_seq_extract_output(snd_seq_extract_output_ARG_EXPAND); typedef int (*snd_seq_extract_output_PTR)(snd_seq_extract_output_ARG_EXPAND); -int snd_seq_free_event(snd_seq_free_event_ARG_EXPAND); +int glshim_snd_seq_free_event(snd_seq_free_event_ARG_EXPAND); typedef int (*snd_seq_free_event_PTR)(snd_seq_free_event_ARG_EXPAND); -int snd_seq_free_queue(snd_seq_free_queue_ARG_EXPAND); +int glshim_snd_seq_free_queue(snd_seq_free_queue_ARG_EXPAND); typedef int (*snd_seq_free_queue_PTR)(snd_seq_free_queue_ARG_EXPAND); -int snd_seq_get_any_client_info(snd_seq_get_any_client_info_ARG_EXPAND); +int glshim_snd_seq_get_any_client_info(snd_seq_get_any_client_info_ARG_EXPAND); typedef int (*snd_seq_get_any_client_info_PTR)(snd_seq_get_any_client_info_ARG_EXPAND); -int snd_seq_get_any_port_info(snd_seq_get_any_port_info_ARG_EXPAND); +int glshim_snd_seq_get_any_port_info(snd_seq_get_any_port_info_ARG_EXPAND); typedef int (*snd_seq_get_any_port_info_PTR)(snd_seq_get_any_port_info_ARG_EXPAND); -int snd_seq_get_bit(snd_seq_get_bit_ARG_EXPAND); +int glshim_snd_seq_get_bit(snd_seq_get_bit_ARG_EXPAND); typedef int (*snd_seq_get_bit_PTR)(snd_seq_get_bit_ARG_EXPAND); -int snd_seq_get_client_info(snd_seq_get_client_info_ARG_EXPAND); +int glshim_snd_seq_get_client_info(snd_seq_get_client_info_ARG_EXPAND); typedef int (*snd_seq_get_client_info_PTR)(snd_seq_get_client_info_ARG_EXPAND); -int snd_seq_get_client_pool(snd_seq_get_client_pool_ARG_EXPAND); +int glshim_snd_seq_get_client_pool(snd_seq_get_client_pool_ARG_EXPAND); typedef int (*snd_seq_get_client_pool_PTR)(snd_seq_get_client_pool_ARG_EXPAND); -size_t snd_seq_get_input_buffer_size(snd_seq_get_input_buffer_size_ARG_EXPAND); +size_t glshim_snd_seq_get_input_buffer_size(snd_seq_get_input_buffer_size_ARG_EXPAND); typedef size_t (*snd_seq_get_input_buffer_size_PTR)(snd_seq_get_input_buffer_size_ARG_EXPAND); -size_t snd_seq_get_output_buffer_size(snd_seq_get_output_buffer_size_ARG_EXPAND); +size_t glshim_snd_seq_get_output_buffer_size(snd_seq_get_output_buffer_size_ARG_EXPAND); typedef size_t (*snd_seq_get_output_buffer_size_PTR)(snd_seq_get_output_buffer_size_ARG_EXPAND); -int snd_seq_get_port_info(snd_seq_get_port_info_ARG_EXPAND); +int glshim_snd_seq_get_port_info(snd_seq_get_port_info_ARG_EXPAND); typedef int (*snd_seq_get_port_info_PTR)(snd_seq_get_port_info_ARG_EXPAND); -int snd_seq_get_port_subscription(snd_seq_get_port_subscription_ARG_EXPAND); +int glshim_snd_seq_get_port_subscription(snd_seq_get_port_subscription_ARG_EXPAND); typedef int (*snd_seq_get_port_subscription_PTR)(snd_seq_get_port_subscription_ARG_EXPAND); -int snd_seq_get_queue_info(snd_seq_get_queue_info_ARG_EXPAND); +int glshim_snd_seq_get_queue_info(snd_seq_get_queue_info_ARG_EXPAND); typedef int (*snd_seq_get_queue_info_PTR)(snd_seq_get_queue_info_ARG_EXPAND); -int snd_seq_get_queue_status(snd_seq_get_queue_status_ARG_EXPAND); +int glshim_snd_seq_get_queue_status(snd_seq_get_queue_status_ARG_EXPAND); typedef int (*snd_seq_get_queue_status_PTR)(snd_seq_get_queue_status_ARG_EXPAND); -int snd_seq_get_queue_tempo(snd_seq_get_queue_tempo_ARG_EXPAND); +int glshim_snd_seq_get_queue_tempo(snd_seq_get_queue_tempo_ARG_EXPAND); typedef int (*snd_seq_get_queue_tempo_PTR)(snd_seq_get_queue_tempo_ARG_EXPAND); -int snd_seq_get_queue_timer(snd_seq_get_queue_timer_ARG_EXPAND); +int glshim_snd_seq_get_queue_timer(snd_seq_get_queue_timer_ARG_EXPAND); typedef int (*snd_seq_get_queue_timer_PTR)(snd_seq_get_queue_timer_ARG_EXPAND); -int snd_seq_get_queue_usage(snd_seq_get_queue_usage_ARG_EXPAND); +int glshim_snd_seq_get_queue_usage(snd_seq_get_queue_usage_ARG_EXPAND); typedef int (*snd_seq_get_queue_usage_PTR)(snd_seq_get_queue_usage_ARG_EXPAND); -const char * snd_seq_name(snd_seq_name_ARG_EXPAND); +const char * glshim_snd_seq_name(snd_seq_name_ARG_EXPAND); typedef const char * (*snd_seq_name_PTR)(snd_seq_name_ARG_EXPAND); -int snd_seq_nonblock(snd_seq_nonblock_ARG_EXPAND); +int glshim_snd_seq_nonblock(snd_seq_nonblock_ARG_EXPAND); typedef int (*snd_seq_nonblock_PTR)(snd_seq_nonblock_ARG_EXPAND); -int snd_seq_open(snd_seq_open_ARG_EXPAND); +int glshim_snd_seq_open(snd_seq_open_ARG_EXPAND); typedef int (*snd_seq_open_PTR)(snd_seq_open_ARG_EXPAND); -int snd_seq_open_lconf(snd_seq_open_lconf_ARG_EXPAND); +int glshim_snd_seq_open_lconf(snd_seq_open_lconf_ARG_EXPAND); typedef int (*snd_seq_open_lconf_PTR)(snd_seq_open_lconf_ARG_EXPAND); -int snd_seq_parse_address(snd_seq_parse_address_ARG_EXPAND); +int glshim_snd_seq_parse_address(snd_seq_parse_address_ARG_EXPAND); typedef int (*snd_seq_parse_address_PTR)(snd_seq_parse_address_ARG_EXPAND); -int snd_seq_poll_descriptors(snd_seq_poll_descriptors_ARG_EXPAND); +int glshim_snd_seq_poll_descriptors(snd_seq_poll_descriptors_ARG_EXPAND); typedef int (*snd_seq_poll_descriptors_PTR)(snd_seq_poll_descriptors_ARG_EXPAND); -int snd_seq_poll_descriptors_count(snd_seq_poll_descriptors_count_ARG_EXPAND); +int glshim_snd_seq_poll_descriptors_count(snd_seq_poll_descriptors_count_ARG_EXPAND); typedef int (*snd_seq_poll_descriptors_count_PTR)(snd_seq_poll_descriptors_count_ARG_EXPAND); -int snd_seq_poll_descriptors_revents(snd_seq_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_seq_poll_descriptors_revents(snd_seq_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_seq_poll_descriptors_revents_PTR)(snd_seq_poll_descriptors_revents_ARG_EXPAND); -void snd_seq_port_info_copy(snd_seq_port_info_copy_ARG_EXPAND); +void glshim_snd_seq_port_info_copy(snd_seq_port_info_copy_ARG_EXPAND); typedef void (*snd_seq_port_info_copy_PTR)(snd_seq_port_info_copy_ARG_EXPAND); -void snd_seq_port_info_free(snd_seq_port_info_free_ARG_EXPAND); +void glshim_snd_seq_port_info_free(snd_seq_port_info_free_ARG_EXPAND); typedef void (*snd_seq_port_info_free_PTR)(snd_seq_port_info_free_ARG_EXPAND); -const snd_seq_addr_t * snd_seq_port_info_get_addr(snd_seq_port_info_get_addr_ARG_EXPAND); +const snd_seq_addr_t * glshim_snd_seq_port_info_get_addr(snd_seq_port_info_get_addr_ARG_EXPAND); typedef const snd_seq_addr_t * (*snd_seq_port_info_get_addr_PTR)(snd_seq_port_info_get_addr_ARG_EXPAND); -unsigned int snd_seq_port_info_get_capability(snd_seq_port_info_get_capability_ARG_EXPAND); +unsigned int glshim_snd_seq_port_info_get_capability(snd_seq_port_info_get_capability_ARG_EXPAND); typedef unsigned int (*snd_seq_port_info_get_capability_PTR)(snd_seq_port_info_get_capability_ARG_EXPAND); -int snd_seq_port_info_get_client(snd_seq_port_info_get_client_ARG_EXPAND); +int glshim_snd_seq_port_info_get_client(snd_seq_port_info_get_client_ARG_EXPAND); typedef int (*snd_seq_port_info_get_client_PTR)(snd_seq_port_info_get_client_ARG_EXPAND); -int snd_seq_port_info_get_midi_channels(snd_seq_port_info_get_midi_channels_ARG_EXPAND); +int glshim_snd_seq_port_info_get_midi_channels(snd_seq_port_info_get_midi_channels_ARG_EXPAND); typedef int (*snd_seq_port_info_get_midi_channels_PTR)(snd_seq_port_info_get_midi_channels_ARG_EXPAND); -int snd_seq_port_info_get_midi_voices(snd_seq_port_info_get_midi_voices_ARG_EXPAND); +int glshim_snd_seq_port_info_get_midi_voices(snd_seq_port_info_get_midi_voices_ARG_EXPAND); typedef int (*snd_seq_port_info_get_midi_voices_PTR)(snd_seq_port_info_get_midi_voices_ARG_EXPAND); -const char * snd_seq_port_info_get_name(snd_seq_port_info_get_name_ARG_EXPAND); +const char * glshim_snd_seq_port_info_get_name(snd_seq_port_info_get_name_ARG_EXPAND); typedef const char * (*snd_seq_port_info_get_name_PTR)(snd_seq_port_info_get_name_ARG_EXPAND); -int snd_seq_port_info_get_port(snd_seq_port_info_get_port_ARG_EXPAND); +int glshim_snd_seq_port_info_get_port(snd_seq_port_info_get_port_ARG_EXPAND); typedef int (*snd_seq_port_info_get_port_PTR)(snd_seq_port_info_get_port_ARG_EXPAND); -int snd_seq_port_info_get_port_specified(snd_seq_port_info_get_port_specified_ARG_EXPAND); +int glshim_snd_seq_port_info_get_port_specified(snd_seq_port_info_get_port_specified_ARG_EXPAND); typedef int (*snd_seq_port_info_get_port_specified_PTR)(snd_seq_port_info_get_port_specified_ARG_EXPAND); -int snd_seq_port_info_get_read_use(snd_seq_port_info_get_read_use_ARG_EXPAND); +int glshim_snd_seq_port_info_get_read_use(snd_seq_port_info_get_read_use_ARG_EXPAND); typedef int (*snd_seq_port_info_get_read_use_PTR)(snd_seq_port_info_get_read_use_ARG_EXPAND); -int snd_seq_port_info_get_synth_voices(snd_seq_port_info_get_synth_voices_ARG_EXPAND); +int glshim_snd_seq_port_info_get_synth_voices(snd_seq_port_info_get_synth_voices_ARG_EXPAND); typedef int (*snd_seq_port_info_get_synth_voices_PTR)(snd_seq_port_info_get_synth_voices_ARG_EXPAND); -int snd_seq_port_info_get_timestamp_queue(snd_seq_port_info_get_timestamp_queue_ARG_EXPAND); +int glshim_snd_seq_port_info_get_timestamp_queue(snd_seq_port_info_get_timestamp_queue_ARG_EXPAND); typedef int (*snd_seq_port_info_get_timestamp_queue_PTR)(snd_seq_port_info_get_timestamp_queue_ARG_EXPAND); -int snd_seq_port_info_get_timestamp_real(snd_seq_port_info_get_timestamp_real_ARG_EXPAND); +int glshim_snd_seq_port_info_get_timestamp_real(snd_seq_port_info_get_timestamp_real_ARG_EXPAND); typedef int (*snd_seq_port_info_get_timestamp_real_PTR)(snd_seq_port_info_get_timestamp_real_ARG_EXPAND); -int snd_seq_port_info_get_timestamping(snd_seq_port_info_get_timestamping_ARG_EXPAND); +int glshim_snd_seq_port_info_get_timestamping(snd_seq_port_info_get_timestamping_ARG_EXPAND); typedef int (*snd_seq_port_info_get_timestamping_PTR)(snd_seq_port_info_get_timestamping_ARG_EXPAND); -unsigned int snd_seq_port_info_get_type(snd_seq_port_info_get_type_ARG_EXPAND); +unsigned int glshim_snd_seq_port_info_get_type(snd_seq_port_info_get_type_ARG_EXPAND); typedef unsigned int (*snd_seq_port_info_get_type_PTR)(snd_seq_port_info_get_type_ARG_EXPAND); -int snd_seq_port_info_get_write_use(snd_seq_port_info_get_write_use_ARG_EXPAND); +int glshim_snd_seq_port_info_get_write_use(snd_seq_port_info_get_write_use_ARG_EXPAND); typedef int (*snd_seq_port_info_get_write_use_PTR)(snd_seq_port_info_get_write_use_ARG_EXPAND); -int snd_seq_port_info_malloc(snd_seq_port_info_malloc_ARG_EXPAND); +int glshim_snd_seq_port_info_malloc(snd_seq_port_info_malloc_ARG_EXPAND); typedef int (*snd_seq_port_info_malloc_PTR)(snd_seq_port_info_malloc_ARG_EXPAND); -void snd_seq_port_info_set_addr(snd_seq_port_info_set_addr_ARG_EXPAND); +void glshim_snd_seq_port_info_set_addr(snd_seq_port_info_set_addr_ARG_EXPAND); typedef void (*snd_seq_port_info_set_addr_PTR)(snd_seq_port_info_set_addr_ARG_EXPAND); -void snd_seq_port_info_set_capability(snd_seq_port_info_set_capability_ARG_EXPAND); +void glshim_snd_seq_port_info_set_capability(snd_seq_port_info_set_capability_ARG_EXPAND); typedef void (*snd_seq_port_info_set_capability_PTR)(snd_seq_port_info_set_capability_ARG_EXPAND); -void snd_seq_port_info_set_client(snd_seq_port_info_set_client_ARG_EXPAND); +void glshim_snd_seq_port_info_set_client(snd_seq_port_info_set_client_ARG_EXPAND); typedef void (*snd_seq_port_info_set_client_PTR)(snd_seq_port_info_set_client_ARG_EXPAND); -void snd_seq_port_info_set_midi_channels(snd_seq_port_info_set_midi_channels_ARG_EXPAND); +void glshim_snd_seq_port_info_set_midi_channels(snd_seq_port_info_set_midi_channels_ARG_EXPAND); typedef void (*snd_seq_port_info_set_midi_channels_PTR)(snd_seq_port_info_set_midi_channels_ARG_EXPAND); -void snd_seq_port_info_set_midi_voices(snd_seq_port_info_set_midi_voices_ARG_EXPAND); +void glshim_snd_seq_port_info_set_midi_voices(snd_seq_port_info_set_midi_voices_ARG_EXPAND); typedef void (*snd_seq_port_info_set_midi_voices_PTR)(snd_seq_port_info_set_midi_voices_ARG_EXPAND); -void snd_seq_port_info_set_name(snd_seq_port_info_set_name_ARG_EXPAND); +void glshim_snd_seq_port_info_set_name(snd_seq_port_info_set_name_ARG_EXPAND); typedef void (*snd_seq_port_info_set_name_PTR)(snd_seq_port_info_set_name_ARG_EXPAND); -void snd_seq_port_info_set_port(snd_seq_port_info_set_port_ARG_EXPAND); +void glshim_snd_seq_port_info_set_port(snd_seq_port_info_set_port_ARG_EXPAND); typedef void (*snd_seq_port_info_set_port_PTR)(snd_seq_port_info_set_port_ARG_EXPAND); -void snd_seq_port_info_set_port_specified(snd_seq_port_info_set_port_specified_ARG_EXPAND); +void glshim_snd_seq_port_info_set_port_specified(snd_seq_port_info_set_port_specified_ARG_EXPAND); typedef void (*snd_seq_port_info_set_port_specified_PTR)(snd_seq_port_info_set_port_specified_ARG_EXPAND); -void snd_seq_port_info_set_synth_voices(snd_seq_port_info_set_synth_voices_ARG_EXPAND); +void glshim_snd_seq_port_info_set_synth_voices(snd_seq_port_info_set_synth_voices_ARG_EXPAND); typedef void (*snd_seq_port_info_set_synth_voices_PTR)(snd_seq_port_info_set_synth_voices_ARG_EXPAND); -void snd_seq_port_info_set_timestamp_queue(snd_seq_port_info_set_timestamp_queue_ARG_EXPAND); +void glshim_snd_seq_port_info_set_timestamp_queue(snd_seq_port_info_set_timestamp_queue_ARG_EXPAND); typedef void (*snd_seq_port_info_set_timestamp_queue_PTR)(snd_seq_port_info_set_timestamp_queue_ARG_EXPAND); -void snd_seq_port_info_set_timestamp_real(snd_seq_port_info_set_timestamp_real_ARG_EXPAND); +void glshim_snd_seq_port_info_set_timestamp_real(snd_seq_port_info_set_timestamp_real_ARG_EXPAND); typedef void (*snd_seq_port_info_set_timestamp_real_PTR)(snd_seq_port_info_set_timestamp_real_ARG_EXPAND); -void snd_seq_port_info_set_timestamping(snd_seq_port_info_set_timestamping_ARG_EXPAND); +void glshim_snd_seq_port_info_set_timestamping(snd_seq_port_info_set_timestamping_ARG_EXPAND); typedef void (*snd_seq_port_info_set_timestamping_PTR)(snd_seq_port_info_set_timestamping_ARG_EXPAND); -void snd_seq_port_info_set_type(snd_seq_port_info_set_type_ARG_EXPAND); +void glshim_snd_seq_port_info_set_type(snd_seq_port_info_set_type_ARG_EXPAND); typedef void (*snd_seq_port_info_set_type_PTR)(snd_seq_port_info_set_type_ARG_EXPAND); -size_t snd_seq_port_info_sizeof(snd_seq_port_info_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_port_info_sizeof(snd_seq_port_info_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_port_info_sizeof_PTR)(snd_seq_port_info_sizeof_ARG_EXPAND); -void snd_seq_port_subscribe_copy(snd_seq_port_subscribe_copy_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_copy(snd_seq_port_subscribe_copy_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_copy_PTR)(snd_seq_port_subscribe_copy_ARG_EXPAND); -void snd_seq_port_subscribe_free(snd_seq_port_subscribe_free_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_free(snd_seq_port_subscribe_free_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_free_PTR)(snd_seq_port_subscribe_free_ARG_EXPAND); -const snd_seq_addr_t * snd_seq_port_subscribe_get_dest(snd_seq_port_subscribe_get_dest_ARG_EXPAND); +const snd_seq_addr_t * glshim_snd_seq_port_subscribe_get_dest(snd_seq_port_subscribe_get_dest_ARG_EXPAND); typedef const snd_seq_addr_t * (*snd_seq_port_subscribe_get_dest_PTR)(snd_seq_port_subscribe_get_dest_ARG_EXPAND); -int snd_seq_port_subscribe_get_exclusive(snd_seq_port_subscribe_get_exclusive_ARG_EXPAND); +int glshim_snd_seq_port_subscribe_get_exclusive(snd_seq_port_subscribe_get_exclusive_ARG_EXPAND); typedef int (*snd_seq_port_subscribe_get_exclusive_PTR)(snd_seq_port_subscribe_get_exclusive_ARG_EXPAND); -int snd_seq_port_subscribe_get_queue(snd_seq_port_subscribe_get_queue_ARG_EXPAND); +int glshim_snd_seq_port_subscribe_get_queue(snd_seq_port_subscribe_get_queue_ARG_EXPAND); typedef int (*snd_seq_port_subscribe_get_queue_PTR)(snd_seq_port_subscribe_get_queue_ARG_EXPAND); -const snd_seq_addr_t * snd_seq_port_subscribe_get_sender(snd_seq_port_subscribe_get_sender_ARG_EXPAND); +const snd_seq_addr_t * glshim_snd_seq_port_subscribe_get_sender(snd_seq_port_subscribe_get_sender_ARG_EXPAND); typedef const snd_seq_addr_t * (*snd_seq_port_subscribe_get_sender_PTR)(snd_seq_port_subscribe_get_sender_ARG_EXPAND); -int snd_seq_port_subscribe_get_time_real(snd_seq_port_subscribe_get_time_real_ARG_EXPAND); +int glshim_snd_seq_port_subscribe_get_time_real(snd_seq_port_subscribe_get_time_real_ARG_EXPAND); typedef int (*snd_seq_port_subscribe_get_time_real_PTR)(snd_seq_port_subscribe_get_time_real_ARG_EXPAND); -int snd_seq_port_subscribe_get_time_update(snd_seq_port_subscribe_get_time_update_ARG_EXPAND); +int glshim_snd_seq_port_subscribe_get_time_update(snd_seq_port_subscribe_get_time_update_ARG_EXPAND); typedef int (*snd_seq_port_subscribe_get_time_update_PTR)(snd_seq_port_subscribe_get_time_update_ARG_EXPAND); -int snd_seq_port_subscribe_malloc(snd_seq_port_subscribe_malloc_ARG_EXPAND); +int glshim_snd_seq_port_subscribe_malloc(snd_seq_port_subscribe_malloc_ARG_EXPAND); typedef int (*snd_seq_port_subscribe_malloc_PTR)(snd_seq_port_subscribe_malloc_ARG_EXPAND); -void snd_seq_port_subscribe_set_dest(snd_seq_port_subscribe_set_dest_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_set_dest(snd_seq_port_subscribe_set_dest_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_set_dest_PTR)(snd_seq_port_subscribe_set_dest_ARG_EXPAND); -void snd_seq_port_subscribe_set_exclusive(snd_seq_port_subscribe_set_exclusive_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_set_exclusive(snd_seq_port_subscribe_set_exclusive_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_set_exclusive_PTR)(snd_seq_port_subscribe_set_exclusive_ARG_EXPAND); -void snd_seq_port_subscribe_set_queue(snd_seq_port_subscribe_set_queue_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_set_queue(snd_seq_port_subscribe_set_queue_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_set_queue_PTR)(snd_seq_port_subscribe_set_queue_ARG_EXPAND); -void snd_seq_port_subscribe_set_sender(snd_seq_port_subscribe_set_sender_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_set_sender(snd_seq_port_subscribe_set_sender_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_set_sender_PTR)(snd_seq_port_subscribe_set_sender_ARG_EXPAND); -void snd_seq_port_subscribe_set_time_real(snd_seq_port_subscribe_set_time_real_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_set_time_real(snd_seq_port_subscribe_set_time_real_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_set_time_real_PTR)(snd_seq_port_subscribe_set_time_real_ARG_EXPAND); -void snd_seq_port_subscribe_set_time_update(snd_seq_port_subscribe_set_time_update_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_set_time_update(snd_seq_port_subscribe_set_time_update_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_set_time_update_PTR)(snd_seq_port_subscribe_set_time_update_ARG_EXPAND); -size_t snd_seq_port_subscribe_sizeof(snd_seq_port_subscribe_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_port_subscribe_sizeof(snd_seq_port_subscribe_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_port_subscribe_sizeof_PTR)(snd_seq_port_subscribe_sizeof_ARG_EXPAND); -int snd_seq_query_named_queue(snd_seq_query_named_queue_ARG_EXPAND); +int glshim_snd_seq_query_named_queue(snd_seq_query_named_queue_ARG_EXPAND); typedef int (*snd_seq_query_named_queue_PTR)(snd_seq_query_named_queue_ARG_EXPAND); -int snd_seq_query_next_client(snd_seq_query_next_client_ARG_EXPAND); +int glshim_snd_seq_query_next_client(snd_seq_query_next_client_ARG_EXPAND); typedef int (*snd_seq_query_next_client_PTR)(snd_seq_query_next_client_ARG_EXPAND); -int snd_seq_query_next_port(snd_seq_query_next_port_ARG_EXPAND); +int glshim_snd_seq_query_next_port(snd_seq_query_next_port_ARG_EXPAND); typedef int (*snd_seq_query_next_port_PTR)(snd_seq_query_next_port_ARG_EXPAND); -int snd_seq_query_port_subscribers(snd_seq_query_port_subscribers_ARG_EXPAND); +int glshim_snd_seq_query_port_subscribers(snd_seq_query_port_subscribers_ARG_EXPAND); typedef int (*snd_seq_query_port_subscribers_PTR)(snd_seq_query_port_subscribers_ARG_EXPAND); -void snd_seq_query_subscribe_copy(snd_seq_query_subscribe_copy_ARG_EXPAND); +void glshim_snd_seq_query_subscribe_copy(snd_seq_query_subscribe_copy_ARG_EXPAND); typedef void (*snd_seq_query_subscribe_copy_PTR)(snd_seq_query_subscribe_copy_ARG_EXPAND); -void snd_seq_query_subscribe_free(snd_seq_query_subscribe_free_ARG_EXPAND); +void glshim_snd_seq_query_subscribe_free(snd_seq_query_subscribe_free_ARG_EXPAND); typedef void (*snd_seq_query_subscribe_free_PTR)(snd_seq_query_subscribe_free_ARG_EXPAND); -const snd_seq_addr_t * snd_seq_query_subscribe_get_addr(snd_seq_query_subscribe_get_addr_ARG_EXPAND); +const snd_seq_addr_t * glshim_snd_seq_query_subscribe_get_addr(snd_seq_query_subscribe_get_addr_ARG_EXPAND); typedef const snd_seq_addr_t * (*snd_seq_query_subscribe_get_addr_PTR)(snd_seq_query_subscribe_get_addr_ARG_EXPAND); -int snd_seq_query_subscribe_get_client(snd_seq_query_subscribe_get_client_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_client(snd_seq_query_subscribe_get_client_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_client_PTR)(snd_seq_query_subscribe_get_client_ARG_EXPAND); -int snd_seq_query_subscribe_get_exclusive(snd_seq_query_subscribe_get_exclusive_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_exclusive(snd_seq_query_subscribe_get_exclusive_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_exclusive_PTR)(snd_seq_query_subscribe_get_exclusive_ARG_EXPAND); -int snd_seq_query_subscribe_get_index(snd_seq_query_subscribe_get_index_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_index(snd_seq_query_subscribe_get_index_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_index_PTR)(snd_seq_query_subscribe_get_index_ARG_EXPAND); -int snd_seq_query_subscribe_get_num_subs(snd_seq_query_subscribe_get_num_subs_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_num_subs(snd_seq_query_subscribe_get_num_subs_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_num_subs_PTR)(snd_seq_query_subscribe_get_num_subs_ARG_EXPAND); -int snd_seq_query_subscribe_get_port(snd_seq_query_subscribe_get_port_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_port(snd_seq_query_subscribe_get_port_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_port_PTR)(snd_seq_query_subscribe_get_port_ARG_EXPAND); -int snd_seq_query_subscribe_get_queue(snd_seq_query_subscribe_get_queue_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_queue(snd_seq_query_subscribe_get_queue_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_queue_PTR)(snd_seq_query_subscribe_get_queue_ARG_EXPAND); -const snd_seq_addr_t * snd_seq_query_subscribe_get_root(snd_seq_query_subscribe_get_root_ARG_EXPAND); +const snd_seq_addr_t * glshim_snd_seq_query_subscribe_get_root(snd_seq_query_subscribe_get_root_ARG_EXPAND); typedef const snd_seq_addr_t * (*snd_seq_query_subscribe_get_root_PTR)(snd_seq_query_subscribe_get_root_ARG_EXPAND); -int snd_seq_query_subscribe_get_time_real(snd_seq_query_subscribe_get_time_real_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_time_real(snd_seq_query_subscribe_get_time_real_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_time_real_PTR)(snd_seq_query_subscribe_get_time_real_ARG_EXPAND); -int snd_seq_query_subscribe_get_time_update(snd_seq_query_subscribe_get_time_update_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_time_update(snd_seq_query_subscribe_get_time_update_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_time_update_PTR)(snd_seq_query_subscribe_get_time_update_ARG_EXPAND); -snd_seq_query_subs_type_t snd_seq_query_subscribe_get_type(snd_seq_query_subscribe_get_type_ARG_EXPAND); +snd_seq_query_subs_type_t glshim_snd_seq_query_subscribe_get_type(snd_seq_query_subscribe_get_type_ARG_EXPAND); typedef snd_seq_query_subs_type_t (*snd_seq_query_subscribe_get_type_PTR)(snd_seq_query_subscribe_get_type_ARG_EXPAND); -int snd_seq_query_subscribe_malloc(snd_seq_query_subscribe_malloc_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_malloc(snd_seq_query_subscribe_malloc_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_malloc_PTR)(snd_seq_query_subscribe_malloc_ARG_EXPAND); -void snd_seq_query_subscribe_set_client(snd_seq_query_subscribe_set_client_ARG_EXPAND); +void glshim_snd_seq_query_subscribe_set_client(snd_seq_query_subscribe_set_client_ARG_EXPAND); typedef void (*snd_seq_query_subscribe_set_client_PTR)(snd_seq_query_subscribe_set_client_ARG_EXPAND); -void snd_seq_query_subscribe_set_index(snd_seq_query_subscribe_set_index_ARG_EXPAND); +void glshim_snd_seq_query_subscribe_set_index(snd_seq_query_subscribe_set_index_ARG_EXPAND); typedef void (*snd_seq_query_subscribe_set_index_PTR)(snd_seq_query_subscribe_set_index_ARG_EXPAND); -void snd_seq_query_subscribe_set_port(snd_seq_query_subscribe_set_port_ARG_EXPAND); +void glshim_snd_seq_query_subscribe_set_port(snd_seq_query_subscribe_set_port_ARG_EXPAND); typedef void (*snd_seq_query_subscribe_set_port_PTR)(snd_seq_query_subscribe_set_port_ARG_EXPAND); -void snd_seq_query_subscribe_set_root(snd_seq_query_subscribe_set_root_ARG_EXPAND); +void glshim_snd_seq_query_subscribe_set_root(snd_seq_query_subscribe_set_root_ARG_EXPAND); typedef void (*snd_seq_query_subscribe_set_root_PTR)(snd_seq_query_subscribe_set_root_ARG_EXPAND); -void snd_seq_query_subscribe_set_type(snd_seq_query_subscribe_set_type_ARG_EXPAND); +void glshim_snd_seq_query_subscribe_set_type(snd_seq_query_subscribe_set_type_ARG_EXPAND); typedef void (*snd_seq_query_subscribe_set_type_PTR)(snd_seq_query_subscribe_set_type_ARG_EXPAND); -size_t snd_seq_query_subscribe_sizeof(snd_seq_query_subscribe_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_query_subscribe_sizeof(snd_seq_query_subscribe_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_query_subscribe_sizeof_PTR)(snd_seq_query_subscribe_sizeof_ARG_EXPAND); -void snd_seq_queue_info_copy(snd_seq_queue_info_copy_ARG_EXPAND); +void glshim_snd_seq_queue_info_copy(snd_seq_queue_info_copy_ARG_EXPAND); typedef void (*snd_seq_queue_info_copy_PTR)(snd_seq_queue_info_copy_ARG_EXPAND); -void snd_seq_queue_info_free(snd_seq_queue_info_free_ARG_EXPAND); +void glshim_snd_seq_queue_info_free(snd_seq_queue_info_free_ARG_EXPAND); typedef void (*snd_seq_queue_info_free_PTR)(snd_seq_queue_info_free_ARG_EXPAND); -unsigned int snd_seq_queue_info_get_flags(snd_seq_queue_info_get_flags_ARG_EXPAND); +unsigned int glshim_snd_seq_queue_info_get_flags(snd_seq_queue_info_get_flags_ARG_EXPAND); typedef unsigned int (*snd_seq_queue_info_get_flags_PTR)(snd_seq_queue_info_get_flags_ARG_EXPAND); -int snd_seq_queue_info_get_locked(snd_seq_queue_info_get_locked_ARG_EXPAND); +int glshim_snd_seq_queue_info_get_locked(snd_seq_queue_info_get_locked_ARG_EXPAND); typedef int (*snd_seq_queue_info_get_locked_PTR)(snd_seq_queue_info_get_locked_ARG_EXPAND); -const char * snd_seq_queue_info_get_name(snd_seq_queue_info_get_name_ARG_EXPAND); +const char * glshim_snd_seq_queue_info_get_name(snd_seq_queue_info_get_name_ARG_EXPAND); typedef const char * (*snd_seq_queue_info_get_name_PTR)(snd_seq_queue_info_get_name_ARG_EXPAND); -int snd_seq_queue_info_get_owner(snd_seq_queue_info_get_owner_ARG_EXPAND); +int glshim_snd_seq_queue_info_get_owner(snd_seq_queue_info_get_owner_ARG_EXPAND); typedef int (*snd_seq_queue_info_get_owner_PTR)(snd_seq_queue_info_get_owner_ARG_EXPAND); -int snd_seq_queue_info_get_queue(snd_seq_queue_info_get_queue_ARG_EXPAND); +int glshim_snd_seq_queue_info_get_queue(snd_seq_queue_info_get_queue_ARG_EXPAND); typedef int (*snd_seq_queue_info_get_queue_PTR)(snd_seq_queue_info_get_queue_ARG_EXPAND); -int snd_seq_queue_info_malloc(snd_seq_queue_info_malloc_ARG_EXPAND); +int glshim_snd_seq_queue_info_malloc(snd_seq_queue_info_malloc_ARG_EXPAND); typedef int (*snd_seq_queue_info_malloc_PTR)(snd_seq_queue_info_malloc_ARG_EXPAND); -void snd_seq_queue_info_set_flags(snd_seq_queue_info_set_flags_ARG_EXPAND); +void glshim_snd_seq_queue_info_set_flags(snd_seq_queue_info_set_flags_ARG_EXPAND); typedef void (*snd_seq_queue_info_set_flags_PTR)(snd_seq_queue_info_set_flags_ARG_EXPAND); -void snd_seq_queue_info_set_locked(snd_seq_queue_info_set_locked_ARG_EXPAND); +void glshim_snd_seq_queue_info_set_locked(snd_seq_queue_info_set_locked_ARG_EXPAND); typedef void (*snd_seq_queue_info_set_locked_PTR)(snd_seq_queue_info_set_locked_ARG_EXPAND); -void snd_seq_queue_info_set_name(snd_seq_queue_info_set_name_ARG_EXPAND); +void glshim_snd_seq_queue_info_set_name(snd_seq_queue_info_set_name_ARG_EXPAND); typedef void (*snd_seq_queue_info_set_name_PTR)(snd_seq_queue_info_set_name_ARG_EXPAND); -void snd_seq_queue_info_set_owner(snd_seq_queue_info_set_owner_ARG_EXPAND); +void glshim_snd_seq_queue_info_set_owner(snd_seq_queue_info_set_owner_ARG_EXPAND); typedef void (*snd_seq_queue_info_set_owner_PTR)(snd_seq_queue_info_set_owner_ARG_EXPAND); -size_t snd_seq_queue_info_sizeof(snd_seq_queue_info_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_queue_info_sizeof(snd_seq_queue_info_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_queue_info_sizeof_PTR)(snd_seq_queue_info_sizeof_ARG_EXPAND); -void snd_seq_queue_status_copy(snd_seq_queue_status_copy_ARG_EXPAND); +void glshim_snd_seq_queue_status_copy(snd_seq_queue_status_copy_ARG_EXPAND); typedef void (*snd_seq_queue_status_copy_PTR)(snd_seq_queue_status_copy_ARG_EXPAND); -void snd_seq_queue_status_free(snd_seq_queue_status_free_ARG_EXPAND); +void glshim_snd_seq_queue_status_free(snd_seq_queue_status_free_ARG_EXPAND); typedef void (*snd_seq_queue_status_free_PTR)(snd_seq_queue_status_free_ARG_EXPAND); -int snd_seq_queue_status_get_events(snd_seq_queue_status_get_events_ARG_EXPAND); +int glshim_snd_seq_queue_status_get_events(snd_seq_queue_status_get_events_ARG_EXPAND); typedef int (*snd_seq_queue_status_get_events_PTR)(snd_seq_queue_status_get_events_ARG_EXPAND); -int snd_seq_queue_status_get_queue(snd_seq_queue_status_get_queue_ARG_EXPAND); +int glshim_snd_seq_queue_status_get_queue(snd_seq_queue_status_get_queue_ARG_EXPAND); typedef int (*snd_seq_queue_status_get_queue_PTR)(snd_seq_queue_status_get_queue_ARG_EXPAND); -const snd_seq_real_time_t * snd_seq_queue_status_get_real_time(snd_seq_queue_status_get_real_time_ARG_EXPAND); +const snd_seq_real_time_t * glshim_snd_seq_queue_status_get_real_time(snd_seq_queue_status_get_real_time_ARG_EXPAND); typedef const snd_seq_real_time_t * (*snd_seq_queue_status_get_real_time_PTR)(snd_seq_queue_status_get_real_time_ARG_EXPAND); -unsigned int snd_seq_queue_status_get_status(snd_seq_queue_status_get_status_ARG_EXPAND); +unsigned int glshim_snd_seq_queue_status_get_status(snd_seq_queue_status_get_status_ARG_EXPAND); typedef unsigned int (*snd_seq_queue_status_get_status_PTR)(snd_seq_queue_status_get_status_ARG_EXPAND); -snd_seq_tick_time_t snd_seq_queue_status_get_tick_time(snd_seq_queue_status_get_tick_time_ARG_EXPAND); +snd_seq_tick_time_t glshim_snd_seq_queue_status_get_tick_time(snd_seq_queue_status_get_tick_time_ARG_EXPAND); typedef snd_seq_tick_time_t (*snd_seq_queue_status_get_tick_time_PTR)(snd_seq_queue_status_get_tick_time_ARG_EXPAND); -int snd_seq_queue_status_malloc(snd_seq_queue_status_malloc_ARG_EXPAND); +int glshim_snd_seq_queue_status_malloc(snd_seq_queue_status_malloc_ARG_EXPAND); typedef int (*snd_seq_queue_status_malloc_PTR)(snd_seq_queue_status_malloc_ARG_EXPAND); -size_t snd_seq_queue_status_sizeof(snd_seq_queue_status_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_queue_status_sizeof(snd_seq_queue_status_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_queue_status_sizeof_PTR)(snd_seq_queue_status_sizeof_ARG_EXPAND); -void snd_seq_queue_tempo_copy(snd_seq_queue_tempo_copy_ARG_EXPAND); +void glshim_snd_seq_queue_tempo_copy(snd_seq_queue_tempo_copy_ARG_EXPAND); typedef void (*snd_seq_queue_tempo_copy_PTR)(snd_seq_queue_tempo_copy_ARG_EXPAND); -void snd_seq_queue_tempo_free(snd_seq_queue_tempo_free_ARG_EXPAND); +void glshim_snd_seq_queue_tempo_free(snd_seq_queue_tempo_free_ARG_EXPAND); typedef void (*snd_seq_queue_tempo_free_PTR)(snd_seq_queue_tempo_free_ARG_EXPAND); -int snd_seq_queue_tempo_get_ppq(snd_seq_queue_tempo_get_ppq_ARG_EXPAND); +int glshim_snd_seq_queue_tempo_get_ppq(snd_seq_queue_tempo_get_ppq_ARG_EXPAND); typedef int (*snd_seq_queue_tempo_get_ppq_PTR)(snd_seq_queue_tempo_get_ppq_ARG_EXPAND); -int snd_seq_queue_tempo_get_queue(snd_seq_queue_tempo_get_queue_ARG_EXPAND); +int glshim_snd_seq_queue_tempo_get_queue(snd_seq_queue_tempo_get_queue_ARG_EXPAND); typedef int (*snd_seq_queue_tempo_get_queue_PTR)(snd_seq_queue_tempo_get_queue_ARG_EXPAND); -unsigned int snd_seq_queue_tempo_get_skew(snd_seq_queue_tempo_get_skew_ARG_EXPAND); +unsigned int glshim_snd_seq_queue_tempo_get_skew(snd_seq_queue_tempo_get_skew_ARG_EXPAND); typedef unsigned int (*snd_seq_queue_tempo_get_skew_PTR)(snd_seq_queue_tempo_get_skew_ARG_EXPAND); -unsigned int snd_seq_queue_tempo_get_skew_base(snd_seq_queue_tempo_get_skew_base_ARG_EXPAND); +unsigned int glshim_snd_seq_queue_tempo_get_skew_base(snd_seq_queue_tempo_get_skew_base_ARG_EXPAND); typedef unsigned int (*snd_seq_queue_tempo_get_skew_base_PTR)(snd_seq_queue_tempo_get_skew_base_ARG_EXPAND); -unsigned int snd_seq_queue_tempo_get_tempo(snd_seq_queue_tempo_get_tempo_ARG_EXPAND); +unsigned int glshim_snd_seq_queue_tempo_get_tempo(snd_seq_queue_tempo_get_tempo_ARG_EXPAND); typedef unsigned int (*snd_seq_queue_tempo_get_tempo_PTR)(snd_seq_queue_tempo_get_tempo_ARG_EXPAND); -int snd_seq_queue_tempo_malloc(snd_seq_queue_tempo_malloc_ARG_EXPAND); +int glshim_snd_seq_queue_tempo_malloc(snd_seq_queue_tempo_malloc_ARG_EXPAND); typedef int (*snd_seq_queue_tempo_malloc_PTR)(snd_seq_queue_tempo_malloc_ARG_EXPAND); -void snd_seq_queue_tempo_set_ppq(snd_seq_queue_tempo_set_ppq_ARG_EXPAND); +void glshim_snd_seq_queue_tempo_set_ppq(snd_seq_queue_tempo_set_ppq_ARG_EXPAND); typedef void (*snd_seq_queue_tempo_set_ppq_PTR)(snd_seq_queue_tempo_set_ppq_ARG_EXPAND); -void snd_seq_queue_tempo_set_skew(snd_seq_queue_tempo_set_skew_ARG_EXPAND); +void glshim_snd_seq_queue_tempo_set_skew(snd_seq_queue_tempo_set_skew_ARG_EXPAND); typedef void (*snd_seq_queue_tempo_set_skew_PTR)(snd_seq_queue_tempo_set_skew_ARG_EXPAND); -void snd_seq_queue_tempo_set_skew_base(snd_seq_queue_tempo_set_skew_base_ARG_EXPAND); +void glshim_snd_seq_queue_tempo_set_skew_base(snd_seq_queue_tempo_set_skew_base_ARG_EXPAND); typedef void (*snd_seq_queue_tempo_set_skew_base_PTR)(snd_seq_queue_tempo_set_skew_base_ARG_EXPAND); -void snd_seq_queue_tempo_set_tempo(snd_seq_queue_tempo_set_tempo_ARG_EXPAND); +void glshim_snd_seq_queue_tempo_set_tempo(snd_seq_queue_tempo_set_tempo_ARG_EXPAND); typedef void (*snd_seq_queue_tempo_set_tempo_PTR)(snd_seq_queue_tempo_set_tempo_ARG_EXPAND); -size_t snd_seq_queue_tempo_sizeof(snd_seq_queue_tempo_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_queue_tempo_sizeof(snd_seq_queue_tempo_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_queue_tempo_sizeof_PTR)(snd_seq_queue_tempo_sizeof_ARG_EXPAND); -void snd_seq_queue_timer_copy(snd_seq_queue_timer_copy_ARG_EXPAND); +void glshim_snd_seq_queue_timer_copy(snd_seq_queue_timer_copy_ARG_EXPAND); typedef void (*snd_seq_queue_timer_copy_PTR)(snd_seq_queue_timer_copy_ARG_EXPAND); -void snd_seq_queue_timer_free(snd_seq_queue_timer_free_ARG_EXPAND); +void glshim_snd_seq_queue_timer_free(snd_seq_queue_timer_free_ARG_EXPAND); typedef void (*snd_seq_queue_timer_free_PTR)(snd_seq_queue_timer_free_ARG_EXPAND); -const snd_timer_id_t * snd_seq_queue_timer_get_id(snd_seq_queue_timer_get_id_ARG_EXPAND); +const snd_timer_id_t * glshim_snd_seq_queue_timer_get_id(snd_seq_queue_timer_get_id_ARG_EXPAND); typedef const snd_timer_id_t * (*snd_seq_queue_timer_get_id_PTR)(snd_seq_queue_timer_get_id_ARG_EXPAND); -int snd_seq_queue_timer_get_queue(snd_seq_queue_timer_get_queue_ARG_EXPAND); +int glshim_snd_seq_queue_timer_get_queue(snd_seq_queue_timer_get_queue_ARG_EXPAND); typedef int (*snd_seq_queue_timer_get_queue_PTR)(snd_seq_queue_timer_get_queue_ARG_EXPAND); -unsigned int snd_seq_queue_timer_get_resolution(snd_seq_queue_timer_get_resolution_ARG_EXPAND); +unsigned int glshim_snd_seq_queue_timer_get_resolution(snd_seq_queue_timer_get_resolution_ARG_EXPAND); typedef unsigned int (*snd_seq_queue_timer_get_resolution_PTR)(snd_seq_queue_timer_get_resolution_ARG_EXPAND); -snd_seq_queue_timer_type_t snd_seq_queue_timer_get_type(snd_seq_queue_timer_get_type_ARG_EXPAND); +snd_seq_queue_timer_type_t glshim_snd_seq_queue_timer_get_type(snd_seq_queue_timer_get_type_ARG_EXPAND); typedef snd_seq_queue_timer_type_t (*snd_seq_queue_timer_get_type_PTR)(snd_seq_queue_timer_get_type_ARG_EXPAND); -int snd_seq_queue_timer_malloc(snd_seq_queue_timer_malloc_ARG_EXPAND); +int glshim_snd_seq_queue_timer_malloc(snd_seq_queue_timer_malloc_ARG_EXPAND); typedef int (*snd_seq_queue_timer_malloc_PTR)(snd_seq_queue_timer_malloc_ARG_EXPAND); -void snd_seq_queue_timer_set_id(snd_seq_queue_timer_set_id_ARG_EXPAND); +void glshim_snd_seq_queue_timer_set_id(snd_seq_queue_timer_set_id_ARG_EXPAND); typedef void (*snd_seq_queue_timer_set_id_PTR)(snd_seq_queue_timer_set_id_ARG_EXPAND); -void snd_seq_queue_timer_set_resolution(snd_seq_queue_timer_set_resolution_ARG_EXPAND); +void glshim_snd_seq_queue_timer_set_resolution(snd_seq_queue_timer_set_resolution_ARG_EXPAND); typedef void (*snd_seq_queue_timer_set_resolution_PTR)(snd_seq_queue_timer_set_resolution_ARG_EXPAND); -void snd_seq_queue_timer_set_type(snd_seq_queue_timer_set_type_ARG_EXPAND); +void glshim_snd_seq_queue_timer_set_type(snd_seq_queue_timer_set_type_ARG_EXPAND); typedef void (*snd_seq_queue_timer_set_type_PTR)(snd_seq_queue_timer_set_type_ARG_EXPAND); -size_t snd_seq_queue_timer_sizeof(snd_seq_queue_timer_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_queue_timer_sizeof(snd_seq_queue_timer_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_queue_timer_sizeof_PTR)(snd_seq_queue_timer_sizeof_ARG_EXPAND); -int snd_seq_remove_events(snd_seq_remove_events_ARG_EXPAND); +int glshim_snd_seq_remove_events(snd_seq_remove_events_ARG_EXPAND); typedef int (*snd_seq_remove_events_PTR)(snd_seq_remove_events_ARG_EXPAND); -void snd_seq_remove_events_copy(snd_seq_remove_events_copy_ARG_EXPAND); +void glshim_snd_seq_remove_events_copy(snd_seq_remove_events_copy_ARG_EXPAND); typedef void (*snd_seq_remove_events_copy_PTR)(snd_seq_remove_events_copy_ARG_EXPAND); -void snd_seq_remove_events_free(snd_seq_remove_events_free_ARG_EXPAND); +void glshim_snd_seq_remove_events_free(snd_seq_remove_events_free_ARG_EXPAND); typedef void (*snd_seq_remove_events_free_PTR)(snd_seq_remove_events_free_ARG_EXPAND); -int snd_seq_remove_events_get_channel(snd_seq_remove_events_get_channel_ARG_EXPAND); +int glshim_snd_seq_remove_events_get_channel(snd_seq_remove_events_get_channel_ARG_EXPAND); typedef int (*snd_seq_remove_events_get_channel_PTR)(snd_seq_remove_events_get_channel_ARG_EXPAND); -unsigned int snd_seq_remove_events_get_condition(snd_seq_remove_events_get_condition_ARG_EXPAND); +unsigned int glshim_snd_seq_remove_events_get_condition(snd_seq_remove_events_get_condition_ARG_EXPAND); typedef unsigned int (*snd_seq_remove_events_get_condition_PTR)(snd_seq_remove_events_get_condition_ARG_EXPAND); -const snd_seq_addr_t * snd_seq_remove_events_get_dest(snd_seq_remove_events_get_dest_ARG_EXPAND); +const snd_seq_addr_t * glshim_snd_seq_remove_events_get_dest(snd_seq_remove_events_get_dest_ARG_EXPAND); typedef const snd_seq_addr_t * (*snd_seq_remove_events_get_dest_PTR)(snd_seq_remove_events_get_dest_ARG_EXPAND); -int snd_seq_remove_events_get_event_type(snd_seq_remove_events_get_event_type_ARG_EXPAND); +int glshim_snd_seq_remove_events_get_event_type(snd_seq_remove_events_get_event_type_ARG_EXPAND); typedef int (*snd_seq_remove_events_get_event_type_PTR)(snd_seq_remove_events_get_event_type_ARG_EXPAND); -int snd_seq_remove_events_get_queue(snd_seq_remove_events_get_queue_ARG_EXPAND); +int glshim_snd_seq_remove_events_get_queue(snd_seq_remove_events_get_queue_ARG_EXPAND); typedef int (*snd_seq_remove_events_get_queue_PTR)(snd_seq_remove_events_get_queue_ARG_EXPAND); -int snd_seq_remove_events_get_tag(snd_seq_remove_events_get_tag_ARG_EXPAND); +int glshim_snd_seq_remove_events_get_tag(snd_seq_remove_events_get_tag_ARG_EXPAND); typedef int (*snd_seq_remove_events_get_tag_PTR)(snd_seq_remove_events_get_tag_ARG_EXPAND); -const snd_seq_timestamp_t * snd_seq_remove_events_get_time(snd_seq_remove_events_get_time_ARG_EXPAND); +const snd_seq_timestamp_t * glshim_snd_seq_remove_events_get_time(snd_seq_remove_events_get_time_ARG_EXPAND); typedef const snd_seq_timestamp_t * (*snd_seq_remove_events_get_time_PTR)(snd_seq_remove_events_get_time_ARG_EXPAND); -int snd_seq_remove_events_malloc(snd_seq_remove_events_malloc_ARG_EXPAND); +int glshim_snd_seq_remove_events_malloc(snd_seq_remove_events_malloc_ARG_EXPAND); typedef int (*snd_seq_remove_events_malloc_PTR)(snd_seq_remove_events_malloc_ARG_EXPAND); -void snd_seq_remove_events_set_channel(snd_seq_remove_events_set_channel_ARG_EXPAND); +void glshim_snd_seq_remove_events_set_channel(snd_seq_remove_events_set_channel_ARG_EXPAND); typedef void (*snd_seq_remove_events_set_channel_PTR)(snd_seq_remove_events_set_channel_ARG_EXPAND); -void snd_seq_remove_events_set_condition(snd_seq_remove_events_set_condition_ARG_EXPAND); +void glshim_snd_seq_remove_events_set_condition(snd_seq_remove_events_set_condition_ARG_EXPAND); typedef void (*snd_seq_remove_events_set_condition_PTR)(snd_seq_remove_events_set_condition_ARG_EXPAND); -void snd_seq_remove_events_set_dest(snd_seq_remove_events_set_dest_ARG_EXPAND); +void glshim_snd_seq_remove_events_set_dest(snd_seq_remove_events_set_dest_ARG_EXPAND); typedef void (*snd_seq_remove_events_set_dest_PTR)(snd_seq_remove_events_set_dest_ARG_EXPAND); -void snd_seq_remove_events_set_event_type(snd_seq_remove_events_set_event_type_ARG_EXPAND); +void glshim_snd_seq_remove_events_set_event_type(snd_seq_remove_events_set_event_type_ARG_EXPAND); typedef void (*snd_seq_remove_events_set_event_type_PTR)(snd_seq_remove_events_set_event_type_ARG_EXPAND); -void snd_seq_remove_events_set_queue(snd_seq_remove_events_set_queue_ARG_EXPAND); +void glshim_snd_seq_remove_events_set_queue(snd_seq_remove_events_set_queue_ARG_EXPAND); typedef void (*snd_seq_remove_events_set_queue_PTR)(snd_seq_remove_events_set_queue_ARG_EXPAND); -void snd_seq_remove_events_set_tag(snd_seq_remove_events_set_tag_ARG_EXPAND); +void glshim_snd_seq_remove_events_set_tag(snd_seq_remove_events_set_tag_ARG_EXPAND); typedef void (*snd_seq_remove_events_set_tag_PTR)(snd_seq_remove_events_set_tag_ARG_EXPAND); -void snd_seq_remove_events_set_time(snd_seq_remove_events_set_time_ARG_EXPAND); +void glshim_snd_seq_remove_events_set_time(snd_seq_remove_events_set_time_ARG_EXPAND); typedef void (*snd_seq_remove_events_set_time_PTR)(snd_seq_remove_events_set_time_ARG_EXPAND); -size_t snd_seq_remove_events_sizeof(snd_seq_remove_events_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_remove_events_sizeof(snd_seq_remove_events_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_remove_events_sizeof_PTR)(snd_seq_remove_events_sizeof_ARG_EXPAND); -int snd_seq_reset_pool_input(snd_seq_reset_pool_input_ARG_EXPAND); +int glshim_snd_seq_reset_pool_input(snd_seq_reset_pool_input_ARG_EXPAND); typedef int (*snd_seq_reset_pool_input_PTR)(snd_seq_reset_pool_input_ARG_EXPAND); -int snd_seq_reset_pool_output(snd_seq_reset_pool_output_ARG_EXPAND); +int glshim_snd_seq_reset_pool_output(snd_seq_reset_pool_output_ARG_EXPAND); typedef int (*snd_seq_reset_pool_output_PTR)(snd_seq_reset_pool_output_ARG_EXPAND); -void snd_seq_set_bit(snd_seq_set_bit_ARG_EXPAND); +void glshim_snd_seq_set_bit(snd_seq_set_bit_ARG_EXPAND); typedef void (*snd_seq_set_bit_PTR)(snd_seq_set_bit_ARG_EXPAND); -int snd_seq_set_client_event_filter(snd_seq_set_client_event_filter_ARG_EXPAND); +int glshim_snd_seq_set_client_event_filter(snd_seq_set_client_event_filter_ARG_EXPAND); typedef int (*snd_seq_set_client_event_filter_PTR)(snd_seq_set_client_event_filter_ARG_EXPAND); -int snd_seq_set_client_info(snd_seq_set_client_info_ARG_EXPAND); +int glshim_snd_seq_set_client_info(snd_seq_set_client_info_ARG_EXPAND); typedef int (*snd_seq_set_client_info_PTR)(snd_seq_set_client_info_ARG_EXPAND); -int snd_seq_set_client_name(snd_seq_set_client_name_ARG_EXPAND); +int glshim_snd_seq_set_client_name(snd_seq_set_client_name_ARG_EXPAND); typedef int (*snd_seq_set_client_name_PTR)(snd_seq_set_client_name_ARG_EXPAND); -int snd_seq_set_client_pool(snd_seq_set_client_pool_ARG_EXPAND); +int glshim_snd_seq_set_client_pool(snd_seq_set_client_pool_ARG_EXPAND); typedef int (*snd_seq_set_client_pool_PTR)(snd_seq_set_client_pool_ARG_EXPAND); -int snd_seq_set_client_pool_input(snd_seq_set_client_pool_input_ARG_EXPAND); +int glshim_snd_seq_set_client_pool_input(snd_seq_set_client_pool_input_ARG_EXPAND); typedef int (*snd_seq_set_client_pool_input_PTR)(snd_seq_set_client_pool_input_ARG_EXPAND); -int snd_seq_set_client_pool_output_room(snd_seq_set_client_pool_output_room_ARG_EXPAND); +int glshim_snd_seq_set_client_pool_output_room(snd_seq_set_client_pool_output_room_ARG_EXPAND); typedef int (*snd_seq_set_client_pool_output_room_PTR)(snd_seq_set_client_pool_output_room_ARG_EXPAND); -int snd_seq_set_input_buffer_size(snd_seq_set_input_buffer_size_ARG_EXPAND); +int glshim_snd_seq_set_input_buffer_size(snd_seq_set_input_buffer_size_ARG_EXPAND); typedef int (*snd_seq_set_input_buffer_size_PTR)(snd_seq_set_input_buffer_size_ARG_EXPAND); -int snd_seq_set_output_buffer_size(snd_seq_set_output_buffer_size_ARG_EXPAND); +int glshim_snd_seq_set_output_buffer_size(snd_seq_set_output_buffer_size_ARG_EXPAND); typedef int (*snd_seq_set_output_buffer_size_PTR)(snd_seq_set_output_buffer_size_ARG_EXPAND); -int snd_seq_set_port_info(snd_seq_set_port_info_ARG_EXPAND); +int glshim_snd_seq_set_port_info(snd_seq_set_port_info_ARG_EXPAND); typedef int (*snd_seq_set_port_info_PTR)(snd_seq_set_port_info_ARG_EXPAND); -int snd_seq_set_queue_info(snd_seq_set_queue_info_ARG_EXPAND); +int glshim_snd_seq_set_queue_info(snd_seq_set_queue_info_ARG_EXPAND); typedef int (*snd_seq_set_queue_info_PTR)(snd_seq_set_queue_info_ARG_EXPAND); -int snd_seq_set_queue_tempo(snd_seq_set_queue_tempo_ARG_EXPAND); +int glshim_snd_seq_set_queue_tempo(snd_seq_set_queue_tempo_ARG_EXPAND); typedef int (*snd_seq_set_queue_tempo_PTR)(snd_seq_set_queue_tempo_ARG_EXPAND); -int snd_seq_set_queue_timer(snd_seq_set_queue_timer_ARG_EXPAND); +int glshim_snd_seq_set_queue_timer(snd_seq_set_queue_timer_ARG_EXPAND); typedef int (*snd_seq_set_queue_timer_PTR)(snd_seq_set_queue_timer_ARG_EXPAND); -int snd_seq_set_queue_usage(snd_seq_set_queue_usage_ARG_EXPAND); +int glshim_snd_seq_set_queue_usage(snd_seq_set_queue_usage_ARG_EXPAND); typedef int (*snd_seq_set_queue_usage_PTR)(snd_seq_set_queue_usage_ARG_EXPAND); -int snd_seq_subscribe_port(snd_seq_subscribe_port_ARG_EXPAND); +int glshim_snd_seq_subscribe_port(snd_seq_subscribe_port_ARG_EXPAND); typedef int (*snd_seq_subscribe_port_PTR)(snd_seq_subscribe_port_ARG_EXPAND); -int snd_seq_sync_output_queue(snd_seq_sync_output_queue_ARG_EXPAND); +int glshim_snd_seq_sync_output_queue(snd_seq_sync_output_queue_ARG_EXPAND); typedef int (*snd_seq_sync_output_queue_PTR)(snd_seq_sync_output_queue_ARG_EXPAND); -int snd_seq_system_info(snd_seq_system_info_ARG_EXPAND); +int glshim_snd_seq_system_info(snd_seq_system_info_ARG_EXPAND); typedef int (*snd_seq_system_info_PTR)(snd_seq_system_info_ARG_EXPAND); -void snd_seq_system_info_copy(snd_seq_system_info_copy_ARG_EXPAND); +void glshim_snd_seq_system_info_copy(snd_seq_system_info_copy_ARG_EXPAND); typedef void (*snd_seq_system_info_copy_PTR)(snd_seq_system_info_copy_ARG_EXPAND); -void snd_seq_system_info_free(snd_seq_system_info_free_ARG_EXPAND); +void glshim_snd_seq_system_info_free(snd_seq_system_info_free_ARG_EXPAND); typedef void (*snd_seq_system_info_free_PTR)(snd_seq_system_info_free_ARG_EXPAND); -int snd_seq_system_info_get_channels(snd_seq_system_info_get_channels_ARG_EXPAND); +int glshim_snd_seq_system_info_get_channels(snd_seq_system_info_get_channels_ARG_EXPAND); typedef int (*snd_seq_system_info_get_channels_PTR)(snd_seq_system_info_get_channels_ARG_EXPAND); -int snd_seq_system_info_get_clients(snd_seq_system_info_get_clients_ARG_EXPAND); +int glshim_snd_seq_system_info_get_clients(snd_seq_system_info_get_clients_ARG_EXPAND); typedef int (*snd_seq_system_info_get_clients_PTR)(snd_seq_system_info_get_clients_ARG_EXPAND); -int snd_seq_system_info_get_cur_clients(snd_seq_system_info_get_cur_clients_ARG_EXPAND); +int glshim_snd_seq_system_info_get_cur_clients(snd_seq_system_info_get_cur_clients_ARG_EXPAND); typedef int (*snd_seq_system_info_get_cur_clients_PTR)(snd_seq_system_info_get_cur_clients_ARG_EXPAND); -int snd_seq_system_info_get_cur_queues(snd_seq_system_info_get_cur_queues_ARG_EXPAND); +int glshim_snd_seq_system_info_get_cur_queues(snd_seq_system_info_get_cur_queues_ARG_EXPAND); typedef int (*snd_seq_system_info_get_cur_queues_PTR)(snd_seq_system_info_get_cur_queues_ARG_EXPAND); -int snd_seq_system_info_get_ports(snd_seq_system_info_get_ports_ARG_EXPAND); +int glshim_snd_seq_system_info_get_ports(snd_seq_system_info_get_ports_ARG_EXPAND); typedef int (*snd_seq_system_info_get_ports_PTR)(snd_seq_system_info_get_ports_ARG_EXPAND); -int snd_seq_system_info_get_queues(snd_seq_system_info_get_queues_ARG_EXPAND); +int glshim_snd_seq_system_info_get_queues(snd_seq_system_info_get_queues_ARG_EXPAND); typedef int (*snd_seq_system_info_get_queues_PTR)(snd_seq_system_info_get_queues_ARG_EXPAND); -int snd_seq_system_info_malloc(snd_seq_system_info_malloc_ARG_EXPAND); +int glshim_snd_seq_system_info_malloc(snd_seq_system_info_malloc_ARG_EXPAND); typedef int (*snd_seq_system_info_malloc_PTR)(snd_seq_system_info_malloc_ARG_EXPAND); -size_t snd_seq_system_info_sizeof(snd_seq_system_info_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_system_info_sizeof(snd_seq_system_info_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_system_info_sizeof_PTR)(snd_seq_system_info_sizeof_ARG_EXPAND); -snd_seq_type_t snd_seq_type(snd_seq_type_ARG_EXPAND); +snd_seq_type_t glshim_snd_seq_type(snd_seq_type_ARG_EXPAND); typedef snd_seq_type_t (*snd_seq_type_PTR)(snd_seq_type_ARG_EXPAND); -int snd_seq_unsubscribe_port(snd_seq_unsubscribe_port_ARG_EXPAND); +int glshim_snd_seq_unsubscribe_port(snd_seq_unsubscribe_port_ARG_EXPAND); typedef int (*snd_seq_unsubscribe_port_PTR)(snd_seq_unsubscribe_port_ARG_EXPAND); -struct snd_shm_area * snd_shm_area_create(snd_shm_area_create_ARG_EXPAND); +struct snd_shm_area * glshim_snd_shm_area_create(snd_shm_area_create_ARG_EXPAND); typedef struct snd_shm_area * (*snd_shm_area_create_PTR)(snd_shm_area_create_ARG_EXPAND); -int snd_shm_area_destroy(snd_shm_area_destroy_ARG_EXPAND); +int glshim_snd_shm_area_destroy(snd_shm_area_destroy_ARG_EXPAND); typedef int (*snd_shm_area_destroy_PTR)(snd_shm_area_destroy_ARG_EXPAND); -struct snd_shm_area * snd_shm_area_share(snd_shm_area_share_ARG_EXPAND); +struct snd_shm_area * glshim_snd_shm_area_share(snd_shm_area_share_ARG_EXPAND); typedef struct snd_shm_area * (*snd_shm_area_share_PTR)(snd_shm_area_share_ARG_EXPAND); -int snd_spcm_init(snd_spcm_init_ARG_EXPAND); +int glshim_snd_spcm_init(snd_spcm_init_ARG_EXPAND); typedef int (*snd_spcm_init_PTR)(snd_spcm_init_ARG_EXPAND); -int snd_spcm_init_duplex(snd_spcm_init_duplex_ARG_EXPAND); +int glshim_snd_spcm_init_duplex(snd_spcm_init_duplex_ARG_EXPAND); typedef int (*snd_spcm_init_duplex_PTR)(snd_spcm_init_duplex_ARG_EXPAND); -int snd_spcm_init_get_params(snd_spcm_init_get_params_ARG_EXPAND); +int glshim_snd_spcm_init_get_params(snd_spcm_init_get_params_ARG_EXPAND); typedef int (*snd_spcm_init_get_params_PTR)(snd_spcm_init_get_params_ARG_EXPAND); -const char * snd_strerror(snd_strerror_ARG_EXPAND); +const char * glshim_snd_strerror(snd_strerror_ARG_EXPAND); typedef const char * (*snd_strerror_PTR)(snd_strerror_ARG_EXPAND); -int snd_timer_close(snd_timer_close_ARG_EXPAND); +int glshim_snd_timer_close(snd_timer_close_ARG_EXPAND); typedef int (*snd_timer_close_PTR)(snd_timer_close_ARG_EXPAND); -int snd_timer_continue(snd_timer_continue_ARG_EXPAND); +int glshim_snd_timer_continue(snd_timer_continue_ARG_EXPAND); typedef int (*snd_timer_continue_PTR)(snd_timer_continue_ARG_EXPAND); -void snd_timer_ginfo_copy(snd_timer_ginfo_copy_ARG_EXPAND); +void glshim_snd_timer_ginfo_copy(snd_timer_ginfo_copy_ARG_EXPAND); typedef void (*snd_timer_ginfo_copy_PTR)(snd_timer_ginfo_copy_ARG_EXPAND); -void snd_timer_ginfo_free(snd_timer_ginfo_free_ARG_EXPAND); +void glshim_snd_timer_ginfo_free(snd_timer_ginfo_free_ARG_EXPAND); typedef void (*snd_timer_ginfo_free_PTR)(snd_timer_ginfo_free_ARG_EXPAND); -int snd_timer_ginfo_get_card(snd_timer_ginfo_get_card_ARG_EXPAND); +int glshim_snd_timer_ginfo_get_card(snd_timer_ginfo_get_card_ARG_EXPAND); typedef int (*snd_timer_ginfo_get_card_PTR)(snd_timer_ginfo_get_card_ARG_EXPAND); -unsigned int snd_timer_ginfo_get_clients(snd_timer_ginfo_get_clients_ARG_EXPAND); +unsigned int glshim_snd_timer_ginfo_get_clients(snd_timer_ginfo_get_clients_ARG_EXPAND); typedef unsigned int (*snd_timer_ginfo_get_clients_PTR)(snd_timer_ginfo_get_clients_ARG_EXPAND); -unsigned int snd_timer_ginfo_get_flags(snd_timer_ginfo_get_flags_ARG_EXPAND); +unsigned int glshim_snd_timer_ginfo_get_flags(snd_timer_ginfo_get_flags_ARG_EXPAND); typedef unsigned int (*snd_timer_ginfo_get_flags_PTR)(snd_timer_ginfo_get_flags_ARG_EXPAND); -char * snd_timer_ginfo_get_id(snd_timer_ginfo_get_id_ARG_EXPAND); +char * glshim_snd_timer_ginfo_get_id(snd_timer_ginfo_get_id_ARG_EXPAND); typedef char * (*snd_timer_ginfo_get_id_PTR)(snd_timer_ginfo_get_id_ARG_EXPAND); -char * snd_timer_ginfo_get_name(snd_timer_ginfo_get_name_ARG_EXPAND); +char * glshim_snd_timer_ginfo_get_name(snd_timer_ginfo_get_name_ARG_EXPAND); typedef char * (*snd_timer_ginfo_get_name_PTR)(snd_timer_ginfo_get_name_ARG_EXPAND); -unsigned long snd_timer_ginfo_get_resolution(snd_timer_ginfo_get_resolution_ARG_EXPAND); +unsigned long glshim_snd_timer_ginfo_get_resolution(snd_timer_ginfo_get_resolution_ARG_EXPAND); typedef unsigned long (*snd_timer_ginfo_get_resolution_PTR)(snd_timer_ginfo_get_resolution_ARG_EXPAND); -unsigned long snd_timer_ginfo_get_resolution_max(snd_timer_ginfo_get_resolution_max_ARG_EXPAND); +unsigned long glshim_snd_timer_ginfo_get_resolution_max(snd_timer_ginfo_get_resolution_max_ARG_EXPAND); typedef unsigned long (*snd_timer_ginfo_get_resolution_max_PTR)(snd_timer_ginfo_get_resolution_max_ARG_EXPAND); -unsigned long snd_timer_ginfo_get_resolution_min(snd_timer_ginfo_get_resolution_min_ARG_EXPAND); +unsigned long glshim_snd_timer_ginfo_get_resolution_min(snd_timer_ginfo_get_resolution_min_ARG_EXPAND); typedef unsigned long (*snd_timer_ginfo_get_resolution_min_PTR)(snd_timer_ginfo_get_resolution_min_ARG_EXPAND); -snd_timer_id_t * snd_timer_ginfo_get_tid(snd_timer_ginfo_get_tid_ARG_EXPAND); +snd_timer_id_t * glshim_snd_timer_ginfo_get_tid(snd_timer_ginfo_get_tid_ARG_EXPAND); typedef snd_timer_id_t * (*snd_timer_ginfo_get_tid_PTR)(snd_timer_ginfo_get_tid_ARG_EXPAND); -int snd_timer_ginfo_malloc(snd_timer_ginfo_malloc_ARG_EXPAND); +int glshim_snd_timer_ginfo_malloc(snd_timer_ginfo_malloc_ARG_EXPAND); typedef int (*snd_timer_ginfo_malloc_PTR)(snd_timer_ginfo_malloc_ARG_EXPAND); -int snd_timer_ginfo_set_tid(snd_timer_ginfo_set_tid_ARG_EXPAND); +int glshim_snd_timer_ginfo_set_tid(snd_timer_ginfo_set_tid_ARG_EXPAND); typedef int (*snd_timer_ginfo_set_tid_PTR)(snd_timer_ginfo_set_tid_ARG_EXPAND); -size_t snd_timer_ginfo_sizeof(snd_timer_ginfo_sizeof_ARG_EXPAND); +size_t glshim_snd_timer_ginfo_sizeof(snd_timer_ginfo_sizeof_ARG_EXPAND); typedef size_t (*snd_timer_ginfo_sizeof_PTR)(snd_timer_ginfo_sizeof_ARG_EXPAND); -void snd_timer_id_copy(snd_timer_id_copy_ARG_EXPAND); +void glshim_snd_timer_id_copy(snd_timer_id_copy_ARG_EXPAND); typedef void (*snd_timer_id_copy_PTR)(snd_timer_id_copy_ARG_EXPAND); -void snd_timer_id_free(snd_timer_id_free_ARG_EXPAND); +void glshim_snd_timer_id_free(snd_timer_id_free_ARG_EXPAND); typedef void (*snd_timer_id_free_PTR)(snd_timer_id_free_ARG_EXPAND); -int snd_timer_id_get_card(snd_timer_id_get_card_ARG_EXPAND); +int glshim_snd_timer_id_get_card(snd_timer_id_get_card_ARG_EXPAND); typedef int (*snd_timer_id_get_card_PTR)(snd_timer_id_get_card_ARG_EXPAND); -int snd_timer_id_get_class(snd_timer_id_get_class_ARG_EXPAND); +int glshim_snd_timer_id_get_class(snd_timer_id_get_class_ARG_EXPAND); typedef int (*snd_timer_id_get_class_PTR)(snd_timer_id_get_class_ARG_EXPAND); -int snd_timer_id_get_device(snd_timer_id_get_device_ARG_EXPAND); +int glshim_snd_timer_id_get_device(snd_timer_id_get_device_ARG_EXPAND); typedef int (*snd_timer_id_get_device_PTR)(snd_timer_id_get_device_ARG_EXPAND); -int snd_timer_id_get_sclass(snd_timer_id_get_sclass_ARG_EXPAND); +int glshim_snd_timer_id_get_sclass(snd_timer_id_get_sclass_ARG_EXPAND); typedef int (*snd_timer_id_get_sclass_PTR)(snd_timer_id_get_sclass_ARG_EXPAND); -int snd_timer_id_get_subdevice(snd_timer_id_get_subdevice_ARG_EXPAND); +int glshim_snd_timer_id_get_subdevice(snd_timer_id_get_subdevice_ARG_EXPAND); typedef int (*snd_timer_id_get_subdevice_PTR)(snd_timer_id_get_subdevice_ARG_EXPAND); -int snd_timer_id_malloc(snd_timer_id_malloc_ARG_EXPAND); +int glshim_snd_timer_id_malloc(snd_timer_id_malloc_ARG_EXPAND); typedef int (*snd_timer_id_malloc_PTR)(snd_timer_id_malloc_ARG_EXPAND); -void snd_timer_id_set_card(snd_timer_id_set_card_ARG_EXPAND); +void glshim_snd_timer_id_set_card(snd_timer_id_set_card_ARG_EXPAND); typedef void (*snd_timer_id_set_card_PTR)(snd_timer_id_set_card_ARG_EXPAND); -void snd_timer_id_set_class(snd_timer_id_set_class_ARG_EXPAND); +void glshim_snd_timer_id_set_class(snd_timer_id_set_class_ARG_EXPAND); typedef void (*snd_timer_id_set_class_PTR)(snd_timer_id_set_class_ARG_EXPAND); -void snd_timer_id_set_device(snd_timer_id_set_device_ARG_EXPAND); +void glshim_snd_timer_id_set_device(snd_timer_id_set_device_ARG_EXPAND); typedef void (*snd_timer_id_set_device_PTR)(snd_timer_id_set_device_ARG_EXPAND); -void snd_timer_id_set_sclass(snd_timer_id_set_sclass_ARG_EXPAND); +void glshim_snd_timer_id_set_sclass(snd_timer_id_set_sclass_ARG_EXPAND); typedef void (*snd_timer_id_set_sclass_PTR)(snd_timer_id_set_sclass_ARG_EXPAND); -void snd_timer_id_set_subdevice(snd_timer_id_set_subdevice_ARG_EXPAND); +void glshim_snd_timer_id_set_subdevice(snd_timer_id_set_subdevice_ARG_EXPAND); typedef void (*snd_timer_id_set_subdevice_PTR)(snd_timer_id_set_subdevice_ARG_EXPAND); -size_t snd_timer_id_sizeof(snd_timer_id_sizeof_ARG_EXPAND); +size_t glshim_snd_timer_id_sizeof(snd_timer_id_sizeof_ARG_EXPAND); typedef size_t (*snd_timer_id_sizeof_PTR)(snd_timer_id_sizeof_ARG_EXPAND); -int snd_timer_info(snd_timer_info_ARG_EXPAND); +int glshim_snd_timer_info(snd_timer_info_ARG_EXPAND); typedef int (*snd_timer_info_PTR)(snd_timer_info_ARG_EXPAND); -void snd_timer_info_copy(snd_timer_info_copy_ARG_EXPAND); +void glshim_snd_timer_info_copy(snd_timer_info_copy_ARG_EXPAND); typedef void (*snd_timer_info_copy_PTR)(snd_timer_info_copy_ARG_EXPAND); -void snd_timer_info_free(snd_timer_info_free_ARG_EXPAND); +void glshim_snd_timer_info_free(snd_timer_info_free_ARG_EXPAND); typedef void (*snd_timer_info_free_PTR)(snd_timer_info_free_ARG_EXPAND); -int snd_timer_info_get_card(snd_timer_info_get_card_ARG_EXPAND); +int glshim_snd_timer_info_get_card(snd_timer_info_get_card_ARG_EXPAND); typedef int (*snd_timer_info_get_card_PTR)(snd_timer_info_get_card_ARG_EXPAND); -const char * snd_timer_info_get_id(snd_timer_info_get_id_ARG_EXPAND); +const char * glshim_snd_timer_info_get_id(snd_timer_info_get_id_ARG_EXPAND); typedef const char * (*snd_timer_info_get_id_PTR)(snd_timer_info_get_id_ARG_EXPAND); -const char * snd_timer_info_get_name(snd_timer_info_get_name_ARG_EXPAND); +const char * glshim_snd_timer_info_get_name(snd_timer_info_get_name_ARG_EXPAND); typedef const char * (*snd_timer_info_get_name_PTR)(snd_timer_info_get_name_ARG_EXPAND); -long snd_timer_info_get_resolution(snd_timer_info_get_resolution_ARG_EXPAND); +long glshim_snd_timer_info_get_resolution(snd_timer_info_get_resolution_ARG_EXPAND); typedef long (*snd_timer_info_get_resolution_PTR)(snd_timer_info_get_resolution_ARG_EXPAND); -long snd_timer_info_get_ticks(snd_timer_info_get_ticks_ARG_EXPAND); +long glshim_snd_timer_info_get_ticks(snd_timer_info_get_ticks_ARG_EXPAND); typedef long (*snd_timer_info_get_ticks_PTR)(snd_timer_info_get_ticks_ARG_EXPAND); -int snd_timer_info_is_slave(snd_timer_info_is_slave_ARG_EXPAND); +int glshim_snd_timer_info_is_slave(snd_timer_info_is_slave_ARG_EXPAND); typedef int (*snd_timer_info_is_slave_PTR)(snd_timer_info_is_slave_ARG_EXPAND); -int snd_timer_info_malloc(snd_timer_info_malloc_ARG_EXPAND); +int glshim_snd_timer_info_malloc(snd_timer_info_malloc_ARG_EXPAND); typedef int (*snd_timer_info_malloc_PTR)(snd_timer_info_malloc_ARG_EXPAND); -size_t snd_timer_info_sizeof(snd_timer_info_sizeof_ARG_EXPAND); +size_t glshim_snd_timer_info_sizeof(snd_timer_info_sizeof_ARG_EXPAND); typedef size_t (*snd_timer_info_sizeof_PTR)(snd_timer_info_sizeof_ARG_EXPAND); -int snd_timer_open(snd_timer_open_ARG_EXPAND); +int glshim_snd_timer_open(snd_timer_open_ARG_EXPAND); typedef int (*snd_timer_open_PTR)(snd_timer_open_ARG_EXPAND); -int snd_timer_open_lconf(snd_timer_open_lconf_ARG_EXPAND); +int glshim_snd_timer_open_lconf(snd_timer_open_lconf_ARG_EXPAND); typedef int (*snd_timer_open_lconf_PTR)(snd_timer_open_lconf_ARG_EXPAND); -int snd_timer_params(snd_timer_params_ARG_EXPAND); +int glshim_snd_timer_params(snd_timer_params_ARG_EXPAND); typedef int (*snd_timer_params_PTR)(snd_timer_params_ARG_EXPAND); -void snd_timer_params_copy(snd_timer_params_copy_ARG_EXPAND); +void glshim_snd_timer_params_copy(snd_timer_params_copy_ARG_EXPAND); typedef void (*snd_timer_params_copy_PTR)(snd_timer_params_copy_ARG_EXPAND); -void snd_timer_params_free(snd_timer_params_free_ARG_EXPAND); +void glshim_snd_timer_params_free(snd_timer_params_free_ARG_EXPAND); typedef void (*snd_timer_params_free_PTR)(snd_timer_params_free_ARG_EXPAND); -int snd_timer_params_get_auto_start(snd_timer_params_get_auto_start_ARG_EXPAND); +int glshim_snd_timer_params_get_auto_start(snd_timer_params_get_auto_start_ARG_EXPAND); typedef int (*snd_timer_params_get_auto_start_PTR)(snd_timer_params_get_auto_start_ARG_EXPAND); -int snd_timer_params_get_early_event(snd_timer_params_get_early_event_ARG_EXPAND); +int glshim_snd_timer_params_get_early_event(snd_timer_params_get_early_event_ARG_EXPAND); typedef int (*snd_timer_params_get_early_event_PTR)(snd_timer_params_get_early_event_ARG_EXPAND); -int snd_timer_params_get_exclusive(snd_timer_params_get_exclusive_ARG_EXPAND); +int glshim_snd_timer_params_get_exclusive(snd_timer_params_get_exclusive_ARG_EXPAND); typedef int (*snd_timer_params_get_exclusive_PTR)(snd_timer_params_get_exclusive_ARG_EXPAND); -unsigned int snd_timer_params_get_filter(snd_timer_params_get_filter_ARG_EXPAND); +unsigned int glshim_snd_timer_params_get_filter(snd_timer_params_get_filter_ARG_EXPAND); typedef unsigned int (*snd_timer_params_get_filter_PTR)(snd_timer_params_get_filter_ARG_EXPAND); -long snd_timer_params_get_queue_size(snd_timer_params_get_queue_size_ARG_EXPAND); +long glshim_snd_timer_params_get_queue_size(snd_timer_params_get_queue_size_ARG_EXPAND); typedef long (*snd_timer_params_get_queue_size_PTR)(snd_timer_params_get_queue_size_ARG_EXPAND); -long snd_timer_params_get_ticks(snd_timer_params_get_ticks_ARG_EXPAND); +long glshim_snd_timer_params_get_ticks(snd_timer_params_get_ticks_ARG_EXPAND); typedef long (*snd_timer_params_get_ticks_PTR)(snd_timer_params_get_ticks_ARG_EXPAND); -int snd_timer_params_malloc(snd_timer_params_malloc_ARG_EXPAND); +int glshim_snd_timer_params_malloc(snd_timer_params_malloc_ARG_EXPAND); typedef int (*snd_timer_params_malloc_PTR)(snd_timer_params_malloc_ARG_EXPAND); -int snd_timer_params_set_auto_start(snd_timer_params_set_auto_start_ARG_EXPAND); +int glshim_snd_timer_params_set_auto_start(snd_timer_params_set_auto_start_ARG_EXPAND); typedef int (*snd_timer_params_set_auto_start_PTR)(snd_timer_params_set_auto_start_ARG_EXPAND); -int snd_timer_params_set_early_event(snd_timer_params_set_early_event_ARG_EXPAND); +int glshim_snd_timer_params_set_early_event(snd_timer_params_set_early_event_ARG_EXPAND); typedef int (*snd_timer_params_set_early_event_PTR)(snd_timer_params_set_early_event_ARG_EXPAND); -int snd_timer_params_set_exclusive(snd_timer_params_set_exclusive_ARG_EXPAND); +int glshim_snd_timer_params_set_exclusive(snd_timer_params_set_exclusive_ARG_EXPAND); typedef int (*snd_timer_params_set_exclusive_PTR)(snd_timer_params_set_exclusive_ARG_EXPAND); -void snd_timer_params_set_filter(snd_timer_params_set_filter_ARG_EXPAND); +void glshim_snd_timer_params_set_filter(snd_timer_params_set_filter_ARG_EXPAND); typedef void (*snd_timer_params_set_filter_PTR)(snd_timer_params_set_filter_ARG_EXPAND); -void snd_timer_params_set_queue_size(snd_timer_params_set_queue_size_ARG_EXPAND); +void glshim_snd_timer_params_set_queue_size(snd_timer_params_set_queue_size_ARG_EXPAND); typedef void (*snd_timer_params_set_queue_size_PTR)(snd_timer_params_set_queue_size_ARG_EXPAND); -void snd_timer_params_set_ticks(snd_timer_params_set_ticks_ARG_EXPAND); +void glshim_snd_timer_params_set_ticks(snd_timer_params_set_ticks_ARG_EXPAND); typedef void (*snd_timer_params_set_ticks_PTR)(snd_timer_params_set_ticks_ARG_EXPAND); -size_t snd_timer_params_sizeof(snd_timer_params_sizeof_ARG_EXPAND); +size_t glshim_snd_timer_params_sizeof(snd_timer_params_sizeof_ARG_EXPAND); typedef size_t (*snd_timer_params_sizeof_PTR)(snd_timer_params_sizeof_ARG_EXPAND); -int snd_timer_poll_descriptors(snd_timer_poll_descriptors_ARG_EXPAND); +int glshim_snd_timer_poll_descriptors(snd_timer_poll_descriptors_ARG_EXPAND); typedef int (*snd_timer_poll_descriptors_PTR)(snd_timer_poll_descriptors_ARG_EXPAND); -int snd_timer_poll_descriptors_count(snd_timer_poll_descriptors_count_ARG_EXPAND); +int glshim_snd_timer_poll_descriptors_count(snd_timer_poll_descriptors_count_ARG_EXPAND); typedef int (*snd_timer_poll_descriptors_count_PTR)(snd_timer_poll_descriptors_count_ARG_EXPAND); -int snd_timer_poll_descriptors_revents(snd_timer_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_timer_poll_descriptors_revents(snd_timer_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_timer_poll_descriptors_revents_PTR)(snd_timer_poll_descriptors_revents_ARG_EXPAND); -int snd_timer_query_close(snd_timer_query_close_ARG_EXPAND); +int glshim_snd_timer_query_close(snd_timer_query_close_ARG_EXPAND); typedef int (*snd_timer_query_close_PTR)(snd_timer_query_close_ARG_EXPAND); -int snd_timer_query_info(snd_timer_query_info_ARG_EXPAND); +int glshim_snd_timer_query_info(snd_timer_query_info_ARG_EXPAND); typedef int (*snd_timer_query_info_PTR)(snd_timer_query_info_ARG_EXPAND); -int snd_timer_query_next_device(snd_timer_query_next_device_ARG_EXPAND); +int glshim_snd_timer_query_next_device(snd_timer_query_next_device_ARG_EXPAND); typedef int (*snd_timer_query_next_device_PTR)(snd_timer_query_next_device_ARG_EXPAND); -int snd_timer_query_open(snd_timer_query_open_ARG_EXPAND); +int glshim_snd_timer_query_open(snd_timer_query_open_ARG_EXPAND); typedef int (*snd_timer_query_open_PTR)(snd_timer_query_open_ARG_EXPAND); -int snd_timer_query_open_lconf(snd_timer_query_open_lconf_ARG_EXPAND); +int glshim_snd_timer_query_open_lconf(snd_timer_query_open_lconf_ARG_EXPAND); typedef int (*snd_timer_query_open_lconf_PTR)(snd_timer_query_open_lconf_ARG_EXPAND); -int snd_timer_query_params(snd_timer_query_params_ARG_EXPAND); +int glshim_snd_timer_query_params(snd_timer_query_params_ARG_EXPAND); typedef int (*snd_timer_query_params_PTR)(snd_timer_query_params_ARG_EXPAND); -int snd_timer_query_status(snd_timer_query_status_ARG_EXPAND); +int glshim_snd_timer_query_status(snd_timer_query_status_ARG_EXPAND); typedef int (*snd_timer_query_status_PTR)(snd_timer_query_status_ARG_EXPAND); -ssize_t snd_timer_read(snd_timer_read_ARG_EXPAND); +ssize_t glshim_snd_timer_read(snd_timer_read_ARG_EXPAND); typedef ssize_t (*snd_timer_read_PTR)(snd_timer_read_ARG_EXPAND); -int snd_timer_start(snd_timer_start_ARG_EXPAND); +int glshim_snd_timer_start(snd_timer_start_ARG_EXPAND); typedef int (*snd_timer_start_PTR)(snd_timer_start_ARG_EXPAND); -int snd_timer_status(snd_timer_status_ARG_EXPAND); +int glshim_snd_timer_status(snd_timer_status_ARG_EXPAND); typedef int (*snd_timer_status_PTR)(snd_timer_status_ARG_EXPAND); -void snd_timer_status_copy(snd_timer_status_copy_ARG_EXPAND); +void glshim_snd_timer_status_copy(snd_timer_status_copy_ARG_EXPAND); typedef void (*snd_timer_status_copy_PTR)(snd_timer_status_copy_ARG_EXPAND); -void snd_timer_status_free(snd_timer_status_free_ARG_EXPAND); +void glshim_snd_timer_status_free(snd_timer_status_free_ARG_EXPAND); typedef void (*snd_timer_status_free_PTR)(snd_timer_status_free_ARG_EXPAND); -long snd_timer_status_get_lost(snd_timer_status_get_lost_ARG_EXPAND); +long glshim_snd_timer_status_get_lost(snd_timer_status_get_lost_ARG_EXPAND); typedef long (*snd_timer_status_get_lost_PTR)(snd_timer_status_get_lost_ARG_EXPAND); -long snd_timer_status_get_overrun(snd_timer_status_get_overrun_ARG_EXPAND); +long glshim_snd_timer_status_get_overrun(snd_timer_status_get_overrun_ARG_EXPAND); typedef long (*snd_timer_status_get_overrun_PTR)(snd_timer_status_get_overrun_ARG_EXPAND); -long snd_timer_status_get_queue(snd_timer_status_get_queue_ARG_EXPAND); +long glshim_snd_timer_status_get_queue(snd_timer_status_get_queue_ARG_EXPAND); typedef long (*snd_timer_status_get_queue_PTR)(snd_timer_status_get_queue_ARG_EXPAND); -long snd_timer_status_get_resolution(snd_timer_status_get_resolution_ARG_EXPAND); +long glshim_snd_timer_status_get_resolution(snd_timer_status_get_resolution_ARG_EXPAND); typedef long (*snd_timer_status_get_resolution_PTR)(snd_timer_status_get_resolution_ARG_EXPAND); -snd_htimestamp_t snd_timer_status_get_timestamp(snd_timer_status_get_timestamp_ARG_EXPAND); +snd_htimestamp_t glshim_snd_timer_status_get_timestamp(snd_timer_status_get_timestamp_ARG_EXPAND); typedef snd_htimestamp_t (*snd_timer_status_get_timestamp_PTR)(snd_timer_status_get_timestamp_ARG_EXPAND); -int snd_timer_status_malloc(snd_timer_status_malloc_ARG_EXPAND); +int glshim_snd_timer_status_malloc(snd_timer_status_malloc_ARG_EXPAND); typedef int (*snd_timer_status_malloc_PTR)(snd_timer_status_malloc_ARG_EXPAND); -size_t snd_timer_status_sizeof(snd_timer_status_sizeof_ARG_EXPAND); +size_t glshim_snd_timer_status_sizeof(snd_timer_status_sizeof_ARG_EXPAND); typedef size_t (*snd_timer_status_sizeof_PTR)(snd_timer_status_sizeof_ARG_EXPAND); -int snd_timer_stop(snd_timer_stop_ARG_EXPAND); +int glshim_snd_timer_stop(snd_timer_stop_ARG_EXPAND); typedef int (*snd_timer_stop_PTR)(snd_timer_stop_ARG_EXPAND); -int snd_user_file(snd_user_file_ARG_EXPAND); +int glshim_snd_user_file(snd_user_file_ARG_EXPAND); typedef int (*snd_user_file_PTR)(snd_user_file_ARG_EXPAND); #endif @@ -55552,3499 +55552,3499 @@ void glIndexedCall(const indexed_call_t *packed, void *ret_v); #define snd_user_file_INDEXED INDEXED_int_const_char___GENPT___char___GENPT____GENPT__ #define snd_user_file_FORMAT FORMAT_int_const_char___GENPT___char___GENPT____GENPT__ -void glAccum(glAccum_ARG_EXPAND); +void glshim_glAccum(glAccum_ARG_EXPAND); typedef void (*glAccum_PTR)(glAccum_ARG_EXPAND); -void glActiveTexture(glActiveTexture_ARG_EXPAND); +void glshim_glActiveTexture(glActiveTexture_ARG_EXPAND); typedef void (*glActiveTexture_PTR)(glActiveTexture_ARG_EXPAND); -void glAlphaFunc(glAlphaFunc_ARG_EXPAND); +void glshim_glAlphaFunc(glAlphaFunc_ARG_EXPAND); typedef void (*glAlphaFunc_PTR)(glAlphaFunc_ARG_EXPAND); -GLboolean glAreTexturesResident(glAreTexturesResident_ARG_EXPAND); +GLboolean glshim_glAreTexturesResident(glAreTexturesResident_ARG_EXPAND); typedef GLboolean (*glAreTexturesResident_PTR)(glAreTexturesResident_ARG_EXPAND); -void glArrayElement(glArrayElement_ARG_EXPAND); +void glshim_glArrayElement(glArrayElement_ARG_EXPAND); typedef void (*glArrayElement_PTR)(glArrayElement_ARG_EXPAND); -void glBegin(glBegin_ARG_EXPAND); +void glshim_glBegin(glBegin_ARG_EXPAND); typedef void (*glBegin_PTR)(glBegin_ARG_EXPAND); -void glBeginQuery(glBeginQuery_ARG_EXPAND); +void glshim_glBeginQuery(glBeginQuery_ARG_EXPAND); typedef void (*glBeginQuery_PTR)(glBeginQuery_ARG_EXPAND); -void glBindBuffer(glBindBuffer_ARG_EXPAND); +void glshim_glBindBuffer(glBindBuffer_ARG_EXPAND); typedef void (*glBindBuffer_PTR)(glBindBuffer_ARG_EXPAND); -void glBindTexture(glBindTexture_ARG_EXPAND); +void glshim_glBindTexture(glBindTexture_ARG_EXPAND); typedef void (*glBindTexture_PTR)(glBindTexture_ARG_EXPAND); -void glBitmap(glBitmap_ARG_EXPAND); +void glshim_glBitmap(glBitmap_ARG_EXPAND); typedef void (*glBitmap_PTR)(glBitmap_ARG_EXPAND); -void glBlendColor(glBlendColor_ARG_EXPAND); +void glshim_glBlendColor(glBlendColor_ARG_EXPAND); typedef void (*glBlendColor_PTR)(glBlendColor_ARG_EXPAND); -void glBlendEquation(glBlendEquation_ARG_EXPAND); +void glshim_glBlendEquation(glBlendEquation_ARG_EXPAND); typedef void (*glBlendEquation_PTR)(glBlendEquation_ARG_EXPAND); -void glBlendFunc(glBlendFunc_ARG_EXPAND); +void glshim_glBlendFunc(glBlendFunc_ARG_EXPAND); typedef void (*glBlendFunc_PTR)(glBlendFunc_ARG_EXPAND); -void glBlendFuncSeparate(glBlendFuncSeparate_ARG_EXPAND); +void glshim_glBlendFuncSeparate(glBlendFuncSeparate_ARG_EXPAND); typedef void (*glBlendFuncSeparate_PTR)(glBlendFuncSeparate_ARG_EXPAND); -void glBufferData(glBufferData_ARG_EXPAND); +void glshim_glBufferData(glBufferData_ARG_EXPAND); typedef void (*glBufferData_PTR)(glBufferData_ARG_EXPAND); -void glBufferSubData(glBufferSubData_ARG_EXPAND); +void glshim_glBufferSubData(glBufferSubData_ARG_EXPAND); typedef void (*glBufferSubData_PTR)(glBufferSubData_ARG_EXPAND); -void glCallList(glCallList_ARG_EXPAND); +void glshim_glCallList(glCallList_ARG_EXPAND); typedef void (*glCallList_PTR)(glCallList_ARG_EXPAND); -void glCallLists(glCallLists_ARG_EXPAND); +void glshim_glCallLists(glCallLists_ARG_EXPAND); typedef void (*glCallLists_PTR)(glCallLists_ARG_EXPAND); -void glClear(glClear_ARG_EXPAND); +void glshim_glClear(glClear_ARG_EXPAND); typedef void (*glClear_PTR)(glClear_ARG_EXPAND); -void glClearAccum(glClearAccum_ARG_EXPAND); +void glshim_glClearAccum(glClearAccum_ARG_EXPAND); typedef void (*glClearAccum_PTR)(glClearAccum_ARG_EXPAND); -void glClearColor(glClearColor_ARG_EXPAND); +void glshim_glClearColor(glClearColor_ARG_EXPAND); typedef void (*glClearColor_PTR)(glClearColor_ARG_EXPAND); -void glClearDepth(glClearDepth_ARG_EXPAND); +void glshim_glClearDepth(glClearDepth_ARG_EXPAND); typedef void (*glClearDepth_PTR)(glClearDepth_ARG_EXPAND); -void glClearIndex(glClearIndex_ARG_EXPAND); +void glshim_glClearIndex(glClearIndex_ARG_EXPAND); typedef void (*glClearIndex_PTR)(glClearIndex_ARG_EXPAND); -void glClearStencil(glClearStencil_ARG_EXPAND); +void glshim_glClearStencil(glClearStencil_ARG_EXPAND); typedef void (*glClearStencil_PTR)(glClearStencil_ARG_EXPAND); -void glClientActiveTexture(glClientActiveTexture_ARG_EXPAND); +void glshim_glClientActiveTexture(glClientActiveTexture_ARG_EXPAND); typedef void (*glClientActiveTexture_PTR)(glClientActiveTexture_ARG_EXPAND); -void glClipPlane(glClipPlane_ARG_EXPAND); +void glshim_glClipPlane(glClipPlane_ARG_EXPAND); typedef void (*glClipPlane_PTR)(glClipPlane_ARG_EXPAND); -void glColor3b(glColor3b_ARG_EXPAND); +void glshim_glColor3b(glColor3b_ARG_EXPAND); typedef void (*glColor3b_PTR)(glColor3b_ARG_EXPAND); -void glColor3bv(glColor3bv_ARG_EXPAND); +void glshim_glColor3bv(glColor3bv_ARG_EXPAND); typedef void (*glColor3bv_PTR)(glColor3bv_ARG_EXPAND); -void glColor3d(glColor3d_ARG_EXPAND); +void glshim_glColor3d(glColor3d_ARG_EXPAND); typedef void (*glColor3d_PTR)(glColor3d_ARG_EXPAND); -void glColor3dv(glColor3dv_ARG_EXPAND); +void glshim_glColor3dv(glColor3dv_ARG_EXPAND); typedef void (*glColor3dv_PTR)(glColor3dv_ARG_EXPAND); -void glColor3f(glColor3f_ARG_EXPAND); +void glshim_glColor3f(glColor3f_ARG_EXPAND); typedef void (*glColor3f_PTR)(glColor3f_ARG_EXPAND); -void glColor3fv(glColor3fv_ARG_EXPAND); +void glshim_glColor3fv(glColor3fv_ARG_EXPAND); typedef void (*glColor3fv_PTR)(glColor3fv_ARG_EXPAND); -void glColor3i(glColor3i_ARG_EXPAND); +void glshim_glColor3i(glColor3i_ARG_EXPAND); typedef void (*glColor3i_PTR)(glColor3i_ARG_EXPAND); -void glColor3iv(glColor3iv_ARG_EXPAND); +void glshim_glColor3iv(glColor3iv_ARG_EXPAND); typedef void (*glColor3iv_PTR)(glColor3iv_ARG_EXPAND); -void glColor3s(glColor3s_ARG_EXPAND); +void glshim_glColor3s(glColor3s_ARG_EXPAND); typedef void (*glColor3s_PTR)(glColor3s_ARG_EXPAND); -void glColor3sv(glColor3sv_ARG_EXPAND); +void glshim_glColor3sv(glColor3sv_ARG_EXPAND); typedef void (*glColor3sv_PTR)(glColor3sv_ARG_EXPAND); -void glColor3ub(glColor3ub_ARG_EXPAND); +void glshim_glColor3ub(glColor3ub_ARG_EXPAND); typedef void (*glColor3ub_PTR)(glColor3ub_ARG_EXPAND); -void glColor3ubv(glColor3ubv_ARG_EXPAND); +void glshim_glColor3ubv(glColor3ubv_ARG_EXPAND); typedef void (*glColor3ubv_PTR)(glColor3ubv_ARG_EXPAND); -void glColor3ui(glColor3ui_ARG_EXPAND); +void glshim_glColor3ui(glColor3ui_ARG_EXPAND); typedef void (*glColor3ui_PTR)(glColor3ui_ARG_EXPAND); -void glColor3uiv(glColor3uiv_ARG_EXPAND); +void glshim_glColor3uiv(glColor3uiv_ARG_EXPAND); typedef void (*glColor3uiv_PTR)(glColor3uiv_ARG_EXPAND); -void glColor3us(glColor3us_ARG_EXPAND); +void glshim_glColor3us(glColor3us_ARG_EXPAND); typedef void (*glColor3us_PTR)(glColor3us_ARG_EXPAND); -void glColor3usv(glColor3usv_ARG_EXPAND); +void glshim_glColor3usv(glColor3usv_ARG_EXPAND); typedef void (*glColor3usv_PTR)(glColor3usv_ARG_EXPAND); -void glColor4b(glColor4b_ARG_EXPAND); +void glshim_glColor4b(glColor4b_ARG_EXPAND); typedef void (*glColor4b_PTR)(glColor4b_ARG_EXPAND); -void glColor4bv(glColor4bv_ARG_EXPAND); +void glshim_glColor4bv(glColor4bv_ARG_EXPAND); typedef void (*glColor4bv_PTR)(glColor4bv_ARG_EXPAND); -void glColor4d(glColor4d_ARG_EXPAND); +void glshim_glColor4d(glColor4d_ARG_EXPAND); typedef void (*glColor4d_PTR)(glColor4d_ARG_EXPAND); -void glColor4dv(glColor4dv_ARG_EXPAND); +void glshim_glColor4dv(glColor4dv_ARG_EXPAND); typedef void (*glColor4dv_PTR)(glColor4dv_ARG_EXPAND); -void glColor4f(glColor4f_ARG_EXPAND); +void glshim_glColor4f(glColor4f_ARG_EXPAND); typedef void (*glColor4f_PTR)(glColor4f_ARG_EXPAND); -void glColor4fv(glColor4fv_ARG_EXPAND); +void glshim_glColor4fv(glColor4fv_ARG_EXPAND); typedef void (*glColor4fv_PTR)(glColor4fv_ARG_EXPAND); -void glColor4i(glColor4i_ARG_EXPAND); +void glshim_glColor4i(glColor4i_ARG_EXPAND); typedef void (*glColor4i_PTR)(glColor4i_ARG_EXPAND); -void glColor4iv(glColor4iv_ARG_EXPAND); +void glshim_glColor4iv(glColor4iv_ARG_EXPAND); typedef void (*glColor4iv_PTR)(glColor4iv_ARG_EXPAND); -void glColor4s(glColor4s_ARG_EXPAND); +void glshim_glColor4s(glColor4s_ARG_EXPAND); typedef void (*glColor4s_PTR)(glColor4s_ARG_EXPAND); -void glColor4sv(glColor4sv_ARG_EXPAND); +void glshim_glColor4sv(glColor4sv_ARG_EXPAND); typedef void (*glColor4sv_PTR)(glColor4sv_ARG_EXPAND); -void glColor4ub(glColor4ub_ARG_EXPAND); +void glshim_glColor4ub(glColor4ub_ARG_EXPAND); typedef void (*glColor4ub_PTR)(glColor4ub_ARG_EXPAND); -void glColor4ubv(glColor4ubv_ARG_EXPAND); +void glshim_glColor4ubv(glColor4ubv_ARG_EXPAND); typedef void (*glColor4ubv_PTR)(glColor4ubv_ARG_EXPAND); -void glColor4ui(glColor4ui_ARG_EXPAND); +void glshim_glColor4ui(glColor4ui_ARG_EXPAND); typedef void (*glColor4ui_PTR)(glColor4ui_ARG_EXPAND); -void glColor4uiv(glColor4uiv_ARG_EXPAND); +void glshim_glColor4uiv(glColor4uiv_ARG_EXPAND); typedef void (*glColor4uiv_PTR)(glColor4uiv_ARG_EXPAND); -void glColor4us(glColor4us_ARG_EXPAND); +void glshim_glColor4us(glColor4us_ARG_EXPAND); typedef void (*glColor4us_PTR)(glColor4us_ARG_EXPAND); -void glColor4usv(glColor4usv_ARG_EXPAND); +void glshim_glColor4usv(glColor4usv_ARG_EXPAND); typedef void (*glColor4usv_PTR)(glColor4usv_ARG_EXPAND); -void glColorMask(glColorMask_ARG_EXPAND); +void glshim_glColorMask(glColorMask_ARG_EXPAND); typedef void (*glColorMask_PTR)(glColorMask_ARG_EXPAND); -void glColorMaterial(glColorMaterial_ARG_EXPAND); +void glshim_glColorMaterial(glColorMaterial_ARG_EXPAND); typedef void (*glColorMaterial_PTR)(glColorMaterial_ARG_EXPAND); -void glColorPointer(glColorPointer_ARG_EXPAND); +void glshim_glColorPointer(glColorPointer_ARG_EXPAND); typedef void (*glColorPointer_PTR)(glColorPointer_ARG_EXPAND); -void glColorSubTable(glColorSubTable_ARG_EXPAND); +void glshim_glColorSubTable(glColorSubTable_ARG_EXPAND); typedef void (*glColorSubTable_PTR)(glColorSubTable_ARG_EXPAND); -void glColorTable(glColorTable_ARG_EXPAND); +void glshim_glColorTable(glColorTable_ARG_EXPAND); typedef void (*glColorTable_PTR)(glColorTable_ARG_EXPAND); -void glColorTableParameterfv(glColorTableParameterfv_ARG_EXPAND); +void glshim_glColorTableParameterfv(glColorTableParameterfv_ARG_EXPAND); typedef void (*glColorTableParameterfv_PTR)(glColorTableParameterfv_ARG_EXPAND); -void glColorTableParameteriv(glColorTableParameteriv_ARG_EXPAND); +void glshim_glColorTableParameteriv(glColorTableParameteriv_ARG_EXPAND); typedef void (*glColorTableParameteriv_PTR)(glColorTableParameteriv_ARG_EXPAND); -void glCompressedTexImage1D(glCompressedTexImage1D_ARG_EXPAND); +void glshim_glCompressedTexImage1D(glCompressedTexImage1D_ARG_EXPAND); typedef void (*glCompressedTexImage1D_PTR)(glCompressedTexImage1D_ARG_EXPAND); -void glCompressedTexImage2D(glCompressedTexImage2D_ARG_EXPAND); +void glshim_glCompressedTexImage2D(glCompressedTexImage2D_ARG_EXPAND); typedef void (*glCompressedTexImage2D_PTR)(glCompressedTexImage2D_ARG_EXPAND); -void glCompressedTexImage3D(glCompressedTexImage3D_ARG_EXPAND); +void glshim_glCompressedTexImage3D(glCompressedTexImage3D_ARG_EXPAND); typedef void (*glCompressedTexImage3D_PTR)(glCompressedTexImage3D_ARG_EXPAND); -void glCompressedTexSubImage1D(glCompressedTexSubImage1D_ARG_EXPAND); +void glshim_glCompressedTexSubImage1D(glCompressedTexSubImage1D_ARG_EXPAND); typedef void (*glCompressedTexSubImage1D_PTR)(glCompressedTexSubImage1D_ARG_EXPAND); -void glCompressedTexSubImage2D(glCompressedTexSubImage2D_ARG_EXPAND); +void glshim_glCompressedTexSubImage2D(glCompressedTexSubImage2D_ARG_EXPAND); typedef void (*glCompressedTexSubImage2D_PTR)(glCompressedTexSubImage2D_ARG_EXPAND); -void glCompressedTexSubImage3D(glCompressedTexSubImage3D_ARG_EXPAND); +void glshim_glCompressedTexSubImage3D(glCompressedTexSubImage3D_ARG_EXPAND); typedef void (*glCompressedTexSubImage3D_PTR)(glCompressedTexSubImage3D_ARG_EXPAND); -void glConvolutionFilter1D(glConvolutionFilter1D_ARG_EXPAND); +void glshim_glConvolutionFilter1D(glConvolutionFilter1D_ARG_EXPAND); typedef void (*glConvolutionFilter1D_PTR)(glConvolutionFilter1D_ARG_EXPAND); -void glConvolutionFilter2D(glConvolutionFilter2D_ARG_EXPAND); +void glshim_glConvolutionFilter2D(glConvolutionFilter2D_ARG_EXPAND); typedef void (*glConvolutionFilter2D_PTR)(glConvolutionFilter2D_ARG_EXPAND); -void glConvolutionParameterf(glConvolutionParameterf_ARG_EXPAND); +void glshim_glConvolutionParameterf(glConvolutionParameterf_ARG_EXPAND); typedef void (*glConvolutionParameterf_PTR)(glConvolutionParameterf_ARG_EXPAND); -void glConvolutionParameterfv(glConvolutionParameterfv_ARG_EXPAND); +void glshim_glConvolutionParameterfv(glConvolutionParameterfv_ARG_EXPAND); typedef void (*glConvolutionParameterfv_PTR)(glConvolutionParameterfv_ARG_EXPAND); -void glConvolutionParameteri(glConvolutionParameteri_ARG_EXPAND); +void glshim_glConvolutionParameteri(glConvolutionParameteri_ARG_EXPAND); typedef void (*glConvolutionParameteri_PTR)(glConvolutionParameteri_ARG_EXPAND); -void glConvolutionParameteriv(glConvolutionParameteriv_ARG_EXPAND); +void glshim_glConvolutionParameteriv(glConvolutionParameteriv_ARG_EXPAND); typedef void (*glConvolutionParameteriv_PTR)(glConvolutionParameteriv_ARG_EXPAND); -void glCopyColorSubTable(glCopyColorSubTable_ARG_EXPAND); +void glshim_glCopyColorSubTable(glCopyColorSubTable_ARG_EXPAND); typedef void (*glCopyColorSubTable_PTR)(glCopyColorSubTable_ARG_EXPAND); -void glCopyColorTable(glCopyColorTable_ARG_EXPAND); +void glshim_glCopyColorTable(glCopyColorTable_ARG_EXPAND); typedef void (*glCopyColorTable_PTR)(glCopyColorTable_ARG_EXPAND); -void glCopyConvolutionFilter1D(glCopyConvolutionFilter1D_ARG_EXPAND); +void glshim_glCopyConvolutionFilter1D(glCopyConvolutionFilter1D_ARG_EXPAND); typedef void (*glCopyConvolutionFilter1D_PTR)(glCopyConvolutionFilter1D_ARG_EXPAND); -void glCopyConvolutionFilter2D(glCopyConvolutionFilter2D_ARG_EXPAND); +void glshim_glCopyConvolutionFilter2D(glCopyConvolutionFilter2D_ARG_EXPAND); typedef void (*glCopyConvolutionFilter2D_PTR)(glCopyConvolutionFilter2D_ARG_EXPAND); -void glCopyPixels(glCopyPixels_ARG_EXPAND); +void glshim_glCopyPixels(glCopyPixels_ARG_EXPAND); typedef void (*glCopyPixels_PTR)(glCopyPixels_ARG_EXPAND); -void glCopyTexImage1D(glCopyTexImage1D_ARG_EXPAND); +void glshim_glCopyTexImage1D(glCopyTexImage1D_ARG_EXPAND); typedef void (*glCopyTexImage1D_PTR)(glCopyTexImage1D_ARG_EXPAND); -void glCopyTexImage2D(glCopyTexImage2D_ARG_EXPAND); +void glshim_glCopyTexImage2D(glCopyTexImage2D_ARG_EXPAND); typedef void (*glCopyTexImage2D_PTR)(glCopyTexImage2D_ARG_EXPAND); -void glCopyTexSubImage1D(glCopyTexSubImage1D_ARG_EXPAND); +void glshim_glCopyTexSubImage1D(glCopyTexSubImage1D_ARG_EXPAND); typedef void (*glCopyTexSubImage1D_PTR)(glCopyTexSubImage1D_ARG_EXPAND); -void glCopyTexSubImage2D(glCopyTexSubImage2D_ARG_EXPAND); +void glshim_glCopyTexSubImage2D(glCopyTexSubImage2D_ARG_EXPAND); typedef void (*glCopyTexSubImage2D_PTR)(glCopyTexSubImage2D_ARG_EXPAND); -void glCopyTexSubImage3D(glCopyTexSubImage3D_ARG_EXPAND); +void glshim_glCopyTexSubImage3D(glCopyTexSubImage3D_ARG_EXPAND); typedef void (*glCopyTexSubImage3D_PTR)(glCopyTexSubImage3D_ARG_EXPAND); -void glCullFace(glCullFace_ARG_EXPAND); +void glshim_glCullFace(glCullFace_ARG_EXPAND); typedef void (*glCullFace_PTR)(glCullFace_ARG_EXPAND); -void glDeleteBuffers(glDeleteBuffers_ARG_EXPAND); +void glshim_glDeleteBuffers(glDeleteBuffers_ARG_EXPAND); typedef void (*glDeleteBuffers_PTR)(glDeleteBuffers_ARG_EXPAND); -void glDeleteLists(glDeleteLists_ARG_EXPAND); +void glshim_glDeleteLists(glDeleteLists_ARG_EXPAND); typedef void (*glDeleteLists_PTR)(glDeleteLists_ARG_EXPAND); -void glDeleteQueries(glDeleteQueries_ARG_EXPAND); +void glshim_glDeleteQueries(glDeleteQueries_ARG_EXPAND); typedef void (*glDeleteQueries_PTR)(glDeleteQueries_ARG_EXPAND); -void glDeleteTextures(glDeleteTextures_ARG_EXPAND); +void glshim_glDeleteTextures(glDeleteTextures_ARG_EXPAND); typedef void (*glDeleteTextures_PTR)(glDeleteTextures_ARG_EXPAND); -void glDepthFunc(glDepthFunc_ARG_EXPAND); +void glshim_glDepthFunc(glDepthFunc_ARG_EXPAND); typedef void (*glDepthFunc_PTR)(glDepthFunc_ARG_EXPAND); -void glDepthMask(glDepthMask_ARG_EXPAND); +void glshim_glDepthMask(glDepthMask_ARG_EXPAND); typedef void (*glDepthMask_PTR)(glDepthMask_ARG_EXPAND); -void glDepthRange(glDepthRange_ARG_EXPAND); +void glshim_glDepthRange(glDepthRange_ARG_EXPAND); typedef void (*glDepthRange_PTR)(glDepthRange_ARG_EXPAND); -void glDisable(glDisable_ARG_EXPAND); +void glshim_glDisable(glDisable_ARG_EXPAND); typedef void (*glDisable_PTR)(glDisable_ARG_EXPAND); -void glDisableClientState(glDisableClientState_ARG_EXPAND); +void glshim_glDisableClientState(glDisableClientState_ARG_EXPAND); typedef void (*glDisableClientState_PTR)(glDisableClientState_ARG_EXPAND); -void glDrawArrays(glDrawArrays_ARG_EXPAND); +void glshim_glDrawArrays(glDrawArrays_ARG_EXPAND); typedef void (*glDrawArrays_PTR)(glDrawArrays_ARG_EXPAND); -void glDrawBuffer(glDrawBuffer_ARG_EXPAND); +void glshim_glDrawBuffer(glDrawBuffer_ARG_EXPAND); typedef void (*glDrawBuffer_PTR)(glDrawBuffer_ARG_EXPAND); -void glDrawElements(glDrawElements_ARG_EXPAND); +void glshim_glDrawElements(glDrawElements_ARG_EXPAND); typedef void (*glDrawElements_PTR)(glDrawElements_ARG_EXPAND); -void glDrawPixels(glDrawPixels_ARG_EXPAND); +void glshim_glDrawPixels(glDrawPixels_ARG_EXPAND); typedef void (*glDrawPixels_PTR)(glDrawPixels_ARG_EXPAND); -void glDrawRangeElements(glDrawRangeElements_ARG_EXPAND); +void glshim_glDrawRangeElements(glDrawRangeElements_ARG_EXPAND); typedef void (*glDrawRangeElements_PTR)(glDrawRangeElements_ARG_EXPAND); -void glEdgeFlag(glEdgeFlag_ARG_EXPAND); +void glshim_glEdgeFlag(glEdgeFlag_ARG_EXPAND); typedef void (*glEdgeFlag_PTR)(glEdgeFlag_ARG_EXPAND); -void glEdgeFlagPointer(glEdgeFlagPointer_ARG_EXPAND); +void glshim_glEdgeFlagPointer(glEdgeFlagPointer_ARG_EXPAND); typedef void (*glEdgeFlagPointer_PTR)(glEdgeFlagPointer_ARG_EXPAND); -void glEdgeFlagv(glEdgeFlagv_ARG_EXPAND); +void glshim_glEdgeFlagv(glEdgeFlagv_ARG_EXPAND); typedef void (*glEdgeFlagv_PTR)(glEdgeFlagv_ARG_EXPAND); -void glEnable(glEnable_ARG_EXPAND); +void glshim_glEnable(glEnable_ARG_EXPAND); typedef void (*glEnable_PTR)(glEnable_ARG_EXPAND); -void glEnableClientState(glEnableClientState_ARG_EXPAND); +void glshim_glEnableClientState(glEnableClientState_ARG_EXPAND); typedef void (*glEnableClientState_PTR)(glEnableClientState_ARG_EXPAND); -void glEnd(glEnd_ARG_EXPAND); +void glshim_glEnd(glEnd_ARG_EXPAND); typedef void (*glEnd_PTR)(glEnd_ARG_EXPAND); -void glEndList(glEndList_ARG_EXPAND); +void glshim_glEndList(glEndList_ARG_EXPAND); typedef void (*glEndList_PTR)(glEndList_ARG_EXPAND); -void glEndQuery(glEndQuery_ARG_EXPAND); +void glshim_glEndQuery(glEndQuery_ARG_EXPAND); typedef void (*glEndQuery_PTR)(glEndQuery_ARG_EXPAND); -void glEvalCoord1d(glEvalCoord1d_ARG_EXPAND); +void glshim_glEvalCoord1d(glEvalCoord1d_ARG_EXPAND); typedef void (*glEvalCoord1d_PTR)(glEvalCoord1d_ARG_EXPAND); -void glEvalCoord1dv(glEvalCoord1dv_ARG_EXPAND); +void glshim_glEvalCoord1dv(glEvalCoord1dv_ARG_EXPAND); typedef void (*glEvalCoord1dv_PTR)(glEvalCoord1dv_ARG_EXPAND); -void glEvalCoord1f(glEvalCoord1f_ARG_EXPAND); +void glshim_glEvalCoord1f(glEvalCoord1f_ARG_EXPAND); typedef void (*glEvalCoord1f_PTR)(glEvalCoord1f_ARG_EXPAND); -void glEvalCoord1fv(glEvalCoord1fv_ARG_EXPAND); +void glshim_glEvalCoord1fv(glEvalCoord1fv_ARG_EXPAND); typedef void (*glEvalCoord1fv_PTR)(glEvalCoord1fv_ARG_EXPAND); -void glEvalCoord2d(glEvalCoord2d_ARG_EXPAND); +void glshim_glEvalCoord2d(glEvalCoord2d_ARG_EXPAND); typedef void (*glEvalCoord2d_PTR)(glEvalCoord2d_ARG_EXPAND); -void glEvalCoord2dv(glEvalCoord2dv_ARG_EXPAND); +void glshim_glEvalCoord2dv(glEvalCoord2dv_ARG_EXPAND); typedef void (*glEvalCoord2dv_PTR)(glEvalCoord2dv_ARG_EXPAND); -void glEvalCoord2f(glEvalCoord2f_ARG_EXPAND); +void glshim_glEvalCoord2f(glEvalCoord2f_ARG_EXPAND); typedef void (*glEvalCoord2f_PTR)(glEvalCoord2f_ARG_EXPAND); -void glEvalCoord2fv(glEvalCoord2fv_ARG_EXPAND); +void glshim_glEvalCoord2fv(glEvalCoord2fv_ARG_EXPAND); typedef void (*glEvalCoord2fv_PTR)(glEvalCoord2fv_ARG_EXPAND); -void glEvalMesh1(glEvalMesh1_ARG_EXPAND); +void glshim_glEvalMesh1(glEvalMesh1_ARG_EXPAND); typedef void (*glEvalMesh1_PTR)(glEvalMesh1_ARG_EXPAND); -void glEvalMesh2(glEvalMesh2_ARG_EXPAND); +void glshim_glEvalMesh2(glEvalMesh2_ARG_EXPAND); typedef void (*glEvalMesh2_PTR)(glEvalMesh2_ARG_EXPAND); -void glEvalPoint1(glEvalPoint1_ARG_EXPAND); +void glshim_glEvalPoint1(glEvalPoint1_ARG_EXPAND); typedef void (*glEvalPoint1_PTR)(glEvalPoint1_ARG_EXPAND); -void glEvalPoint2(glEvalPoint2_ARG_EXPAND); +void glshim_glEvalPoint2(glEvalPoint2_ARG_EXPAND); typedef void (*glEvalPoint2_PTR)(glEvalPoint2_ARG_EXPAND); -void glFeedbackBuffer(glFeedbackBuffer_ARG_EXPAND); +void glshim_glFeedbackBuffer(glFeedbackBuffer_ARG_EXPAND); typedef void (*glFeedbackBuffer_PTR)(glFeedbackBuffer_ARG_EXPAND); -void glFinish(glFinish_ARG_EXPAND); +void glshim_glFinish(glFinish_ARG_EXPAND); typedef void (*glFinish_PTR)(glFinish_ARG_EXPAND); -void glFlush(glFlush_ARG_EXPAND); +void glshim_glFlush(glFlush_ARG_EXPAND); typedef void (*glFlush_PTR)(glFlush_ARG_EXPAND); -void glFogCoordPointer(glFogCoordPointer_ARG_EXPAND); +void glshim_glFogCoordPointer(glFogCoordPointer_ARG_EXPAND); typedef void (*glFogCoordPointer_PTR)(glFogCoordPointer_ARG_EXPAND); -void glFogCoordd(glFogCoordd_ARG_EXPAND); +void glshim_glFogCoordd(glFogCoordd_ARG_EXPAND); typedef void (*glFogCoordd_PTR)(glFogCoordd_ARG_EXPAND); -void glFogCoorddv(glFogCoorddv_ARG_EXPAND); +void glshim_glFogCoorddv(glFogCoorddv_ARG_EXPAND); typedef void (*glFogCoorddv_PTR)(glFogCoorddv_ARG_EXPAND); -void glFogCoordf(glFogCoordf_ARG_EXPAND); +void glshim_glFogCoordf(glFogCoordf_ARG_EXPAND); typedef void (*glFogCoordf_PTR)(glFogCoordf_ARG_EXPAND); -void glFogCoordfv(glFogCoordfv_ARG_EXPAND); +void glshim_glFogCoordfv(glFogCoordfv_ARG_EXPAND); typedef void (*glFogCoordfv_PTR)(glFogCoordfv_ARG_EXPAND); -void glFogf(glFogf_ARG_EXPAND); +void glshim_glFogf(glFogf_ARG_EXPAND); typedef void (*glFogf_PTR)(glFogf_ARG_EXPAND); -void glFogfv(glFogfv_ARG_EXPAND); +void glshim_glFogfv(glFogfv_ARG_EXPAND); typedef void (*glFogfv_PTR)(glFogfv_ARG_EXPAND); -void glFogi(glFogi_ARG_EXPAND); +void glshim_glFogi(glFogi_ARG_EXPAND); typedef void (*glFogi_PTR)(glFogi_ARG_EXPAND); -void glFogiv(glFogiv_ARG_EXPAND); +void glshim_glFogiv(glFogiv_ARG_EXPAND); typedef void (*glFogiv_PTR)(glFogiv_ARG_EXPAND); -void glFrontFace(glFrontFace_ARG_EXPAND); +void glshim_glFrontFace(glFrontFace_ARG_EXPAND); typedef void (*glFrontFace_PTR)(glFrontFace_ARG_EXPAND); -void glFrustum(glFrustum_ARG_EXPAND); +void glshim_glFrustum(glFrustum_ARG_EXPAND); typedef void (*glFrustum_PTR)(glFrustum_ARG_EXPAND); -void glGenBuffers(glGenBuffers_ARG_EXPAND); +void glshim_glGenBuffers(glGenBuffers_ARG_EXPAND); typedef void (*glGenBuffers_PTR)(glGenBuffers_ARG_EXPAND); -GLuint glGenLists(glGenLists_ARG_EXPAND); +GLuint glshim_glGenLists(glGenLists_ARG_EXPAND); typedef GLuint (*glGenLists_PTR)(glGenLists_ARG_EXPAND); -void glGenQueries(glGenQueries_ARG_EXPAND); +void glshim_glGenQueries(glGenQueries_ARG_EXPAND); typedef void (*glGenQueries_PTR)(glGenQueries_ARG_EXPAND); -void glGenTextures(glGenTextures_ARG_EXPAND); +void glshim_glGenTextures(glGenTextures_ARG_EXPAND); typedef void (*glGenTextures_PTR)(glGenTextures_ARG_EXPAND); -void glGetBooleanv(glGetBooleanv_ARG_EXPAND); +void glshim_glGetBooleanv(glGetBooleanv_ARG_EXPAND); typedef void (*glGetBooleanv_PTR)(glGetBooleanv_ARG_EXPAND); -void glGetBufferParameteriv(glGetBufferParameteriv_ARG_EXPAND); +void glshim_glGetBufferParameteriv(glGetBufferParameteriv_ARG_EXPAND); typedef void (*glGetBufferParameteriv_PTR)(glGetBufferParameteriv_ARG_EXPAND); -void glGetBufferPointerv(glGetBufferPointerv_ARG_EXPAND); +void glshim_glGetBufferPointerv(glGetBufferPointerv_ARG_EXPAND); typedef void (*glGetBufferPointerv_PTR)(glGetBufferPointerv_ARG_EXPAND); -void glGetBufferSubData(glGetBufferSubData_ARG_EXPAND); +void glshim_glGetBufferSubData(glGetBufferSubData_ARG_EXPAND); typedef void (*glGetBufferSubData_PTR)(glGetBufferSubData_ARG_EXPAND); -void glGetClipPlane(glGetClipPlane_ARG_EXPAND); +void glshim_glGetClipPlane(glGetClipPlane_ARG_EXPAND); typedef void (*glGetClipPlane_PTR)(glGetClipPlane_ARG_EXPAND); -void glGetColorTable(glGetColorTable_ARG_EXPAND); +void glshim_glGetColorTable(glGetColorTable_ARG_EXPAND); typedef void (*glGetColorTable_PTR)(glGetColorTable_ARG_EXPAND); -void glGetColorTableParameterfv(glGetColorTableParameterfv_ARG_EXPAND); +void glshim_glGetColorTableParameterfv(glGetColorTableParameterfv_ARG_EXPAND); typedef void (*glGetColorTableParameterfv_PTR)(glGetColorTableParameterfv_ARG_EXPAND); -void glGetColorTableParameteriv(glGetColorTableParameteriv_ARG_EXPAND); +void glshim_glGetColorTableParameteriv(glGetColorTableParameteriv_ARG_EXPAND); typedef void (*glGetColorTableParameteriv_PTR)(glGetColorTableParameteriv_ARG_EXPAND); -void glGetCompressedTexImage(glGetCompressedTexImage_ARG_EXPAND); +void glshim_glGetCompressedTexImage(glGetCompressedTexImage_ARG_EXPAND); typedef void (*glGetCompressedTexImage_PTR)(glGetCompressedTexImage_ARG_EXPAND); -void glGetConvolutionFilter(glGetConvolutionFilter_ARG_EXPAND); +void glshim_glGetConvolutionFilter(glGetConvolutionFilter_ARG_EXPAND); typedef void (*glGetConvolutionFilter_PTR)(glGetConvolutionFilter_ARG_EXPAND); -void glGetConvolutionParameterfv(glGetConvolutionParameterfv_ARG_EXPAND); +void glshim_glGetConvolutionParameterfv(glGetConvolutionParameterfv_ARG_EXPAND); typedef void (*glGetConvolutionParameterfv_PTR)(glGetConvolutionParameterfv_ARG_EXPAND); -void glGetConvolutionParameteriv(glGetConvolutionParameteriv_ARG_EXPAND); +void glshim_glGetConvolutionParameteriv(glGetConvolutionParameteriv_ARG_EXPAND); typedef void (*glGetConvolutionParameteriv_PTR)(glGetConvolutionParameteriv_ARG_EXPAND); -void glGetDoublev(glGetDoublev_ARG_EXPAND); +void glshim_glGetDoublev(glGetDoublev_ARG_EXPAND); typedef void (*glGetDoublev_PTR)(glGetDoublev_ARG_EXPAND); -GLenum glGetError(glGetError_ARG_EXPAND); +GLenum glshim_glGetError(glGetError_ARG_EXPAND); typedef GLenum (*glGetError_PTR)(glGetError_ARG_EXPAND); -void glGetFloatv(glGetFloatv_ARG_EXPAND); +void glshim_glGetFloatv(glGetFloatv_ARG_EXPAND); typedef void (*glGetFloatv_PTR)(glGetFloatv_ARG_EXPAND); -void glGetHistogram(glGetHistogram_ARG_EXPAND); +void glshim_glGetHistogram(glGetHistogram_ARG_EXPAND); typedef void (*glGetHistogram_PTR)(glGetHistogram_ARG_EXPAND); -void glGetHistogramParameterfv(glGetHistogramParameterfv_ARG_EXPAND); +void glshim_glGetHistogramParameterfv(glGetHistogramParameterfv_ARG_EXPAND); typedef void (*glGetHistogramParameterfv_PTR)(glGetHistogramParameterfv_ARG_EXPAND); -void glGetHistogramParameteriv(glGetHistogramParameteriv_ARG_EXPAND); +void glshim_glGetHistogramParameteriv(glGetHistogramParameteriv_ARG_EXPAND); typedef void (*glGetHistogramParameteriv_PTR)(glGetHistogramParameteriv_ARG_EXPAND); -void glGetIntegerv(glGetIntegerv_ARG_EXPAND); +void glshim_glGetIntegerv(glGetIntegerv_ARG_EXPAND); typedef void (*glGetIntegerv_PTR)(glGetIntegerv_ARG_EXPAND); -void glGetLightfv(glGetLightfv_ARG_EXPAND); +void glshim_glGetLightfv(glGetLightfv_ARG_EXPAND); typedef void (*glGetLightfv_PTR)(glGetLightfv_ARG_EXPAND); -void glGetLightiv(glGetLightiv_ARG_EXPAND); +void glshim_glGetLightiv(glGetLightiv_ARG_EXPAND); typedef void (*glGetLightiv_PTR)(glGetLightiv_ARG_EXPAND); -void glGetMapdv(glGetMapdv_ARG_EXPAND); +void glshim_glGetMapdv(glGetMapdv_ARG_EXPAND); typedef void (*glGetMapdv_PTR)(glGetMapdv_ARG_EXPAND); -void glGetMapfv(glGetMapfv_ARG_EXPAND); +void glshim_glGetMapfv(glGetMapfv_ARG_EXPAND); typedef void (*glGetMapfv_PTR)(glGetMapfv_ARG_EXPAND); -void glGetMapiv(glGetMapiv_ARG_EXPAND); +void glshim_glGetMapiv(glGetMapiv_ARG_EXPAND); typedef void (*glGetMapiv_PTR)(glGetMapiv_ARG_EXPAND); -void glGetMaterialfv(glGetMaterialfv_ARG_EXPAND); +void glshim_glGetMaterialfv(glGetMaterialfv_ARG_EXPAND); typedef void (*glGetMaterialfv_PTR)(glGetMaterialfv_ARG_EXPAND); -void glGetMaterialiv(glGetMaterialiv_ARG_EXPAND); +void glshim_glGetMaterialiv(glGetMaterialiv_ARG_EXPAND); typedef void (*glGetMaterialiv_PTR)(glGetMaterialiv_ARG_EXPAND); -void glGetMinmax(glGetMinmax_ARG_EXPAND); +void glshim_glGetMinmax(glGetMinmax_ARG_EXPAND); typedef void (*glGetMinmax_PTR)(glGetMinmax_ARG_EXPAND); -void glGetMinmaxParameterfv(glGetMinmaxParameterfv_ARG_EXPAND); +void glshim_glGetMinmaxParameterfv(glGetMinmaxParameterfv_ARG_EXPAND); typedef void (*glGetMinmaxParameterfv_PTR)(glGetMinmaxParameterfv_ARG_EXPAND); -void glGetMinmaxParameteriv(glGetMinmaxParameteriv_ARG_EXPAND); +void glshim_glGetMinmaxParameteriv(glGetMinmaxParameteriv_ARG_EXPAND); typedef void (*glGetMinmaxParameteriv_PTR)(glGetMinmaxParameteriv_ARG_EXPAND); -void glGetPixelMapfv(glGetPixelMapfv_ARG_EXPAND); +void glshim_glGetPixelMapfv(glGetPixelMapfv_ARG_EXPAND); typedef void (*glGetPixelMapfv_PTR)(glGetPixelMapfv_ARG_EXPAND); -void glGetPixelMapuiv(glGetPixelMapuiv_ARG_EXPAND); +void glshim_glGetPixelMapuiv(glGetPixelMapuiv_ARG_EXPAND); typedef void (*glGetPixelMapuiv_PTR)(glGetPixelMapuiv_ARG_EXPAND); -void glGetPixelMapusv(glGetPixelMapusv_ARG_EXPAND); +void glshim_glGetPixelMapusv(glGetPixelMapusv_ARG_EXPAND); typedef void (*glGetPixelMapusv_PTR)(glGetPixelMapusv_ARG_EXPAND); -void glGetPointerv(glGetPointerv_ARG_EXPAND); +void glshim_glGetPointerv(glGetPointerv_ARG_EXPAND); typedef void (*glGetPointerv_PTR)(glGetPointerv_ARG_EXPAND); -void glGetPolygonStipple(glGetPolygonStipple_ARG_EXPAND); +void glshim_glGetPolygonStipple(glGetPolygonStipple_ARG_EXPAND); typedef void (*glGetPolygonStipple_PTR)(glGetPolygonStipple_ARG_EXPAND); -void glGetQueryObjectiv(glGetQueryObjectiv_ARG_EXPAND); +void glshim_glGetQueryObjectiv(glGetQueryObjectiv_ARG_EXPAND); typedef void (*glGetQueryObjectiv_PTR)(glGetQueryObjectiv_ARG_EXPAND); -void glGetQueryObjectuiv(glGetQueryObjectuiv_ARG_EXPAND); +void glshim_glGetQueryObjectuiv(glGetQueryObjectuiv_ARG_EXPAND); typedef void (*glGetQueryObjectuiv_PTR)(glGetQueryObjectuiv_ARG_EXPAND); -void glGetQueryiv(glGetQueryiv_ARG_EXPAND); +void glshim_glGetQueryiv(glGetQueryiv_ARG_EXPAND); typedef void (*glGetQueryiv_PTR)(glGetQueryiv_ARG_EXPAND); -void glGetSeparableFilter(glGetSeparableFilter_ARG_EXPAND); +void glshim_glGetSeparableFilter(glGetSeparableFilter_ARG_EXPAND); typedef void (*glGetSeparableFilter_PTR)(glGetSeparableFilter_ARG_EXPAND); -const GLubyte * glGetString(glGetString_ARG_EXPAND); +const GLubyte * glshim_glGetString(glGetString_ARG_EXPAND); typedef const GLubyte * (*glGetString_PTR)(glGetString_ARG_EXPAND); -void glGetTexEnvfv(glGetTexEnvfv_ARG_EXPAND); +void glshim_glGetTexEnvfv(glGetTexEnvfv_ARG_EXPAND); typedef void (*glGetTexEnvfv_PTR)(glGetTexEnvfv_ARG_EXPAND); -void glGetTexEnviv(glGetTexEnviv_ARG_EXPAND); +void glshim_glGetTexEnviv(glGetTexEnviv_ARG_EXPAND); typedef void (*glGetTexEnviv_PTR)(glGetTexEnviv_ARG_EXPAND); -void glGetTexGendv(glGetTexGendv_ARG_EXPAND); +void glshim_glGetTexGendv(glGetTexGendv_ARG_EXPAND); typedef void (*glGetTexGendv_PTR)(glGetTexGendv_ARG_EXPAND); -void glGetTexGenfv(glGetTexGenfv_ARG_EXPAND); +void glshim_glGetTexGenfv(glGetTexGenfv_ARG_EXPAND); typedef void (*glGetTexGenfv_PTR)(glGetTexGenfv_ARG_EXPAND); -void glGetTexGeniv(glGetTexGeniv_ARG_EXPAND); +void glshim_glGetTexGeniv(glGetTexGeniv_ARG_EXPAND); typedef void (*glGetTexGeniv_PTR)(glGetTexGeniv_ARG_EXPAND); -void glGetTexImage(glGetTexImage_ARG_EXPAND); +void glshim_glGetTexImage(glGetTexImage_ARG_EXPAND); typedef void (*glGetTexImage_PTR)(glGetTexImage_ARG_EXPAND); -void glGetTexLevelParameterfv(glGetTexLevelParameterfv_ARG_EXPAND); +void glshim_glGetTexLevelParameterfv(glGetTexLevelParameterfv_ARG_EXPAND); typedef void (*glGetTexLevelParameterfv_PTR)(glGetTexLevelParameterfv_ARG_EXPAND); -void glGetTexLevelParameteriv(glGetTexLevelParameteriv_ARG_EXPAND); +void glshim_glGetTexLevelParameteriv(glGetTexLevelParameteriv_ARG_EXPAND); typedef void (*glGetTexLevelParameteriv_PTR)(glGetTexLevelParameteriv_ARG_EXPAND); -void glGetTexParameterfv(glGetTexParameterfv_ARG_EXPAND); +void glshim_glGetTexParameterfv(glGetTexParameterfv_ARG_EXPAND); typedef void (*glGetTexParameterfv_PTR)(glGetTexParameterfv_ARG_EXPAND); -void glGetTexParameteriv(glGetTexParameteriv_ARG_EXPAND); +void glshim_glGetTexParameteriv(glGetTexParameteriv_ARG_EXPAND); typedef void (*glGetTexParameteriv_PTR)(glGetTexParameteriv_ARG_EXPAND); -void glHint(glHint_ARG_EXPAND); +void glshim_glHint(glHint_ARG_EXPAND); typedef void (*glHint_PTR)(glHint_ARG_EXPAND); -void glHistogram(glHistogram_ARG_EXPAND); +void glshim_glHistogram(glHistogram_ARG_EXPAND); typedef void (*glHistogram_PTR)(glHistogram_ARG_EXPAND); -void glIndexMask(glIndexMask_ARG_EXPAND); +void glshim_glIndexMask(glIndexMask_ARG_EXPAND); typedef void (*glIndexMask_PTR)(glIndexMask_ARG_EXPAND); -void glIndexPointer(glIndexPointer_ARG_EXPAND); +void glshim_glIndexPointer(glIndexPointer_ARG_EXPAND); typedef void (*glIndexPointer_PTR)(glIndexPointer_ARG_EXPAND); -void glIndexd(glIndexd_ARG_EXPAND); +void glshim_glIndexd(glIndexd_ARG_EXPAND); typedef void (*glIndexd_PTR)(glIndexd_ARG_EXPAND); -void glIndexdv(glIndexdv_ARG_EXPAND); +void glshim_glIndexdv(glIndexdv_ARG_EXPAND); typedef void (*glIndexdv_PTR)(glIndexdv_ARG_EXPAND); -void glIndexf(glIndexf_ARG_EXPAND); +void glshim_glIndexf(glIndexf_ARG_EXPAND); typedef void (*glIndexf_PTR)(glIndexf_ARG_EXPAND); -void glIndexfv(glIndexfv_ARG_EXPAND); +void glshim_glIndexfv(glIndexfv_ARG_EXPAND); typedef void (*glIndexfv_PTR)(glIndexfv_ARG_EXPAND); -void glIndexi(glIndexi_ARG_EXPAND); +void glshim_glIndexi(glIndexi_ARG_EXPAND); typedef void (*glIndexi_PTR)(glIndexi_ARG_EXPAND); -void glIndexiv(glIndexiv_ARG_EXPAND); +void glshim_glIndexiv(glIndexiv_ARG_EXPAND); typedef void (*glIndexiv_PTR)(glIndexiv_ARG_EXPAND); -void glIndexs(glIndexs_ARG_EXPAND); +void glshim_glIndexs(glIndexs_ARG_EXPAND); typedef void (*glIndexs_PTR)(glIndexs_ARG_EXPAND); -void glIndexsv(glIndexsv_ARG_EXPAND); +void glshim_glIndexsv(glIndexsv_ARG_EXPAND); typedef void (*glIndexsv_PTR)(glIndexsv_ARG_EXPAND); -void glIndexub(glIndexub_ARG_EXPAND); +void glshim_glIndexub(glIndexub_ARG_EXPAND); typedef void (*glIndexub_PTR)(glIndexub_ARG_EXPAND); -void glIndexubv(glIndexubv_ARG_EXPAND); +void glshim_glIndexubv(glIndexubv_ARG_EXPAND); typedef void (*glIndexubv_PTR)(glIndexubv_ARG_EXPAND); -void glInitNames(glInitNames_ARG_EXPAND); +void glshim_glInitNames(glInitNames_ARG_EXPAND); typedef void (*glInitNames_PTR)(glInitNames_ARG_EXPAND); -void glInterleavedArrays(glInterleavedArrays_ARG_EXPAND); +void glshim_glInterleavedArrays(glInterleavedArrays_ARG_EXPAND); typedef void (*glInterleavedArrays_PTR)(glInterleavedArrays_ARG_EXPAND); -GLboolean glIsBuffer(glIsBuffer_ARG_EXPAND); +GLboolean glshim_glIsBuffer(glIsBuffer_ARG_EXPAND); typedef GLboolean (*glIsBuffer_PTR)(glIsBuffer_ARG_EXPAND); -GLboolean glIsEnabled(glIsEnabled_ARG_EXPAND); +GLboolean glshim_glIsEnabled(glIsEnabled_ARG_EXPAND); typedef GLboolean (*glIsEnabled_PTR)(glIsEnabled_ARG_EXPAND); -GLboolean glIsList(glIsList_ARG_EXPAND); +GLboolean glshim_glIsList(glIsList_ARG_EXPAND); typedef GLboolean (*glIsList_PTR)(glIsList_ARG_EXPAND); -GLboolean glIsQuery(glIsQuery_ARG_EXPAND); +GLboolean glshim_glIsQuery(glIsQuery_ARG_EXPAND); typedef GLboolean (*glIsQuery_PTR)(glIsQuery_ARG_EXPAND); -GLboolean glIsTexture(glIsTexture_ARG_EXPAND); +GLboolean glshim_glIsTexture(glIsTexture_ARG_EXPAND); typedef GLboolean (*glIsTexture_PTR)(glIsTexture_ARG_EXPAND); -void glLightModelf(glLightModelf_ARG_EXPAND); +void glshim_glLightModelf(glLightModelf_ARG_EXPAND); typedef void (*glLightModelf_PTR)(glLightModelf_ARG_EXPAND); -void glLightModelfv(glLightModelfv_ARG_EXPAND); +void glshim_glLightModelfv(glLightModelfv_ARG_EXPAND); typedef void (*glLightModelfv_PTR)(glLightModelfv_ARG_EXPAND); -void glLightModeli(glLightModeli_ARG_EXPAND); +void glshim_glLightModeli(glLightModeli_ARG_EXPAND); typedef void (*glLightModeli_PTR)(glLightModeli_ARG_EXPAND); -void glLightModeliv(glLightModeliv_ARG_EXPAND); +void glshim_glLightModeliv(glLightModeliv_ARG_EXPAND); typedef void (*glLightModeliv_PTR)(glLightModeliv_ARG_EXPAND); -void glLightf(glLightf_ARG_EXPAND); +void glshim_glLightf(glLightf_ARG_EXPAND); typedef void (*glLightf_PTR)(glLightf_ARG_EXPAND); -void glLightfv(glLightfv_ARG_EXPAND); +void glshim_glLightfv(glLightfv_ARG_EXPAND); typedef void (*glLightfv_PTR)(glLightfv_ARG_EXPAND); -void glLighti(glLighti_ARG_EXPAND); +void glshim_glLighti(glLighti_ARG_EXPAND); typedef void (*glLighti_PTR)(glLighti_ARG_EXPAND); -void glLightiv(glLightiv_ARG_EXPAND); +void glshim_glLightiv(glLightiv_ARG_EXPAND); typedef void (*glLightiv_PTR)(glLightiv_ARG_EXPAND); -void glLineStipple(glLineStipple_ARG_EXPAND); +void glshim_glLineStipple(glLineStipple_ARG_EXPAND); typedef void (*glLineStipple_PTR)(glLineStipple_ARG_EXPAND); -void glLineWidth(glLineWidth_ARG_EXPAND); +void glshim_glLineWidth(glLineWidth_ARG_EXPAND); typedef void (*glLineWidth_PTR)(glLineWidth_ARG_EXPAND); -void glListBase(glListBase_ARG_EXPAND); +void glshim_glListBase(glListBase_ARG_EXPAND); typedef void (*glListBase_PTR)(glListBase_ARG_EXPAND); -void glLoadIdentity(glLoadIdentity_ARG_EXPAND); +void glshim_glLoadIdentity(glLoadIdentity_ARG_EXPAND); typedef void (*glLoadIdentity_PTR)(glLoadIdentity_ARG_EXPAND); -void glLoadMatrixd(glLoadMatrixd_ARG_EXPAND); +void glshim_glLoadMatrixd(glLoadMatrixd_ARG_EXPAND); typedef void (*glLoadMatrixd_PTR)(glLoadMatrixd_ARG_EXPAND); -void glLoadMatrixf(glLoadMatrixf_ARG_EXPAND); +void glshim_glLoadMatrixf(glLoadMatrixf_ARG_EXPAND); typedef void (*glLoadMatrixf_PTR)(glLoadMatrixf_ARG_EXPAND); -void glLoadName(glLoadName_ARG_EXPAND); +void glshim_glLoadName(glLoadName_ARG_EXPAND); typedef void (*glLoadName_PTR)(glLoadName_ARG_EXPAND); -void glLoadTransposeMatrixd(glLoadTransposeMatrixd_ARG_EXPAND); +void glshim_glLoadTransposeMatrixd(glLoadTransposeMatrixd_ARG_EXPAND); typedef void (*glLoadTransposeMatrixd_PTR)(glLoadTransposeMatrixd_ARG_EXPAND); -void glLoadTransposeMatrixf(glLoadTransposeMatrixf_ARG_EXPAND); +void glshim_glLoadTransposeMatrixf(glLoadTransposeMatrixf_ARG_EXPAND); typedef void (*glLoadTransposeMatrixf_PTR)(glLoadTransposeMatrixf_ARG_EXPAND); -void glLogicOp(glLogicOp_ARG_EXPAND); +void glshim_glLogicOp(glLogicOp_ARG_EXPAND); typedef void (*glLogicOp_PTR)(glLogicOp_ARG_EXPAND); -void glMap1d(glMap1d_ARG_EXPAND); +void glshim_glMap1d(glMap1d_ARG_EXPAND); typedef void (*glMap1d_PTR)(glMap1d_ARG_EXPAND); -void glMap1f(glMap1f_ARG_EXPAND); +void glshim_glMap1f(glMap1f_ARG_EXPAND); typedef void (*glMap1f_PTR)(glMap1f_ARG_EXPAND); -void glMap2d(glMap2d_ARG_EXPAND); +void glshim_glMap2d(glMap2d_ARG_EXPAND); typedef void (*glMap2d_PTR)(glMap2d_ARG_EXPAND); -void glMap2f(glMap2f_ARG_EXPAND); +void glshim_glMap2f(glMap2f_ARG_EXPAND); typedef void (*glMap2f_PTR)(glMap2f_ARG_EXPAND); -GLvoid * glMapBuffer(glMapBuffer_ARG_EXPAND); +GLvoid * glshim_glMapBuffer(glMapBuffer_ARG_EXPAND); typedef GLvoid * (*glMapBuffer_PTR)(glMapBuffer_ARG_EXPAND); -void glMapGrid1d(glMapGrid1d_ARG_EXPAND); +void glshim_glMapGrid1d(glMapGrid1d_ARG_EXPAND); typedef void (*glMapGrid1d_PTR)(glMapGrid1d_ARG_EXPAND); -void glMapGrid1f(glMapGrid1f_ARG_EXPAND); +void glshim_glMapGrid1f(glMapGrid1f_ARG_EXPAND); typedef void (*glMapGrid1f_PTR)(glMapGrid1f_ARG_EXPAND); -void glMapGrid2d(glMapGrid2d_ARG_EXPAND); +void glshim_glMapGrid2d(glMapGrid2d_ARG_EXPAND); typedef void (*glMapGrid2d_PTR)(glMapGrid2d_ARG_EXPAND); -void glMapGrid2f(glMapGrid2f_ARG_EXPAND); +void glshim_glMapGrid2f(glMapGrid2f_ARG_EXPAND); typedef void (*glMapGrid2f_PTR)(glMapGrid2f_ARG_EXPAND); -void glMaterialf(glMaterialf_ARG_EXPAND); +void glshim_glMaterialf(glMaterialf_ARG_EXPAND); typedef void (*glMaterialf_PTR)(glMaterialf_ARG_EXPAND); -void glMaterialfv(glMaterialfv_ARG_EXPAND); +void glshim_glMaterialfv(glMaterialfv_ARG_EXPAND); typedef void (*glMaterialfv_PTR)(glMaterialfv_ARG_EXPAND); -void glMateriali(glMateriali_ARG_EXPAND); +void glshim_glMateriali(glMateriali_ARG_EXPAND); typedef void (*glMateriali_PTR)(glMateriali_ARG_EXPAND); -void glMaterialiv(glMaterialiv_ARG_EXPAND); +void glshim_glMaterialiv(glMaterialiv_ARG_EXPAND); typedef void (*glMaterialiv_PTR)(glMaterialiv_ARG_EXPAND); -void glMatrixMode(glMatrixMode_ARG_EXPAND); +void glshim_glMatrixMode(glMatrixMode_ARG_EXPAND); typedef void (*glMatrixMode_PTR)(glMatrixMode_ARG_EXPAND); -void glMinmax(glMinmax_ARG_EXPAND); +void glshim_glMinmax(glMinmax_ARG_EXPAND); typedef void (*glMinmax_PTR)(glMinmax_ARG_EXPAND); -void glMultMatrixd(glMultMatrixd_ARG_EXPAND); +void glshim_glMultMatrixd(glMultMatrixd_ARG_EXPAND); typedef void (*glMultMatrixd_PTR)(glMultMatrixd_ARG_EXPAND); -void glMultMatrixf(glMultMatrixf_ARG_EXPAND); +void glshim_glMultMatrixf(glMultMatrixf_ARG_EXPAND); typedef void (*glMultMatrixf_PTR)(glMultMatrixf_ARG_EXPAND); -void glMultTransposeMatrixd(glMultTransposeMatrixd_ARG_EXPAND); +void glshim_glMultTransposeMatrixd(glMultTransposeMatrixd_ARG_EXPAND); typedef void (*glMultTransposeMatrixd_PTR)(glMultTransposeMatrixd_ARG_EXPAND); -void glMultTransposeMatrixf(glMultTransposeMatrixf_ARG_EXPAND); +void glshim_glMultTransposeMatrixf(glMultTransposeMatrixf_ARG_EXPAND); typedef void (*glMultTransposeMatrixf_PTR)(glMultTransposeMatrixf_ARG_EXPAND); -void glMultiDrawArrays(glMultiDrawArrays_ARG_EXPAND); +void glshim_glMultiDrawArrays(glMultiDrawArrays_ARG_EXPAND); typedef void (*glMultiDrawArrays_PTR)(glMultiDrawArrays_ARG_EXPAND); -void glMultiDrawElements(glMultiDrawElements_ARG_EXPAND); +void glshim_glMultiDrawElements(glMultiDrawElements_ARG_EXPAND); typedef void (*glMultiDrawElements_PTR)(glMultiDrawElements_ARG_EXPAND); -void glMultiTexCoord1d(glMultiTexCoord1d_ARG_EXPAND); +void glshim_glMultiTexCoord1d(glMultiTexCoord1d_ARG_EXPAND); typedef void (*glMultiTexCoord1d_PTR)(glMultiTexCoord1d_ARG_EXPAND); -void glMultiTexCoord1dv(glMultiTexCoord1dv_ARG_EXPAND); +void glshim_glMultiTexCoord1dv(glMultiTexCoord1dv_ARG_EXPAND); typedef void (*glMultiTexCoord1dv_PTR)(glMultiTexCoord1dv_ARG_EXPAND); -void glMultiTexCoord1f(glMultiTexCoord1f_ARG_EXPAND); +void glshim_glMultiTexCoord1f(glMultiTexCoord1f_ARG_EXPAND); typedef void (*glMultiTexCoord1f_PTR)(glMultiTexCoord1f_ARG_EXPAND); -void glMultiTexCoord1fv(glMultiTexCoord1fv_ARG_EXPAND); +void glshim_glMultiTexCoord1fv(glMultiTexCoord1fv_ARG_EXPAND); typedef void (*glMultiTexCoord1fv_PTR)(glMultiTexCoord1fv_ARG_EXPAND); -void glMultiTexCoord1i(glMultiTexCoord1i_ARG_EXPAND); +void glshim_glMultiTexCoord1i(glMultiTexCoord1i_ARG_EXPAND); typedef void (*glMultiTexCoord1i_PTR)(glMultiTexCoord1i_ARG_EXPAND); -void glMultiTexCoord1iv(glMultiTexCoord1iv_ARG_EXPAND); +void glshim_glMultiTexCoord1iv(glMultiTexCoord1iv_ARG_EXPAND); typedef void (*glMultiTexCoord1iv_PTR)(glMultiTexCoord1iv_ARG_EXPAND); -void glMultiTexCoord1s(glMultiTexCoord1s_ARG_EXPAND); +void glshim_glMultiTexCoord1s(glMultiTexCoord1s_ARG_EXPAND); typedef void (*glMultiTexCoord1s_PTR)(glMultiTexCoord1s_ARG_EXPAND); -void glMultiTexCoord1sv(glMultiTexCoord1sv_ARG_EXPAND); +void glshim_glMultiTexCoord1sv(glMultiTexCoord1sv_ARG_EXPAND); typedef void (*glMultiTexCoord1sv_PTR)(glMultiTexCoord1sv_ARG_EXPAND); -void glMultiTexCoord2d(glMultiTexCoord2d_ARG_EXPAND); +void glshim_glMultiTexCoord2d(glMultiTexCoord2d_ARG_EXPAND); typedef void (*glMultiTexCoord2d_PTR)(glMultiTexCoord2d_ARG_EXPAND); -void glMultiTexCoord2dv(glMultiTexCoord2dv_ARG_EXPAND); +void glshim_glMultiTexCoord2dv(glMultiTexCoord2dv_ARG_EXPAND); typedef void (*glMultiTexCoord2dv_PTR)(glMultiTexCoord2dv_ARG_EXPAND); -void glMultiTexCoord2f(glMultiTexCoord2f_ARG_EXPAND); +void glshim_glMultiTexCoord2f(glMultiTexCoord2f_ARG_EXPAND); typedef void (*glMultiTexCoord2f_PTR)(glMultiTexCoord2f_ARG_EXPAND); -void glMultiTexCoord2fv(glMultiTexCoord2fv_ARG_EXPAND); +void glshim_glMultiTexCoord2fv(glMultiTexCoord2fv_ARG_EXPAND); typedef void (*glMultiTexCoord2fv_PTR)(glMultiTexCoord2fv_ARG_EXPAND); -void glMultiTexCoord2i(glMultiTexCoord2i_ARG_EXPAND); +void glshim_glMultiTexCoord2i(glMultiTexCoord2i_ARG_EXPAND); typedef void (*glMultiTexCoord2i_PTR)(glMultiTexCoord2i_ARG_EXPAND); -void glMultiTexCoord2iv(glMultiTexCoord2iv_ARG_EXPAND); +void glshim_glMultiTexCoord2iv(glMultiTexCoord2iv_ARG_EXPAND); typedef void (*glMultiTexCoord2iv_PTR)(glMultiTexCoord2iv_ARG_EXPAND); -void glMultiTexCoord2s(glMultiTexCoord2s_ARG_EXPAND); +void glshim_glMultiTexCoord2s(glMultiTexCoord2s_ARG_EXPAND); typedef void (*glMultiTexCoord2s_PTR)(glMultiTexCoord2s_ARG_EXPAND); -void glMultiTexCoord2sv(glMultiTexCoord2sv_ARG_EXPAND); +void glshim_glMultiTexCoord2sv(glMultiTexCoord2sv_ARG_EXPAND); typedef void (*glMultiTexCoord2sv_PTR)(glMultiTexCoord2sv_ARG_EXPAND); -void glMultiTexCoord3d(glMultiTexCoord3d_ARG_EXPAND); +void glshim_glMultiTexCoord3d(glMultiTexCoord3d_ARG_EXPAND); typedef void (*glMultiTexCoord3d_PTR)(glMultiTexCoord3d_ARG_EXPAND); -void glMultiTexCoord3dv(glMultiTexCoord3dv_ARG_EXPAND); +void glshim_glMultiTexCoord3dv(glMultiTexCoord3dv_ARG_EXPAND); typedef void (*glMultiTexCoord3dv_PTR)(glMultiTexCoord3dv_ARG_EXPAND); -void glMultiTexCoord3f(glMultiTexCoord3f_ARG_EXPAND); +void glshim_glMultiTexCoord3f(glMultiTexCoord3f_ARG_EXPAND); typedef void (*glMultiTexCoord3f_PTR)(glMultiTexCoord3f_ARG_EXPAND); -void glMultiTexCoord3fv(glMultiTexCoord3fv_ARG_EXPAND); +void glshim_glMultiTexCoord3fv(glMultiTexCoord3fv_ARG_EXPAND); typedef void (*glMultiTexCoord3fv_PTR)(glMultiTexCoord3fv_ARG_EXPAND); -void glMultiTexCoord3i(glMultiTexCoord3i_ARG_EXPAND); +void glshim_glMultiTexCoord3i(glMultiTexCoord3i_ARG_EXPAND); typedef void (*glMultiTexCoord3i_PTR)(glMultiTexCoord3i_ARG_EXPAND); -void glMultiTexCoord3iv(glMultiTexCoord3iv_ARG_EXPAND); +void glshim_glMultiTexCoord3iv(glMultiTexCoord3iv_ARG_EXPAND); typedef void (*glMultiTexCoord3iv_PTR)(glMultiTexCoord3iv_ARG_EXPAND); -void glMultiTexCoord3s(glMultiTexCoord3s_ARG_EXPAND); +void glshim_glMultiTexCoord3s(glMultiTexCoord3s_ARG_EXPAND); typedef void (*glMultiTexCoord3s_PTR)(glMultiTexCoord3s_ARG_EXPAND); -void glMultiTexCoord3sv(glMultiTexCoord3sv_ARG_EXPAND); +void glshim_glMultiTexCoord3sv(glMultiTexCoord3sv_ARG_EXPAND); typedef void (*glMultiTexCoord3sv_PTR)(glMultiTexCoord3sv_ARG_EXPAND); -void glMultiTexCoord4d(glMultiTexCoord4d_ARG_EXPAND); +void glshim_glMultiTexCoord4d(glMultiTexCoord4d_ARG_EXPAND); typedef void (*glMultiTexCoord4d_PTR)(glMultiTexCoord4d_ARG_EXPAND); -void glMultiTexCoord4dv(glMultiTexCoord4dv_ARG_EXPAND); +void glshim_glMultiTexCoord4dv(glMultiTexCoord4dv_ARG_EXPAND); typedef void (*glMultiTexCoord4dv_PTR)(glMultiTexCoord4dv_ARG_EXPAND); -void glMultiTexCoord4f(glMultiTexCoord4f_ARG_EXPAND); +void glshim_glMultiTexCoord4f(glMultiTexCoord4f_ARG_EXPAND); typedef void (*glMultiTexCoord4f_PTR)(glMultiTexCoord4f_ARG_EXPAND); -void glMultiTexCoord4fv(glMultiTexCoord4fv_ARG_EXPAND); +void glshim_glMultiTexCoord4fv(glMultiTexCoord4fv_ARG_EXPAND); typedef void (*glMultiTexCoord4fv_PTR)(glMultiTexCoord4fv_ARG_EXPAND); -void glMultiTexCoord4i(glMultiTexCoord4i_ARG_EXPAND); +void glshim_glMultiTexCoord4i(glMultiTexCoord4i_ARG_EXPAND); typedef void (*glMultiTexCoord4i_PTR)(glMultiTexCoord4i_ARG_EXPAND); -void glMultiTexCoord4iv(glMultiTexCoord4iv_ARG_EXPAND); +void glshim_glMultiTexCoord4iv(glMultiTexCoord4iv_ARG_EXPAND); typedef void (*glMultiTexCoord4iv_PTR)(glMultiTexCoord4iv_ARG_EXPAND); -void glMultiTexCoord4s(glMultiTexCoord4s_ARG_EXPAND); +void glshim_glMultiTexCoord4s(glMultiTexCoord4s_ARG_EXPAND); typedef void (*glMultiTexCoord4s_PTR)(glMultiTexCoord4s_ARG_EXPAND); -void glMultiTexCoord4sv(glMultiTexCoord4sv_ARG_EXPAND); +void glshim_glMultiTexCoord4sv(glMultiTexCoord4sv_ARG_EXPAND); typedef void (*glMultiTexCoord4sv_PTR)(glMultiTexCoord4sv_ARG_EXPAND); -void glNewList(glNewList_ARG_EXPAND); +void glshim_glNewList(glNewList_ARG_EXPAND); typedef void (*glNewList_PTR)(glNewList_ARG_EXPAND); -void glNormal3b(glNormal3b_ARG_EXPAND); +void glshim_glNormal3b(glNormal3b_ARG_EXPAND); typedef void (*glNormal3b_PTR)(glNormal3b_ARG_EXPAND); -void glNormal3bv(glNormal3bv_ARG_EXPAND); +void glshim_glNormal3bv(glNormal3bv_ARG_EXPAND); typedef void (*glNormal3bv_PTR)(glNormal3bv_ARG_EXPAND); -void glNormal3d(glNormal3d_ARG_EXPAND); +void glshim_glNormal3d(glNormal3d_ARG_EXPAND); typedef void (*glNormal3d_PTR)(glNormal3d_ARG_EXPAND); -void glNormal3dv(glNormal3dv_ARG_EXPAND); +void glshim_glNormal3dv(glNormal3dv_ARG_EXPAND); typedef void (*glNormal3dv_PTR)(glNormal3dv_ARG_EXPAND); -void glNormal3f(glNormal3f_ARG_EXPAND); +void glshim_glNormal3f(glNormal3f_ARG_EXPAND); typedef void (*glNormal3f_PTR)(glNormal3f_ARG_EXPAND); -void glNormal3fv(glNormal3fv_ARG_EXPAND); +void glshim_glNormal3fv(glNormal3fv_ARG_EXPAND); typedef void (*glNormal3fv_PTR)(glNormal3fv_ARG_EXPAND); -void glNormal3i(glNormal3i_ARG_EXPAND); +void glshim_glNormal3i(glNormal3i_ARG_EXPAND); typedef void (*glNormal3i_PTR)(glNormal3i_ARG_EXPAND); -void glNormal3iv(glNormal3iv_ARG_EXPAND); +void glshim_glNormal3iv(glNormal3iv_ARG_EXPAND); typedef void (*glNormal3iv_PTR)(glNormal3iv_ARG_EXPAND); -void glNormal3s(glNormal3s_ARG_EXPAND); +void glshim_glNormal3s(glNormal3s_ARG_EXPAND); typedef void (*glNormal3s_PTR)(glNormal3s_ARG_EXPAND); -void glNormal3sv(glNormal3sv_ARG_EXPAND); +void glshim_glNormal3sv(glNormal3sv_ARG_EXPAND); typedef void (*glNormal3sv_PTR)(glNormal3sv_ARG_EXPAND); -void glNormalPointer(glNormalPointer_ARG_EXPAND); +void glshim_glNormalPointer(glNormalPointer_ARG_EXPAND); typedef void (*glNormalPointer_PTR)(glNormalPointer_ARG_EXPAND); -void glOrtho(glOrtho_ARG_EXPAND); +void glshim_glOrtho(glOrtho_ARG_EXPAND); typedef void (*glOrtho_PTR)(glOrtho_ARG_EXPAND); -void glPassThrough(glPassThrough_ARG_EXPAND); +void glshim_glPassThrough(glPassThrough_ARG_EXPAND); typedef void (*glPassThrough_PTR)(glPassThrough_ARG_EXPAND); -void glPixelMapfv(glPixelMapfv_ARG_EXPAND); +void glshim_glPixelMapfv(glPixelMapfv_ARG_EXPAND); typedef void (*glPixelMapfv_PTR)(glPixelMapfv_ARG_EXPAND); -void glPixelMapuiv(glPixelMapuiv_ARG_EXPAND); +void glshim_glPixelMapuiv(glPixelMapuiv_ARG_EXPAND); typedef void (*glPixelMapuiv_PTR)(glPixelMapuiv_ARG_EXPAND); -void glPixelMapusv(glPixelMapusv_ARG_EXPAND); +void glshim_glPixelMapusv(glPixelMapusv_ARG_EXPAND); typedef void (*glPixelMapusv_PTR)(glPixelMapusv_ARG_EXPAND); -void glPixelStoref(glPixelStoref_ARG_EXPAND); +void glshim_glPixelStoref(glPixelStoref_ARG_EXPAND); typedef void (*glPixelStoref_PTR)(glPixelStoref_ARG_EXPAND); -void glPixelStorei(glPixelStorei_ARG_EXPAND); +void glshim_glPixelStorei(glPixelStorei_ARG_EXPAND); typedef void (*glPixelStorei_PTR)(glPixelStorei_ARG_EXPAND); -void glPixelTransferf(glPixelTransferf_ARG_EXPAND); +void glshim_glPixelTransferf(glPixelTransferf_ARG_EXPAND); typedef void (*glPixelTransferf_PTR)(glPixelTransferf_ARG_EXPAND); -void glPixelTransferi(glPixelTransferi_ARG_EXPAND); +void glshim_glPixelTransferi(glPixelTransferi_ARG_EXPAND); typedef void (*glPixelTransferi_PTR)(glPixelTransferi_ARG_EXPAND); -void glPixelZoom(glPixelZoom_ARG_EXPAND); +void glshim_glPixelZoom(glPixelZoom_ARG_EXPAND); typedef void (*glPixelZoom_PTR)(glPixelZoom_ARG_EXPAND); -void glPointParameterf(glPointParameterf_ARG_EXPAND); +void glshim_glPointParameterf(glPointParameterf_ARG_EXPAND); typedef void (*glPointParameterf_PTR)(glPointParameterf_ARG_EXPAND); -void glPointParameterfv(glPointParameterfv_ARG_EXPAND); +void glshim_glPointParameterfv(glPointParameterfv_ARG_EXPAND); typedef void (*glPointParameterfv_PTR)(glPointParameterfv_ARG_EXPAND); -void glPointParameteri(glPointParameteri_ARG_EXPAND); +void glshim_glPointParameteri(glPointParameteri_ARG_EXPAND); typedef void (*glPointParameteri_PTR)(glPointParameteri_ARG_EXPAND); -void glPointParameteriv(glPointParameteriv_ARG_EXPAND); +void glshim_glPointParameteriv(glPointParameteriv_ARG_EXPAND); typedef void (*glPointParameteriv_PTR)(glPointParameteriv_ARG_EXPAND); -void glPointSize(glPointSize_ARG_EXPAND); +void glshim_glPointSize(glPointSize_ARG_EXPAND); typedef void (*glPointSize_PTR)(glPointSize_ARG_EXPAND); -void glPolygonMode(glPolygonMode_ARG_EXPAND); +void glshim_glPolygonMode(glPolygonMode_ARG_EXPAND); typedef void (*glPolygonMode_PTR)(glPolygonMode_ARG_EXPAND); -void glPolygonOffset(glPolygonOffset_ARG_EXPAND); +void glshim_glPolygonOffset(glPolygonOffset_ARG_EXPAND); typedef void (*glPolygonOffset_PTR)(glPolygonOffset_ARG_EXPAND); -void glPolygonStipple(glPolygonStipple_ARG_EXPAND); +void glshim_glPolygonStipple(glPolygonStipple_ARG_EXPAND); typedef void (*glPolygonStipple_PTR)(glPolygonStipple_ARG_EXPAND); -void glPopAttrib(glPopAttrib_ARG_EXPAND); +void glshim_glPopAttrib(glPopAttrib_ARG_EXPAND); typedef void (*glPopAttrib_PTR)(glPopAttrib_ARG_EXPAND); -void glPopClientAttrib(glPopClientAttrib_ARG_EXPAND); +void glshim_glPopClientAttrib(glPopClientAttrib_ARG_EXPAND); typedef void (*glPopClientAttrib_PTR)(glPopClientAttrib_ARG_EXPAND); -void glPopMatrix(glPopMatrix_ARG_EXPAND); +void glshim_glPopMatrix(glPopMatrix_ARG_EXPAND); typedef void (*glPopMatrix_PTR)(glPopMatrix_ARG_EXPAND); -void glPopName(glPopName_ARG_EXPAND); +void glshim_glPopName(glPopName_ARG_EXPAND); typedef void (*glPopName_PTR)(glPopName_ARG_EXPAND); -void glPrioritizeTextures(glPrioritizeTextures_ARG_EXPAND); +void glshim_glPrioritizeTextures(glPrioritizeTextures_ARG_EXPAND); typedef void (*glPrioritizeTextures_PTR)(glPrioritizeTextures_ARG_EXPAND); -void glPushAttrib(glPushAttrib_ARG_EXPAND); +void glshim_glPushAttrib(glPushAttrib_ARG_EXPAND); typedef void (*glPushAttrib_PTR)(glPushAttrib_ARG_EXPAND); -void glPushClientAttrib(glPushClientAttrib_ARG_EXPAND); +void glshim_glPushClientAttrib(glPushClientAttrib_ARG_EXPAND); typedef void (*glPushClientAttrib_PTR)(glPushClientAttrib_ARG_EXPAND); -void glPushMatrix(glPushMatrix_ARG_EXPAND); +void glshim_glPushMatrix(glPushMatrix_ARG_EXPAND); typedef void (*glPushMatrix_PTR)(glPushMatrix_ARG_EXPAND); -void glPushName(glPushName_ARG_EXPAND); +void glshim_glPushName(glPushName_ARG_EXPAND); typedef void (*glPushName_PTR)(glPushName_ARG_EXPAND); -void glRasterPos2d(glRasterPos2d_ARG_EXPAND); +void glshim_glRasterPos2d(glRasterPos2d_ARG_EXPAND); typedef void (*glRasterPos2d_PTR)(glRasterPos2d_ARG_EXPAND); -void glRasterPos2dv(glRasterPos2dv_ARG_EXPAND); +void glshim_glRasterPos2dv(glRasterPos2dv_ARG_EXPAND); typedef void (*glRasterPos2dv_PTR)(glRasterPos2dv_ARG_EXPAND); -void glRasterPos2f(glRasterPos2f_ARG_EXPAND); +void glshim_glRasterPos2f(glRasterPos2f_ARG_EXPAND); typedef void (*glRasterPos2f_PTR)(glRasterPos2f_ARG_EXPAND); -void glRasterPos2fv(glRasterPos2fv_ARG_EXPAND); +void glshim_glRasterPos2fv(glRasterPos2fv_ARG_EXPAND); typedef void (*glRasterPos2fv_PTR)(glRasterPos2fv_ARG_EXPAND); -void glRasterPos2i(glRasterPos2i_ARG_EXPAND); +void glshim_glRasterPos2i(glRasterPos2i_ARG_EXPAND); typedef void (*glRasterPos2i_PTR)(glRasterPos2i_ARG_EXPAND); -void glRasterPos2iv(glRasterPos2iv_ARG_EXPAND); +void glshim_glRasterPos2iv(glRasterPos2iv_ARG_EXPAND); typedef void (*glRasterPos2iv_PTR)(glRasterPos2iv_ARG_EXPAND); -void glRasterPos2s(glRasterPos2s_ARG_EXPAND); +void glshim_glRasterPos2s(glRasterPos2s_ARG_EXPAND); typedef void (*glRasterPos2s_PTR)(glRasterPos2s_ARG_EXPAND); -void glRasterPos2sv(glRasterPos2sv_ARG_EXPAND); +void glshim_glRasterPos2sv(glRasterPos2sv_ARG_EXPAND); typedef void (*glRasterPos2sv_PTR)(glRasterPos2sv_ARG_EXPAND); -void glRasterPos3d(glRasterPos3d_ARG_EXPAND); +void glshim_glRasterPos3d(glRasterPos3d_ARG_EXPAND); typedef void (*glRasterPos3d_PTR)(glRasterPos3d_ARG_EXPAND); -void glRasterPos3dv(glRasterPos3dv_ARG_EXPAND); +void glshim_glRasterPos3dv(glRasterPos3dv_ARG_EXPAND); typedef void (*glRasterPos3dv_PTR)(glRasterPos3dv_ARG_EXPAND); -void glRasterPos3f(glRasterPos3f_ARG_EXPAND); +void glshim_glRasterPos3f(glRasterPos3f_ARG_EXPAND); typedef void (*glRasterPos3f_PTR)(glRasterPos3f_ARG_EXPAND); -void glRasterPos3fv(glRasterPos3fv_ARG_EXPAND); +void glshim_glRasterPos3fv(glRasterPos3fv_ARG_EXPAND); typedef void (*glRasterPos3fv_PTR)(glRasterPos3fv_ARG_EXPAND); -void glRasterPos3i(glRasterPos3i_ARG_EXPAND); +void glshim_glRasterPos3i(glRasterPos3i_ARG_EXPAND); typedef void (*glRasterPos3i_PTR)(glRasterPos3i_ARG_EXPAND); -void glRasterPos3iv(glRasterPos3iv_ARG_EXPAND); +void glshim_glRasterPos3iv(glRasterPos3iv_ARG_EXPAND); typedef void (*glRasterPos3iv_PTR)(glRasterPos3iv_ARG_EXPAND); -void glRasterPos3s(glRasterPos3s_ARG_EXPAND); +void glshim_glRasterPos3s(glRasterPos3s_ARG_EXPAND); typedef void (*glRasterPos3s_PTR)(glRasterPos3s_ARG_EXPAND); -void glRasterPos3sv(glRasterPos3sv_ARG_EXPAND); +void glshim_glRasterPos3sv(glRasterPos3sv_ARG_EXPAND); typedef void (*glRasterPos3sv_PTR)(glRasterPos3sv_ARG_EXPAND); -void glRasterPos4d(glRasterPos4d_ARG_EXPAND); +void glshim_glRasterPos4d(glRasterPos4d_ARG_EXPAND); typedef void (*glRasterPos4d_PTR)(glRasterPos4d_ARG_EXPAND); -void glRasterPos4dv(glRasterPos4dv_ARG_EXPAND); +void glshim_glRasterPos4dv(glRasterPos4dv_ARG_EXPAND); typedef void (*glRasterPos4dv_PTR)(glRasterPos4dv_ARG_EXPAND); -void glRasterPos4f(glRasterPos4f_ARG_EXPAND); +void glshim_glRasterPos4f(glRasterPos4f_ARG_EXPAND); typedef void (*glRasterPos4f_PTR)(glRasterPos4f_ARG_EXPAND); -void glRasterPos4fv(glRasterPos4fv_ARG_EXPAND); +void glshim_glRasterPos4fv(glRasterPos4fv_ARG_EXPAND); typedef void (*glRasterPos4fv_PTR)(glRasterPos4fv_ARG_EXPAND); -void glRasterPos4i(glRasterPos4i_ARG_EXPAND); +void glshim_glRasterPos4i(glRasterPos4i_ARG_EXPAND); typedef void (*glRasterPos4i_PTR)(glRasterPos4i_ARG_EXPAND); -void glRasterPos4iv(glRasterPos4iv_ARG_EXPAND); +void glshim_glRasterPos4iv(glRasterPos4iv_ARG_EXPAND); typedef void (*glRasterPos4iv_PTR)(glRasterPos4iv_ARG_EXPAND); -void glRasterPos4s(glRasterPos4s_ARG_EXPAND); +void glshim_glRasterPos4s(glRasterPos4s_ARG_EXPAND); typedef void (*glRasterPos4s_PTR)(glRasterPos4s_ARG_EXPAND); -void glRasterPos4sv(glRasterPos4sv_ARG_EXPAND); +void glshim_glRasterPos4sv(glRasterPos4sv_ARG_EXPAND); typedef void (*glRasterPos4sv_PTR)(glRasterPos4sv_ARG_EXPAND); -void glReadBuffer(glReadBuffer_ARG_EXPAND); +void glshim_glReadBuffer(glReadBuffer_ARG_EXPAND); typedef void (*glReadBuffer_PTR)(glReadBuffer_ARG_EXPAND); -void glReadPixels(glReadPixels_ARG_EXPAND); +void glshim_glReadPixels(glReadPixels_ARG_EXPAND); typedef void (*glReadPixels_PTR)(glReadPixels_ARG_EXPAND); -void glRectd(glRectd_ARG_EXPAND); +void glshim_glRectd(glRectd_ARG_EXPAND); typedef void (*glRectd_PTR)(glRectd_ARG_EXPAND); -void glRectdv(glRectdv_ARG_EXPAND); +void glshim_glRectdv(glRectdv_ARG_EXPAND); typedef void (*glRectdv_PTR)(glRectdv_ARG_EXPAND); -void glRectf(glRectf_ARG_EXPAND); +void glshim_glRectf(glRectf_ARG_EXPAND); typedef void (*glRectf_PTR)(glRectf_ARG_EXPAND); -void glRectfv(glRectfv_ARG_EXPAND); +void glshim_glRectfv(glRectfv_ARG_EXPAND); typedef void (*glRectfv_PTR)(glRectfv_ARG_EXPAND); -void glRecti(glRecti_ARG_EXPAND); +void glshim_glRecti(glRecti_ARG_EXPAND); typedef void (*glRecti_PTR)(glRecti_ARG_EXPAND); -void glRectiv(glRectiv_ARG_EXPAND); +void glshim_glRectiv(glRectiv_ARG_EXPAND); typedef void (*glRectiv_PTR)(glRectiv_ARG_EXPAND); -void glRects(glRects_ARG_EXPAND); +void glshim_glRects(glRects_ARG_EXPAND); typedef void (*glRects_PTR)(glRects_ARG_EXPAND); -void glRectsv(glRectsv_ARG_EXPAND); +void glshim_glRectsv(glRectsv_ARG_EXPAND); typedef void (*glRectsv_PTR)(glRectsv_ARG_EXPAND); -GLint glRenderMode(glRenderMode_ARG_EXPAND); +GLint glshim_glRenderMode(glRenderMode_ARG_EXPAND); typedef GLint (*glRenderMode_PTR)(glRenderMode_ARG_EXPAND); -void glResetHistogram(glResetHistogram_ARG_EXPAND); +void glshim_glResetHistogram(glResetHistogram_ARG_EXPAND); typedef void (*glResetHistogram_PTR)(glResetHistogram_ARG_EXPAND); -void glResetMinmax(glResetMinmax_ARG_EXPAND); +void glshim_glResetMinmax(glResetMinmax_ARG_EXPAND); typedef void (*glResetMinmax_PTR)(glResetMinmax_ARG_EXPAND); -void glRotated(glRotated_ARG_EXPAND); +void glshim_glRotated(glRotated_ARG_EXPAND); typedef void (*glRotated_PTR)(glRotated_ARG_EXPAND); -void glRotatef(glRotatef_ARG_EXPAND); +void glshim_glRotatef(glRotatef_ARG_EXPAND); typedef void (*glRotatef_PTR)(glRotatef_ARG_EXPAND); -void glSampleCoverage(glSampleCoverage_ARG_EXPAND); +void glshim_glSampleCoverage(glSampleCoverage_ARG_EXPAND); typedef void (*glSampleCoverage_PTR)(glSampleCoverage_ARG_EXPAND); -void glScaled(glScaled_ARG_EXPAND); +void glshim_glScaled(glScaled_ARG_EXPAND); typedef void (*glScaled_PTR)(glScaled_ARG_EXPAND); -void glScalef(glScalef_ARG_EXPAND); +void glshim_glScalef(glScalef_ARG_EXPAND); typedef void (*glScalef_PTR)(glScalef_ARG_EXPAND); -void glScissor(glScissor_ARG_EXPAND); +void glshim_glScissor(glScissor_ARG_EXPAND); typedef void (*glScissor_PTR)(glScissor_ARG_EXPAND); -void glSecondaryColor3b(glSecondaryColor3b_ARG_EXPAND); +void glshim_glSecondaryColor3b(glSecondaryColor3b_ARG_EXPAND); typedef void (*glSecondaryColor3b_PTR)(glSecondaryColor3b_ARG_EXPAND); -void glSecondaryColor3bv(glSecondaryColor3bv_ARG_EXPAND); +void glshim_glSecondaryColor3bv(glSecondaryColor3bv_ARG_EXPAND); typedef void (*glSecondaryColor3bv_PTR)(glSecondaryColor3bv_ARG_EXPAND); -void glSecondaryColor3d(glSecondaryColor3d_ARG_EXPAND); +void glshim_glSecondaryColor3d(glSecondaryColor3d_ARG_EXPAND); typedef void (*glSecondaryColor3d_PTR)(glSecondaryColor3d_ARG_EXPAND); -void glSecondaryColor3dv(glSecondaryColor3dv_ARG_EXPAND); +void glshim_glSecondaryColor3dv(glSecondaryColor3dv_ARG_EXPAND); typedef void (*glSecondaryColor3dv_PTR)(glSecondaryColor3dv_ARG_EXPAND); -void glSecondaryColor3f(glSecondaryColor3f_ARG_EXPAND); +void glshim_glSecondaryColor3f(glSecondaryColor3f_ARG_EXPAND); typedef void (*glSecondaryColor3f_PTR)(glSecondaryColor3f_ARG_EXPAND); -void glSecondaryColor3fv(glSecondaryColor3fv_ARG_EXPAND); +void glshim_glSecondaryColor3fv(glSecondaryColor3fv_ARG_EXPAND); typedef void (*glSecondaryColor3fv_PTR)(glSecondaryColor3fv_ARG_EXPAND); -void glSecondaryColor3i(glSecondaryColor3i_ARG_EXPAND); +void glshim_glSecondaryColor3i(glSecondaryColor3i_ARG_EXPAND); typedef void (*glSecondaryColor3i_PTR)(glSecondaryColor3i_ARG_EXPAND); -void glSecondaryColor3iv(glSecondaryColor3iv_ARG_EXPAND); +void glshim_glSecondaryColor3iv(glSecondaryColor3iv_ARG_EXPAND); typedef void (*glSecondaryColor3iv_PTR)(glSecondaryColor3iv_ARG_EXPAND); -void glSecondaryColor3s(glSecondaryColor3s_ARG_EXPAND); +void glshim_glSecondaryColor3s(glSecondaryColor3s_ARG_EXPAND); typedef void (*glSecondaryColor3s_PTR)(glSecondaryColor3s_ARG_EXPAND); -void glSecondaryColor3sv(glSecondaryColor3sv_ARG_EXPAND); +void glshim_glSecondaryColor3sv(glSecondaryColor3sv_ARG_EXPAND); typedef void (*glSecondaryColor3sv_PTR)(glSecondaryColor3sv_ARG_EXPAND); -void glSecondaryColor3ub(glSecondaryColor3ub_ARG_EXPAND); +void glshim_glSecondaryColor3ub(glSecondaryColor3ub_ARG_EXPAND); typedef void (*glSecondaryColor3ub_PTR)(glSecondaryColor3ub_ARG_EXPAND); -void glSecondaryColor3ubv(glSecondaryColor3ubv_ARG_EXPAND); +void glshim_glSecondaryColor3ubv(glSecondaryColor3ubv_ARG_EXPAND); typedef void (*glSecondaryColor3ubv_PTR)(glSecondaryColor3ubv_ARG_EXPAND); -void glSecondaryColor3ui(glSecondaryColor3ui_ARG_EXPAND); +void glshim_glSecondaryColor3ui(glSecondaryColor3ui_ARG_EXPAND); typedef void (*glSecondaryColor3ui_PTR)(glSecondaryColor3ui_ARG_EXPAND); -void glSecondaryColor3uiv(glSecondaryColor3uiv_ARG_EXPAND); +void glshim_glSecondaryColor3uiv(glSecondaryColor3uiv_ARG_EXPAND); typedef void (*glSecondaryColor3uiv_PTR)(glSecondaryColor3uiv_ARG_EXPAND); -void glSecondaryColor3us(glSecondaryColor3us_ARG_EXPAND); +void glshim_glSecondaryColor3us(glSecondaryColor3us_ARG_EXPAND); typedef void (*glSecondaryColor3us_PTR)(glSecondaryColor3us_ARG_EXPAND); -void glSecondaryColor3usv(glSecondaryColor3usv_ARG_EXPAND); +void glshim_glSecondaryColor3usv(glSecondaryColor3usv_ARG_EXPAND); typedef void (*glSecondaryColor3usv_PTR)(glSecondaryColor3usv_ARG_EXPAND); -void glSecondaryColorPointer(glSecondaryColorPointer_ARG_EXPAND); +void glshim_glSecondaryColorPointer(glSecondaryColorPointer_ARG_EXPAND); typedef void (*glSecondaryColorPointer_PTR)(glSecondaryColorPointer_ARG_EXPAND); -void glSelectBuffer(glSelectBuffer_ARG_EXPAND); +void glshim_glSelectBuffer(glSelectBuffer_ARG_EXPAND); typedef void (*glSelectBuffer_PTR)(glSelectBuffer_ARG_EXPAND); -void glSeparableFilter2D(glSeparableFilter2D_ARG_EXPAND); +void glshim_glSeparableFilter2D(glSeparableFilter2D_ARG_EXPAND); typedef void (*glSeparableFilter2D_PTR)(glSeparableFilter2D_ARG_EXPAND); -void glShadeModel(glShadeModel_ARG_EXPAND); +void glshim_glShadeModel(glShadeModel_ARG_EXPAND); typedef void (*glShadeModel_PTR)(glShadeModel_ARG_EXPAND); -void glStencilFunc(glStencilFunc_ARG_EXPAND); +void glshim_glStencilFunc(glStencilFunc_ARG_EXPAND); typedef void (*glStencilFunc_PTR)(glStencilFunc_ARG_EXPAND); -void glStencilMask(glStencilMask_ARG_EXPAND); +void glshim_glStencilMask(glStencilMask_ARG_EXPAND); typedef void (*glStencilMask_PTR)(glStencilMask_ARG_EXPAND); -void glStencilOp(glStencilOp_ARG_EXPAND); +void glshim_glStencilOp(glStencilOp_ARG_EXPAND); typedef void (*glStencilOp_PTR)(glStencilOp_ARG_EXPAND); -void glTexCoord1d(glTexCoord1d_ARG_EXPAND); +void glshim_glTexCoord1d(glTexCoord1d_ARG_EXPAND); typedef void (*glTexCoord1d_PTR)(glTexCoord1d_ARG_EXPAND); -void glTexCoord1dv(glTexCoord1dv_ARG_EXPAND); +void glshim_glTexCoord1dv(glTexCoord1dv_ARG_EXPAND); typedef void (*glTexCoord1dv_PTR)(glTexCoord1dv_ARG_EXPAND); -void glTexCoord1f(glTexCoord1f_ARG_EXPAND); +void glshim_glTexCoord1f(glTexCoord1f_ARG_EXPAND); typedef void (*glTexCoord1f_PTR)(glTexCoord1f_ARG_EXPAND); -void glTexCoord1fv(glTexCoord1fv_ARG_EXPAND); +void glshim_glTexCoord1fv(glTexCoord1fv_ARG_EXPAND); typedef void (*glTexCoord1fv_PTR)(glTexCoord1fv_ARG_EXPAND); -void glTexCoord1i(glTexCoord1i_ARG_EXPAND); +void glshim_glTexCoord1i(glTexCoord1i_ARG_EXPAND); typedef void (*glTexCoord1i_PTR)(glTexCoord1i_ARG_EXPAND); -void glTexCoord1iv(glTexCoord1iv_ARG_EXPAND); +void glshim_glTexCoord1iv(glTexCoord1iv_ARG_EXPAND); typedef void (*glTexCoord1iv_PTR)(glTexCoord1iv_ARG_EXPAND); -void glTexCoord1s(glTexCoord1s_ARG_EXPAND); +void glshim_glTexCoord1s(glTexCoord1s_ARG_EXPAND); typedef void (*glTexCoord1s_PTR)(glTexCoord1s_ARG_EXPAND); -void glTexCoord1sv(glTexCoord1sv_ARG_EXPAND); +void glshim_glTexCoord1sv(glTexCoord1sv_ARG_EXPAND); typedef void (*glTexCoord1sv_PTR)(glTexCoord1sv_ARG_EXPAND); -void glTexCoord2d(glTexCoord2d_ARG_EXPAND); +void glshim_glTexCoord2d(glTexCoord2d_ARG_EXPAND); typedef void (*glTexCoord2d_PTR)(glTexCoord2d_ARG_EXPAND); -void glTexCoord2dv(glTexCoord2dv_ARG_EXPAND); +void glshim_glTexCoord2dv(glTexCoord2dv_ARG_EXPAND); typedef void (*glTexCoord2dv_PTR)(glTexCoord2dv_ARG_EXPAND); -void glTexCoord2f(glTexCoord2f_ARG_EXPAND); +void glshim_glTexCoord2f(glTexCoord2f_ARG_EXPAND); typedef void (*glTexCoord2f_PTR)(glTexCoord2f_ARG_EXPAND); -void glTexCoord2fv(glTexCoord2fv_ARG_EXPAND); +void glshim_glTexCoord2fv(glTexCoord2fv_ARG_EXPAND); typedef void (*glTexCoord2fv_PTR)(glTexCoord2fv_ARG_EXPAND); -void glTexCoord2i(glTexCoord2i_ARG_EXPAND); +void glshim_glTexCoord2i(glTexCoord2i_ARG_EXPAND); typedef void (*glTexCoord2i_PTR)(glTexCoord2i_ARG_EXPAND); -void glTexCoord2iv(glTexCoord2iv_ARG_EXPAND); +void glshim_glTexCoord2iv(glTexCoord2iv_ARG_EXPAND); typedef void (*glTexCoord2iv_PTR)(glTexCoord2iv_ARG_EXPAND); -void glTexCoord2s(glTexCoord2s_ARG_EXPAND); +void glshim_glTexCoord2s(glTexCoord2s_ARG_EXPAND); typedef void (*glTexCoord2s_PTR)(glTexCoord2s_ARG_EXPAND); -void glTexCoord2sv(glTexCoord2sv_ARG_EXPAND); +void glshim_glTexCoord2sv(glTexCoord2sv_ARG_EXPAND); typedef void (*glTexCoord2sv_PTR)(glTexCoord2sv_ARG_EXPAND); -void glTexCoord3d(glTexCoord3d_ARG_EXPAND); +void glshim_glTexCoord3d(glTexCoord3d_ARG_EXPAND); typedef void (*glTexCoord3d_PTR)(glTexCoord3d_ARG_EXPAND); -void glTexCoord3dv(glTexCoord3dv_ARG_EXPAND); +void glshim_glTexCoord3dv(glTexCoord3dv_ARG_EXPAND); typedef void (*glTexCoord3dv_PTR)(glTexCoord3dv_ARG_EXPAND); -void glTexCoord3f(glTexCoord3f_ARG_EXPAND); +void glshim_glTexCoord3f(glTexCoord3f_ARG_EXPAND); typedef void (*glTexCoord3f_PTR)(glTexCoord3f_ARG_EXPAND); -void glTexCoord3fv(glTexCoord3fv_ARG_EXPAND); +void glshim_glTexCoord3fv(glTexCoord3fv_ARG_EXPAND); typedef void (*glTexCoord3fv_PTR)(glTexCoord3fv_ARG_EXPAND); -void glTexCoord3i(glTexCoord3i_ARG_EXPAND); +void glshim_glTexCoord3i(glTexCoord3i_ARG_EXPAND); typedef void (*glTexCoord3i_PTR)(glTexCoord3i_ARG_EXPAND); -void glTexCoord3iv(glTexCoord3iv_ARG_EXPAND); +void glshim_glTexCoord3iv(glTexCoord3iv_ARG_EXPAND); typedef void (*glTexCoord3iv_PTR)(glTexCoord3iv_ARG_EXPAND); -void glTexCoord3s(glTexCoord3s_ARG_EXPAND); +void glshim_glTexCoord3s(glTexCoord3s_ARG_EXPAND); typedef void (*glTexCoord3s_PTR)(glTexCoord3s_ARG_EXPAND); -void glTexCoord3sv(glTexCoord3sv_ARG_EXPAND); +void glshim_glTexCoord3sv(glTexCoord3sv_ARG_EXPAND); typedef void (*glTexCoord3sv_PTR)(glTexCoord3sv_ARG_EXPAND); -void glTexCoord4d(glTexCoord4d_ARG_EXPAND); +void glshim_glTexCoord4d(glTexCoord4d_ARG_EXPAND); typedef void (*glTexCoord4d_PTR)(glTexCoord4d_ARG_EXPAND); -void glTexCoord4dv(glTexCoord4dv_ARG_EXPAND); +void glshim_glTexCoord4dv(glTexCoord4dv_ARG_EXPAND); typedef void (*glTexCoord4dv_PTR)(glTexCoord4dv_ARG_EXPAND); -void glTexCoord4f(glTexCoord4f_ARG_EXPAND); +void glshim_glTexCoord4f(glTexCoord4f_ARG_EXPAND); typedef void (*glTexCoord4f_PTR)(glTexCoord4f_ARG_EXPAND); -void glTexCoord4fv(glTexCoord4fv_ARG_EXPAND); +void glshim_glTexCoord4fv(glTexCoord4fv_ARG_EXPAND); typedef void (*glTexCoord4fv_PTR)(glTexCoord4fv_ARG_EXPAND); -void glTexCoord4i(glTexCoord4i_ARG_EXPAND); +void glshim_glTexCoord4i(glTexCoord4i_ARG_EXPAND); typedef void (*glTexCoord4i_PTR)(glTexCoord4i_ARG_EXPAND); -void glTexCoord4iv(glTexCoord4iv_ARG_EXPAND); +void glshim_glTexCoord4iv(glTexCoord4iv_ARG_EXPAND); typedef void (*glTexCoord4iv_PTR)(glTexCoord4iv_ARG_EXPAND); -void glTexCoord4s(glTexCoord4s_ARG_EXPAND); +void glshim_glTexCoord4s(glTexCoord4s_ARG_EXPAND); typedef void (*glTexCoord4s_PTR)(glTexCoord4s_ARG_EXPAND); -void glTexCoord4sv(glTexCoord4sv_ARG_EXPAND); +void glshim_glTexCoord4sv(glTexCoord4sv_ARG_EXPAND); typedef void (*glTexCoord4sv_PTR)(glTexCoord4sv_ARG_EXPAND); -void glTexCoordPointer(glTexCoordPointer_ARG_EXPAND); +void glshim_glTexCoordPointer(glTexCoordPointer_ARG_EXPAND); typedef void (*glTexCoordPointer_PTR)(glTexCoordPointer_ARG_EXPAND); -void glTexEnvf(glTexEnvf_ARG_EXPAND); +void glshim_glTexEnvf(glTexEnvf_ARG_EXPAND); typedef void (*glTexEnvf_PTR)(glTexEnvf_ARG_EXPAND); -void glTexEnvfv(glTexEnvfv_ARG_EXPAND); +void glshim_glTexEnvfv(glTexEnvfv_ARG_EXPAND); typedef void (*glTexEnvfv_PTR)(glTexEnvfv_ARG_EXPAND); -void glTexEnvi(glTexEnvi_ARG_EXPAND); +void glshim_glTexEnvi(glTexEnvi_ARG_EXPAND); typedef void (*glTexEnvi_PTR)(glTexEnvi_ARG_EXPAND); -void glTexEnviv(glTexEnviv_ARG_EXPAND); +void glshim_glTexEnviv(glTexEnviv_ARG_EXPAND); typedef void (*glTexEnviv_PTR)(glTexEnviv_ARG_EXPAND); -void glTexGend(glTexGend_ARG_EXPAND); +void glshim_glTexGend(glTexGend_ARG_EXPAND); typedef void (*glTexGend_PTR)(glTexGend_ARG_EXPAND); -void glTexGendv(glTexGendv_ARG_EXPAND); +void glshim_glTexGendv(glTexGendv_ARG_EXPAND); typedef void (*glTexGendv_PTR)(glTexGendv_ARG_EXPAND); -void glTexGenf(glTexGenf_ARG_EXPAND); +void glshim_glTexGenf(glTexGenf_ARG_EXPAND); typedef void (*glTexGenf_PTR)(glTexGenf_ARG_EXPAND); -void glTexGenfv(glTexGenfv_ARG_EXPAND); +void glshim_glTexGenfv(glTexGenfv_ARG_EXPAND); typedef void (*glTexGenfv_PTR)(glTexGenfv_ARG_EXPAND); -void glTexGeni(glTexGeni_ARG_EXPAND); +void glshim_glTexGeni(glTexGeni_ARG_EXPAND); typedef void (*glTexGeni_PTR)(glTexGeni_ARG_EXPAND); -void glTexGeniv(glTexGeniv_ARG_EXPAND); +void glshim_glTexGeniv(glTexGeniv_ARG_EXPAND); typedef void (*glTexGeniv_PTR)(glTexGeniv_ARG_EXPAND); -void glTexImage1D(glTexImage1D_ARG_EXPAND); +void glshim_glTexImage1D(glTexImage1D_ARG_EXPAND); typedef void (*glTexImage1D_PTR)(glTexImage1D_ARG_EXPAND); -void glTexImage2D(glTexImage2D_ARG_EXPAND); +void glshim_glTexImage2D(glTexImage2D_ARG_EXPAND); typedef void (*glTexImage2D_PTR)(glTexImage2D_ARG_EXPAND); -void glTexImage3D(glTexImage3D_ARG_EXPAND); +void glshim_glTexImage3D(glTexImage3D_ARG_EXPAND); typedef void (*glTexImage3D_PTR)(glTexImage3D_ARG_EXPAND); -void glTexParameterf(glTexParameterf_ARG_EXPAND); +void glshim_glTexParameterf(glTexParameterf_ARG_EXPAND); typedef void (*glTexParameterf_PTR)(glTexParameterf_ARG_EXPAND); -void glTexParameterfv(glTexParameterfv_ARG_EXPAND); +void glshim_glTexParameterfv(glTexParameterfv_ARG_EXPAND); typedef void (*glTexParameterfv_PTR)(glTexParameterfv_ARG_EXPAND); -void glTexParameteri(glTexParameteri_ARG_EXPAND); +void glshim_glTexParameteri(glTexParameteri_ARG_EXPAND); typedef void (*glTexParameteri_PTR)(glTexParameteri_ARG_EXPAND); -void glTexParameteriv(glTexParameteriv_ARG_EXPAND); +void glshim_glTexParameteriv(glTexParameteriv_ARG_EXPAND); typedef void (*glTexParameteriv_PTR)(glTexParameteriv_ARG_EXPAND); -void glTexSubImage1D(glTexSubImage1D_ARG_EXPAND); +void glshim_glTexSubImage1D(glTexSubImage1D_ARG_EXPAND); typedef void (*glTexSubImage1D_PTR)(glTexSubImage1D_ARG_EXPAND); -void glTexSubImage2D(glTexSubImage2D_ARG_EXPAND); +void glshim_glTexSubImage2D(glTexSubImage2D_ARG_EXPAND); typedef void (*glTexSubImage2D_PTR)(glTexSubImage2D_ARG_EXPAND); -void glTexSubImage3D(glTexSubImage3D_ARG_EXPAND); +void glshim_glTexSubImage3D(glTexSubImage3D_ARG_EXPAND); typedef void (*glTexSubImage3D_PTR)(glTexSubImage3D_ARG_EXPAND); -void glTranslated(glTranslated_ARG_EXPAND); +void glshim_glTranslated(glTranslated_ARG_EXPAND); typedef void (*glTranslated_PTR)(glTranslated_ARG_EXPAND); -void glTranslatef(glTranslatef_ARG_EXPAND); +void glshim_glTranslatef(glTranslatef_ARG_EXPAND); typedef void (*glTranslatef_PTR)(glTranslatef_ARG_EXPAND); -GLboolean glUnmapBuffer(glUnmapBuffer_ARG_EXPAND); +GLboolean glshim_glUnmapBuffer(glUnmapBuffer_ARG_EXPAND); typedef GLboolean (*glUnmapBuffer_PTR)(glUnmapBuffer_ARG_EXPAND); -void glVertex2d(glVertex2d_ARG_EXPAND); +void glshim_glVertex2d(glVertex2d_ARG_EXPAND); typedef void (*glVertex2d_PTR)(glVertex2d_ARG_EXPAND); -void glVertex2dv(glVertex2dv_ARG_EXPAND); +void glshim_glVertex2dv(glVertex2dv_ARG_EXPAND); typedef void (*glVertex2dv_PTR)(glVertex2dv_ARG_EXPAND); -void glVertex2f(glVertex2f_ARG_EXPAND); +void glshim_glVertex2f(glVertex2f_ARG_EXPAND); typedef void (*glVertex2f_PTR)(glVertex2f_ARG_EXPAND); -void glVertex2fv(glVertex2fv_ARG_EXPAND); +void glshim_glVertex2fv(glVertex2fv_ARG_EXPAND); typedef void (*glVertex2fv_PTR)(glVertex2fv_ARG_EXPAND); -void glVertex2i(glVertex2i_ARG_EXPAND); +void glshim_glVertex2i(glVertex2i_ARG_EXPAND); typedef void (*glVertex2i_PTR)(glVertex2i_ARG_EXPAND); -void glVertex2iv(glVertex2iv_ARG_EXPAND); +void glshim_glVertex2iv(glVertex2iv_ARG_EXPAND); typedef void (*glVertex2iv_PTR)(glVertex2iv_ARG_EXPAND); -void glVertex2s(glVertex2s_ARG_EXPAND); +void glshim_glVertex2s(glVertex2s_ARG_EXPAND); typedef void (*glVertex2s_PTR)(glVertex2s_ARG_EXPAND); -void glVertex2sv(glVertex2sv_ARG_EXPAND); +void glshim_glVertex2sv(glVertex2sv_ARG_EXPAND); typedef void (*glVertex2sv_PTR)(glVertex2sv_ARG_EXPAND); -void glVertex3d(glVertex3d_ARG_EXPAND); +void glshim_glVertex3d(glVertex3d_ARG_EXPAND); typedef void (*glVertex3d_PTR)(glVertex3d_ARG_EXPAND); -void glVertex3dv(glVertex3dv_ARG_EXPAND); +void glshim_glVertex3dv(glVertex3dv_ARG_EXPAND); typedef void (*glVertex3dv_PTR)(glVertex3dv_ARG_EXPAND); -void glVertex3f(glVertex3f_ARG_EXPAND); +void glshim_glVertex3f(glVertex3f_ARG_EXPAND); typedef void (*glVertex3f_PTR)(glVertex3f_ARG_EXPAND); -void glVertex3fv(glVertex3fv_ARG_EXPAND); +void glshim_glVertex3fv(glVertex3fv_ARG_EXPAND); typedef void (*glVertex3fv_PTR)(glVertex3fv_ARG_EXPAND); -void glVertex3i(glVertex3i_ARG_EXPAND); +void glshim_glVertex3i(glVertex3i_ARG_EXPAND); typedef void (*glVertex3i_PTR)(glVertex3i_ARG_EXPAND); -void glVertex3iv(glVertex3iv_ARG_EXPAND); +void glshim_glVertex3iv(glVertex3iv_ARG_EXPAND); typedef void (*glVertex3iv_PTR)(glVertex3iv_ARG_EXPAND); -void glVertex3s(glVertex3s_ARG_EXPAND); +void glshim_glVertex3s(glVertex3s_ARG_EXPAND); typedef void (*glVertex3s_PTR)(glVertex3s_ARG_EXPAND); -void glVertex3sv(glVertex3sv_ARG_EXPAND); +void glshim_glVertex3sv(glVertex3sv_ARG_EXPAND); typedef void (*glVertex3sv_PTR)(glVertex3sv_ARG_EXPAND); -void glVertex4d(glVertex4d_ARG_EXPAND); +void glshim_glVertex4d(glVertex4d_ARG_EXPAND); typedef void (*glVertex4d_PTR)(glVertex4d_ARG_EXPAND); -void glVertex4dv(glVertex4dv_ARG_EXPAND); +void glshim_glVertex4dv(glVertex4dv_ARG_EXPAND); typedef void (*glVertex4dv_PTR)(glVertex4dv_ARG_EXPAND); -void glVertex4f(glVertex4f_ARG_EXPAND); +void glshim_glVertex4f(glVertex4f_ARG_EXPAND); typedef void (*glVertex4f_PTR)(glVertex4f_ARG_EXPAND); -void glVertex4fv(glVertex4fv_ARG_EXPAND); +void glshim_glVertex4fv(glVertex4fv_ARG_EXPAND); typedef void (*glVertex4fv_PTR)(glVertex4fv_ARG_EXPAND); -void glVertex4i(glVertex4i_ARG_EXPAND); +void glshim_glVertex4i(glVertex4i_ARG_EXPAND); typedef void (*glVertex4i_PTR)(glVertex4i_ARG_EXPAND); -void glVertex4iv(glVertex4iv_ARG_EXPAND); +void glshim_glVertex4iv(glVertex4iv_ARG_EXPAND); typedef void (*glVertex4iv_PTR)(glVertex4iv_ARG_EXPAND); -void glVertex4s(glVertex4s_ARG_EXPAND); +void glshim_glVertex4s(glVertex4s_ARG_EXPAND); typedef void (*glVertex4s_PTR)(glVertex4s_ARG_EXPAND); -void glVertex4sv(glVertex4sv_ARG_EXPAND); +void glshim_glVertex4sv(glVertex4sv_ARG_EXPAND); typedef void (*glVertex4sv_PTR)(glVertex4sv_ARG_EXPAND); -void glVertexPointer(glVertexPointer_ARG_EXPAND); +void glshim_glVertexPointer(glVertexPointer_ARG_EXPAND); typedef void (*glVertexPointer_PTR)(glVertexPointer_ARG_EXPAND); -void glViewport(glViewport_ARG_EXPAND); +void glshim_glViewport(glViewport_ARG_EXPAND); typedef void (*glViewport_PTR)(glViewport_ARG_EXPAND); -void glWindowPos2d(glWindowPos2d_ARG_EXPAND); +void glshim_glWindowPos2d(glWindowPos2d_ARG_EXPAND); typedef void (*glWindowPos2d_PTR)(glWindowPos2d_ARG_EXPAND); -void glWindowPos2dv(glWindowPos2dv_ARG_EXPAND); +void glshim_glWindowPos2dv(glWindowPos2dv_ARG_EXPAND); typedef void (*glWindowPos2dv_PTR)(glWindowPos2dv_ARG_EXPAND); -void glWindowPos2f(glWindowPos2f_ARG_EXPAND); +void glshim_glWindowPos2f(glWindowPos2f_ARG_EXPAND); typedef void (*glWindowPos2f_PTR)(glWindowPos2f_ARG_EXPAND); -void glWindowPos2fv(glWindowPos2fv_ARG_EXPAND); +void glshim_glWindowPos2fv(glWindowPos2fv_ARG_EXPAND); typedef void (*glWindowPos2fv_PTR)(glWindowPos2fv_ARG_EXPAND); -void glWindowPos2i(glWindowPos2i_ARG_EXPAND); +void glshim_glWindowPos2i(glWindowPos2i_ARG_EXPAND); typedef void (*glWindowPos2i_PTR)(glWindowPos2i_ARG_EXPAND); -void glWindowPos2iv(glWindowPos2iv_ARG_EXPAND); +void glshim_glWindowPos2iv(glWindowPos2iv_ARG_EXPAND); typedef void (*glWindowPos2iv_PTR)(glWindowPos2iv_ARG_EXPAND); -void glWindowPos2s(glWindowPos2s_ARG_EXPAND); +void glshim_glWindowPos2s(glWindowPos2s_ARG_EXPAND); typedef void (*glWindowPos2s_PTR)(glWindowPos2s_ARG_EXPAND); -void glWindowPos2sv(glWindowPos2sv_ARG_EXPAND); +void glshim_glWindowPos2sv(glWindowPos2sv_ARG_EXPAND); typedef void (*glWindowPos2sv_PTR)(glWindowPos2sv_ARG_EXPAND); -void glWindowPos3d(glWindowPos3d_ARG_EXPAND); +void glshim_glWindowPos3d(glWindowPos3d_ARG_EXPAND); typedef void (*glWindowPos3d_PTR)(glWindowPos3d_ARG_EXPAND); -void glWindowPos3dv(glWindowPos3dv_ARG_EXPAND); +void glshim_glWindowPos3dv(glWindowPos3dv_ARG_EXPAND); typedef void (*glWindowPos3dv_PTR)(glWindowPos3dv_ARG_EXPAND); -void glWindowPos3f(glWindowPos3f_ARG_EXPAND); +void glshim_glWindowPos3f(glWindowPos3f_ARG_EXPAND); typedef void (*glWindowPos3f_PTR)(glWindowPos3f_ARG_EXPAND); -void glWindowPos3fv(glWindowPos3fv_ARG_EXPAND); +void glshim_glWindowPos3fv(glWindowPos3fv_ARG_EXPAND); typedef void (*glWindowPos3fv_PTR)(glWindowPos3fv_ARG_EXPAND); -void glWindowPos3i(glWindowPos3i_ARG_EXPAND); +void glshim_glWindowPos3i(glWindowPos3i_ARG_EXPAND); typedef void (*glWindowPos3i_PTR)(glWindowPos3i_ARG_EXPAND); -void glWindowPos3iv(glWindowPos3iv_ARG_EXPAND); +void glshim_glWindowPos3iv(glWindowPos3iv_ARG_EXPAND); typedef void (*glWindowPos3iv_PTR)(glWindowPos3iv_ARG_EXPAND); -void glWindowPos3s(glWindowPos3s_ARG_EXPAND); +void glshim_glWindowPos3s(glWindowPos3s_ARG_EXPAND); typedef void (*glWindowPos3s_PTR)(glWindowPos3s_ARG_EXPAND); -void glWindowPos3sv(glWindowPos3sv_ARG_EXPAND); +void glshim_glWindowPos3sv(glWindowPos3sv_ARG_EXPAND); typedef void (*glWindowPos3sv_PTR)(glWindowPos3sv_ARG_EXPAND); -int glXBindHyperpipeSGIX(glXBindHyperpipeSGIX_ARG_EXPAND); +int glshim_glXBindHyperpipeSGIX(glXBindHyperpipeSGIX_ARG_EXPAND); typedef int (*glXBindHyperpipeSGIX_PTR)(glXBindHyperpipeSGIX_ARG_EXPAND); -void glXBindSwapBarrierSGIX(glXBindSwapBarrierSGIX_ARG_EXPAND); +void glshim_glXBindSwapBarrierSGIX(glXBindSwapBarrierSGIX_ARG_EXPAND); typedef void (*glXBindSwapBarrierSGIX_PTR)(glXBindSwapBarrierSGIX_ARG_EXPAND); -void glXChangeDrawableAttributes(glXChangeDrawableAttributes_ARG_EXPAND); +void glshim_glXChangeDrawableAttributes(glXChangeDrawableAttributes_ARG_EXPAND); typedef void (*glXChangeDrawableAttributes_PTR)(glXChangeDrawableAttributes_ARG_EXPAND); -void glXChangeDrawableAttributesSGIX(glXChangeDrawableAttributesSGIX_ARG_EXPAND); +void glshim_glXChangeDrawableAttributesSGIX(glXChangeDrawableAttributesSGIX_ARG_EXPAND); typedef void (*glXChangeDrawableAttributesSGIX_PTR)(glXChangeDrawableAttributesSGIX_ARG_EXPAND); -GLXFBConfig * glXChooseFBConfig(glXChooseFBConfig_ARG_EXPAND); +GLXFBConfig * glshim_glXChooseFBConfig(glXChooseFBConfig_ARG_EXPAND); typedef GLXFBConfig * (*glXChooseFBConfig_PTR)(glXChooseFBConfig_ARG_EXPAND); -XVisualInfo * glXChooseVisual(glXChooseVisual_ARG_EXPAND); +XVisualInfo * glshim_glXChooseVisual(glXChooseVisual_ARG_EXPAND); typedef XVisualInfo * (*glXChooseVisual_PTR)(glXChooseVisual_ARG_EXPAND); -void glXClientInfo(glXClientInfo_ARG_EXPAND); +void glshim_glXClientInfo(glXClientInfo_ARG_EXPAND); typedef void (*glXClientInfo_PTR)(glXClientInfo_ARG_EXPAND); -void glXCopyContext(glXCopyContext_ARG_EXPAND); +void glshim_glXCopyContext(glXCopyContext_ARG_EXPAND); typedef void (*glXCopyContext_PTR)(glXCopyContext_ARG_EXPAND); -GLXContext glXCreateContext(glXCreateContext_ARG_EXPAND); +GLXContext glshim_glXCreateContext(glXCreateContext_ARG_EXPAND); typedef GLXContext (*glXCreateContext_PTR)(glXCreateContext_ARG_EXPAND); -GLXContext glXCreateContextAttribsARB(glXCreateContextAttribsARB_ARG_EXPAND); +GLXContext glshim_glXCreateContextAttribsARB(glXCreateContextAttribsARB_ARG_EXPAND); typedef GLXContext (*glXCreateContextAttribsARB_PTR)(glXCreateContextAttribsARB_ARG_EXPAND); -void glXCreateContextWithConfigSGIX(glXCreateContextWithConfigSGIX_ARG_EXPAND); +void glshim_glXCreateContextWithConfigSGIX(glXCreateContextWithConfigSGIX_ARG_EXPAND); typedef void (*glXCreateContextWithConfigSGIX_PTR)(glXCreateContextWithConfigSGIX_ARG_EXPAND); -void glXCreateGLXPbufferSGIX(glXCreateGLXPbufferSGIX_ARG_EXPAND); +void glshim_glXCreateGLXPbufferSGIX(glXCreateGLXPbufferSGIX_ARG_EXPAND); typedef void (*glXCreateGLXPbufferSGIX_PTR)(glXCreateGLXPbufferSGIX_ARG_EXPAND); -GLXPixmap glXCreateGLXPixmap(glXCreateGLXPixmap_ARG_EXPAND); +GLXPixmap glshim_glXCreateGLXPixmap(glXCreateGLXPixmap_ARG_EXPAND); typedef GLXPixmap (*glXCreateGLXPixmap_PTR)(glXCreateGLXPixmap_ARG_EXPAND); -void glXCreateGLXPixmapWithConfigSGIX(glXCreateGLXPixmapWithConfigSGIX_ARG_EXPAND); +void glshim_glXCreateGLXPixmapWithConfigSGIX(glXCreateGLXPixmapWithConfigSGIX_ARG_EXPAND); typedef void (*glXCreateGLXPixmapWithConfigSGIX_PTR)(glXCreateGLXPixmapWithConfigSGIX_ARG_EXPAND); -void glXCreateGLXVideoSourceSGIX(glXCreateGLXVideoSourceSGIX_ARG_EXPAND); +void glshim_glXCreateGLXVideoSourceSGIX(glXCreateGLXVideoSourceSGIX_ARG_EXPAND); typedef void (*glXCreateGLXVideoSourceSGIX_PTR)(glXCreateGLXVideoSourceSGIX_ARG_EXPAND); -GLXContext glXCreateNewContext(glXCreateNewContext_ARG_EXPAND); +GLXContext glshim_glXCreateNewContext(glXCreateNewContext_ARG_EXPAND); typedef GLXContext (*glXCreateNewContext_PTR)(glXCreateNewContext_ARG_EXPAND); -GLXPbuffer glXCreatePbuffer(glXCreatePbuffer_ARG_EXPAND); +GLXPbuffer glshim_glXCreatePbuffer(glXCreatePbuffer_ARG_EXPAND); typedef GLXPbuffer (*glXCreatePbuffer_PTR)(glXCreatePbuffer_ARG_EXPAND); -GLXPixmap glXCreatePixmap(glXCreatePixmap_ARG_EXPAND); +GLXPixmap glshim_glXCreatePixmap(glXCreatePixmap_ARG_EXPAND); typedef GLXPixmap (*glXCreatePixmap_PTR)(glXCreatePixmap_ARG_EXPAND); -GLXWindow glXCreateWindow(glXCreateWindow_ARG_EXPAND); +GLXWindow glshim_glXCreateWindow(glXCreateWindow_ARG_EXPAND); typedef GLXWindow (*glXCreateWindow_PTR)(glXCreateWindow_ARG_EXPAND); -void glXDestroyContext(glXDestroyContext_ARG_EXPAND); +void glshim_glXDestroyContext(glXDestroyContext_ARG_EXPAND); typedef void (*glXDestroyContext_PTR)(glXDestroyContext_ARG_EXPAND); -void glXDestroyGLXPbufferSGIX(glXDestroyGLXPbufferSGIX_ARG_EXPAND); +void glshim_glXDestroyGLXPbufferSGIX(glXDestroyGLXPbufferSGIX_ARG_EXPAND); typedef void (*glXDestroyGLXPbufferSGIX_PTR)(glXDestroyGLXPbufferSGIX_ARG_EXPAND); -void glXDestroyGLXPixmap(glXDestroyGLXPixmap_ARG_EXPAND); +void glshim_glXDestroyGLXPixmap(glXDestroyGLXPixmap_ARG_EXPAND); typedef void (*glXDestroyGLXPixmap_PTR)(glXDestroyGLXPixmap_ARG_EXPAND); -void glXDestroyGLXVideoSourceSGIX(glXDestroyGLXVideoSourceSGIX_ARG_EXPAND); +void glshim_glXDestroyGLXVideoSourceSGIX(glXDestroyGLXVideoSourceSGIX_ARG_EXPAND); typedef void (*glXDestroyGLXVideoSourceSGIX_PTR)(glXDestroyGLXVideoSourceSGIX_ARG_EXPAND); -int glXDestroyHyperpipeConfigSGIX(glXDestroyHyperpipeConfigSGIX_ARG_EXPAND); +int glshim_glXDestroyHyperpipeConfigSGIX(glXDestroyHyperpipeConfigSGIX_ARG_EXPAND); typedef int (*glXDestroyHyperpipeConfigSGIX_PTR)(glXDestroyHyperpipeConfigSGIX_ARG_EXPAND); -void glXDestroyPbuffer(glXDestroyPbuffer_ARG_EXPAND); +void glshim_glXDestroyPbuffer(glXDestroyPbuffer_ARG_EXPAND); typedef void (*glXDestroyPbuffer_PTR)(glXDestroyPbuffer_ARG_EXPAND); -void glXDestroyPixmap(glXDestroyPixmap_ARG_EXPAND); +void glshim_glXDestroyPixmap(glXDestroyPixmap_ARG_EXPAND); typedef void (*glXDestroyPixmap_PTR)(glXDestroyPixmap_ARG_EXPAND); -void glXDestroyWindow(glXDestroyWindow_ARG_EXPAND); +void glshim_glXDestroyWindow(glXDestroyWindow_ARG_EXPAND); typedef void (*glXDestroyWindow_PTR)(glXDestroyWindow_ARG_EXPAND); -const char * glXGetClientString(glXGetClientString_ARG_EXPAND); +const char * glshim_glXGetClientString(glXGetClientString_ARG_EXPAND); typedef const char * (*glXGetClientString_PTR)(glXGetClientString_ARG_EXPAND); -int glXGetConfig(glXGetConfig_ARG_EXPAND); +int glshim_glXGetConfig(glXGetConfig_ARG_EXPAND); typedef int (*glXGetConfig_PTR)(glXGetConfig_ARG_EXPAND); -GLXContext glXGetCurrentContext(glXGetCurrentContext_ARG_EXPAND); +GLXContext glshim_glXGetCurrentContext(glXGetCurrentContext_ARG_EXPAND); typedef GLXContext (*glXGetCurrentContext_PTR)(glXGetCurrentContext_ARG_EXPAND); -Display * glXGetCurrentDisplay(glXGetCurrentDisplay_ARG_EXPAND); +Display * glshim_glXGetCurrentDisplay(glXGetCurrentDisplay_ARG_EXPAND); typedef Display * (*glXGetCurrentDisplay_PTR)(glXGetCurrentDisplay_ARG_EXPAND); -GLXDrawable glXGetCurrentDrawable(glXGetCurrentDrawable_ARG_EXPAND); +GLXDrawable glshim_glXGetCurrentDrawable(glXGetCurrentDrawable_ARG_EXPAND); typedef GLXDrawable (*glXGetCurrentDrawable_PTR)(glXGetCurrentDrawable_ARG_EXPAND); -GLXDrawable glXGetCurrentReadDrawable(glXGetCurrentReadDrawable_ARG_EXPAND); +GLXDrawable glshim_glXGetCurrentReadDrawable(glXGetCurrentReadDrawable_ARG_EXPAND); typedef GLXDrawable (*glXGetCurrentReadDrawable_PTR)(glXGetCurrentReadDrawable_ARG_EXPAND); -void glXGetDrawableAttributes(glXGetDrawableAttributes_ARG_EXPAND); +void glshim_glXGetDrawableAttributes(glXGetDrawableAttributes_ARG_EXPAND); typedef void (*glXGetDrawableAttributes_PTR)(glXGetDrawableAttributes_ARG_EXPAND); -void glXGetDrawableAttributesSGIX(glXGetDrawableAttributesSGIX_ARG_EXPAND); +void glshim_glXGetDrawableAttributesSGIX(glXGetDrawableAttributesSGIX_ARG_EXPAND); typedef void (*glXGetDrawableAttributesSGIX_PTR)(glXGetDrawableAttributesSGIX_ARG_EXPAND); -int glXGetFBConfigAttrib(glXGetFBConfigAttrib_ARG_EXPAND); +int glshim_glXGetFBConfigAttrib(glXGetFBConfigAttrib_ARG_EXPAND); typedef int (*glXGetFBConfigAttrib_PTR)(glXGetFBConfigAttrib_ARG_EXPAND); -GLXFBConfig * glXGetFBConfigs(glXGetFBConfigs_ARG_EXPAND); +GLXFBConfig * glshim_glXGetFBConfigs(glXGetFBConfigs_ARG_EXPAND); typedef GLXFBConfig * (*glXGetFBConfigs_PTR)(glXGetFBConfigs_ARG_EXPAND); -void glXGetFBConfigsSGIX(glXGetFBConfigsSGIX_ARG_EXPAND); +void glshim_glXGetFBConfigsSGIX(glXGetFBConfigsSGIX_ARG_EXPAND); typedef void (*glXGetFBConfigsSGIX_PTR)(glXGetFBConfigsSGIX_ARG_EXPAND); -__GLXextFuncPtr glXGetProcAddress(glXGetProcAddress_ARG_EXPAND); +__GLXextFuncPtr glshim_glXGetProcAddress(glXGetProcAddress_ARG_EXPAND); typedef __GLXextFuncPtr (*glXGetProcAddress_PTR)(glXGetProcAddress_ARG_EXPAND); -void glXGetSelectedEvent(glXGetSelectedEvent_ARG_EXPAND); +void glshim_glXGetSelectedEvent(glXGetSelectedEvent_ARG_EXPAND); typedef void (*glXGetSelectedEvent_PTR)(glXGetSelectedEvent_ARG_EXPAND); -void glXGetVisualConfigs(glXGetVisualConfigs_ARG_EXPAND); +void glshim_glXGetVisualConfigs(glXGetVisualConfigs_ARG_EXPAND); typedef void (*glXGetVisualConfigs_PTR)(glXGetVisualConfigs_ARG_EXPAND); -XVisualInfo * glXGetVisualFromFBConfig(glXGetVisualFromFBConfig_ARG_EXPAND); +XVisualInfo * glshim_glXGetVisualFromFBConfig(glXGetVisualFromFBConfig_ARG_EXPAND); typedef XVisualInfo * (*glXGetVisualFromFBConfig_PTR)(glXGetVisualFromFBConfig_ARG_EXPAND); -int glXHyperpipeAttribSGIX(glXHyperpipeAttribSGIX_ARG_EXPAND); +int glshim_glXHyperpipeAttribSGIX(glXHyperpipeAttribSGIX_ARG_EXPAND); typedef int (*glXHyperpipeAttribSGIX_PTR)(glXHyperpipeAttribSGIX_ARG_EXPAND); -int glXHyperpipeConfigSGIX(glXHyperpipeConfigSGIX_ARG_EXPAND); +int glshim_glXHyperpipeConfigSGIX(glXHyperpipeConfigSGIX_ARG_EXPAND); typedef int (*glXHyperpipeConfigSGIX_PTR)(glXHyperpipeConfigSGIX_ARG_EXPAND); -Bool glXIsDirect(glXIsDirect_ARG_EXPAND); +Bool glshim_glXIsDirect(glXIsDirect_ARG_EXPAND); typedef Bool (*glXIsDirect_PTR)(glXIsDirect_ARG_EXPAND); -void glXJoinSwapGroupSGIX(glXJoinSwapGroupSGIX_ARG_EXPAND); +void glshim_glXJoinSwapGroupSGIX(glXJoinSwapGroupSGIX_ARG_EXPAND); typedef void (*glXJoinSwapGroupSGIX_PTR)(glXJoinSwapGroupSGIX_ARG_EXPAND); -Bool glXMakeContextCurrent(glXMakeContextCurrent_ARG_EXPAND); +Bool glshim_glXMakeContextCurrent(glXMakeContextCurrent_ARG_EXPAND); typedef Bool (*glXMakeContextCurrent_PTR)(glXMakeContextCurrent_ARG_EXPAND); -Bool glXMakeCurrent(glXMakeCurrent_ARG_EXPAND); +Bool glshim_glXMakeCurrent(glXMakeCurrent_ARG_EXPAND); typedef Bool (*glXMakeCurrent_PTR)(glXMakeCurrent_ARG_EXPAND); -void glXMakeCurrentReadSGI(glXMakeCurrentReadSGI_ARG_EXPAND); +void glshim_glXMakeCurrentReadSGI(glXMakeCurrentReadSGI_ARG_EXPAND); typedef void (*glXMakeCurrentReadSGI_PTR)(glXMakeCurrentReadSGI_ARG_EXPAND); -int glXQueryContext(glXQueryContext_ARG_EXPAND); +int glshim_glXQueryContext(glXQueryContext_ARG_EXPAND); typedef int (*glXQueryContext_PTR)(glXQueryContext_ARG_EXPAND); -void glXQueryContextInfoEXT(glXQueryContextInfoEXT_ARG_EXPAND); +void glshim_glXQueryContextInfoEXT(glXQueryContextInfoEXT_ARG_EXPAND); typedef void (*glXQueryContextInfoEXT_PTR)(glXQueryContextInfoEXT_ARG_EXPAND); -void glXQueryDrawable(glXQueryDrawable_ARG_EXPAND); +void glshim_glXQueryDrawable(glXQueryDrawable_ARG_EXPAND); typedef void (*glXQueryDrawable_PTR)(glXQueryDrawable_ARG_EXPAND); -Bool glXQueryExtension(glXQueryExtension_ARG_EXPAND); +Bool glshim_glXQueryExtension(glXQueryExtension_ARG_EXPAND); typedef Bool (*glXQueryExtension_PTR)(glXQueryExtension_ARG_EXPAND); -const char * glXQueryExtensionsString(glXQueryExtensionsString_ARG_EXPAND); +const char * glshim_glXQueryExtensionsString(glXQueryExtensionsString_ARG_EXPAND); typedef const char * (*glXQueryExtensionsString_PTR)(glXQueryExtensionsString_ARG_EXPAND); -int glXQueryHyperpipeAttribSGIX(glXQueryHyperpipeAttribSGIX_ARG_EXPAND); +int glshim_glXQueryHyperpipeAttribSGIX(glXQueryHyperpipeAttribSGIX_ARG_EXPAND); typedef int (*glXQueryHyperpipeAttribSGIX_PTR)(glXQueryHyperpipeAttribSGIX_ARG_EXPAND); -int glXQueryHyperpipeBestAttribSGIX(glXQueryHyperpipeBestAttribSGIX_ARG_EXPAND); +int glshim_glXQueryHyperpipeBestAttribSGIX(glXQueryHyperpipeBestAttribSGIX_ARG_EXPAND); typedef int (*glXQueryHyperpipeBestAttribSGIX_PTR)(glXQueryHyperpipeBestAttribSGIX_ARG_EXPAND); -GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX(glXQueryHyperpipeConfigSGIX_ARG_EXPAND); +GLXHyperpipeConfigSGIX * glshim_glXQueryHyperpipeConfigSGIX(glXQueryHyperpipeConfigSGIX_ARG_EXPAND); typedef GLXHyperpipeConfigSGIX * (*glXQueryHyperpipeConfigSGIX_PTR)(glXQueryHyperpipeConfigSGIX_ARG_EXPAND); -GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX(glXQueryHyperpipeNetworkSGIX_ARG_EXPAND); +GLXHyperpipeNetworkSGIX * glshim_glXQueryHyperpipeNetworkSGIX(glXQueryHyperpipeNetworkSGIX_ARG_EXPAND); typedef GLXHyperpipeNetworkSGIX * (*glXQueryHyperpipeNetworkSGIX_PTR)(glXQueryHyperpipeNetworkSGIX_ARG_EXPAND); -void glXQueryMaxSwapBarriersSGIX(glXQueryMaxSwapBarriersSGIX_ARG_EXPAND); +void glshim_glXQueryMaxSwapBarriersSGIX(glXQueryMaxSwapBarriersSGIX_ARG_EXPAND); typedef void (*glXQueryMaxSwapBarriersSGIX_PTR)(glXQueryMaxSwapBarriersSGIX_ARG_EXPAND); -const char * glXQueryServerString(glXQueryServerString_ARG_EXPAND); +const char * glshim_glXQueryServerString(glXQueryServerString_ARG_EXPAND); typedef const char * (*glXQueryServerString_PTR)(glXQueryServerString_ARG_EXPAND); -Bool glXQueryVersion(glXQueryVersion_ARG_EXPAND); +Bool glshim_glXQueryVersion(glXQueryVersion_ARG_EXPAND); typedef Bool (*glXQueryVersion_PTR)(glXQueryVersion_ARG_EXPAND); -Bool glXReleaseBuffersMESA(glXReleaseBuffersMESA_ARG_EXPAND); +Bool glshim_glXReleaseBuffersMESA(glXReleaseBuffersMESA_ARG_EXPAND); typedef Bool (*glXReleaseBuffersMESA_PTR)(glXReleaseBuffersMESA_ARG_EXPAND); -void glXRender(glXRender_ARG_EXPAND); +void glshim_glXRender(glXRender_ARG_EXPAND); typedef void (*glXRender_PTR)(glXRender_ARG_EXPAND); -void glXRenderLarge(glXRenderLarge_ARG_EXPAND); +void glshim_glXRenderLarge(glXRenderLarge_ARG_EXPAND); typedef void (*glXRenderLarge_PTR)(glXRenderLarge_ARG_EXPAND); -void glXSelectEvent(glXSelectEvent_ARG_EXPAND); +void glshim_glXSelectEvent(glXSelectEvent_ARG_EXPAND); typedef void (*glXSelectEvent_PTR)(glXSelectEvent_ARG_EXPAND); -void glXSwapBuffers(glXSwapBuffers_ARG_EXPAND); +void glshim_glXSwapBuffers(glXSwapBuffers_ARG_EXPAND); typedef void (*glXSwapBuffers_PTR)(glXSwapBuffers_ARG_EXPAND); -int glXSwapIntervalMESA(glXSwapIntervalMESA_ARG_EXPAND); +int glshim_glXSwapIntervalMESA(glXSwapIntervalMESA_ARG_EXPAND); typedef int (*glXSwapIntervalMESA_PTR)(glXSwapIntervalMESA_ARG_EXPAND); -void glXSwapIntervalSGI(glXSwapIntervalSGI_ARG_EXPAND); +void glshim_glXSwapIntervalSGI(glXSwapIntervalSGI_ARG_EXPAND); typedef void (*glXSwapIntervalSGI_PTR)(glXSwapIntervalSGI_ARG_EXPAND); -void glXUseXFont(glXUseXFont_ARG_EXPAND); +void glshim_glXUseXFont(glXUseXFont_ARG_EXPAND); typedef void (*glXUseXFont_PTR)(glXUseXFont_ARG_EXPAND); -void glXVendorPrivate(glXVendorPrivate_ARG_EXPAND); +void glshim_glXVendorPrivate(glXVendorPrivate_ARG_EXPAND); typedef void (*glXVendorPrivate_PTR)(glXVendorPrivate_ARG_EXPAND); -void glXVendorPrivateWithReply(glXVendorPrivateWithReply_ARG_EXPAND); +void glshim_glXVendorPrivateWithReply(glXVendorPrivateWithReply_ARG_EXPAND); typedef void (*glXVendorPrivateWithReply_PTR)(glXVendorPrivateWithReply_ARG_EXPAND); -void glXWaitGL(glXWaitGL_ARG_EXPAND); +void glshim_glXWaitGL(glXWaitGL_ARG_EXPAND); typedef void (*glXWaitGL_PTR)(glXWaitGL_ARG_EXPAND); -void glXWaitX(glXWaitX_ARG_EXPAND); +void glshim_glXWaitX(glXWaitX_ARG_EXPAND); typedef void (*glXWaitX_PTR)(glXWaitX_ARG_EXPAND); -const char * snd_asoundlib_version(snd_asoundlib_version_ARG_EXPAND); +const char * glshim_snd_asoundlib_version(snd_asoundlib_version_ARG_EXPAND); typedef const char * (*snd_asoundlib_version_PTR)(snd_asoundlib_version_ARG_EXPAND); -int snd_async_add_ctl_handler(snd_async_add_ctl_handler_ARG_EXPAND); +int glshim_snd_async_add_ctl_handler(snd_async_add_ctl_handler_ARG_EXPAND); typedef int (*snd_async_add_ctl_handler_PTR)(snd_async_add_ctl_handler_ARG_EXPAND); -int snd_async_add_handler(snd_async_add_handler_ARG_EXPAND); +int glshim_snd_async_add_handler(snd_async_add_handler_ARG_EXPAND); typedef int (*snd_async_add_handler_PTR)(snd_async_add_handler_ARG_EXPAND); -int snd_async_add_pcm_handler(snd_async_add_pcm_handler_ARG_EXPAND); +int glshim_snd_async_add_pcm_handler(snd_async_add_pcm_handler_ARG_EXPAND); typedef int (*snd_async_add_pcm_handler_PTR)(snd_async_add_pcm_handler_ARG_EXPAND); -int snd_async_add_timer_handler(snd_async_add_timer_handler_ARG_EXPAND); +int glshim_snd_async_add_timer_handler(snd_async_add_timer_handler_ARG_EXPAND); typedef int (*snd_async_add_timer_handler_PTR)(snd_async_add_timer_handler_ARG_EXPAND); -int snd_async_del_handler(snd_async_del_handler_ARG_EXPAND); +int glshim_snd_async_del_handler(snd_async_del_handler_ARG_EXPAND); typedef int (*snd_async_del_handler_PTR)(snd_async_del_handler_ARG_EXPAND); -void * snd_async_handler_get_callback_private(snd_async_handler_get_callback_private_ARG_EXPAND); +void * glshim_snd_async_handler_get_callback_private(snd_async_handler_get_callback_private_ARG_EXPAND); typedef void * (*snd_async_handler_get_callback_private_PTR)(snd_async_handler_get_callback_private_ARG_EXPAND); -snd_ctl_t * snd_async_handler_get_ctl(snd_async_handler_get_ctl_ARG_EXPAND); +snd_ctl_t * glshim_snd_async_handler_get_ctl(snd_async_handler_get_ctl_ARG_EXPAND); typedef snd_ctl_t * (*snd_async_handler_get_ctl_PTR)(snd_async_handler_get_ctl_ARG_EXPAND); -int snd_async_handler_get_fd(snd_async_handler_get_fd_ARG_EXPAND); +int glshim_snd_async_handler_get_fd(snd_async_handler_get_fd_ARG_EXPAND); typedef int (*snd_async_handler_get_fd_PTR)(snd_async_handler_get_fd_ARG_EXPAND); -snd_pcm_t * snd_async_handler_get_pcm(snd_async_handler_get_pcm_ARG_EXPAND); +snd_pcm_t * glshim_snd_async_handler_get_pcm(snd_async_handler_get_pcm_ARG_EXPAND); typedef snd_pcm_t * (*snd_async_handler_get_pcm_PTR)(snd_async_handler_get_pcm_ARG_EXPAND); -int snd_async_handler_get_signo(snd_async_handler_get_signo_ARG_EXPAND); +int glshim_snd_async_handler_get_signo(snd_async_handler_get_signo_ARG_EXPAND); typedef int (*snd_async_handler_get_signo_PTR)(snd_async_handler_get_signo_ARG_EXPAND); -snd_timer_t * snd_async_handler_get_timer(snd_async_handler_get_timer_ARG_EXPAND); +snd_timer_t * glshim_snd_async_handler_get_timer(snd_async_handler_get_timer_ARG_EXPAND); typedef snd_timer_t * (*snd_async_handler_get_timer_PTR)(snd_async_handler_get_timer_ARG_EXPAND); -int snd_card_get_index(snd_card_get_index_ARG_EXPAND); +int glshim_snd_card_get_index(snd_card_get_index_ARG_EXPAND); typedef int (*snd_card_get_index_PTR)(snd_card_get_index_ARG_EXPAND); -int snd_card_get_longname(snd_card_get_longname_ARG_EXPAND); +int glshim_snd_card_get_longname(snd_card_get_longname_ARG_EXPAND); typedef int (*snd_card_get_longname_PTR)(snd_card_get_longname_ARG_EXPAND); -int snd_card_get_name(snd_card_get_name_ARG_EXPAND); +int glshim_snd_card_get_name(snd_card_get_name_ARG_EXPAND); typedef int (*snd_card_get_name_PTR)(snd_card_get_name_ARG_EXPAND); -int snd_card_load(snd_card_load_ARG_EXPAND); +int glshim_snd_card_load(snd_card_load_ARG_EXPAND); typedef int (*snd_card_load_PTR)(snd_card_load_ARG_EXPAND); -int snd_card_next(snd_card_next_ARG_EXPAND); +int glshim_snd_card_next(snd_card_next_ARG_EXPAND); typedef int (*snd_card_next_PTR)(snd_card_next_ARG_EXPAND); -int snd_config_add(snd_config_add_ARG_EXPAND); +int glshim_snd_config_add(snd_config_add_ARG_EXPAND); typedef int (*snd_config_add_PTR)(snd_config_add_ARG_EXPAND); -int snd_config_copy(snd_config_copy_ARG_EXPAND); +int glshim_snd_config_copy(snd_config_copy_ARG_EXPAND); typedef int (*snd_config_copy_PTR)(snd_config_copy_ARG_EXPAND); -int snd_config_delete(snd_config_delete_ARG_EXPAND); +int glshim_snd_config_delete(snd_config_delete_ARG_EXPAND); typedef int (*snd_config_delete_PTR)(snd_config_delete_ARG_EXPAND); -int snd_config_delete_compound_members(snd_config_delete_compound_members_ARG_EXPAND); +int glshim_snd_config_delete_compound_members(snd_config_delete_compound_members_ARG_EXPAND); typedef int (*snd_config_delete_compound_members_PTR)(snd_config_delete_compound_members_ARG_EXPAND); -int snd_config_evaluate(snd_config_evaluate_ARG_EXPAND); +int glshim_snd_config_evaluate(snd_config_evaluate_ARG_EXPAND); typedef int (*snd_config_evaluate_PTR)(snd_config_evaluate_ARG_EXPAND); -int snd_config_expand(snd_config_expand_ARG_EXPAND); +int glshim_snd_config_expand(snd_config_expand_ARG_EXPAND); typedef int (*snd_config_expand_PTR)(snd_config_expand_ARG_EXPAND); -int snd_config_get_ascii(snd_config_get_ascii_ARG_EXPAND); +int glshim_snd_config_get_ascii(snd_config_get_ascii_ARG_EXPAND); typedef int (*snd_config_get_ascii_PTR)(snd_config_get_ascii_ARG_EXPAND); -int snd_config_get_bool(snd_config_get_bool_ARG_EXPAND); +int glshim_snd_config_get_bool(snd_config_get_bool_ARG_EXPAND); typedef int (*snd_config_get_bool_PTR)(snd_config_get_bool_ARG_EXPAND); -int snd_config_get_bool_ascii(snd_config_get_bool_ascii_ARG_EXPAND); +int glshim_snd_config_get_bool_ascii(snd_config_get_bool_ascii_ARG_EXPAND); typedef int (*snd_config_get_bool_ascii_PTR)(snd_config_get_bool_ascii_ARG_EXPAND); -int snd_config_get_ctl_iface(snd_config_get_ctl_iface_ARG_EXPAND); +int glshim_snd_config_get_ctl_iface(snd_config_get_ctl_iface_ARG_EXPAND); typedef int (*snd_config_get_ctl_iface_PTR)(snd_config_get_ctl_iface_ARG_EXPAND); -int snd_config_get_ctl_iface_ascii(snd_config_get_ctl_iface_ascii_ARG_EXPAND); +int glshim_snd_config_get_ctl_iface_ascii(snd_config_get_ctl_iface_ascii_ARG_EXPAND); typedef int (*snd_config_get_ctl_iface_ascii_PTR)(snd_config_get_ctl_iface_ascii_ARG_EXPAND); -int snd_config_get_id(snd_config_get_id_ARG_EXPAND); +int glshim_snd_config_get_id(snd_config_get_id_ARG_EXPAND); typedef int (*snd_config_get_id_PTR)(snd_config_get_id_ARG_EXPAND); -int snd_config_get_integer(snd_config_get_integer_ARG_EXPAND); +int glshim_snd_config_get_integer(snd_config_get_integer_ARG_EXPAND); typedef int (*snd_config_get_integer_PTR)(snd_config_get_integer_ARG_EXPAND); -int snd_config_get_integer64(snd_config_get_integer64_ARG_EXPAND); +int glshim_snd_config_get_integer64(snd_config_get_integer64_ARG_EXPAND); typedef int (*snd_config_get_integer64_PTR)(snd_config_get_integer64_ARG_EXPAND); -int snd_config_get_ireal(snd_config_get_ireal_ARG_EXPAND); +int glshim_snd_config_get_ireal(snd_config_get_ireal_ARG_EXPAND); typedef int (*snd_config_get_ireal_PTR)(snd_config_get_ireal_ARG_EXPAND); -int snd_config_get_pointer(snd_config_get_pointer_ARG_EXPAND); +int glshim_snd_config_get_pointer(snd_config_get_pointer_ARG_EXPAND); typedef int (*snd_config_get_pointer_PTR)(snd_config_get_pointer_ARG_EXPAND); -int snd_config_get_real(snd_config_get_real_ARG_EXPAND); +int glshim_snd_config_get_real(snd_config_get_real_ARG_EXPAND); typedef int (*snd_config_get_real_PTR)(snd_config_get_real_ARG_EXPAND); -int snd_config_get_string(snd_config_get_string_ARG_EXPAND); +int glshim_snd_config_get_string(snd_config_get_string_ARG_EXPAND); typedef int (*snd_config_get_string_PTR)(snd_config_get_string_ARG_EXPAND); -snd_config_type_t snd_config_get_type(snd_config_get_type_ARG_EXPAND); +snd_config_type_t glshim_snd_config_get_type(snd_config_get_type_ARG_EXPAND); typedef snd_config_type_t (*snd_config_get_type_PTR)(snd_config_get_type_ARG_EXPAND); -int snd_config_imake_integer(snd_config_imake_integer_ARG_EXPAND); +int glshim_snd_config_imake_integer(snd_config_imake_integer_ARG_EXPAND); typedef int (*snd_config_imake_integer_PTR)(snd_config_imake_integer_ARG_EXPAND); -int snd_config_imake_integer64(snd_config_imake_integer64_ARG_EXPAND); +int glshim_snd_config_imake_integer64(snd_config_imake_integer64_ARG_EXPAND); typedef int (*snd_config_imake_integer64_PTR)(snd_config_imake_integer64_ARG_EXPAND); -int snd_config_imake_pointer(snd_config_imake_pointer_ARG_EXPAND); +int glshim_snd_config_imake_pointer(snd_config_imake_pointer_ARG_EXPAND); typedef int (*snd_config_imake_pointer_PTR)(snd_config_imake_pointer_ARG_EXPAND); -int snd_config_imake_real(snd_config_imake_real_ARG_EXPAND); +int glshim_snd_config_imake_real(snd_config_imake_real_ARG_EXPAND); typedef int (*snd_config_imake_real_PTR)(snd_config_imake_real_ARG_EXPAND); -int snd_config_imake_string(snd_config_imake_string_ARG_EXPAND); +int glshim_snd_config_imake_string(snd_config_imake_string_ARG_EXPAND); typedef int (*snd_config_imake_string_PTR)(snd_config_imake_string_ARG_EXPAND); -snd_config_iterator_t snd_config_iterator_end(snd_config_iterator_end_ARG_EXPAND); +snd_config_iterator_t glshim_snd_config_iterator_end(snd_config_iterator_end_ARG_EXPAND); typedef snd_config_iterator_t (*snd_config_iterator_end_PTR)(snd_config_iterator_end_ARG_EXPAND); -snd_config_t * snd_config_iterator_entry(snd_config_iterator_entry_ARG_EXPAND); +snd_config_t * glshim_snd_config_iterator_entry(snd_config_iterator_entry_ARG_EXPAND); typedef snd_config_t * (*snd_config_iterator_entry_PTR)(snd_config_iterator_entry_ARG_EXPAND); -snd_config_iterator_t snd_config_iterator_first(snd_config_iterator_first_ARG_EXPAND); +snd_config_iterator_t glshim_snd_config_iterator_first(snd_config_iterator_first_ARG_EXPAND); typedef snd_config_iterator_t (*snd_config_iterator_first_PTR)(snd_config_iterator_first_ARG_EXPAND); -snd_config_iterator_t snd_config_iterator_next(snd_config_iterator_next_ARG_EXPAND); +snd_config_iterator_t glshim_snd_config_iterator_next(snd_config_iterator_next_ARG_EXPAND); typedef snd_config_iterator_t (*snd_config_iterator_next_PTR)(snd_config_iterator_next_ARG_EXPAND); -int snd_config_load(snd_config_load_ARG_EXPAND); +int glshim_snd_config_load(snd_config_load_ARG_EXPAND); typedef int (*snd_config_load_PTR)(snd_config_load_ARG_EXPAND); -int snd_config_load_override(snd_config_load_override_ARG_EXPAND); +int glshim_snd_config_load_override(snd_config_load_override_ARG_EXPAND); typedef int (*snd_config_load_override_PTR)(snd_config_load_override_ARG_EXPAND); -int snd_config_make(snd_config_make_ARG_EXPAND); +int glshim_snd_config_make(snd_config_make_ARG_EXPAND); typedef int (*snd_config_make_PTR)(snd_config_make_ARG_EXPAND); -int snd_config_make_compound(snd_config_make_compound_ARG_EXPAND); +int glshim_snd_config_make_compound(snd_config_make_compound_ARG_EXPAND); typedef int (*snd_config_make_compound_PTR)(snd_config_make_compound_ARG_EXPAND); -int snd_config_make_integer(snd_config_make_integer_ARG_EXPAND); +int glshim_snd_config_make_integer(snd_config_make_integer_ARG_EXPAND); typedef int (*snd_config_make_integer_PTR)(snd_config_make_integer_ARG_EXPAND); -int snd_config_make_integer64(snd_config_make_integer64_ARG_EXPAND); +int glshim_snd_config_make_integer64(snd_config_make_integer64_ARG_EXPAND); typedef int (*snd_config_make_integer64_PTR)(snd_config_make_integer64_ARG_EXPAND); -int snd_config_make_pointer(snd_config_make_pointer_ARG_EXPAND); +int glshim_snd_config_make_pointer(snd_config_make_pointer_ARG_EXPAND); typedef int (*snd_config_make_pointer_PTR)(snd_config_make_pointer_ARG_EXPAND); -int snd_config_make_real(snd_config_make_real_ARG_EXPAND); +int glshim_snd_config_make_real(snd_config_make_real_ARG_EXPAND); typedef int (*snd_config_make_real_PTR)(snd_config_make_real_ARG_EXPAND); -int snd_config_make_string(snd_config_make_string_ARG_EXPAND); +int glshim_snd_config_make_string(snd_config_make_string_ARG_EXPAND); typedef int (*snd_config_make_string_PTR)(snd_config_make_string_ARG_EXPAND); -int snd_config_save(snd_config_save_ARG_EXPAND); +int glshim_snd_config_save(snd_config_save_ARG_EXPAND); typedef int (*snd_config_save_PTR)(snd_config_save_ARG_EXPAND); -int snd_config_search(snd_config_search_ARG_EXPAND); +int glshim_snd_config_search(snd_config_search_ARG_EXPAND); typedef int (*snd_config_search_PTR)(snd_config_search_ARG_EXPAND); -int snd_config_search_definition(snd_config_search_definition_ARG_EXPAND); +int glshim_snd_config_search_definition(snd_config_search_definition_ARG_EXPAND); typedef int (*snd_config_search_definition_PTR)(snd_config_search_definition_ARG_EXPAND); -int snd_config_set_ascii(snd_config_set_ascii_ARG_EXPAND); +int glshim_snd_config_set_ascii(snd_config_set_ascii_ARG_EXPAND); typedef int (*snd_config_set_ascii_PTR)(snd_config_set_ascii_ARG_EXPAND); -int snd_config_set_id(snd_config_set_id_ARG_EXPAND); +int glshim_snd_config_set_id(snd_config_set_id_ARG_EXPAND); typedef int (*snd_config_set_id_PTR)(snd_config_set_id_ARG_EXPAND); -int snd_config_set_integer(snd_config_set_integer_ARG_EXPAND); +int glshim_snd_config_set_integer(snd_config_set_integer_ARG_EXPAND); typedef int (*snd_config_set_integer_PTR)(snd_config_set_integer_ARG_EXPAND); -int snd_config_set_integer64(snd_config_set_integer64_ARG_EXPAND); +int glshim_snd_config_set_integer64(snd_config_set_integer64_ARG_EXPAND); typedef int (*snd_config_set_integer64_PTR)(snd_config_set_integer64_ARG_EXPAND); -int snd_config_set_pointer(snd_config_set_pointer_ARG_EXPAND); +int glshim_snd_config_set_pointer(snd_config_set_pointer_ARG_EXPAND); typedef int (*snd_config_set_pointer_PTR)(snd_config_set_pointer_ARG_EXPAND); -int snd_config_set_real(snd_config_set_real_ARG_EXPAND); +int glshim_snd_config_set_real(snd_config_set_real_ARG_EXPAND); typedef int (*snd_config_set_real_PTR)(snd_config_set_real_ARG_EXPAND); -int snd_config_set_string(snd_config_set_string_ARG_EXPAND); +int glshim_snd_config_set_string(snd_config_set_string_ARG_EXPAND); typedef int (*snd_config_set_string_PTR)(snd_config_set_string_ARG_EXPAND); -int snd_config_test_id(snd_config_test_id_ARG_EXPAND); +int glshim_snd_config_test_id(snd_config_test_id_ARG_EXPAND); typedef int (*snd_config_test_id_PTR)(snd_config_test_id_ARG_EXPAND); -int snd_config_top(snd_config_top_ARG_EXPAND); +int glshim_snd_config_top(snd_config_top_ARG_EXPAND); typedef int (*snd_config_top_PTR)(snd_config_top_ARG_EXPAND); -int snd_config_update(snd_config_update_ARG_EXPAND); +int glshim_snd_config_update(snd_config_update_ARG_EXPAND); typedef int (*snd_config_update_PTR)(snd_config_update_ARG_EXPAND); -int snd_config_update_free(snd_config_update_free_ARG_EXPAND); +int glshim_snd_config_update_free(snd_config_update_free_ARG_EXPAND); typedef int (*snd_config_update_free_PTR)(snd_config_update_free_ARG_EXPAND); -int snd_config_update_free_global(snd_config_update_free_global_ARG_EXPAND); +int glshim_snd_config_update_free_global(snd_config_update_free_global_ARG_EXPAND); typedef int (*snd_config_update_free_global_PTR)(snd_config_update_free_global_ARG_EXPAND); -int snd_config_update_r(snd_config_update_r_ARG_EXPAND); +int glshim_snd_config_update_r(snd_config_update_r_ARG_EXPAND); typedef int (*snd_config_update_r_PTR)(snd_config_update_r_ARG_EXPAND); -int snd_ctl_card_info(snd_ctl_card_info_ARG_EXPAND); +int glshim_snd_ctl_card_info(snd_ctl_card_info_ARG_EXPAND); typedef int (*snd_ctl_card_info_PTR)(snd_ctl_card_info_ARG_EXPAND); -void snd_ctl_card_info_clear(snd_ctl_card_info_clear_ARG_EXPAND); +void glshim_snd_ctl_card_info_clear(snd_ctl_card_info_clear_ARG_EXPAND); typedef void (*snd_ctl_card_info_clear_PTR)(snd_ctl_card_info_clear_ARG_EXPAND); -void snd_ctl_card_info_copy(snd_ctl_card_info_copy_ARG_EXPAND); +void glshim_snd_ctl_card_info_copy(snd_ctl_card_info_copy_ARG_EXPAND); typedef void (*snd_ctl_card_info_copy_PTR)(snd_ctl_card_info_copy_ARG_EXPAND); -void snd_ctl_card_info_free(snd_ctl_card_info_free_ARG_EXPAND); +void glshim_snd_ctl_card_info_free(snd_ctl_card_info_free_ARG_EXPAND); typedef void (*snd_ctl_card_info_free_PTR)(snd_ctl_card_info_free_ARG_EXPAND); -int snd_ctl_card_info_get_card(snd_ctl_card_info_get_card_ARG_EXPAND); +int glshim_snd_ctl_card_info_get_card(snd_ctl_card_info_get_card_ARG_EXPAND); typedef int (*snd_ctl_card_info_get_card_PTR)(snd_ctl_card_info_get_card_ARG_EXPAND); -const char * snd_ctl_card_info_get_components(snd_ctl_card_info_get_components_ARG_EXPAND); +const char * glshim_snd_ctl_card_info_get_components(snd_ctl_card_info_get_components_ARG_EXPAND); typedef const char * (*snd_ctl_card_info_get_components_PTR)(snd_ctl_card_info_get_components_ARG_EXPAND); -const char * snd_ctl_card_info_get_driver(snd_ctl_card_info_get_driver_ARG_EXPAND); +const char * glshim_snd_ctl_card_info_get_driver(snd_ctl_card_info_get_driver_ARG_EXPAND); typedef const char * (*snd_ctl_card_info_get_driver_PTR)(snd_ctl_card_info_get_driver_ARG_EXPAND); -const char * snd_ctl_card_info_get_id(snd_ctl_card_info_get_id_ARG_EXPAND); +const char * glshim_snd_ctl_card_info_get_id(snd_ctl_card_info_get_id_ARG_EXPAND); typedef const char * (*snd_ctl_card_info_get_id_PTR)(snd_ctl_card_info_get_id_ARG_EXPAND); -const char * snd_ctl_card_info_get_longname(snd_ctl_card_info_get_longname_ARG_EXPAND); +const char * glshim_snd_ctl_card_info_get_longname(snd_ctl_card_info_get_longname_ARG_EXPAND); typedef const char * (*snd_ctl_card_info_get_longname_PTR)(snd_ctl_card_info_get_longname_ARG_EXPAND); -const char * snd_ctl_card_info_get_mixername(snd_ctl_card_info_get_mixername_ARG_EXPAND); +const char * glshim_snd_ctl_card_info_get_mixername(snd_ctl_card_info_get_mixername_ARG_EXPAND); typedef const char * (*snd_ctl_card_info_get_mixername_PTR)(snd_ctl_card_info_get_mixername_ARG_EXPAND); -const char * snd_ctl_card_info_get_name(snd_ctl_card_info_get_name_ARG_EXPAND); +const char * glshim_snd_ctl_card_info_get_name(snd_ctl_card_info_get_name_ARG_EXPAND); typedef const char * (*snd_ctl_card_info_get_name_PTR)(snd_ctl_card_info_get_name_ARG_EXPAND); -int snd_ctl_card_info_malloc(snd_ctl_card_info_malloc_ARG_EXPAND); +int glshim_snd_ctl_card_info_malloc(snd_ctl_card_info_malloc_ARG_EXPAND); typedef int (*snd_ctl_card_info_malloc_PTR)(snd_ctl_card_info_malloc_ARG_EXPAND); -size_t snd_ctl_card_info_sizeof(snd_ctl_card_info_sizeof_ARG_EXPAND); +size_t glshim_snd_ctl_card_info_sizeof(snd_ctl_card_info_sizeof_ARG_EXPAND); typedef size_t (*snd_ctl_card_info_sizeof_PTR)(snd_ctl_card_info_sizeof_ARG_EXPAND); -int snd_ctl_close(snd_ctl_close_ARG_EXPAND); +int glshim_snd_ctl_close(snd_ctl_close_ARG_EXPAND); typedef int (*snd_ctl_close_PTR)(snd_ctl_close_ARG_EXPAND); -int snd_ctl_elem_add_boolean(snd_ctl_elem_add_boolean_ARG_EXPAND); +int glshim_snd_ctl_elem_add_boolean(snd_ctl_elem_add_boolean_ARG_EXPAND); typedef int (*snd_ctl_elem_add_boolean_PTR)(snd_ctl_elem_add_boolean_ARG_EXPAND); -int snd_ctl_elem_add_iec958(snd_ctl_elem_add_iec958_ARG_EXPAND); +int glshim_snd_ctl_elem_add_iec958(snd_ctl_elem_add_iec958_ARG_EXPAND); typedef int (*snd_ctl_elem_add_iec958_PTR)(snd_ctl_elem_add_iec958_ARG_EXPAND); -int snd_ctl_elem_add_integer(snd_ctl_elem_add_integer_ARG_EXPAND); +int glshim_snd_ctl_elem_add_integer(snd_ctl_elem_add_integer_ARG_EXPAND); typedef int (*snd_ctl_elem_add_integer_PTR)(snd_ctl_elem_add_integer_ARG_EXPAND); -int snd_ctl_elem_add_integer64(snd_ctl_elem_add_integer64_ARG_EXPAND); +int glshim_snd_ctl_elem_add_integer64(snd_ctl_elem_add_integer64_ARG_EXPAND); typedef int (*snd_ctl_elem_add_integer64_PTR)(snd_ctl_elem_add_integer64_ARG_EXPAND); -void snd_ctl_elem_id_clear(snd_ctl_elem_id_clear_ARG_EXPAND); +void glshim_snd_ctl_elem_id_clear(snd_ctl_elem_id_clear_ARG_EXPAND); typedef void (*snd_ctl_elem_id_clear_PTR)(snd_ctl_elem_id_clear_ARG_EXPAND); -void snd_ctl_elem_id_copy(snd_ctl_elem_id_copy_ARG_EXPAND); +void glshim_snd_ctl_elem_id_copy(snd_ctl_elem_id_copy_ARG_EXPAND); typedef void (*snd_ctl_elem_id_copy_PTR)(snd_ctl_elem_id_copy_ARG_EXPAND); -void snd_ctl_elem_id_free(snd_ctl_elem_id_free_ARG_EXPAND); +void glshim_snd_ctl_elem_id_free(snd_ctl_elem_id_free_ARG_EXPAND); typedef void (*snd_ctl_elem_id_free_PTR)(snd_ctl_elem_id_free_ARG_EXPAND); -unsigned int snd_ctl_elem_id_get_device(snd_ctl_elem_id_get_device_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_id_get_device(snd_ctl_elem_id_get_device_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_id_get_device_PTR)(snd_ctl_elem_id_get_device_ARG_EXPAND); -unsigned int snd_ctl_elem_id_get_index(snd_ctl_elem_id_get_index_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_id_get_index(snd_ctl_elem_id_get_index_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_id_get_index_PTR)(snd_ctl_elem_id_get_index_ARG_EXPAND); -snd_ctl_elem_iface_t snd_ctl_elem_id_get_interface(snd_ctl_elem_id_get_interface_ARG_EXPAND); +snd_ctl_elem_iface_t glshim_snd_ctl_elem_id_get_interface(snd_ctl_elem_id_get_interface_ARG_EXPAND); typedef snd_ctl_elem_iface_t (*snd_ctl_elem_id_get_interface_PTR)(snd_ctl_elem_id_get_interface_ARG_EXPAND); -const char * snd_ctl_elem_id_get_name(snd_ctl_elem_id_get_name_ARG_EXPAND); +const char * glshim_snd_ctl_elem_id_get_name(snd_ctl_elem_id_get_name_ARG_EXPAND); typedef const char * (*snd_ctl_elem_id_get_name_PTR)(snd_ctl_elem_id_get_name_ARG_EXPAND); -unsigned int snd_ctl_elem_id_get_numid(snd_ctl_elem_id_get_numid_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_id_get_numid(snd_ctl_elem_id_get_numid_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_id_get_numid_PTR)(snd_ctl_elem_id_get_numid_ARG_EXPAND); -unsigned int snd_ctl_elem_id_get_subdevice(snd_ctl_elem_id_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_id_get_subdevice(snd_ctl_elem_id_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_id_get_subdevice_PTR)(snd_ctl_elem_id_get_subdevice_ARG_EXPAND); -int snd_ctl_elem_id_malloc(snd_ctl_elem_id_malloc_ARG_EXPAND); +int glshim_snd_ctl_elem_id_malloc(snd_ctl_elem_id_malloc_ARG_EXPAND); typedef int (*snd_ctl_elem_id_malloc_PTR)(snd_ctl_elem_id_malloc_ARG_EXPAND); -void snd_ctl_elem_id_set_device(snd_ctl_elem_id_set_device_ARG_EXPAND); +void glshim_snd_ctl_elem_id_set_device(snd_ctl_elem_id_set_device_ARG_EXPAND); typedef void (*snd_ctl_elem_id_set_device_PTR)(snd_ctl_elem_id_set_device_ARG_EXPAND); -void snd_ctl_elem_id_set_index(snd_ctl_elem_id_set_index_ARG_EXPAND); +void glshim_snd_ctl_elem_id_set_index(snd_ctl_elem_id_set_index_ARG_EXPAND); typedef void (*snd_ctl_elem_id_set_index_PTR)(snd_ctl_elem_id_set_index_ARG_EXPAND); -void snd_ctl_elem_id_set_interface(snd_ctl_elem_id_set_interface_ARG_EXPAND); +void glshim_snd_ctl_elem_id_set_interface(snd_ctl_elem_id_set_interface_ARG_EXPAND); typedef void (*snd_ctl_elem_id_set_interface_PTR)(snd_ctl_elem_id_set_interface_ARG_EXPAND); -void snd_ctl_elem_id_set_name(snd_ctl_elem_id_set_name_ARG_EXPAND); +void glshim_snd_ctl_elem_id_set_name(snd_ctl_elem_id_set_name_ARG_EXPAND); typedef void (*snd_ctl_elem_id_set_name_PTR)(snd_ctl_elem_id_set_name_ARG_EXPAND); -void snd_ctl_elem_id_set_numid(snd_ctl_elem_id_set_numid_ARG_EXPAND); +void glshim_snd_ctl_elem_id_set_numid(snd_ctl_elem_id_set_numid_ARG_EXPAND); typedef void (*snd_ctl_elem_id_set_numid_PTR)(snd_ctl_elem_id_set_numid_ARG_EXPAND); -void snd_ctl_elem_id_set_subdevice(snd_ctl_elem_id_set_subdevice_ARG_EXPAND); +void glshim_snd_ctl_elem_id_set_subdevice(snd_ctl_elem_id_set_subdevice_ARG_EXPAND); typedef void (*snd_ctl_elem_id_set_subdevice_PTR)(snd_ctl_elem_id_set_subdevice_ARG_EXPAND); -size_t snd_ctl_elem_id_sizeof(snd_ctl_elem_id_sizeof_ARG_EXPAND); +size_t glshim_snd_ctl_elem_id_sizeof(snd_ctl_elem_id_sizeof_ARG_EXPAND); typedef size_t (*snd_ctl_elem_id_sizeof_PTR)(snd_ctl_elem_id_sizeof_ARG_EXPAND); -const char * snd_ctl_elem_iface_name(snd_ctl_elem_iface_name_ARG_EXPAND); +const char * glshim_snd_ctl_elem_iface_name(snd_ctl_elem_iface_name_ARG_EXPAND); typedef const char * (*snd_ctl_elem_iface_name_PTR)(snd_ctl_elem_iface_name_ARG_EXPAND); -int snd_ctl_elem_info(snd_ctl_elem_info_ARG_EXPAND); +int glshim_snd_ctl_elem_info(snd_ctl_elem_info_ARG_EXPAND); typedef int (*snd_ctl_elem_info_PTR)(snd_ctl_elem_info_ARG_EXPAND); -void snd_ctl_elem_info_clear(snd_ctl_elem_info_clear_ARG_EXPAND); +void glshim_snd_ctl_elem_info_clear(snd_ctl_elem_info_clear_ARG_EXPAND); typedef void (*snd_ctl_elem_info_clear_PTR)(snd_ctl_elem_info_clear_ARG_EXPAND); -void snd_ctl_elem_info_copy(snd_ctl_elem_info_copy_ARG_EXPAND); +void glshim_snd_ctl_elem_info_copy(snd_ctl_elem_info_copy_ARG_EXPAND); typedef void (*snd_ctl_elem_info_copy_PTR)(snd_ctl_elem_info_copy_ARG_EXPAND); -void snd_ctl_elem_info_free(snd_ctl_elem_info_free_ARG_EXPAND); +void glshim_snd_ctl_elem_info_free(snd_ctl_elem_info_free_ARG_EXPAND); typedef void (*snd_ctl_elem_info_free_PTR)(snd_ctl_elem_info_free_ARG_EXPAND); -unsigned int snd_ctl_elem_info_get_count(snd_ctl_elem_info_get_count_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_info_get_count(snd_ctl_elem_info_get_count_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_info_get_count_PTR)(snd_ctl_elem_info_get_count_ARG_EXPAND); -unsigned int snd_ctl_elem_info_get_device(snd_ctl_elem_info_get_device_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_info_get_device(snd_ctl_elem_info_get_device_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_info_get_device_PTR)(snd_ctl_elem_info_get_device_ARG_EXPAND); -int snd_ctl_elem_info_get_dimension(snd_ctl_elem_info_get_dimension_ARG_EXPAND); +int glshim_snd_ctl_elem_info_get_dimension(snd_ctl_elem_info_get_dimension_ARG_EXPAND); typedef int (*snd_ctl_elem_info_get_dimension_PTR)(snd_ctl_elem_info_get_dimension_ARG_EXPAND); -int snd_ctl_elem_info_get_dimensions(snd_ctl_elem_info_get_dimensions_ARG_EXPAND); +int glshim_snd_ctl_elem_info_get_dimensions(snd_ctl_elem_info_get_dimensions_ARG_EXPAND); typedef int (*snd_ctl_elem_info_get_dimensions_PTR)(snd_ctl_elem_info_get_dimensions_ARG_EXPAND); -void snd_ctl_elem_info_get_id(snd_ctl_elem_info_get_id_ARG_EXPAND); +void glshim_snd_ctl_elem_info_get_id(snd_ctl_elem_info_get_id_ARG_EXPAND); typedef void (*snd_ctl_elem_info_get_id_PTR)(snd_ctl_elem_info_get_id_ARG_EXPAND); -unsigned int snd_ctl_elem_info_get_index(snd_ctl_elem_info_get_index_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_info_get_index(snd_ctl_elem_info_get_index_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_info_get_index_PTR)(snd_ctl_elem_info_get_index_ARG_EXPAND); -snd_ctl_elem_iface_t snd_ctl_elem_info_get_interface(snd_ctl_elem_info_get_interface_ARG_EXPAND); +snd_ctl_elem_iface_t glshim_snd_ctl_elem_info_get_interface(snd_ctl_elem_info_get_interface_ARG_EXPAND); typedef snd_ctl_elem_iface_t (*snd_ctl_elem_info_get_interface_PTR)(snd_ctl_elem_info_get_interface_ARG_EXPAND); -const char * snd_ctl_elem_info_get_item_name(snd_ctl_elem_info_get_item_name_ARG_EXPAND); +const char * glshim_snd_ctl_elem_info_get_item_name(snd_ctl_elem_info_get_item_name_ARG_EXPAND); typedef const char * (*snd_ctl_elem_info_get_item_name_PTR)(snd_ctl_elem_info_get_item_name_ARG_EXPAND); -unsigned int snd_ctl_elem_info_get_items(snd_ctl_elem_info_get_items_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_info_get_items(snd_ctl_elem_info_get_items_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_info_get_items_PTR)(snd_ctl_elem_info_get_items_ARG_EXPAND); -long snd_ctl_elem_info_get_max(snd_ctl_elem_info_get_max_ARG_EXPAND); +long glshim_snd_ctl_elem_info_get_max(snd_ctl_elem_info_get_max_ARG_EXPAND); typedef long (*snd_ctl_elem_info_get_max_PTR)(snd_ctl_elem_info_get_max_ARG_EXPAND); -long long snd_ctl_elem_info_get_max64(snd_ctl_elem_info_get_max64_ARG_EXPAND); +long long glshim_snd_ctl_elem_info_get_max64(snd_ctl_elem_info_get_max64_ARG_EXPAND); typedef long long (*snd_ctl_elem_info_get_max64_PTR)(snd_ctl_elem_info_get_max64_ARG_EXPAND); -long snd_ctl_elem_info_get_min(snd_ctl_elem_info_get_min_ARG_EXPAND); +long glshim_snd_ctl_elem_info_get_min(snd_ctl_elem_info_get_min_ARG_EXPAND); typedef long (*snd_ctl_elem_info_get_min_PTR)(snd_ctl_elem_info_get_min_ARG_EXPAND); -long long snd_ctl_elem_info_get_min64(snd_ctl_elem_info_get_min64_ARG_EXPAND); +long long glshim_snd_ctl_elem_info_get_min64(snd_ctl_elem_info_get_min64_ARG_EXPAND); typedef long long (*snd_ctl_elem_info_get_min64_PTR)(snd_ctl_elem_info_get_min64_ARG_EXPAND); -const char * snd_ctl_elem_info_get_name(snd_ctl_elem_info_get_name_ARG_EXPAND); +const char * glshim_snd_ctl_elem_info_get_name(snd_ctl_elem_info_get_name_ARG_EXPAND); typedef const char * (*snd_ctl_elem_info_get_name_PTR)(snd_ctl_elem_info_get_name_ARG_EXPAND); -unsigned int snd_ctl_elem_info_get_numid(snd_ctl_elem_info_get_numid_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_info_get_numid(snd_ctl_elem_info_get_numid_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_info_get_numid_PTR)(snd_ctl_elem_info_get_numid_ARG_EXPAND); -pid_t snd_ctl_elem_info_get_owner(snd_ctl_elem_info_get_owner_ARG_EXPAND); +pid_t glshim_snd_ctl_elem_info_get_owner(snd_ctl_elem_info_get_owner_ARG_EXPAND); typedef pid_t (*snd_ctl_elem_info_get_owner_PTR)(snd_ctl_elem_info_get_owner_ARG_EXPAND); -long snd_ctl_elem_info_get_step(snd_ctl_elem_info_get_step_ARG_EXPAND); +long glshim_snd_ctl_elem_info_get_step(snd_ctl_elem_info_get_step_ARG_EXPAND); typedef long (*snd_ctl_elem_info_get_step_PTR)(snd_ctl_elem_info_get_step_ARG_EXPAND); -long long snd_ctl_elem_info_get_step64(snd_ctl_elem_info_get_step64_ARG_EXPAND); +long long glshim_snd_ctl_elem_info_get_step64(snd_ctl_elem_info_get_step64_ARG_EXPAND); typedef long long (*snd_ctl_elem_info_get_step64_PTR)(snd_ctl_elem_info_get_step64_ARG_EXPAND); -unsigned int snd_ctl_elem_info_get_subdevice(snd_ctl_elem_info_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_info_get_subdevice(snd_ctl_elem_info_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_info_get_subdevice_PTR)(snd_ctl_elem_info_get_subdevice_ARG_EXPAND); -snd_ctl_elem_type_t snd_ctl_elem_info_get_type(snd_ctl_elem_info_get_type_ARG_EXPAND); +snd_ctl_elem_type_t glshim_snd_ctl_elem_info_get_type(snd_ctl_elem_info_get_type_ARG_EXPAND); typedef snd_ctl_elem_type_t (*snd_ctl_elem_info_get_type_PTR)(snd_ctl_elem_info_get_type_ARG_EXPAND); -int snd_ctl_elem_info_is_inactive(snd_ctl_elem_info_is_inactive_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_inactive(snd_ctl_elem_info_is_inactive_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_inactive_PTR)(snd_ctl_elem_info_is_inactive_ARG_EXPAND); -int snd_ctl_elem_info_is_locked(snd_ctl_elem_info_is_locked_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_locked(snd_ctl_elem_info_is_locked_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_locked_PTR)(snd_ctl_elem_info_is_locked_ARG_EXPAND); -int snd_ctl_elem_info_is_owner(snd_ctl_elem_info_is_owner_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_owner(snd_ctl_elem_info_is_owner_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_owner_PTR)(snd_ctl_elem_info_is_owner_ARG_EXPAND); -int snd_ctl_elem_info_is_readable(snd_ctl_elem_info_is_readable_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_readable(snd_ctl_elem_info_is_readable_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_readable_PTR)(snd_ctl_elem_info_is_readable_ARG_EXPAND); -int snd_ctl_elem_info_is_tlv_commandable(snd_ctl_elem_info_is_tlv_commandable_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_tlv_commandable(snd_ctl_elem_info_is_tlv_commandable_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_tlv_commandable_PTR)(snd_ctl_elem_info_is_tlv_commandable_ARG_EXPAND); -int snd_ctl_elem_info_is_tlv_readable(snd_ctl_elem_info_is_tlv_readable_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_tlv_readable(snd_ctl_elem_info_is_tlv_readable_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_tlv_readable_PTR)(snd_ctl_elem_info_is_tlv_readable_ARG_EXPAND); -int snd_ctl_elem_info_is_tlv_writable(snd_ctl_elem_info_is_tlv_writable_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_tlv_writable(snd_ctl_elem_info_is_tlv_writable_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_tlv_writable_PTR)(snd_ctl_elem_info_is_tlv_writable_ARG_EXPAND); -int snd_ctl_elem_info_is_user(snd_ctl_elem_info_is_user_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_user(snd_ctl_elem_info_is_user_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_user_PTR)(snd_ctl_elem_info_is_user_ARG_EXPAND); -int snd_ctl_elem_info_is_volatile(snd_ctl_elem_info_is_volatile_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_volatile(snd_ctl_elem_info_is_volatile_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_volatile_PTR)(snd_ctl_elem_info_is_volatile_ARG_EXPAND); -int snd_ctl_elem_info_is_writable(snd_ctl_elem_info_is_writable_ARG_EXPAND); +int glshim_snd_ctl_elem_info_is_writable(snd_ctl_elem_info_is_writable_ARG_EXPAND); typedef int (*snd_ctl_elem_info_is_writable_PTR)(snd_ctl_elem_info_is_writable_ARG_EXPAND); -int snd_ctl_elem_info_malloc(snd_ctl_elem_info_malloc_ARG_EXPAND); +int glshim_snd_ctl_elem_info_malloc(snd_ctl_elem_info_malloc_ARG_EXPAND); typedef int (*snd_ctl_elem_info_malloc_PTR)(snd_ctl_elem_info_malloc_ARG_EXPAND); -void snd_ctl_elem_info_set_device(snd_ctl_elem_info_set_device_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_device(snd_ctl_elem_info_set_device_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_device_PTR)(snd_ctl_elem_info_set_device_ARG_EXPAND); -void snd_ctl_elem_info_set_id(snd_ctl_elem_info_set_id_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_id(snd_ctl_elem_info_set_id_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_id_PTR)(snd_ctl_elem_info_set_id_ARG_EXPAND); -void snd_ctl_elem_info_set_index(snd_ctl_elem_info_set_index_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_index(snd_ctl_elem_info_set_index_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_index_PTR)(snd_ctl_elem_info_set_index_ARG_EXPAND); -void snd_ctl_elem_info_set_interface(snd_ctl_elem_info_set_interface_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_interface(snd_ctl_elem_info_set_interface_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_interface_PTR)(snd_ctl_elem_info_set_interface_ARG_EXPAND); -void snd_ctl_elem_info_set_item(snd_ctl_elem_info_set_item_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_item(snd_ctl_elem_info_set_item_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_item_PTR)(snd_ctl_elem_info_set_item_ARG_EXPAND); -void snd_ctl_elem_info_set_name(snd_ctl_elem_info_set_name_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_name(snd_ctl_elem_info_set_name_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_name_PTR)(snd_ctl_elem_info_set_name_ARG_EXPAND); -void snd_ctl_elem_info_set_numid(snd_ctl_elem_info_set_numid_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_numid(snd_ctl_elem_info_set_numid_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_numid_PTR)(snd_ctl_elem_info_set_numid_ARG_EXPAND); -void snd_ctl_elem_info_set_subdevice(snd_ctl_elem_info_set_subdevice_ARG_EXPAND); +void glshim_snd_ctl_elem_info_set_subdevice(snd_ctl_elem_info_set_subdevice_ARG_EXPAND); typedef void (*snd_ctl_elem_info_set_subdevice_PTR)(snd_ctl_elem_info_set_subdevice_ARG_EXPAND); -size_t snd_ctl_elem_info_sizeof(snd_ctl_elem_info_sizeof_ARG_EXPAND); +size_t glshim_snd_ctl_elem_info_sizeof(snd_ctl_elem_info_sizeof_ARG_EXPAND); typedef size_t (*snd_ctl_elem_info_sizeof_PTR)(snd_ctl_elem_info_sizeof_ARG_EXPAND); -int snd_ctl_elem_list(snd_ctl_elem_list_ARG_EXPAND); +int glshim_snd_ctl_elem_list(snd_ctl_elem_list_ARG_EXPAND); typedef int (*snd_ctl_elem_list_PTR)(snd_ctl_elem_list_ARG_EXPAND); -int snd_ctl_elem_list_alloc_space(snd_ctl_elem_list_alloc_space_ARG_EXPAND); +int glshim_snd_ctl_elem_list_alloc_space(snd_ctl_elem_list_alloc_space_ARG_EXPAND); typedef int (*snd_ctl_elem_list_alloc_space_PTR)(snd_ctl_elem_list_alloc_space_ARG_EXPAND); -void snd_ctl_elem_list_clear(snd_ctl_elem_list_clear_ARG_EXPAND); +void glshim_snd_ctl_elem_list_clear(snd_ctl_elem_list_clear_ARG_EXPAND); typedef void (*snd_ctl_elem_list_clear_PTR)(snd_ctl_elem_list_clear_ARG_EXPAND); -void snd_ctl_elem_list_copy(snd_ctl_elem_list_copy_ARG_EXPAND); +void glshim_snd_ctl_elem_list_copy(snd_ctl_elem_list_copy_ARG_EXPAND); typedef void (*snd_ctl_elem_list_copy_PTR)(snd_ctl_elem_list_copy_ARG_EXPAND); -void snd_ctl_elem_list_free(snd_ctl_elem_list_free_ARG_EXPAND); +void glshim_snd_ctl_elem_list_free(snd_ctl_elem_list_free_ARG_EXPAND); typedef void (*snd_ctl_elem_list_free_PTR)(snd_ctl_elem_list_free_ARG_EXPAND); -void snd_ctl_elem_list_free_space(snd_ctl_elem_list_free_space_ARG_EXPAND); +void glshim_snd_ctl_elem_list_free_space(snd_ctl_elem_list_free_space_ARG_EXPAND); typedef void (*snd_ctl_elem_list_free_space_PTR)(snd_ctl_elem_list_free_space_ARG_EXPAND); -unsigned int snd_ctl_elem_list_get_count(snd_ctl_elem_list_get_count_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_list_get_count(snd_ctl_elem_list_get_count_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_list_get_count_PTR)(snd_ctl_elem_list_get_count_ARG_EXPAND); -unsigned int snd_ctl_elem_list_get_device(snd_ctl_elem_list_get_device_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_list_get_device(snd_ctl_elem_list_get_device_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_list_get_device_PTR)(snd_ctl_elem_list_get_device_ARG_EXPAND); -void snd_ctl_elem_list_get_id(snd_ctl_elem_list_get_id_ARG_EXPAND); +void glshim_snd_ctl_elem_list_get_id(snd_ctl_elem_list_get_id_ARG_EXPAND); typedef void (*snd_ctl_elem_list_get_id_PTR)(snd_ctl_elem_list_get_id_ARG_EXPAND); -unsigned int snd_ctl_elem_list_get_index(snd_ctl_elem_list_get_index_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_list_get_index(snd_ctl_elem_list_get_index_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_list_get_index_PTR)(snd_ctl_elem_list_get_index_ARG_EXPAND); -snd_ctl_elem_iface_t snd_ctl_elem_list_get_interface(snd_ctl_elem_list_get_interface_ARG_EXPAND); +snd_ctl_elem_iface_t glshim_snd_ctl_elem_list_get_interface(snd_ctl_elem_list_get_interface_ARG_EXPAND); typedef snd_ctl_elem_iface_t (*snd_ctl_elem_list_get_interface_PTR)(snd_ctl_elem_list_get_interface_ARG_EXPAND); -const char * snd_ctl_elem_list_get_name(snd_ctl_elem_list_get_name_ARG_EXPAND); +const char * glshim_snd_ctl_elem_list_get_name(snd_ctl_elem_list_get_name_ARG_EXPAND); typedef const char * (*snd_ctl_elem_list_get_name_PTR)(snd_ctl_elem_list_get_name_ARG_EXPAND); -unsigned int snd_ctl_elem_list_get_numid(snd_ctl_elem_list_get_numid_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_list_get_numid(snd_ctl_elem_list_get_numid_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_list_get_numid_PTR)(snd_ctl_elem_list_get_numid_ARG_EXPAND); -unsigned int snd_ctl_elem_list_get_subdevice(snd_ctl_elem_list_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_list_get_subdevice(snd_ctl_elem_list_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_list_get_subdevice_PTR)(snd_ctl_elem_list_get_subdevice_ARG_EXPAND); -unsigned int snd_ctl_elem_list_get_used(snd_ctl_elem_list_get_used_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_list_get_used(snd_ctl_elem_list_get_used_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_list_get_used_PTR)(snd_ctl_elem_list_get_used_ARG_EXPAND); -int snd_ctl_elem_list_malloc(snd_ctl_elem_list_malloc_ARG_EXPAND); +int glshim_snd_ctl_elem_list_malloc(snd_ctl_elem_list_malloc_ARG_EXPAND); typedef int (*snd_ctl_elem_list_malloc_PTR)(snd_ctl_elem_list_malloc_ARG_EXPAND); -void snd_ctl_elem_list_set_offset(snd_ctl_elem_list_set_offset_ARG_EXPAND); +void glshim_snd_ctl_elem_list_set_offset(snd_ctl_elem_list_set_offset_ARG_EXPAND); typedef void (*snd_ctl_elem_list_set_offset_PTR)(snd_ctl_elem_list_set_offset_ARG_EXPAND); -size_t snd_ctl_elem_list_sizeof(snd_ctl_elem_list_sizeof_ARG_EXPAND); +size_t glshim_snd_ctl_elem_list_sizeof(snd_ctl_elem_list_sizeof_ARG_EXPAND); typedef size_t (*snd_ctl_elem_list_sizeof_PTR)(snd_ctl_elem_list_sizeof_ARG_EXPAND); -int snd_ctl_elem_lock(snd_ctl_elem_lock_ARG_EXPAND); +int glshim_snd_ctl_elem_lock(snd_ctl_elem_lock_ARG_EXPAND); typedef int (*snd_ctl_elem_lock_PTR)(snd_ctl_elem_lock_ARG_EXPAND); -int snd_ctl_elem_read(snd_ctl_elem_read_ARG_EXPAND); +int glshim_snd_ctl_elem_read(snd_ctl_elem_read_ARG_EXPAND); typedef int (*snd_ctl_elem_read_PTR)(snd_ctl_elem_read_ARG_EXPAND); -int snd_ctl_elem_remove(snd_ctl_elem_remove_ARG_EXPAND); +int glshim_snd_ctl_elem_remove(snd_ctl_elem_remove_ARG_EXPAND); typedef int (*snd_ctl_elem_remove_PTR)(snd_ctl_elem_remove_ARG_EXPAND); -void snd_ctl_elem_set_bytes(snd_ctl_elem_set_bytes_ARG_EXPAND); +void glshim_snd_ctl_elem_set_bytes(snd_ctl_elem_set_bytes_ARG_EXPAND); typedef void (*snd_ctl_elem_set_bytes_PTR)(snd_ctl_elem_set_bytes_ARG_EXPAND); -int snd_ctl_elem_tlv_command(snd_ctl_elem_tlv_command_ARG_EXPAND); +int glshim_snd_ctl_elem_tlv_command(snd_ctl_elem_tlv_command_ARG_EXPAND); typedef int (*snd_ctl_elem_tlv_command_PTR)(snd_ctl_elem_tlv_command_ARG_EXPAND); -int snd_ctl_elem_tlv_read(snd_ctl_elem_tlv_read_ARG_EXPAND); +int glshim_snd_ctl_elem_tlv_read(snd_ctl_elem_tlv_read_ARG_EXPAND); typedef int (*snd_ctl_elem_tlv_read_PTR)(snd_ctl_elem_tlv_read_ARG_EXPAND); -int snd_ctl_elem_tlv_write(snd_ctl_elem_tlv_write_ARG_EXPAND); +int glshim_snd_ctl_elem_tlv_write(snd_ctl_elem_tlv_write_ARG_EXPAND); typedef int (*snd_ctl_elem_tlv_write_PTR)(snd_ctl_elem_tlv_write_ARG_EXPAND); -const char * snd_ctl_elem_type_name(snd_ctl_elem_type_name_ARG_EXPAND); +const char * glshim_snd_ctl_elem_type_name(snd_ctl_elem_type_name_ARG_EXPAND); typedef const char * (*snd_ctl_elem_type_name_PTR)(snd_ctl_elem_type_name_ARG_EXPAND); -int snd_ctl_elem_unlock(snd_ctl_elem_unlock_ARG_EXPAND); +int glshim_snd_ctl_elem_unlock(snd_ctl_elem_unlock_ARG_EXPAND); typedef int (*snd_ctl_elem_unlock_PTR)(snd_ctl_elem_unlock_ARG_EXPAND); -void snd_ctl_elem_value_clear(snd_ctl_elem_value_clear_ARG_EXPAND); +void glshim_snd_ctl_elem_value_clear(snd_ctl_elem_value_clear_ARG_EXPAND); typedef void (*snd_ctl_elem_value_clear_PTR)(snd_ctl_elem_value_clear_ARG_EXPAND); -void snd_ctl_elem_value_copy(snd_ctl_elem_value_copy_ARG_EXPAND); +void glshim_snd_ctl_elem_value_copy(snd_ctl_elem_value_copy_ARG_EXPAND); typedef void (*snd_ctl_elem_value_copy_PTR)(snd_ctl_elem_value_copy_ARG_EXPAND); -void snd_ctl_elem_value_free(snd_ctl_elem_value_free_ARG_EXPAND); +void glshim_snd_ctl_elem_value_free(snd_ctl_elem_value_free_ARG_EXPAND); typedef void (*snd_ctl_elem_value_free_PTR)(snd_ctl_elem_value_free_ARG_EXPAND); -int snd_ctl_elem_value_get_boolean(snd_ctl_elem_value_get_boolean_ARG_EXPAND); +int glshim_snd_ctl_elem_value_get_boolean(snd_ctl_elem_value_get_boolean_ARG_EXPAND); typedef int (*snd_ctl_elem_value_get_boolean_PTR)(snd_ctl_elem_value_get_boolean_ARG_EXPAND); -unsigned char snd_ctl_elem_value_get_byte(snd_ctl_elem_value_get_byte_ARG_EXPAND); +unsigned char glshim_snd_ctl_elem_value_get_byte(snd_ctl_elem_value_get_byte_ARG_EXPAND); typedef unsigned char (*snd_ctl_elem_value_get_byte_PTR)(snd_ctl_elem_value_get_byte_ARG_EXPAND); -const void * snd_ctl_elem_value_get_bytes(snd_ctl_elem_value_get_bytes_ARG_EXPAND); +const void * glshim_snd_ctl_elem_value_get_bytes(snd_ctl_elem_value_get_bytes_ARG_EXPAND); typedef const void * (*snd_ctl_elem_value_get_bytes_PTR)(snd_ctl_elem_value_get_bytes_ARG_EXPAND); -unsigned int snd_ctl_elem_value_get_device(snd_ctl_elem_value_get_device_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_value_get_device(snd_ctl_elem_value_get_device_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_value_get_device_PTR)(snd_ctl_elem_value_get_device_ARG_EXPAND); -unsigned int snd_ctl_elem_value_get_enumerated(snd_ctl_elem_value_get_enumerated_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_value_get_enumerated(snd_ctl_elem_value_get_enumerated_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_value_get_enumerated_PTR)(snd_ctl_elem_value_get_enumerated_ARG_EXPAND); -void snd_ctl_elem_value_get_id(snd_ctl_elem_value_get_id_ARG_EXPAND); +void glshim_snd_ctl_elem_value_get_id(snd_ctl_elem_value_get_id_ARG_EXPAND); typedef void (*snd_ctl_elem_value_get_id_PTR)(snd_ctl_elem_value_get_id_ARG_EXPAND); -void snd_ctl_elem_value_get_iec958(snd_ctl_elem_value_get_iec958_ARG_EXPAND); +void glshim_snd_ctl_elem_value_get_iec958(snd_ctl_elem_value_get_iec958_ARG_EXPAND); typedef void (*snd_ctl_elem_value_get_iec958_PTR)(snd_ctl_elem_value_get_iec958_ARG_EXPAND); -unsigned int snd_ctl_elem_value_get_index(snd_ctl_elem_value_get_index_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_value_get_index(snd_ctl_elem_value_get_index_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_value_get_index_PTR)(snd_ctl_elem_value_get_index_ARG_EXPAND); -long snd_ctl_elem_value_get_integer(snd_ctl_elem_value_get_integer_ARG_EXPAND); +long glshim_snd_ctl_elem_value_get_integer(snd_ctl_elem_value_get_integer_ARG_EXPAND); typedef long (*snd_ctl_elem_value_get_integer_PTR)(snd_ctl_elem_value_get_integer_ARG_EXPAND); -long long snd_ctl_elem_value_get_integer64(snd_ctl_elem_value_get_integer64_ARG_EXPAND); +long long glshim_snd_ctl_elem_value_get_integer64(snd_ctl_elem_value_get_integer64_ARG_EXPAND); typedef long long (*snd_ctl_elem_value_get_integer64_PTR)(snd_ctl_elem_value_get_integer64_ARG_EXPAND); -snd_ctl_elem_iface_t snd_ctl_elem_value_get_interface(snd_ctl_elem_value_get_interface_ARG_EXPAND); +snd_ctl_elem_iface_t glshim_snd_ctl_elem_value_get_interface(snd_ctl_elem_value_get_interface_ARG_EXPAND); typedef snd_ctl_elem_iface_t (*snd_ctl_elem_value_get_interface_PTR)(snd_ctl_elem_value_get_interface_ARG_EXPAND); -const char * snd_ctl_elem_value_get_name(snd_ctl_elem_value_get_name_ARG_EXPAND); +const char * glshim_snd_ctl_elem_value_get_name(snd_ctl_elem_value_get_name_ARG_EXPAND); typedef const char * (*snd_ctl_elem_value_get_name_PTR)(snd_ctl_elem_value_get_name_ARG_EXPAND); -unsigned int snd_ctl_elem_value_get_numid(snd_ctl_elem_value_get_numid_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_value_get_numid(snd_ctl_elem_value_get_numid_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_value_get_numid_PTR)(snd_ctl_elem_value_get_numid_ARG_EXPAND); -unsigned int snd_ctl_elem_value_get_subdevice(snd_ctl_elem_value_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_ctl_elem_value_get_subdevice(snd_ctl_elem_value_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_ctl_elem_value_get_subdevice_PTR)(snd_ctl_elem_value_get_subdevice_ARG_EXPAND); -int snd_ctl_elem_value_malloc(snd_ctl_elem_value_malloc_ARG_EXPAND); +int glshim_snd_ctl_elem_value_malloc(snd_ctl_elem_value_malloc_ARG_EXPAND); typedef int (*snd_ctl_elem_value_malloc_PTR)(snd_ctl_elem_value_malloc_ARG_EXPAND); -void snd_ctl_elem_value_set_boolean(snd_ctl_elem_value_set_boolean_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_boolean(snd_ctl_elem_value_set_boolean_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_boolean_PTR)(snd_ctl_elem_value_set_boolean_ARG_EXPAND); -void snd_ctl_elem_value_set_byte(snd_ctl_elem_value_set_byte_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_byte(snd_ctl_elem_value_set_byte_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_byte_PTR)(snd_ctl_elem_value_set_byte_ARG_EXPAND); -void snd_ctl_elem_value_set_device(snd_ctl_elem_value_set_device_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_device(snd_ctl_elem_value_set_device_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_device_PTR)(snd_ctl_elem_value_set_device_ARG_EXPAND); -void snd_ctl_elem_value_set_enumerated(snd_ctl_elem_value_set_enumerated_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_enumerated(snd_ctl_elem_value_set_enumerated_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_enumerated_PTR)(snd_ctl_elem_value_set_enumerated_ARG_EXPAND); -void snd_ctl_elem_value_set_id(snd_ctl_elem_value_set_id_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_id(snd_ctl_elem_value_set_id_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_id_PTR)(snd_ctl_elem_value_set_id_ARG_EXPAND); -void snd_ctl_elem_value_set_iec958(snd_ctl_elem_value_set_iec958_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_iec958(snd_ctl_elem_value_set_iec958_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_iec958_PTR)(snd_ctl_elem_value_set_iec958_ARG_EXPAND); -void snd_ctl_elem_value_set_index(snd_ctl_elem_value_set_index_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_index(snd_ctl_elem_value_set_index_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_index_PTR)(snd_ctl_elem_value_set_index_ARG_EXPAND); -void snd_ctl_elem_value_set_integer(snd_ctl_elem_value_set_integer_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_integer(snd_ctl_elem_value_set_integer_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_integer_PTR)(snd_ctl_elem_value_set_integer_ARG_EXPAND); -void snd_ctl_elem_value_set_integer64(snd_ctl_elem_value_set_integer64_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_integer64(snd_ctl_elem_value_set_integer64_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_integer64_PTR)(snd_ctl_elem_value_set_integer64_ARG_EXPAND); -void snd_ctl_elem_value_set_interface(snd_ctl_elem_value_set_interface_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_interface(snd_ctl_elem_value_set_interface_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_interface_PTR)(snd_ctl_elem_value_set_interface_ARG_EXPAND); -void snd_ctl_elem_value_set_name(snd_ctl_elem_value_set_name_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_name(snd_ctl_elem_value_set_name_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_name_PTR)(snd_ctl_elem_value_set_name_ARG_EXPAND); -void snd_ctl_elem_value_set_numid(snd_ctl_elem_value_set_numid_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_numid(snd_ctl_elem_value_set_numid_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_numid_PTR)(snd_ctl_elem_value_set_numid_ARG_EXPAND); -void snd_ctl_elem_value_set_subdevice(snd_ctl_elem_value_set_subdevice_ARG_EXPAND); +void glshim_snd_ctl_elem_value_set_subdevice(snd_ctl_elem_value_set_subdevice_ARG_EXPAND); typedef void (*snd_ctl_elem_value_set_subdevice_PTR)(snd_ctl_elem_value_set_subdevice_ARG_EXPAND); -size_t snd_ctl_elem_value_sizeof(snd_ctl_elem_value_sizeof_ARG_EXPAND); +size_t glshim_snd_ctl_elem_value_sizeof(snd_ctl_elem_value_sizeof_ARG_EXPAND); typedef size_t (*snd_ctl_elem_value_sizeof_PTR)(snd_ctl_elem_value_sizeof_ARG_EXPAND); -int snd_ctl_elem_write(snd_ctl_elem_write_ARG_EXPAND); +int glshim_snd_ctl_elem_write(snd_ctl_elem_write_ARG_EXPAND); typedef int (*snd_ctl_elem_write_PTR)(snd_ctl_elem_write_ARG_EXPAND); -void snd_ctl_event_clear(snd_ctl_event_clear_ARG_EXPAND); +void glshim_snd_ctl_event_clear(snd_ctl_event_clear_ARG_EXPAND); typedef void (*snd_ctl_event_clear_PTR)(snd_ctl_event_clear_ARG_EXPAND); -void snd_ctl_event_copy(snd_ctl_event_copy_ARG_EXPAND); +void glshim_snd_ctl_event_copy(snd_ctl_event_copy_ARG_EXPAND); typedef void (*snd_ctl_event_copy_PTR)(snd_ctl_event_copy_ARG_EXPAND); -unsigned int snd_ctl_event_elem_get_device(snd_ctl_event_elem_get_device_ARG_EXPAND); +unsigned int glshim_snd_ctl_event_elem_get_device(snd_ctl_event_elem_get_device_ARG_EXPAND); typedef unsigned int (*snd_ctl_event_elem_get_device_PTR)(snd_ctl_event_elem_get_device_ARG_EXPAND); -void snd_ctl_event_elem_get_id(snd_ctl_event_elem_get_id_ARG_EXPAND); +void glshim_snd_ctl_event_elem_get_id(snd_ctl_event_elem_get_id_ARG_EXPAND); typedef void (*snd_ctl_event_elem_get_id_PTR)(snd_ctl_event_elem_get_id_ARG_EXPAND); -unsigned int snd_ctl_event_elem_get_index(snd_ctl_event_elem_get_index_ARG_EXPAND); +unsigned int glshim_snd_ctl_event_elem_get_index(snd_ctl_event_elem_get_index_ARG_EXPAND); typedef unsigned int (*snd_ctl_event_elem_get_index_PTR)(snd_ctl_event_elem_get_index_ARG_EXPAND); -snd_ctl_elem_iface_t snd_ctl_event_elem_get_interface(snd_ctl_event_elem_get_interface_ARG_EXPAND); +snd_ctl_elem_iface_t glshim_snd_ctl_event_elem_get_interface(snd_ctl_event_elem_get_interface_ARG_EXPAND); typedef snd_ctl_elem_iface_t (*snd_ctl_event_elem_get_interface_PTR)(snd_ctl_event_elem_get_interface_ARG_EXPAND); -unsigned int snd_ctl_event_elem_get_mask(snd_ctl_event_elem_get_mask_ARG_EXPAND); +unsigned int glshim_snd_ctl_event_elem_get_mask(snd_ctl_event_elem_get_mask_ARG_EXPAND); typedef unsigned int (*snd_ctl_event_elem_get_mask_PTR)(snd_ctl_event_elem_get_mask_ARG_EXPAND); -const char * snd_ctl_event_elem_get_name(snd_ctl_event_elem_get_name_ARG_EXPAND); +const char * glshim_snd_ctl_event_elem_get_name(snd_ctl_event_elem_get_name_ARG_EXPAND); typedef const char * (*snd_ctl_event_elem_get_name_PTR)(snd_ctl_event_elem_get_name_ARG_EXPAND); -unsigned int snd_ctl_event_elem_get_numid(snd_ctl_event_elem_get_numid_ARG_EXPAND); +unsigned int glshim_snd_ctl_event_elem_get_numid(snd_ctl_event_elem_get_numid_ARG_EXPAND); typedef unsigned int (*snd_ctl_event_elem_get_numid_PTR)(snd_ctl_event_elem_get_numid_ARG_EXPAND); -unsigned int snd_ctl_event_elem_get_subdevice(snd_ctl_event_elem_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_ctl_event_elem_get_subdevice(snd_ctl_event_elem_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_ctl_event_elem_get_subdevice_PTR)(snd_ctl_event_elem_get_subdevice_ARG_EXPAND); -void snd_ctl_event_free(snd_ctl_event_free_ARG_EXPAND); +void glshim_snd_ctl_event_free(snd_ctl_event_free_ARG_EXPAND); typedef void (*snd_ctl_event_free_PTR)(snd_ctl_event_free_ARG_EXPAND); -snd_ctl_event_type_t snd_ctl_event_get_type(snd_ctl_event_get_type_ARG_EXPAND); +snd_ctl_event_type_t glshim_snd_ctl_event_get_type(snd_ctl_event_get_type_ARG_EXPAND); typedef snd_ctl_event_type_t (*snd_ctl_event_get_type_PTR)(snd_ctl_event_get_type_ARG_EXPAND); -int snd_ctl_event_malloc(snd_ctl_event_malloc_ARG_EXPAND); +int glshim_snd_ctl_event_malloc(snd_ctl_event_malloc_ARG_EXPAND); typedef int (*snd_ctl_event_malloc_PTR)(snd_ctl_event_malloc_ARG_EXPAND); -size_t snd_ctl_event_sizeof(snd_ctl_event_sizeof_ARG_EXPAND); +size_t glshim_snd_ctl_event_sizeof(snd_ctl_event_sizeof_ARG_EXPAND); typedef size_t (*snd_ctl_event_sizeof_PTR)(snd_ctl_event_sizeof_ARG_EXPAND); -const char * snd_ctl_event_type_name(snd_ctl_event_type_name_ARG_EXPAND); +const char * glshim_snd_ctl_event_type_name(snd_ctl_event_type_name_ARG_EXPAND); typedef const char * (*snd_ctl_event_type_name_PTR)(snd_ctl_event_type_name_ARG_EXPAND); -int snd_ctl_get_power_state(snd_ctl_get_power_state_ARG_EXPAND); +int glshim_snd_ctl_get_power_state(snd_ctl_get_power_state_ARG_EXPAND); typedef int (*snd_ctl_get_power_state_PTR)(snd_ctl_get_power_state_ARG_EXPAND); -int snd_ctl_hwdep_info(snd_ctl_hwdep_info_ARG_EXPAND); +int glshim_snd_ctl_hwdep_info(snd_ctl_hwdep_info_ARG_EXPAND); typedef int (*snd_ctl_hwdep_info_PTR)(snd_ctl_hwdep_info_ARG_EXPAND); -int snd_ctl_hwdep_next_device(snd_ctl_hwdep_next_device_ARG_EXPAND); +int glshim_snd_ctl_hwdep_next_device(snd_ctl_hwdep_next_device_ARG_EXPAND); typedef int (*snd_ctl_hwdep_next_device_PTR)(snd_ctl_hwdep_next_device_ARG_EXPAND); -const char * snd_ctl_name(snd_ctl_name_ARG_EXPAND); +const char * glshim_snd_ctl_name(snd_ctl_name_ARG_EXPAND); typedef const char * (*snd_ctl_name_PTR)(snd_ctl_name_ARG_EXPAND); -int snd_ctl_nonblock(snd_ctl_nonblock_ARG_EXPAND); +int glshim_snd_ctl_nonblock(snd_ctl_nonblock_ARG_EXPAND); typedef int (*snd_ctl_nonblock_PTR)(snd_ctl_nonblock_ARG_EXPAND); -int snd_ctl_open(snd_ctl_open_ARG_EXPAND); +int glshim_snd_ctl_open(snd_ctl_open_ARG_EXPAND); typedef int (*snd_ctl_open_PTR)(snd_ctl_open_ARG_EXPAND); -int snd_ctl_open_lconf(snd_ctl_open_lconf_ARG_EXPAND); +int glshim_snd_ctl_open_lconf(snd_ctl_open_lconf_ARG_EXPAND); typedef int (*snd_ctl_open_lconf_PTR)(snd_ctl_open_lconf_ARG_EXPAND); -int snd_ctl_pcm_info(snd_ctl_pcm_info_ARG_EXPAND); +int glshim_snd_ctl_pcm_info(snd_ctl_pcm_info_ARG_EXPAND); typedef int (*snd_ctl_pcm_info_PTR)(snd_ctl_pcm_info_ARG_EXPAND); -int snd_ctl_pcm_next_device(snd_ctl_pcm_next_device_ARG_EXPAND); +int glshim_snd_ctl_pcm_next_device(snd_ctl_pcm_next_device_ARG_EXPAND); typedef int (*snd_ctl_pcm_next_device_PTR)(snd_ctl_pcm_next_device_ARG_EXPAND); -int snd_ctl_pcm_prefer_subdevice(snd_ctl_pcm_prefer_subdevice_ARG_EXPAND); +int glshim_snd_ctl_pcm_prefer_subdevice(snd_ctl_pcm_prefer_subdevice_ARG_EXPAND); typedef int (*snd_ctl_pcm_prefer_subdevice_PTR)(snd_ctl_pcm_prefer_subdevice_ARG_EXPAND); -int snd_ctl_poll_descriptors(snd_ctl_poll_descriptors_ARG_EXPAND); +int glshim_snd_ctl_poll_descriptors(snd_ctl_poll_descriptors_ARG_EXPAND); typedef int (*snd_ctl_poll_descriptors_PTR)(snd_ctl_poll_descriptors_ARG_EXPAND); -int snd_ctl_poll_descriptors_count(snd_ctl_poll_descriptors_count_ARG_EXPAND); +int glshim_snd_ctl_poll_descriptors_count(snd_ctl_poll_descriptors_count_ARG_EXPAND); typedef int (*snd_ctl_poll_descriptors_count_PTR)(snd_ctl_poll_descriptors_count_ARG_EXPAND); -int snd_ctl_poll_descriptors_revents(snd_ctl_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_ctl_poll_descriptors_revents(snd_ctl_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_ctl_poll_descriptors_revents_PTR)(snd_ctl_poll_descriptors_revents_ARG_EXPAND); -int snd_ctl_rawmidi_info(snd_ctl_rawmidi_info_ARG_EXPAND); +int glshim_snd_ctl_rawmidi_info(snd_ctl_rawmidi_info_ARG_EXPAND); typedef int (*snd_ctl_rawmidi_info_PTR)(snd_ctl_rawmidi_info_ARG_EXPAND); -int snd_ctl_rawmidi_next_device(snd_ctl_rawmidi_next_device_ARG_EXPAND); +int glshim_snd_ctl_rawmidi_next_device(snd_ctl_rawmidi_next_device_ARG_EXPAND); typedef int (*snd_ctl_rawmidi_next_device_PTR)(snd_ctl_rawmidi_next_device_ARG_EXPAND); -int snd_ctl_rawmidi_prefer_subdevice(snd_ctl_rawmidi_prefer_subdevice_ARG_EXPAND); +int glshim_snd_ctl_rawmidi_prefer_subdevice(snd_ctl_rawmidi_prefer_subdevice_ARG_EXPAND); typedef int (*snd_ctl_rawmidi_prefer_subdevice_PTR)(snd_ctl_rawmidi_prefer_subdevice_ARG_EXPAND); -int snd_ctl_read(snd_ctl_read_ARG_EXPAND); +int glshim_snd_ctl_read(snd_ctl_read_ARG_EXPAND); typedef int (*snd_ctl_read_PTR)(snd_ctl_read_ARG_EXPAND); -int snd_ctl_set_power_state(snd_ctl_set_power_state_ARG_EXPAND); +int glshim_snd_ctl_set_power_state(snd_ctl_set_power_state_ARG_EXPAND); typedef int (*snd_ctl_set_power_state_PTR)(snd_ctl_set_power_state_ARG_EXPAND); -int snd_ctl_subscribe_events(snd_ctl_subscribe_events_ARG_EXPAND); +int glshim_snd_ctl_subscribe_events(snd_ctl_subscribe_events_ARG_EXPAND); typedef int (*snd_ctl_subscribe_events_PTR)(snd_ctl_subscribe_events_ARG_EXPAND); -snd_ctl_type_t snd_ctl_type(snd_ctl_type_ARG_EXPAND); +snd_ctl_type_t glshim_snd_ctl_type(snd_ctl_type_ARG_EXPAND); typedef snd_ctl_type_t (*snd_ctl_type_PTR)(snd_ctl_type_ARG_EXPAND); -int snd_ctl_wait(snd_ctl_wait_ARG_EXPAND); +int glshim_snd_ctl_wait(snd_ctl_wait_ARG_EXPAND); typedef int (*snd_ctl_wait_PTR)(snd_ctl_wait_ARG_EXPAND); -int snd_dlclose(snd_dlclose_ARG_EXPAND); +int glshim_snd_dlclose(snd_dlclose_ARG_EXPAND); typedef int (*snd_dlclose_PTR)(snd_dlclose_ARG_EXPAND); -void * snd_dlopen(snd_dlopen_ARG_EXPAND); +void * glshim_snd_dlopen(snd_dlopen_ARG_EXPAND); typedef void * (*snd_dlopen_PTR)(snd_dlopen_ARG_EXPAND); -void * snd_dlsym(snd_dlsym_ARG_EXPAND); +void * glshim_snd_dlsym(snd_dlsym_ARG_EXPAND); typedef void * (*snd_dlsym_PTR)(snd_dlsym_ARG_EXPAND); -int snd_hctl_close(snd_hctl_close_ARG_EXPAND); +int glshim_snd_hctl_close(snd_hctl_close_ARG_EXPAND); typedef int (*snd_hctl_close_PTR)(snd_hctl_close_ARG_EXPAND); -int snd_hctl_compare_fast(snd_hctl_compare_fast_ARG_EXPAND); +int glshim_snd_hctl_compare_fast(snd_hctl_compare_fast_ARG_EXPAND); typedef int (*snd_hctl_compare_fast_PTR)(snd_hctl_compare_fast_ARG_EXPAND); -snd_ctl_t * snd_hctl_ctl(snd_hctl_ctl_ARG_EXPAND); +snd_ctl_t * glshim_snd_hctl_ctl(snd_hctl_ctl_ARG_EXPAND); typedef snd_ctl_t * (*snd_hctl_ctl_PTR)(snd_hctl_ctl_ARG_EXPAND); -void * snd_hctl_elem_get_callback_private(snd_hctl_elem_get_callback_private_ARG_EXPAND); +void * glshim_snd_hctl_elem_get_callback_private(snd_hctl_elem_get_callback_private_ARG_EXPAND); typedef void * (*snd_hctl_elem_get_callback_private_PTR)(snd_hctl_elem_get_callback_private_ARG_EXPAND); -unsigned int snd_hctl_elem_get_device(snd_hctl_elem_get_device_ARG_EXPAND); +unsigned int glshim_snd_hctl_elem_get_device(snd_hctl_elem_get_device_ARG_EXPAND); typedef unsigned int (*snd_hctl_elem_get_device_PTR)(snd_hctl_elem_get_device_ARG_EXPAND); -snd_hctl_t * snd_hctl_elem_get_hctl(snd_hctl_elem_get_hctl_ARG_EXPAND); +snd_hctl_t * glshim_snd_hctl_elem_get_hctl(snd_hctl_elem_get_hctl_ARG_EXPAND); typedef snd_hctl_t * (*snd_hctl_elem_get_hctl_PTR)(snd_hctl_elem_get_hctl_ARG_EXPAND); -void snd_hctl_elem_get_id(snd_hctl_elem_get_id_ARG_EXPAND); +void glshim_snd_hctl_elem_get_id(snd_hctl_elem_get_id_ARG_EXPAND); typedef void (*snd_hctl_elem_get_id_PTR)(snd_hctl_elem_get_id_ARG_EXPAND); -unsigned int snd_hctl_elem_get_index(snd_hctl_elem_get_index_ARG_EXPAND); +unsigned int glshim_snd_hctl_elem_get_index(snd_hctl_elem_get_index_ARG_EXPAND); typedef unsigned int (*snd_hctl_elem_get_index_PTR)(snd_hctl_elem_get_index_ARG_EXPAND); -snd_ctl_elem_iface_t snd_hctl_elem_get_interface(snd_hctl_elem_get_interface_ARG_EXPAND); +snd_ctl_elem_iface_t glshim_snd_hctl_elem_get_interface(snd_hctl_elem_get_interface_ARG_EXPAND); typedef snd_ctl_elem_iface_t (*snd_hctl_elem_get_interface_PTR)(snd_hctl_elem_get_interface_ARG_EXPAND); -const char * snd_hctl_elem_get_name(snd_hctl_elem_get_name_ARG_EXPAND); +const char * glshim_snd_hctl_elem_get_name(snd_hctl_elem_get_name_ARG_EXPAND); typedef const char * (*snd_hctl_elem_get_name_PTR)(snd_hctl_elem_get_name_ARG_EXPAND); -unsigned int snd_hctl_elem_get_numid(snd_hctl_elem_get_numid_ARG_EXPAND); +unsigned int glshim_snd_hctl_elem_get_numid(snd_hctl_elem_get_numid_ARG_EXPAND); typedef unsigned int (*snd_hctl_elem_get_numid_PTR)(snd_hctl_elem_get_numid_ARG_EXPAND); -unsigned int snd_hctl_elem_get_subdevice(snd_hctl_elem_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_hctl_elem_get_subdevice(snd_hctl_elem_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_hctl_elem_get_subdevice_PTR)(snd_hctl_elem_get_subdevice_ARG_EXPAND); -int snd_hctl_elem_info(snd_hctl_elem_info_ARG_EXPAND); +int glshim_snd_hctl_elem_info(snd_hctl_elem_info_ARG_EXPAND); typedef int (*snd_hctl_elem_info_PTR)(snd_hctl_elem_info_ARG_EXPAND); -snd_hctl_elem_t * snd_hctl_elem_next(snd_hctl_elem_next_ARG_EXPAND); +snd_hctl_elem_t * glshim_snd_hctl_elem_next(snd_hctl_elem_next_ARG_EXPAND); typedef snd_hctl_elem_t * (*snd_hctl_elem_next_PTR)(snd_hctl_elem_next_ARG_EXPAND); -snd_hctl_elem_t * snd_hctl_elem_prev(snd_hctl_elem_prev_ARG_EXPAND); +snd_hctl_elem_t * glshim_snd_hctl_elem_prev(snd_hctl_elem_prev_ARG_EXPAND); typedef snd_hctl_elem_t * (*snd_hctl_elem_prev_PTR)(snd_hctl_elem_prev_ARG_EXPAND); -int snd_hctl_elem_read(snd_hctl_elem_read_ARG_EXPAND); +int glshim_snd_hctl_elem_read(snd_hctl_elem_read_ARG_EXPAND); typedef int (*snd_hctl_elem_read_PTR)(snd_hctl_elem_read_ARG_EXPAND); -void snd_hctl_elem_set_callback(snd_hctl_elem_set_callback_ARG_EXPAND); +void glshim_snd_hctl_elem_set_callback(snd_hctl_elem_set_callback_ARG_EXPAND); typedef void (*snd_hctl_elem_set_callback_PTR)(snd_hctl_elem_set_callback_ARG_EXPAND); -void snd_hctl_elem_set_callback_private(snd_hctl_elem_set_callback_private_ARG_EXPAND); +void glshim_snd_hctl_elem_set_callback_private(snd_hctl_elem_set_callback_private_ARG_EXPAND); typedef void (*snd_hctl_elem_set_callback_private_PTR)(snd_hctl_elem_set_callback_private_ARG_EXPAND); -int snd_hctl_elem_tlv_command(snd_hctl_elem_tlv_command_ARG_EXPAND); +int glshim_snd_hctl_elem_tlv_command(snd_hctl_elem_tlv_command_ARG_EXPAND); typedef int (*snd_hctl_elem_tlv_command_PTR)(snd_hctl_elem_tlv_command_ARG_EXPAND); -int snd_hctl_elem_tlv_read(snd_hctl_elem_tlv_read_ARG_EXPAND); +int glshim_snd_hctl_elem_tlv_read(snd_hctl_elem_tlv_read_ARG_EXPAND); typedef int (*snd_hctl_elem_tlv_read_PTR)(snd_hctl_elem_tlv_read_ARG_EXPAND); -int snd_hctl_elem_tlv_write(snd_hctl_elem_tlv_write_ARG_EXPAND); +int glshim_snd_hctl_elem_tlv_write(snd_hctl_elem_tlv_write_ARG_EXPAND); typedef int (*snd_hctl_elem_tlv_write_PTR)(snd_hctl_elem_tlv_write_ARG_EXPAND); -int snd_hctl_elem_write(snd_hctl_elem_write_ARG_EXPAND); +int glshim_snd_hctl_elem_write(snd_hctl_elem_write_ARG_EXPAND); typedef int (*snd_hctl_elem_write_PTR)(snd_hctl_elem_write_ARG_EXPAND); -snd_hctl_elem_t * snd_hctl_find_elem(snd_hctl_find_elem_ARG_EXPAND); +snd_hctl_elem_t * glshim_snd_hctl_find_elem(snd_hctl_find_elem_ARG_EXPAND); typedef snd_hctl_elem_t * (*snd_hctl_find_elem_PTR)(snd_hctl_find_elem_ARG_EXPAND); -snd_hctl_elem_t * snd_hctl_first_elem(snd_hctl_first_elem_ARG_EXPAND); +snd_hctl_elem_t * glshim_snd_hctl_first_elem(snd_hctl_first_elem_ARG_EXPAND); typedef snd_hctl_elem_t * (*snd_hctl_first_elem_PTR)(snd_hctl_first_elem_ARG_EXPAND); -int snd_hctl_free(snd_hctl_free_ARG_EXPAND); +int glshim_snd_hctl_free(snd_hctl_free_ARG_EXPAND); typedef int (*snd_hctl_free_PTR)(snd_hctl_free_ARG_EXPAND); -void * snd_hctl_get_callback_private(snd_hctl_get_callback_private_ARG_EXPAND); +void * glshim_snd_hctl_get_callback_private(snd_hctl_get_callback_private_ARG_EXPAND); typedef void * (*snd_hctl_get_callback_private_PTR)(snd_hctl_get_callback_private_ARG_EXPAND); -unsigned int snd_hctl_get_count(snd_hctl_get_count_ARG_EXPAND); +unsigned int glshim_snd_hctl_get_count(snd_hctl_get_count_ARG_EXPAND); typedef unsigned int (*snd_hctl_get_count_PTR)(snd_hctl_get_count_ARG_EXPAND); -int snd_hctl_handle_events(snd_hctl_handle_events_ARG_EXPAND); +int glshim_snd_hctl_handle_events(snd_hctl_handle_events_ARG_EXPAND); typedef int (*snd_hctl_handle_events_PTR)(snd_hctl_handle_events_ARG_EXPAND); -snd_hctl_elem_t * snd_hctl_last_elem(snd_hctl_last_elem_ARG_EXPAND); +snd_hctl_elem_t * glshim_snd_hctl_last_elem(snd_hctl_last_elem_ARG_EXPAND); typedef snd_hctl_elem_t * (*snd_hctl_last_elem_PTR)(snd_hctl_last_elem_ARG_EXPAND); -int snd_hctl_load(snd_hctl_load_ARG_EXPAND); +int glshim_snd_hctl_load(snd_hctl_load_ARG_EXPAND); typedef int (*snd_hctl_load_PTR)(snd_hctl_load_ARG_EXPAND); -const char * snd_hctl_name(snd_hctl_name_ARG_EXPAND); +const char * glshim_snd_hctl_name(snd_hctl_name_ARG_EXPAND); typedef const char * (*snd_hctl_name_PTR)(snd_hctl_name_ARG_EXPAND); -int snd_hctl_nonblock(snd_hctl_nonblock_ARG_EXPAND); +int glshim_snd_hctl_nonblock(snd_hctl_nonblock_ARG_EXPAND); typedef int (*snd_hctl_nonblock_PTR)(snd_hctl_nonblock_ARG_EXPAND); -int snd_hctl_open(snd_hctl_open_ARG_EXPAND); +int glshim_snd_hctl_open(snd_hctl_open_ARG_EXPAND); typedef int (*snd_hctl_open_PTR)(snd_hctl_open_ARG_EXPAND); -int snd_hctl_open_ctl(snd_hctl_open_ctl_ARG_EXPAND); +int glshim_snd_hctl_open_ctl(snd_hctl_open_ctl_ARG_EXPAND); typedef int (*snd_hctl_open_ctl_PTR)(snd_hctl_open_ctl_ARG_EXPAND); -int snd_hctl_poll_descriptors(snd_hctl_poll_descriptors_ARG_EXPAND); +int glshim_snd_hctl_poll_descriptors(snd_hctl_poll_descriptors_ARG_EXPAND); typedef int (*snd_hctl_poll_descriptors_PTR)(snd_hctl_poll_descriptors_ARG_EXPAND); -int snd_hctl_poll_descriptors_count(snd_hctl_poll_descriptors_count_ARG_EXPAND); +int glshim_snd_hctl_poll_descriptors_count(snd_hctl_poll_descriptors_count_ARG_EXPAND); typedef int (*snd_hctl_poll_descriptors_count_PTR)(snd_hctl_poll_descriptors_count_ARG_EXPAND); -int snd_hctl_poll_descriptors_revents(snd_hctl_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_hctl_poll_descriptors_revents(snd_hctl_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_hctl_poll_descriptors_revents_PTR)(snd_hctl_poll_descriptors_revents_ARG_EXPAND); -void snd_hctl_set_callback(snd_hctl_set_callback_ARG_EXPAND); +void glshim_snd_hctl_set_callback(snd_hctl_set_callback_ARG_EXPAND); typedef void (*snd_hctl_set_callback_PTR)(snd_hctl_set_callback_ARG_EXPAND); -void snd_hctl_set_callback_private(snd_hctl_set_callback_private_ARG_EXPAND); +void glshim_snd_hctl_set_callback_private(snd_hctl_set_callback_private_ARG_EXPAND); typedef void (*snd_hctl_set_callback_private_PTR)(snd_hctl_set_callback_private_ARG_EXPAND); -int snd_hctl_set_compare(snd_hctl_set_compare_ARG_EXPAND); +int glshim_snd_hctl_set_compare(snd_hctl_set_compare_ARG_EXPAND); typedef int (*snd_hctl_set_compare_PTR)(snd_hctl_set_compare_ARG_EXPAND); -int snd_hctl_wait(snd_hctl_wait_ARG_EXPAND); +int glshim_snd_hctl_wait(snd_hctl_wait_ARG_EXPAND); typedef int (*snd_hctl_wait_PTR)(snd_hctl_wait_ARG_EXPAND); -int snd_hwdep_close(snd_hwdep_close_ARG_EXPAND); +int glshim_snd_hwdep_close(snd_hwdep_close_ARG_EXPAND); typedef int (*snd_hwdep_close_PTR)(snd_hwdep_close_ARG_EXPAND); -void snd_hwdep_dsp_image_copy(snd_hwdep_dsp_image_copy_ARG_EXPAND); +void glshim_snd_hwdep_dsp_image_copy(snd_hwdep_dsp_image_copy_ARG_EXPAND); typedef void (*snd_hwdep_dsp_image_copy_PTR)(snd_hwdep_dsp_image_copy_ARG_EXPAND); -void snd_hwdep_dsp_image_free(snd_hwdep_dsp_image_free_ARG_EXPAND); +void glshim_snd_hwdep_dsp_image_free(snd_hwdep_dsp_image_free_ARG_EXPAND); typedef void (*snd_hwdep_dsp_image_free_PTR)(snd_hwdep_dsp_image_free_ARG_EXPAND); -const void * snd_hwdep_dsp_image_get_image(snd_hwdep_dsp_image_get_image_ARG_EXPAND); +const void * glshim_snd_hwdep_dsp_image_get_image(snd_hwdep_dsp_image_get_image_ARG_EXPAND); typedef const void * (*snd_hwdep_dsp_image_get_image_PTR)(snd_hwdep_dsp_image_get_image_ARG_EXPAND); -unsigned int snd_hwdep_dsp_image_get_index(snd_hwdep_dsp_image_get_index_ARG_EXPAND); +unsigned int glshim_snd_hwdep_dsp_image_get_index(snd_hwdep_dsp_image_get_index_ARG_EXPAND); typedef unsigned int (*snd_hwdep_dsp_image_get_index_PTR)(snd_hwdep_dsp_image_get_index_ARG_EXPAND); -size_t snd_hwdep_dsp_image_get_length(snd_hwdep_dsp_image_get_length_ARG_EXPAND); +size_t glshim_snd_hwdep_dsp_image_get_length(snd_hwdep_dsp_image_get_length_ARG_EXPAND); typedef size_t (*snd_hwdep_dsp_image_get_length_PTR)(snd_hwdep_dsp_image_get_length_ARG_EXPAND); -const char * snd_hwdep_dsp_image_get_name(snd_hwdep_dsp_image_get_name_ARG_EXPAND); +const char * glshim_snd_hwdep_dsp_image_get_name(snd_hwdep_dsp_image_get_name_ARG_EXPAND); typedef const char * (*snd_hwdep_dsp_image_get_name_PTR)(snd_hwdep_dsp_image_get_name_ARG_EXPAND); -int snd_hwdep_dsp_image_malloc(snd_hwdep_dsp_image_malloc_ARG_EXPAND); +int glshim_snd_hwdep_dsp_image_malloc(snd_hwdep_dsp_image_malloc_ARG_EXPAND); typedef int (*snd_hwdep_dsp_image_malloc_PTR)(snd_hwdep_dsp_image_malloc_ARG_EXPAND); -void snd_hwdep_dsp_image_set_image(snd_hwdep_dsp_image_set_image_ARG_EXPAND); +void glshim_snd_hwdep_dsp_image_set_image(snd_hwdep_dsp_image_set_image_ARG_EXPAND); typedef void (*snd_hwdep_dsp_image_set_image_PTR)(snd_hwdep_dsp_image_set_image_ARG_EXPAND); -void snd_hwdep_dsp_image_set_index(snd_hwdep_dsp_image_set_index_ARG_EXPAND); +void glshim_snd_hwdep_dsp_image_set_index(snd_hwdep_dsp_image_set_index_ARG_EXPAND); typedef void (*snd_hwdep_dsp_image_set_index_PTR)(snd_hwdep_dsp_image_set_index_ARG_EXPAND); -void snd_hwdep_dsp_image_set_length(snd_hwdep_dsp_image_set_length_ARG_EXPAND); +void glshim_snd_hwdep_dsp_image_set_length(snd_hwdep_dsp_image_set_length_ARG_EXPAND); typedef void (*snd_hwdep_dsp_image_set_length_PTR)(snd_hwdep_dsp_image_set_length_ARG_EXPAND); -void snd_hwdep_dsp_image_set_name(snd_hwdep_dsp_image_set_name_ARG_EXPAND); +void glshim_snd_hwdep_dsp_image_set_name(snd_hwdep_dsp_image_set_name_ARG_EXPAND); typedef void (*snd_hwdep_dsp_image_set_name_PTR)(snd_hwdep_dsp_image_set_name_ARG_EXPAND); -size_t snd_hwdep_dsp_image_sizeof(snd_hwdep_dsp_image_sizeof_ARG_EXPAND); +size_t glshim_snd_hwdep_dsp_image_sizeof(snd_hwdep_dsp_image_sizeof_ARG_EXPAND); typedef size_t (*snd_hwdep_dsp_image_sizeof_PTR)(snd_hwdep_dsp_image_sizeof_ARG_EXPAND); -int snd_hwdep_dsp_load(snd_hwdep_dsp_load_ARG_EXPAND); +int glshim_snd_hwdep_dsp_load(snd_hwdep_dsp_load_ARG_EXPAND); typedef int (*snd_hwdep_dsp_load_PTR)(snd_hwdep_dsp_load_ARG_EXPAND); -int snd_hwdep_dsp_status(snd_hwdep_dsp_status_ARG_EXPAND); +int glshim_snd_hwdep_dsp_status(snd_hwdep_dsp_status_ARG_EXPAND); typedef int (*snd_hwdep_dsp_status_PTR)(snd_hwdep_dsp_status_ARG_EXPAND); -void snd_hwdep_dsp_status_copy(snd_hwdep_dsp_status_copy_ARG_EXPAND); +void glshim_snd_hwdep_dsp_status_copy(snd_hwdep_dsp_status_copy_ARG_EXPAND); typedef void (*snd_hwdep_dsp_status_copy_PTR)(snd_hwdep_dsp_status_copy_ARG_EXPAND); -void snd_hwdep_dsp_status_free(snd_hwdep_dsp_status_free_ARG_EXPAND); +void glshim_snd_hwdep_dsp_status_free(snd_hwdep_dsp_status_free_ARG_EXPAND); typedef void (*snd_hwdep_dsp_status_free_PTR)(snd_hwdep_dsp_status_free_ARG_EXPAND); -unsigned int snd_hwdep_dsp_status_get_chip_ready(snd_hwdep_dsp_status_get_chip_ready_ARG_EXPAND); +unsigned int glshim_snd_hwdep_dsp_status_get_chip_ready(snd_hwdep_dsp_status_get_chip_ready_ARG_EXPAND); typedef unsigned int (*snd_hwdep_dsp_status_get_chip_ready_PTR)(snd_hwdep_dsp_status_get_chip_ready_ARG_EXPAND); -unsigned int snd_hwdep_dsp_status_get_dsp_loaded(snd_hwdep_dsp_status_get_dsp_loaded_ARG_EXPAND); +unsigned int glshim_snd_hwdep_dsp_status_get_dsp_loaded(snd_hwdep_dsp_status_get_dsp_loaded_ARG_EXPAND); typedef unsigned int (*snd_hwdep_dsp_status_get_dsp_loaded_PTR)(snd_hwdep_dsp_status_get_dsp_loaded_ARG_EXPAND); -const char * snd_hwdep_dsp_status_get_id(snd_hwdep_dsp_status_get_id_ARG_EXPAND); +const char * glshim_snd_hwdep_dsp_status_get_id(snd_hwdep_dsp_status_get_id_ARG_EXPAND); typedef const char * (*snd_hwdep_dsp_status_get_id_PTR)(snd_hwdep_dsp_status_get_id_ARG_EXPAND); -unsigned int snd_hwdep_dsp_status_get_num_dsps(snd_hwdep_dsp_status_get_num_dsps_ARG_EXPAND); +unsigned int glshim_snd_hwdep_dsp_status_get_num_dsps(snd_hwdep_dsp_status_get_num_dsps_ARG_EXPAND); typedef unsigned int (*snd_hwdep_dsp_status_get_num_dsps_PTR)(snd_hwdep_dsp_status_get_num_dsps_ARG_EXPAND); -unsigned int snd_hwdep_dsp_status_get_version(snd_hwdep_dsp_status_get_version_ARG_EXPAND); +unsigned int glshim_snd_hwdep_dsp_status_get_version(snd_hwdep_dsp_status_get_version_ARG_EXPAND); typedef unsigned int (*snd_hwdep_dsp_status_get_version_PTR)(snd_hwdep_dsp_status_get_version_ARG_EXPAND); -int snd_hwdep_dsp_status_malloc(snd_hwdep_dsp_status_malloc_ARG_EXPAND); +int glshim_snd_hwdep_dsp_status_malloc(snd_hwdep_dsp_status_malloc_ARG_EXPAND); typedef int (*snd_hwdep_dsp_status_malloc_PTR)(snd_hwdep_dsp_status_malloc_ARG_EXPAND); -size_t snd_hwdep_dsp_status_sizeof(snd_hwdep_dsp_status_sizeof_ARG_EXPAND); +size_t glshim_snd_hwdep_dsp_status_sizeof(snd_hwdep_dsp_status_sizeof_ARG_EXPAND); typedef size_t (*snd_hwdep_dsp_status_sizeof_PTR)(snd_hwdep_dsp_status_sizeof_ARG_EXPAND); -int snd_hwdep_info(snd_hwdep_info_ARG_EXPAND); +int glshim_snd_hwdep_info(snd_hwdep_info_ARG_EXPAND); typedef int (*snd_hwdep_info_PTR)(snd_hwdep_info_ARG_EXPAND); -size_t snd_hwdep_info_sizeof(snd_hwdep_info_sizeof_ARG_EXPAND); +size_t glshim_snd_hwdep_info_sizeof(snd_hwdep_info_sizeof_ARG_EXPAND); typedef size_t (*snd_hwdep_info_sizeof_PTR)(snd_hwdep_info_sizeof_ARG_EXPAND); -int snd_hwdep_ioctl(snd_hwdep_ioctl_ARG_EXPAND); +int glshim_snd_hwdep_ioctl(snd_hwdep_ioctl_ARG_EXPAND); typedef int (*snd_hwdep_ioctl_PTR)(snd_hwdep_ioctl_ARG_EXPAND); -int snd_hwdep_nonblock(snd_hwdep_nonblock_ARG_EXPAND); +int glshim_snd_hwdep_nonblock(snd_hwdep_nonblock_ARG_EXPAND); typedef int (*snd_hwdep_nonblock_PTR)(snd_hwdep_nonblock_ARG_EXPAND); -int snd_hwdep_open(snd_hwdep_open_ARG_EXPAND); +int glshim_snd_hwdep_open(snd_hwdep_open_ARG_EXPAND); typedef int (*snd_hwdep_open_PTR)(snd_hwdep_open_ARG_EXPAND); -int snd_hwdep_poll_descriptors(snd_hwdep_poll_descriptors_ARG_EXPAND); +int glshim_snd_hwdep_poll_descriptors(snd_hwdep_poll_descriptors_ARG_EXPAND); typedef int (*snd_hwdep_poll_descriptors_PTR)(snd_hwdep_poll_descriptors_ARG_EXPAND); -int snd_hwdep_poll_descriptors_revents(snd_hwdep_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_hwdep_poll_descriptors_revents(snd_hwdep_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_hwdep_poll_descriptors_revents_PTR)(snd_hwdep_poll_descriptors_revents_ARG_EXPAND); -ssize_t snd_hwdep_read(snd_hwdep_read_ARG_EXPAND); +ssize_t glshim_snd_hwdep_read(snd_hwdep_read_ARG_EXPAND); typedef ssize_t (*snd_hwdep_read_PTR)(snd_hwdep_read_ARG_EXPAND); -ssize_t snd_hwdep_write(snd_hwdep_write_ARG_EXPAND); +ssize_t glshim_snd_hwdep_write(snd_hwdep_write_ARG_EXPAND); typedef ssize_t (*snd_hwdep_write_PTR)(snd_hwdep_write_ARG_EXPAND); -int snd_input_buffer_open(snd_input_buffer_open_ARG_EXPAND); +int glshim_snd_input_buffer_open(snd_input_buffer_open_ARG_EXPAND); typedef int (*snd_input_buffer_open_PTR)(snd_input_buffer_open_ARG_EXPAND); -int snd_input_close(snd_input_close_ARG_EXPAND); +int glshim_snd_input_close(snd_input_close_ARG_EXPAND); typedef int (*snd_input_close_PTR)(snd_input_close_ARG_EXPAND); -int snd_input_getc(snd_input_getc_ARG_EXPAND); +int glshim_snd_input_getc(snd_input_getc_ARG_EXPAND); typedef int (*snd_input_getc_PTR)(snd_input_getc_ARG_EXPAND); -char * snd_input_gets(snd_input_gets_ARG_EXPAND); +char * glshim_snd_input_gets(snd_input_gets_ARG_EXPAND); typedef char * (*snd_input_gets_PTR)(snd_input_gets_ARG_EXPAND); -int snd_input_stdio_attach(snd_input_stdio_attach_ARG_EXPAND); +int glshim_snd_input_stdio_attach(snd_input_stdio_attach_ARG_EXPAND); typedef int (*snd_input_stdio_attach_PTR)(snd_input_stdio_attach_ARG_EXPAND); -int snd_input_stdio_open(snd_input_stdio_open_ARG_EXPAND); +int glshim_snd_input_stdio_open(snd_input_stdio_open_ARG_EXPAND); typedef int (*snd_input_stdio_open_PTR)(snd_input_stdio_open_ARG_EXPAND); -int snd_input_ungetc(snd_input_ungetc_ARG_EXPAND); +int glshim_snd_input_ungetc(snd_input_ungetc_ARG_EXPAND); typedef int (*snd_input_ungetc_PTR)(snd_input_ungetc_ARG_EXPAND); -int snd_lib_error_set_handler(snd_lib_error_set_handler_ARG_EXPAND); +int glshim_snd_lib_error_set_handler(snd_lib_error_set_handler_ARG_EXPAND); typedef int (*snd_lib_error_set_handler_PTR)(snd_lib_error_set_handler_ARG_EXPAND); -long snd_midi_event_decode(snd_midi_event_decode_ARG_EXPAND); +long glshim_snd_midi_event_decode(snd_midi_event_decode_ARG_EXPAND); typedef long (*snd_midi_event_decode_PTR)(snd_midi_event_decode_ARG_EXPAND); -long snd_midi_event_encode(snd_midi_event_encode_ARG_EXPAND); +long glshim_snd_midi_event_encode(snd_midi_event_encode_ARG_EXPAND); typedef long (*snd_midi_event_encode_PTR)(snd_midi_event_encode_ARG_EXPAND); -int snd_midi_event_encode_byte(snd_midi_event_encode_byte_ARG_EXPAND); +int glshim_snd_midi_event_encode_byte(snd_midi_event_encode_byte_ARG_EXPAND); typedef int (*snd_midi_event_encode_byte_PTR)(snd_midi_event_encode_byte_ARG_EXPAND); -void snd_midi_event_free(snd_midi_event_free_ARG_EXPAND); +void glshim_snd_midi_event_free(snd_midi_event_free_ARG_EXPAND); typedef void (*snd_midi_event_free_PTR)(snd_midi_event_free_ARG_EXPAND); -void snd_midi_event_init(snd_midi_event_init_ARG_EXPAND); +void glshim_snd_midi_event_init(snd_midi_event_init_ARG_EXPAND); typedef void (*snd_midi_event_init_PTR)(snd_midi_event_init_ARG_EXPAND); -int snd_midi_event_new(snd_midi_event_new_ARG_EXPAND); +int glshim_snd_midi_event_new(snd_midi_event_new_ARG_EXPAND); typedef int (*snd_midi_event_new_PTR)(snd_midi_event_new_ARG_EXPAND); -void snd_midi_event_no_status(snd_midi_event_no_status_ARG_EXPAND); +void glshim_snd_midi_event_no_status(snd_midi_event_no_status_ARG_EXPAND); typedef void (*snd_midi_event_no_status_PTR)(snd_midi_event_no_status_ARG_EXPAND); -void snd_midi_event_reset_decode(snd_midi_event_reset_decode_ARG_EXPAND); +void glshim_snd_midi_event_reset_decode(snd_midi_event_reset_decode_ARG_EXPAND); typedef void (*snd_midi_event_reset_decode_PTR)(snd_midi_event_reset_decode_ARG_EXPAND); -void snd_midi_event_reset_encode(snd_midi_event_reset_encode_ARG_EXPAND); +void glshim_snd_midi_event_reset_encode(snd_midi_event_reset_encode_ARG_EXPAND); typedef void (*snd_midi_event_reset_encode_PTR)(snd_midi_event_reset_encode_ARG_EXPAND); -int snd_midi_event_resize_buffer(snd_midi_event_resize_buffer_ARG_EXPAND); +int glshim_snd_midi_event_resize_buffer(snd_midi_event_resize_buffer_ARG_EXPAND); typedef int (*snd_midi_event_resize_buffer_PTR)(snd_midi_event_resize_buffer_ARG_EXPAND); -int snd_mixer_attach(snd_mixer_attach_ARG_EXPAND); +int glshim_snd_mixer_attach(snd_mixer_attach_ARG_EXPAND); typedef int (*snd_mixer_attach_PTR)(snd_mixer_attach_ARG_EXPAND); -int snd_mixer_attach_hctl(snd_mixer_attach_hctl_ARG_EXPAND); +int glshim_snd_mixer_attach_hctl(snd_mixer_attach_hctl_ARG_EXPAND); typedef int (*snd_mixer_attach_hctl_PTR)(snd_mixer_attach_hctl_ARG_EXPAND); -void snd_mixer_class_copy(snd_mixer_class_copy_ARG_EXPAND); +void glshim_snd_mixer_class_copy(snd_mixer_class_copy_ARG_EXPAND); typedef void (*snd_mixer_class_copy_PTR)(snd_mixer_class_copy_ARG_EXPAND); -void snd_mixer_class_free(snd_mixer_class_free_ARG_EXPAND); +void glshim_snd_mixer_class_free(snd_mixer_class_free_ARG_EXPAND); typedef void (*snd_mixer_class_free_PTR)(snd_mixer_class_free_ARG_EXPAND); -snd_mixer_compare_t snd_mixer_class_get_compare(snd_mixer_class_get_compare_ARG_EXPAND); +snd_mixer_compare_t glshim_snd_mixer_class_get_compare(snd_mixer_class_get_compare_ARG_EXPAND); typedef snd_mixer_compare_t (*snd_mixer_class_get_compare_PTR)(snd_mixer_class_get_compare_ARG_EXPAND); -snd_mixer_event_t snd_mixer_class_get_event(snd_mixer_class_get_event_ARG_EXPAND); +snd_mixer_event_t glshim_snd_mixer_class_get_event(snd_mixer_class_get_event_ARG_EXPAND); typedef snd_mixer_event_t (*snd_mixer_class_get_event_PTR)(snd_mixer_class_get_event_ARG_EXPAND); -snd_mixer_t * snd_mixer_class_get_mixer(snd_mixer_class_get_mixer_ARG_EXPAND); +snd_mixer_t * glshim_snd_mixer_class_get_mixer(snd_mixer_class_get_mixer_ARG_EXPAND); typedef snd_mixer_t * (*snd_mixer_class_get_mixer_PTR)(snd_mixer_class_get_mixer_ARG_EXPAND); -void * snd_mixer_class_get_private(snd_mixer_class_get_private_ARG_EXPAND); +void * glshim_snd_mixer_class_get_private(snd_mixer_class_get_private_ARG_EXPAND); typedef void * (*snd_mixer_class_get_private_PTR)(snd_mixer_class_get_private_ARG_EXPAND); -int snd_mixer_class_malloc(snd_mixer_class_malloc_ARG_EXPAND); +int glshim_snd_mixer_class_malloc(snd_mixer_class_malloc_ARG_EXPAND); typedef int (*snd_mixer_class_malloc_PTR)(snd_mixer_class_malloc_ARG_EXPAND); -int snd_mixer_class_register(snd_mixer_class_register_ARG_EXPAND); +int glshim_snd_mixer_class_register(snd_mixer_class_register_ARG_EXPAND); typedef int (*snd_mixer_class_register_PTR)(snd_mixer_class_register_ARG_EXPAND); -int snd_mixer_class_set_compare(snd_mixer_class_set_compare_ARG_EXPAND); +int glshim_snd_mixer_class_set_compare(snd_mixer_class_set_compare_ARG_EXPAND); typedef int (*snd_mixer_class_set_compare_PTR)(snd_mixer_class_set_compare_ARG_EXPAND); -int snd_mixer_class_set_event(snd_mixer_class_set_event_ARG_EXPAND); +int glshim_snd_mixer_class_set_event(snd_mixer_class_set_event_ARG_EXPAND); typedef int (*snd_mixer_class_set_event_PTR)(snd_mixer_class_set_event_ARG_EXPAND); -int snd_mixer_class_set_private(snd_mixer_class_set_private_ARG_EXPAND); +int glshim_snd_mixer_class_set_private(snd_mixer_class_set_private_ARG_EXPAND); typedef int (*snd_mixer_class_set_private_PTR)(snd_mixer_class_set_private_ARG_EXPAND); -size_t snd_mixer_class_sizeof(snd_mixer_class_sizeof_ARG_EXPAND); +size_t glshim_snd_mixer_class_sizeof(snd_mixer_class_sizeof_ARG_EXPAND); typedef size_t (*snd_mixer_class_sizeof_PTR)(snd_mixer_class_sizeof_ARG_EXPAND); -int snd_mixer_class_unregister(snd_mixer_class_unregister_ARG_EXPAND); +int glshim_snd_mixer_class_unregister(snd_mixer_class_unregister_ARG_EXPAND); typedef int (*snd_mixer_class_unregister_PTR)(snd_mixer_class_unregister_ARG_EXPAND); -int snd_mixer_close(snd_mixer_close_ARG_EXPAND); +int glshim_snd_mixer_close(snd_mixer_close_ARG_EXPAND); typedef int (*snd_mixer_close_PTR)(snd_mixer_close_ARG_EXPAND); -int snd_mixer_detach(snd_mixer_detach_ARG_EXPAND); +int glshim_snd_mixer_detach(snd_mixer_detach_ARG_EXPAND); typedef int (*snd_mixer_detach_PTR)(snd_mixer_detach_ARG_EXPAND); -int snd_mixer_detach_hctl(snd_mixer_detach_hctl_ARG_EXPAND); +int glshim_snd_mixer_detach_hctl(snd_mixer_detach_hctl_ARG_EXPAND); typedef int (*snd_mixer_detach_hctl_PTR)(snd_mixer_detach_hctl_ARG_EXPAND); -int snd_mixer_elem_add(snd_mixer_elem_add_ARG_EXPAND); +int glshim_snd_mixer_elem_add(snd_mixer_elem_add_ARG_EXPAND); typedef int (*snd_mixer_elem_add_PTR)(snd_mixer_elem_add_ARG_EXPAND); -int snd_mixer_elem_attach(snd_mixer_elem_attach_ARG_EXPAND); +int glshim_snd_mixer_elem_attach(snd_mixer_elem_attach_ARG_EXPAND); typedef int (*snd_mixer_elem_attach_PTR)(snd_mixer_elem_attach_ARG_EXPAND); -int snd_mixer_elem_detach(snd_mixer_elem_detach_ARG_EXPAND); +int glshim_snd_mixer_elem_detach(snd_mixer_elem_detach_ARG_EXPAND); typedef int (*snd_mixer_elem_detach_PTR)(snd_mixer_elem_detach_ARG_EXPAND); -int snd_mixer_elem_empty(snd_mixer_elem_empty_ARG_EXPAND); +int glshim_snd_mixer_elem_empty(snd_mixer_elem_empty_ARG_EXPAND); typedef int (*snd_mixer_elem_empty_PTR)(snd_mixer_elem_empty_ARG_EXPAND); -void snd_mixer_elem_free(snd_mixer_elem_free_ARG_EXPAND); +void glshim_snd_mixer_elem_free(snd_mixer_elem_free_ARG_EXPAND); typedef void (*snd_mixer_elem_free_PTR)(snd_mixer_elem_free_ARG_EXPAND); -void * snd_mixer_elem_get_callback_private(snd_mixer_elem_get_callback_private_ARG_EXPAND); +void * glshim_snd_mixer_elem_get_callback_private(snd_mixer_elem_get_callback_private_ARG_EXPAND); typedef void * (*snd_mixer_elem_get_callback_private_PTR)(snd_mixer_elem_get_callback_private_ARG_EXPAND); -void * snd_mixer_elem_get_private(snd_mixer_elem_get_private_ARG_EXPAND); +void * glshim_snd_mixer_elem_get_private(snd_mixer_elem_get_private_ARG_EXPAND); typedef void * (*snd_mixer_elem_get_private_PTR)(snd_mixer_elem_get_private_ARG_EXPAND); -snd_mixer_elem_type_t snd_mixer_elem_get_type(snd_mixer_elem_get_type_ARG_EXPAND); +snd_mixer_elem_type_t glshim_snd_mixer_elem_get_type(snd_mixer_elem_get_type_ARG_EXPAND); typedef snd_mixer_elem_type_t (*snd_mixer_elem_get_type_PTR)(snd_mixer_elem_get_type_ARG_EXPAND); -int snd_mixer_elem_info(snd_mixer_elem_info_ARG_EXPAND); +int glshim_snd_mixer_elem_info(snd_mixer_elem_info_ARG_EXPAND); typedef int (*snd_mixer_elem_info_PTR)(snd_mixer_elem_info_ARG_EXPAND); -snd_mixer_elem_t * snd_mixer_elem_next(snd_mixer_elem_next_ARG_EXPAND); +snd_mixer_elem_t * glshim_snd_mixer_elem_next(snd_mixer_elem_next_ARG_EXPAND); typedef snd_mixer_elem_t * (*snd_mixer_elem_next_PTR)(snd_mixer_elem_next_ARG_EXPAND); -snd_mixer_elem_t * snd_mixer_elem_prev(snd_mixer_elem_prev_ARG_EXPAND); +snd_mixer_elem_t * glshim_snd_mixer_elem_prev(snd_mixer_elem_prev_ARG_EXPAND); typedef snd_mixer_elem_t * (*snd_mixer_elem_prev_PTR)(snd_mixer_elem_prev_ARG_EXPAND); -int snd_mixer_elem_remove(snd_mixer_elem_remove_ARG_EXPAND); +int glshim_snd_mixer_elem_remove(snd_mixer_elem_remove_ARG_EXPAND); typedef int (*snd_mixer_elem_remove_PTR)(snd_mixer_elem_remove_ARG_EXPAND); -void snd_mixer_elem_set_callback(snd_mixer_elem_set_callback_ARG_EXPAND); +void glshim_snd_mixer_elem_set_callback(snd_mixer_elem_set_callback_ARG_EXPAND); typedef void (*snd_mixer_elem_set_callback_PTR)(snd_mixer_elem_set_callback_ARG_EXPAND); -void snd_mixer_elem_set_callback_private(snd_mixer_elem_set_callback_private_ARG_EXPAND); +void glshim_snd_mixer_elem_set_callback_private(snd_mixer_elem_set_callback_private_ARG_EXPAND); typedef void (*snd_mixer_elem_set_callback_private_PTR)(snd_mixer_elem_set_callback_private_ARG_EXPAND); -int snd_mixer_elem_value(snd_mixer_elem_value_ARG_EXPAND); +int glshim_snd_mixer_elem_value(snd_mixer_elem_value_ARG_EXPAND); typedef int (*snd_mixer_elem_value_PTR)(snd_mixer_elem_value_ARG_EXPAND); -snd_mixer_elem_t * snd_mixer_find_selem(snd_mixer_find_selem_ARG_EXPAND); +snd_mixer_elem_t * glshim_snd_mixer_find_selem(snd_mixer_find_selem_ARG_EXPAND); typedef snd_mixer_elem_t * (*snd_mixer_find_selem_PTR)(snd_mixer_find_selem_ARG_EXPAND); -snd_mixer_elem_t * snd_mixer_first_elem(snd_mixer_first_elem_ARG_EXPAND); +snd_mixer_elem_t * glshim_snd_mixer_first_elem(snd_mixer_first_elem_ARG_EXPAND); typedef snd_mixer_elem_t * (*snd_mixer_first_elem_PTR)(snd_mixer_first_elem_ARG_EXPAND); -void snd_mixer_free(snd_mixer_free_ARG_EXPAND); +void glshim_snd_mixer_free(snd_mixer_free_ARG_EXPAND); typedef void (*snd_mixer_free_PTR)(snd_mixer_free_ARG_EXPAND); -void * snd_mixer_get_callback_private(snd_mixer_get_callback_private_ARG_EXPAND); +void * glshim_snd_mixer_get_callback_private(snd_mixer_get_callback_private_ARG_EXPAND); typedef void * (*snd_mixer_get_callback_private_PTR)(snd_mixer_get_callback_private_ARG_EXPAND); -unsigned int snd_mixer_get_count(snd_mixer_get_count_ARG_EXPAND); +unsigned int glshim_snd_mixer_get_count(snd_mixer_get_count_ARG_EXPAND); typedef unsigned int (*snd_mixer_get_count_PTR)(snd_mixer_get_count_ARG_EXPAND); -int snd_mixer_get_hctl(snd_mixer_get_hctl_ARG_EXPAND); +int glshim_snd_mixer_get_hctl(snd_mixer_get_hctl_ARG_EXPAND); typedef int (*snd_mixer_get_hctl_PTR)(snd_mixer_get_hctl_ARG_EXPAND); -int snd_mixer_handle_events(snd_mixer_handle_events_ARG_EXPAND); +int glshim_snd_mixer_handle_events(snd_mixer_handle_events_ARG_EXPAND); typedef int (*snd_mixer_handle_events_PTR)(snd_mixer_handle_events_ARG_EXPAND); -snd_mixer_elem_t * snd_mixer_last_elem(snd_mixer_last_elem_ARG_EXPAND); +snd_mixer_elem_t * glshim_snd_mixer_last_elem(snd_mixer_last_elem_ARG_EXPAND); typedef snd_mixer_elem_t * (*snd_mixer_last_elem_PTR)(snd_mixer_last_elem_ARG_EXPAND); -int snd_mixer_load(snd_mixer_load_ARG_EXPAND); +int glshim_snd_mixer_load(snd_mixer_load_ARG_EXPAND); typedef int (*snd_mixer_load_PTR)(snd_mixer_load_ARG_EXPAND); -int snd_mixer_open(snd_mixer_open_ARG_EXPAND); +int glshim_snd_mixer_open(snd_mixer_open_ARG_EXPAND); typedef int (*snd_mixer_open_PTR)(snd_mixer_open_ARG_EXPAND); -int snd_mixer_poll_descriptors(snd_mixer_poll_descriptors_ARG_EXPAND); +int glshim_snd_mixer_poll_descriptors(snd_mixer_poll_descriptors_ARG_EXPAND); typedef int (*snd_mixer_poll_descriptors_PTR)(snd_mixer_poll_descriptors_ARG_EXPAND); -int snd_mixer_poll_descriptors_count(snd_mixer_poll_descriptors_count_ARG_EXPAND); +int glshim_snd_mixer_poll_descriptors_count(snd_mixer_poll_descriptors_count_ARG_EXPAND); typedef int (*snd_mixer_poll_descriptors_count_PTR)(snd_mixer_poll_descriptors_count_ARG_EXPAND); -int snd_mixer_poll_descriptors_revents(snd_mixer_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_mixer_poll_descriptors_revents(snd_mixer_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_mixer_poll_descriptors_revents_PTR)(snd_mixer_poll_descriptors_revents_ARG_EXPAND); -const char * snd_mixer_selem_channel_name(snd_mixer_selem_channel_name_ARG_EXPAND); +const char * glshim_snd_mixer_selem_channel_name(snd_mixer_selem_channel_name_ARG_EXPAND); typedef const char * (*snd_mixer_selem_channel_name_PTR)(snd_mixer_selem_channel_name_ARG_EXPAND); -int snd_mixer_selem_get_capture_dB(snd_mixer_selem_get_capture_dB_ARG_EXPAND); +int glshim_snd_mixer_selem_get_capture_dB(snd_mixer_selem_get_capture_dB_ARG_EXPAND); typedef int (*snd_mixer_selem_get_capture_dB_PTR)(snd_mixer_selem_get_capture_dB_ARG_EXPAND); -int snd_mixer_selem_get_capture_dB_range(snd_mixer_selem_get_capture_dB_range_ARG_EXPAND); +int glshim_snd_mixer_selem_get_capture_dB_range(snd_mixer_selem_get_capture_dB_range_ARG_EXPAND); typedef int (*snd_mixer_selem_get_capture_dB_range_PTR)(snd_mixer_selem_get_capture_dB_range_ARG_EXPAND); -int snd_mixer_selem_get_capture_group(snd_mixer_selem_get_capture_group_ARG_EXPAND); +int glshim_snd_mixer_selem_get_capture_group(snd_mixer_selem_get_capture_group_ARG_EXPAND); typedef int (*snd_mixer_selem_get_capture_group_PTR)(snd_mixer_selem_get_capture_group_ARG_EXPAND); -int snd_mixer_selem_get_capture_switch(snd_mixer_selem_get_capture_switch_ARG_EXPAND); +int glshim_snd_mixer_selem_get_capture_switch(snd_mixer_selem_get_capture_switch_ARG_EXPAND); typedef int (*snd_mixer_selem_get_capture_switch_PTR)(snd_mixer_selem_get_capture_switch_ARG_EXPAND); -int snd_mixer_selem_get_capture_volume(snd_mixer_selem_get_capture_volume_ARG_EXPAND); +int glshim_snd_mixer_selem_get_capture_volume(snd_mixer_selem_get_capture_volume_ARG_EXPAND); typedef int (*snd_mixer_selem_get_capture_volume_PTR)(snd_mixer_selem_get_capture_volume_ARG_EXPAND); -int snd_mixer_selem_get_capture_volume_range(snd_mixer_selem_get_capture_volume_range_ARG_EXPAND); +int glshim_snd_mixer_selem_get_capture_volume_range(snd_mixer_selem_get_capture_volume_range_ARG_EXPAND); typedef int (*snd_mixer_selem_get_capture_volume_range_PTR)(snd_mixer_selem_get_capture_volume_range_ARG_EXPAND); -int snd_mixer_selem_get_enum_item(snd_mixer_selem_get_enum_item_ARG_EXPAND); +int glshim_snd_mixer_selem_get_enum_item(snd_mixer_selem_get_enum_item_ARG_EXPAND); typedef int (*snd_mixer_selem_get_enum_item_PTR)(snd_mixer_selem_get_enum_item_ARG_EXPAND); -int snd_mixer_selem_get_enum_item_name(snd_mixer_selem_get_enum_item_name_ARG_EXPAND); +int glshim_snd_mixer_selem_get_enum_item_name(snd_mixer_selem_get_enum_item_name_ARG_EXPAND); typedef int (*snd_mixer_selem_get_enum_item_name_PTR)(snd_mixer_selem_get_enum_item_name_ARG_EXPAND); -int snd_mixer_selem_get_enum_items(snd_mixer_selem_get_enum_items_ARG_EXPAND); +int glshim_snd_mixer_selem_get_enum_items(snd_mixer_selem_get_enum_items_ARG_EXPAND); typedef int (*snd_mixer_selem_get_enum_items_PTR)(snd_mixer_selem_get_enum_items_ARG_EXPAND); -void snd_mixer_selem_get_id(snd_mixer_selem_get_id_ARG_EXPAND); +void glshim_snd_mixer_selem_get_id(snd_mixer_selem_get_id_ARG_EXPAND); typedef void (*snd_mixer_selem_get_id_PTR)(snd_mixer_selem_get_id_ARG_EXPAND); -unsigned int snd_mixer_selem_get_index(snd_mixer_selem_get_index_ARG_EXPAND); +unsigned int glshim_snd_mixer_selem_get_index(snd_mixer_selem_get_index_ARG_EXPAND); typedef unsigned int (*snd_mixer_selem_get_index_PTR)(snd_mixer_selem_get_index_ARG_EXPAND); -const char * snd_mixer_selem_get_name(snd_mixer_selem_get_name_ARG_EXPAND); +const char * glshim_snd_mixer_selem_get_name(snd_mixer_selem_get_name_ARG_EXPAND); typedef const char * (*snd_mixer_selem_get_name_PTR)(snd_mixer_selem_get_name_ARG_EXPAND); -int snd_mixer_selem_get_playback_dB(snd_mixer_selem_get_playback_dB_ARG_EXPAND); +int glshim_snd_mixer_selem_get_playback_dB(snd_mixer_selem_get_playback_dB_ARG_EXPAND); typedef int (*snd_mixer_selem_get_playback_dB_PTR)(snd_mixer_selem_get_playback_dB_ARG_EXPAND); -int snd_mixer_selem_get_playback_dB_range(snd_mixer_selem_get_playback_dB_range_ARG_EXPAND); +int glshim_snd_mixer_selem_get_playback_dB_range(snd_mixer_selem_get_playback_dB_range_ARG_EXPAND); typedef int (*snd_mixer_selem_get_playback_dB_range_PTR)(snd_mixer_selem_get_playback_dB_range_ARG_EXPAND); -int snd_mixer_selem_get_playback_switch(snd_mixer_selem_get_playback_switch_ARG_EXPAND); +int glshim_snd_mixer_selem_get_playback_switch(snd_mixer_selem_get_playback_switch_ARG_EXPAND); typedef int (*snd_mixer_selem_get_playback_switch_PTR)(snd_mixer_selem_get_playback_switch_ARG_EXPAND); -int snd_mixer_selem_get_playback_volume(snd_mixer_selem_get_playback_volume_ARG_EXPAND); +int glshim_snd_mixer_selem_get_playback_volume(snd_mixer_selem_get_playback_volume_ARG_EXPAND); typedef int (*snd_mixer_selem_get_playback_volume_PTR)(snd_mixer_selem_get_playback_volume_ARG_EXPAND); -int snd_mixer_selem_get_playback_volume_range(snd_mixer_selem_get_playback_volume_range_ARG_EXPAND); +int glshim_snd_mixer_selem_get_playback_volume_range(snd_mixer_selem_get_playback_volume_range_ARG_EXPAND); typedef int (*snd_mixer_selem_get_playback_volume_range_PTR)(snd_mixer_selem_get_playback_volume_range_ARG_EXPAND); -int snd_mixer_selem_has_capture_channel(snd_mixer_selem_has_capture_channel_ARG_EXPAND); +int glshim_snd_mixer_selem_has_capture_channel(snd_mixer_selem_has_capture_channel_ARG_EXPAND); typedef int (*snd_mixer_selem_has_capture_channel_PTR)(snd_mixer_selem_has_capture_channel_ARG_EXPAND); -int snd_mixer_selem_has_capture_switch(snd_mixer_selem_has_capture_switch_ARG_EXPAND); +int glshim_snd_mixer_selem_has_capture_switch(snd_mixer_selem_has_capture_switch_ARG_EXPAND); typedef int (*snd_mixer_selem_has_capture_switch_PTR)(snd_mixer_selem_has_capture_switch_ARG_EXPAND); -int snd_mixer_selem_has_capture_switch_exclusive(snd_mixer_selem_has_capture_switch_exclusive_ARG_EXPAND); +int glshim_snd_mixer_selem_has_capture_switch_exclusive(snd_mixer_selem_has_capture_switch_exclusive_ARG_EXPAND); typedef int (*snd_mixer_selem_has_capture_switch_exclusive_PTR)(snd_mixer_selem_has_capture_switch_exclusive_ARG_EXPAND); -int snd_mixer_selem_has_capture_switch_joined(snd_mixer_selem_has_capture_switch_joined_ARG_EXPAND); +int glshim_snd_mixer_selem_has_capture_switch_joined(snd_mixer_selem_has_capture_switch_joined_ARG_EXPAND); typedef int (*snd_mixer_selem_has_capture_switch_joined_PTR)(snd_mixer_selem_has_capture_switch_joined_ARG_EXPAND); -int snd_mixer_selem_has_capture_volume(snd_mixer_selem_has_capture_volume_ARG_EXPAND); +int glshim_snd_mixer_selem_has_capture_volume(snd_mixer_selem_has_capture_volume_ARG_EXPAND); typedef int (*snd_mixer_selem_has_capture_volume_PTR)(snd_mixer_selem_has_capture_volume_ARG_EXPAND); -int snd_mixer_selem_has_capture_volume_joined(snd_mixer_selem_has_capture_volume_joined_ARG_EXPAND); +int glshim_snd_mixer_selem_has_capture_volume_joined(snd_mixer_selem_has_capture_volume_joined_ARG_EXPAND); typedef int (*snd_mixer_selem_has_capture_volume_joined_PTR)(snd_mixer_selem_has_capture_volume_joined_ARG_EXPAND); -int snd_mixer_selem_has_common_switch(snd_mixer_selem_has_common_switch_ARG_EXPAND); +int glshim_snd_mixer_selem_has_common_switch(snd_mixer_selem_has_common_switch_ARG_EXPAND); typedef int (*snd_mixer_selem_has_common_switch_PTR)(snd_mixer_selem_has_common_switch_ARG_EXPAND); -int snd_mixer_selem_has_common_volume(snd_mixer_selem_has_common_volume_ARG_EXPAND); +int glshim_snd_mixer_selem_has_common_volume(snd_mixer_selem_has_common_volume_ARG_EXPAND); typedef int (*snd_mixer_selem_has_common_volume_PTR)(snd_mixer_selem_has_common_volume_ARG_EXPAND); -int snd_mixer_selem_has_playback_channel(snd_mixer_selem_has_playback_channel_ARG_EXPAND); +int glshim_snd_mixer_selem_has_playback_channel(snd_mixer_selem_has_playback_channel_ARG_EXPAND); typedef int (*snd_mixer_selem_has_playback_channel_PTR)(snd_mixer_selem_has_playback_channel_ARG_EXPAND); -int snd_mixer_selem_has_playback_switch(snd_mixer_selem_has_playback_switch_ARG_EXPAND); +int glshim_snd_mixer_selem_has_playback_switch(snd_mixer_selem_has_playback_switch_ARG_EXPAND); typedef int (*snd_mixer_selem_has_playback_switch_PTR)(snd_mixer_selem_has_playback_switch_ARG_EXPAND); -int snd_mixer_selem_has_playback_switch_joined(snd_mixer_selem_has_playback_switch_joined_ARG_EXPAND); +int glshim_snd_mixer_selem_has_playback_switch_joined(snd_mixer_selem_has_playback_switch_joined_ARG_EXPAND); typedef int (*snd_mixer_selem_has_playback_switch_joined_PTR)(snd_mixer_selem_has_playback_switch_joined_ARG_EXPAND); -int snd_mixer_selem_has_playback_volume(snd_mixer_selem_has_playback_volume_ARG_EXPAND); +int glshim_snd_mixer_selem_has_playback_volume(snd_mixer_selem_has_playback_volume_ARG_EXPAND); typedef int (*snd_mixer_selem_has_playback_volume_PTR)(snd_mixer_selem_has_playback_volume_ARG_EXPAND); -int snd_mixer_selem_has_playback_volume_joined(snd_mixer_selem_has_playback_volume_joined_ARG_EXPAND); +int glshim_snd_mixer_selem_has_playback_volume_joined(snd_mixer_selem_has_playback_volume_joined_ARG_EXPAND); typedef int (*snd_mixer_selem_has_playback_volume_joined_PTR)(snd_mixer_selem_has_playback_volume_joined_ARG_EXPAND); -void snd_mixer_selem_id_copy(snd_mixer_selem_id_copy_ARG_EXPAND); +void glshim_snd_mixer_selem_id_copy(snd_mixer_selem_id_copy_ARG_EXPAND); typedef void (*snd_mixer_selem_id_copy_PTR)(snd_mixer_selem_id_copy_ARG_EXPAND); -void snd_mixer_selem_id_free(snd_mixer_selem_id_free_ARG_EXPAND); +void glshim_snd_mixer_selem_id_free(snd_mixer_selem_id_free_ARG_EXPAND); typedef void (*snd_mixer_selem_id_free_PTR)(snd_mixer_selem_id_free_ARG_EXPAND); -unsigned int snd_mixer_selem_id_get_index(snd_mixer_selem_id_get_index_ARG_EXPAND); +unsigned int glshim_snd_mixer_selem_id_get_index(snd_mixer_selem_id_get_index_ARG_EXPAND); typedef unsigned int (*snd_mixer_selem_id_get_index_PTR)(snd_mixer_selem_id_get_index_ARG_EXPAND); -const char * snd_mixer_selem_id_get_name(snd_mixer_selem_id_get_name_ARG_EXPAND); +const char * glshim_snd_mixer_selem_id_get_name(snd_mixer_selem_id_get_name_ARG_EXPAND); typedef const char * (*snd_mixer_selem_id_get_name_PTR)(snd_mixer_selem_id_get_name_ARG_EXPAND); -int snd_mixer_selem_id_malloc(snd_mixer_selem_id_malloc_ARG_EXPAND); +int glshim_snd_mixer_selem_id_malloc(snd_mixer_selem_id_malloc_ARG_EXPAND); typedef int (*snd_mixer_selem_id_malloc_PTR)(snd_mixer_selem_id_malloc_ARG_EXPAND); -void snd_mixer_selem_id_set_index(snd_mixer_selem_id_set_index_ARG_EXPAND); +void glshim_snd_mixer_selem_id_set_index(snd_mixer_selem_id_set_index_ARG_EXPAND); typedef void (*snd_mixer_selem_id_set_index_PTR)(snd_mixer_selem_id_set_index_ARG_EXPAND); -void snd_mixer_selem_id_set_name(snd_mixer_selem_id_set_name_ARG_EXPAND); +void glshim_snd_mixer_selem_id_set_name(snd_mixer_selem_id_set_name_ARG_EXPAND); typedef void (*snd_mixer_selem_id_set_name_PTR)(snd_mixer_selem_id_set_name_ARG_EXPAND); -size_t snd_mixer_selem_id_sizeof(snd_mixer_selem_id_sizeof_ARG_EXPAND); +size_t glshim_snd_mixer_selem_id_sizeof(snd_mixer_selem_id_sizeof_ARG_EXPAND); typedef size_t (*snd_mixer_selem_id_sizeof_PTR)(snd_mixer_selem_id_sizeof_ARG_EXPAND); -int snd_mixer_selem_is_active(snd_mixer_selem_is_active_ARG_EXPAND); +int glshim_snd_mixer_selem_is_active(snd_mixer_selem_is_active_ARG_EXPAND); typedef int (*snd_mixer_selem_is_active_PTR)(snd_mixer_selem_is_active_ARG_EXPAND); -int snd_mixer_selem_is_capture_mono(snd_mixer_selem_is_capture_mono_ARG_EXPAND); +int glshim_snd_mixer_selem_is_capture_mono(snd_mixer_selem_is_capture_mono_ARG_EXPAND); typedef int (*snd_mixer_selem_is_capture_mono_PTR)(snd_mixer_selem_is_capture_mono_ARG_EXPAND); -int snd_mixer_selem_is_enum_capture(snd_mixer_selem_is_enum_capture_ARG_EXPAND); +int glshim_snd_mixer_selem_is_enum_capture(snd_mixer_selem_is_enum_capture_ARG_EXPAND); typedef int (*snd_mixer_selem_is_enum_capture_PTR)(snd_mixer_selem_is_enum_capture_ARG_EXPAND); -int snd_mixer_selem_is_enum_playback(snd_mixer_selem_is_enum_playback_ARG_EXPAND); +int glshim_snd_mixer_selem_is_enum_playback(snd_mixer_selem_is_enum_playback_ARG_EXPAND); typedef int (*snd_mixer_selem_is_enum_playback_PTR)(snd_mixer_selem_is_enum_playback_ARG_EXPAND); -int snd_mixer_selem_is_enumerated(snd_mixer_selem_is_enumerated_ARG_EXPAND); +int glshim_snd_mixer_selem_is_enumerated(snd_mixer_selem_is_enumerated_ARG_EXPAND); typedef int (*snd_mixer_selem_is_enumerated_PTR)(snd_mixer_selem_is_enumerated_ARG_EXPAND); -int snd_mixer_selem_is_playback_mono(snd_mixer_selem_is_playback_mono_ARG_EXPAND); +int glshim_snd_mixer_selem_is_playback_mono(snd_mixer_selem_is_playback_mono_ARG_EXPAND); typedef int (*snd_mixer_selem_is_playback_mono_PTR)(snd_mixer_selem_is_playback_mono_ARG_EXPAND); -int snd_mixer_selem_register(snd_mixer_selem_register_ARG_EXPAND); +int glshim_snd_mixer_selem_register(snd_mixer_selem_register_ARG_EXPAND); typedef int (*snd_mixer_selem_register_PTR)(snd_mixer_selem_register_ARG_EXPAND); -int snd_mixer_selem_set_capture_dB(snd_mixer_selem_set_capture_dB_ARG_EXPAND); +int glshim_snd_mixer_selem_set_capture_dB(snd_mixer_selem_set_capture_dB_ARG_EXPAND); typedef int (*snd_mixer_selem_set_capture_dB_PTR)(snd_mixer_selem_set_capture_dB_ARG_EXPAND); -int snd_mixer_selem_set_capture_dB_all(snd_mixer_selem_set_capture_dB_all_ARG_EXPAND); +int glshim_snd_mixer_selem_set_capture_dB_all(snd_mixer_selem_set_capture_dB_all_ARG_EXPAND); typedef int (*snd_mixer_selem_set_capture_dB_all_PTR)(snd_mixer_selem_set_capture_dB_all_ARG_EXPAND); -int snd_mixer_selem_set_capture_switch(snd_mixer_selem_set_capture_switch_ARG_EXPAND); +int glshim_snd_mixer_selem_set_capture_switch(snd_mixer_selem_set_capture_switch_ARG_EXPAND); typedef int (*snd_mixer_selem_set_capture_switch_PTR)(snd_mixer_selem_set_capture_switch_ARG_EXPAND); -int snd_mixer_selem_set_capture_switch_all(snd_mixer_selem_set_capture_switch_all_ARG_EXPAND); +int glshim_snd_mixer_selem_set_capture_switch_all(snd_mixer_selem_set_capture_switch_all_ARG_EXPAND); typedef int (*snd_mixer_selem_set_capture_switch_all_PTR)(snd_mixer_selem_set_capture_switch_all_ARG_EXPAND); -int snd_mixer_selem_set_capture_volume(snd_mixer_selem_set_capture_volume_ARG_EXPAND); +int glshim_snd_mixer_selem_set_capture_volume(snd_mixer_selem_set_capture_volume_ARG_EXPAND); typedef int (*snd_mixer_selem_set_capture_volume_PTR)(snd_mixer_selem_set_capture_volume_ARG_EXPAND); -int snd_mixer_selem_set_capture_volume_all(snd_mixer_selem_set_capture_volume_all_ARG_EXPAND); +int glshim_snd_mixer_selem_set_capture_volume_all(snd_mixer_selem_set_capture_volume_all_ARG_EXPAND); typedef int (*snd_mixer_selem_set_capture_volume_all_PTR)(snd_mixer_selem_set_capture_volume_all_ARG_EXPAND); -int snd_mixer_selem_set_capture_volume_range(snd_mixer_selem_set_capture_volume_range_ARG_EXPAND); +int glshim_snd_mixer_selem_set_capture_volume_range(snd_mixer_selem_set_capture_volume_range_ARG_EXPAND); typedef int (*snd_mixer_selem_set_capture_volume_range_PTR)(snd_mixer_selem_set_capture_volume_range_ARG_EXPAND); -int snd_mixer_selem_set_enum_item(snd_mixer_selem_set_enum_item_ARG_EXPAND); +int glshim_snd_mixer_selem_set_enum_item(snd_mixer_selem_set_enum_item_ARG_EXPAND); typedef int (*snd_mixer_selem_set_enum_item_PTR)(snd_mixer_selem_set_enum_item_ARG_EXPAND); -int snd_mixer_selem_set_playback_dB(snd_mixer_selem_set_playback_dB_ARG_EXPAND); +int glshim_snd_mixer_selem_set_playback_dB(snd_mixer_selem_set_playback_dB_ARG_EXPAND); typedef int (*snd_mixer_selem_set_playback_dB_PTR)(snd_mixer_selem_set_playback_dB_ARG_EXPAND); -int snd_mixer_selem_set_playback_dB_all(snd_mixer_selem_set_playback_dB_all_ARG_EXPAND); +int glshim_snd_mixer_selem_set_playback_dB_all(snd_mixer_selem_set_playback_dB_all_ARG_EXPAND); typedef int (*snd_mixer_selem_set_playback_dB_all_PTR)(snd_mixer_selem_set_playback_dB_all_ARG_EXPAND); -int snd_mixer_selem_set_playback_switch(snd_mixer_selem_set_playback_switch_ARG_EXPAND); +int glshim_snd_mixer_selem_set_playback_switch(snd_mixer_selem_set_playback_switch_ARG_EXPAND); typedef int (*snd_mixer_selem_set_playback_switch_PTR)(snd_mixer_selem_set_playback_switch_ARG_EXPAND); -int snd_mixer_selem_set_playback_switch_all(snd_mixer_selem_set_playback_switch_all_ARG_EXPAND); +int glshim_snd_mixer_selem_set_playback_switch_all(snd_mixer_selem_set_playback_switch_all_ARG_EXPAND); typedef int (*snd_mixer_selem_set_playback_switch_all_PTR)(snd_mixer_selem_set_playback_switch_all_ARG_EXPAND); -int snd_mixer_selem_set_playback_volume(snd_mixer_selem_set_playback_volume_ARG_EXPAND); +int glshim_snd_mixer_selem_set_playback_volume(snd_mixer_selem_set_playback_volume_ARG_EXPAND); typedef int (*snd_mixer_selem_set_playback_volume_PTR)(snd_mixer_selem_set_playback_volume_ARG_EXPAND); -int snd_mixer_selem_set_playback_volume_all(snd_mixer_selem_set_playback_volume_all_ARG_EXPAND); +int glshim_snd_mixer_selem_set_playback_volume_all(snd_mixer_selem_set_playback_volume_all_ARG_EXPAND); typedef int (*snd_mixer_selem_set_playback_volume_all_PTR)(snd_mixer_selem_set_playback_volume_all_ARG_EXPAND); -int snd_mixer_selem_set_playback_volume_range(snd_mixer_selem_set_playback_volume_range_ARG_EXPAND); +int glshim_snd_mixer_selem_set_playback_volume_range(snd_mixer_selem_set_playback_volume_range_ARG_EXPAND); typedef int (*snd_mixer_selem_set_playback_volume_range_PTR)(snd_mixer_selem_set_playback_volume_range_ARG_EXPAND); -void snd_mixer_set_callback(snd_mixer_set_callback_ARG_EXPAND); +void glshim_snd_mixer_set_callback(snd_mixer_set_callback_ARG_EXPAND); typedef void (*snd_mixer_set_callback_PTR)(snd_mixer_set_callback_ARG_EXPAND); -void snd_mixer_set_callback_private(snd_mixer_set_callback_private_ARG_EXPAND); +void glshim_snd_mixer_set_callback_private(snd_mixer_set_callback_private_ARG_EXPAND); typedef void (*snd_mixer_set_callback_private_PTR)(snd_mixer_set_callback_private_ARG_EXPAND); -int snd_mixer_set_compare(snd_mixer_set_compare_ARG_EXPAND); +int glshim_snd_mixer_set_compare(snd_mixer_set_compare_ARG_EXPAND); typedef int (*snd_mixer_set_compare_PTR)(snd_mixer_set_compare_ARG_EXPAND); -int snd_mixer_wait(snd_mixer_wait_ARG_EXPAND); +int glshim_snd_mixer_wait(snd_mixer_wait_ARG_EXPAND); typedef int (*snd_mixer_wait_PTR)(snd_mixer_wait_ARG_EXPAND); -int snd_names_list(snd_names_list_ARG_EXPAND); +int glshim_snd_names_list(snd_names_list_ARG_EXPAND); typedef int (*snd_names_list_PTR)(snd_names_list_ARG_EXPAND); -void snd_names_list_free(snd_names_list_free_ARG_EXPAND); +void glshim_snd_names_list_free(snd_names_list_free_ARG_EXPAND); typedef void (*snd_names_list_free_PTR)(snd_names_list_free_ARG_EXPAND); -int snd_output_buffer_open(snd_output_buffer_open_ARG_EXPAND); +int glshim_snd_output_buffer_open(snd_output_buffer_open_ARG_EXPAND); typedef int (*snd_output_buffer_open_PTR)(snd_output_buffer_open_ARG_EXPAND); -size_t snd_output_buffer_string(snd_output_buffer_string_ARG_EXPAND); +size_t glshim_snd_output_buffer_string(snd_output_buffer_string_ARG_EXPAND); typedef size_t (*snd_output_buffer_string_PTR)(snd_output_buffer_string_ARG_EXPAND); -int snd_output_close(snd_output_close_ARG_EXPAND); +int glshim_snd_output_close(snd_output_close_ARG_EXPAND); typedef int (*snd_output_close_PTR)(snd_output_close_ARG_EXPAND); -int snd_output_flush(snd_output_flush_ARG_EXPAND); +int glshim_snd_output_flush(snd_output_flush_ARG_EXPAND); typedef int (*snd_output_flush_PTR)(snd_output_flush_ARG_EXPAND); -int snd_output_putc(snd_output_putc_ARG_EXPAND); +int glshim_snd_output_putc(snd_output_putc_ARG_EXPAND); typedef int (*snd_output_putc_PTR)(snd_output_putc_ARG_EXPAND); -int snd_output_puts(snd_output_puts_ARG_EXPAND); +int glshim_snd_output_puts(snd_output_puts_ARG_EXPAND); typedef int (*snd_output_puts_PTR)(snd_output_puts_ARG_EXPAND); -int snd_output_stdio_attach(snd_output_stdio_attach_ARG_EXPAND); +int glshim_snd_output_stdio_attach(snd_output_stdio_attach_ARG_EXPAND); typedef int (*snd_output_stdio_attach_PTR)(snd_output_stdio_attach_ARG_EXPAND); -int snd_output_stdio_open(snd_output_stdio_open_ARG_EXPAND); +int glshim_snd_output_stdio_open(snd_output_stdio_open_ARG_EXPAND); typedef int (*snd_output_stdio_open_PTR)(snd_output_stdio_open_ARG_EXPAND); -int snd_output_vprintf(snd_output_vprintf_ARG_EXPAND); +int glshim_snd_output_vprintf(snd_output_vprintf_ARG_EXPAND); typedef int (*snd_output_vprintf_PTR)(snd_output_vprintf_ARG_EXPAND); -void snd_pcm_access_mask_any(snd_pcm_access_mask_any_ARG_EXPAND); +void glshim_snd_pcm_access_mask_any(snd_pcm_access_mask_any_ARG_EXPAND); typedef void (*snd_pcm_access_mask_any_PTR)(snd_pcm_access_mask_any_ARG_EXPAND); -void snd_pcm_access_mask_copy(snd_pcm_access_mask_copy_ARG_EXPAND); +void glshim_snd_pcm_access_mask_copy(snd_pcm_access_mask_copy_ARG_EXPAND); typedef void (*snd_pcm_access_mask_copy_PTR)(snd_pcm_access_mask_copy_ARG_EXPAND); -int snd_pcm_access_mask_empty(snd_pcm_access_mask_empty_ARG_EXPAND); +int glshim_snd_pcm_access_mask_empty(snd_pcm_access_mask_empty_ARG_EXPAND); typedef int (*snd_pcm_access_mask_empty_PTR)(snd_pcm_access_mask_empty_ARG_EXPAND); -void snd_pcm_access_mask_free(snd_pcm_access_mask_free_ARG_EXPAND); +void glshim_snd_pcm_access_mask_free(snd_pcm_access_mask_free_ARG_EXPAND); typedef void (*snd_pcm_access_mask_free_PTR)(snd_pcm_access_mask_free_ARG_EXPAND); -int snd_pcm_access_mask_malloc(snd_pcm_access_mask_malloc_ARG_EXPAND); +int glshim_snd_pcm_access_mask_malloc(snd_pcm_access_mask_malloc_ARG_EXPAND); typedef int (*snd_pcm_access_mask_malloc_PTR)(snd_pcm_access_mask_malloc_ARG_EXPAND); -void snd_pcm_access_mask_none(snd_pcm_access_mask_none_ARG_EXPAND); +void glshim_snd_pcm_access_mask_none(snd_pcm_access_mask_none_ARG_EXPAND); typedef void (*snd_pcm_access_mask_none_PTR)(snd_pcm_access_mask_none_ARG_EXPAND); -void snd_pcm_access_mask_reset(snd_pcm_access_mask_reset_ARG_EXPAND); +void glshim_snd_pcm_access_mask_reset(snd_pcm_access_mask_reset_ARG_EXPAND); typedef void (*snd_pcm_access_mask_reset_PTR)(snd_pcm_access_mask_reset_ARG_EXPAND); -void snd_pcm_access_mask_set(snd_pcm_access_mask_set_ARG_EXPAND); +void glshim_snd_pcm_access_mask_set(snd_pcm_access_mask_set_ARG_EXPAND); typedef void (*snd_pcm_access_mask_set_PTR)(snd_pcm_access_mask_set_ARG_EXPAND); -size_t snd_pcm_access_mask_sizeof(snd_pcm_access_mask_sizeof_ARG_EXPAND); +size_t glshim_snd_pcm_access_mask_sizeof(snd_pcm_access_mask_sizeof_ARG_EXPAND); typedef size_t (*snd_pcm_access_mask_sizeof_PTR)(snd_pcm_access_mask_sizeof_ARG_EXPAND); -int snd_pcm_access_mask_test(snd_pcm_access_mask_test_ARG_EXPAND); +int glshim_snd_pcm_access_mask_test(snd_pcm_access_mask_test_ARG_EXPAND); typedef int (*snd_pcm_access_mask_test_PTR)(snd_pcm_access_mask_test_ARG_EXPAND); -const char * snd_pcm_access_name(snd_pcm_access_name_ARG_EXPAND); +const char * glshim_snd_pcm_access_name(snd_pcm_access_name_ARG_EXPAND); typedef const char * (*snd_pcm_access_name_PTR)(snd_pcm_access_name_ARG_EXPAND); -int snd_pcm_area_copy(snd_pcm_area_copy_ARG_EXPAND); +int glshim_snd_pcm_area_copy(snd_pcm_area_copy_ARG_EXPAND); typedef int (*snd_pcm_area_copy_PTR)(snd_pcm_area_copy_ARG_EXPAND); -int snd_pcm_area_silence(snd_pcm_area_silence_ARG_EXPAND); +int glshim_snd_pcm_area_silence(snd_pcm_area_silence_ARG_EXPAND); typedef int (*snd_pcm_area_silence_PTR)(snd_pcm_area_silence_ARG_EXPAND); -int snd_pcm_areas_copy(snd_pcm_areas_copy_ARG_EXPAND); +int glshim_snd_pcm_areas_copy(snd_pcm_areas_copy_ARG_EXPAND); typedef int (*snd_pcm_areas_copy_PTR)(snd_pcm_areas_copy_ARG_EXPAND); -int snd_pcm_areas_silence(snd_pcm_areas_silence_ARG_EXPAND); +int glshim_snd_pcm_areas_silence(snd_pcm_areas_silence_ARG_EXPAND); typedef int (*snd_pcm_areas_silence_PTR)(snd_pcm_areas_silence_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_avail_update(snd_pcm_avail_update_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_avail_update(snd_pcm_avail_update_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_avail_update_PTR)(snd_pcm_avail_update_ARG_EXPAND); -snd_pcm_format_t snd_pcm_build_linear_format(snd_pcm_build_linear_format_ARG_EXPAND); +snd_pcm_format_t glshim_snd_pcm_build_linear_format(snd_pcm_build_linear_format_ARG_EXPAND); typedef snd_pcm_format_t (*snd_pcm_build_linear_format_PTR)(snd_pcm_build_linear_format_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_bytes_to_frames(snd_pcm_bytes_to_frames_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_bytes_to_frames(snd_pcm_bytes_to_frames_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_bytes_to_frames_PTR)(snd_pcm_bytes_to_frames_ARG_EXPAND); -long snd_pcm_bytes_to_samples(snd_pcm_bytes_to_samples_ARG_EXPAND); +long glshim_snd_pcm_bytes_to_samples(snd_pcm_bytes_to_samples_ARG_EXPAND); typedef long (*snd_pcm_bytes_to_samples_PTR)(snd_pcm_bytes_to_samples_ARG_EXPAND); -int snd_pcm_close(snd_pcm_close_ARG_EXPAND); +int glshim_snd_pcm_close(snd_pcm_close_ARG_EXPAND); typedef int (*snd_pcm_close_PTR)(snd_pcm_close_ARG_EXPAND); -int snd_pcm_delay(snd_pcm_delay_ARG_EXPAND); +int glshim_snd_pcm_delay(snd_pcm_delay_ARG_EXPAND); typedef int (*snd_pcm_delay_PTR)(snd_pcm_delay_ARG_EXPAND); -int snd_pcm_drain(snd_pcm_drain_ARG_EXPAND); +int glshim_snd_pcm_drain(snd_pcm_drain_ARG_EXPAND); typedef int (*snd_pcm_drain_PTR)(snd_pcm_drain_ARG_EXPAND); -int snd_pcm_drop(snd_pcm_drop_ARG_EXPAND); +int glshim_snd_pcm_drop(snd_pcm_drop_ARG_EXPAND); typedef int (*snd_pcm_drop_PTR)(snd_pcm_drop_ARG_EXPAND); -int snd_pcm_dump(snd_pcm_dump_ARG_EXPAND); +int glshim_snd_pcm_dump(snd_pcm_dump_ARG_EXPAND); typedef int (*snd_pcm_dump_PTR)(snd_pcm_dump_ARG_EXPAND); -int snd_pcm_dump_hw_setup(snd_pcm_dump_hw_setup_ARG_EXPAND); +int glshim_snd_pcm_dump_hw_setup(snd_pcm_dump_hw_setup_ARG_EXPAND); typedef int (*snd_pcm_dump_hw_setup_PTR)(snd_pcm_dump_hw_setup_ARG_EXPAND); -int snd_pcm_dump_setup(snd_pcm_dump_setup_ARG_EXPAND); +int glshim_snd_pcm_dump_setup(snd_pcm_dump_setup_ARG_EXPAND); typedef int (*snd_pcm_dump_setup_PTR)(snd_pcm_dump_setup_ARG_EXPAND); -int snd_pcm_dump_sw_setup(snd_pcm_dump_sw_setup_ARG_EXPAND); +int glshim_snd_pcm_dump_sw_setup(snd_pcm_dump_sw_setup_ARG_EXPAND); typedef int (*snd_pcm_dump_sw_setup_PTR)(snd_pcm_dump_sw_setup_ARG_EXPAND); -int snd_pcm_format_big_endian(snd_pcm_format_big_endian_ARG_EXPAND); +int glshim_snd_pcm_format_big_endian(snd_pcm_format_big_endian_ARG_EXPAND); typedef int (*snd_pcm_format_big_endian_PTR)(snd_pcm_format_big_endian_ARG_EXPAND); -int snd_pcm_format_cpu_endian(snd_pcm_format_cpu_endian_ARG_EXPAND); +int glshim_snd_pcm_format_cpu_endian(snd_pcm_format_cpu_endian_ARG_EXPAND); typedef int (*snd_pcm_format_cpu_endian_PTR)(snd_pcm_format_cpu_endian_ARG_EXPAND); -const char * snd_pcm_format_description(snd_pcm_format_description_ARG_EXPAND); +const char * glshim_snd_pcm_format_description(snd_pcm_format_description_ARG_EXPAND); typedef const char * (*snd_pcm_format_description_PTR)(snd_pcm_format_description_ARG_EXPAND); -int snd_pcm_format_float(snd_pcm_format_float_ARG_EXPAND); +int glshim_snd_pcm_format_float(snd_pcm_format_float_ARG_EXPAND); typedef int (*snd_pcm_format_float_PTR)(snd_pcm_format_float_ARG_EXPAND); -int snd_pcm_format_linear(snd_pcm_format_linear_ARG_EXPAND); +int glshim_snd_pcm_format_linear(snd_pcm_format_linear_ARG_EXPAND); typedef int (*snd_pcm_format_linear_PTR)(snd_pcm_format_linear_ARG_EXPAND); -int snd_pcm_format_little_endian(snd_pcm_format_little_endian_ARG_EXPAND); +int glshim_snd_pcm_format_little_endian(snd_pcm_format_little_endian_ARG_EXPAND); typedef int (*snd_pcm_format_little_endian_PTR)(snd_pcm_format_little_endian_ARG_EXPAND); -void snd_pcm_format_mask_any(snd_pcm_format_mask_any_ARG_EXPAND); +void glshim_snd_pcm_format_mask_any(snd_pcm_format_mask_any_ARG_EXPAND); typedef void (*snd_pcm_format_mask_any_PTR)(snd_pcm_format_mask_any_ARG_EXPAND); -void snd_pcm_format_mask_copy(snd_pcm_format_mask_copy_ARG_EXPAND); +void glshim_snd_pcm_format_mask_copy(snd_pcm_format_mask_copy_ARG_EXPAND); typedef void (*snd_pcm_format_mask_copy_PTR)(snd_pcm_format_mask_copy_ARG_EXPAND); -int snd_pcm_format_mask_empty(snd_pcm_format_mask_empty_ARG_EXPAND); +int glshim_snd_pcm_format_mask_empty(snd_pcm_format_mask_empty_ARG_EXPAND); typedef int (*snd_pcm_format_mask_empty_PTR)(snd_pcm_format_mask_empty_ARG_EXPAND); -void snd_pcm_format_mask_free(snd_pcm_format_mask_free_ARG_EXPAND); +void glshim_snd_pcm_format_mask_free(snd_pcm_format_mask_free_ARG_EXPAND); typedef void (*snd_pcm_format_mask_free_PTR)(snd_pcm_format_mask_free_ARG_EXPAND); -int snd_pcm_format_mask_malloc(snd_pcm_format_mask_malloc_ARG_EXPAND); +int glshim_snd_pcm_format_mask_malloc(snd_pcm_format_mask_malloc_ARG_EXPAND); typedef int (*snd_pcm_format_mask_malloc_PTR)(snd_pcm_format_mask_malloc_ARG_EXPAND); -void snd_pcm_format_mask_none(snd_pcm_format_mask_none_ARG_EXPAND); +void glshim_snd_pcm_format_mask_none(snd_pcm_format_mask_none_ARG_EXPAND); typedef void (*snd_pcm_format_mask_none_PTR)(snd_pcm_format_mask_none_ARG_EXPAND); -void snd_pcm_format_mask_reset(snd_pcm_format_mask_reset_ARG_EXPAND); +void glshim_snd_pcm_format_mask_reset(snd_pcm_format_mask_reset_ARG_EXPAND); typedef void (*snd_pcm_format_mask_reset_PTR)(snd_pcm_format_mask_reset_ARG_EXPAND); -void snd_pcm_format_mask_set(snd_pcm_format_mask_set_ARG_EXPAND); +void glshim_snd_pcm_format_mask_set(snd_pcm_format_mask_set_ARG_EXPAND); typedef void (*snd_pcm_format_mask_set_PTR)(snd_pcm_format_mask_set_ARG_EXPAND); -size_t snd_pcm_format_mask_sizeof(snd_pcm_format_mask_sizeof_ARG_EXPAND); +size_t glshim_snd_pcm_format_mask_sizeof(snd_pcm_format_mask_sizeof_ARG_EXPAND); typedef size_t (*snd_pcm_format_mask_sizeof_PTR)(snd_pcm_format_mask_sizeof_ARG_EXPAND); -int snd_pcm_format_mask_test(snd_pcm_format_mask_test_ARG_EXPAND); +int glshim_snd_pcm_format_mask_test(snd_pcm_format_mask_test_ARG_EXPAND); typedef int (*snd_pcm_format_mask_test_PTR)(snd_pcm_format_mask_test_ARG_EXPAND); -const char * snd_pcm_format_name(snd_pcm_format_name_ARG_EXPAND); +const char * glshim_snd_pcm_format_name(snd_pcm_format_name_ARG_EXPAND); typedef const char * (*snd_pcm_format_name_PTR)(snd_pcm_format_name_ARG_EXPAND); -int snd_pcm_format_physical_width(snd_pcm_format_physical_width_ARG_EXPAND); +int glshim_snd_pcm_format_physical_width(snd_pcm_format_physical_width_ARG_EXPAND); typedef int (*snd_pcm_format_physical_width_PTR)(snd_pcm_format_physical_width_ARG_EXPAND); -int snd_pcm_format_set_silence(snd_pcm_format_set_silence_ARG_EXPAND); +int glshim_snd_pcm_format_set_silence(snd_pcm_format_set_silence_ARG_EXPAND); typedef int (*snd_pcm_format_set_silence_PTR)(snd_pcm_format_set_silence_ARG_EXPAND); -int snd_pcm_format_signed(snd_pcm_format_signed_ARG_EXPAND); +int glshim_snd_pcm_format_signed(snd_pcm_format_signed_ARG_EXPAND); typedef int (*snd_pcm_format_signed_PTR)(snd_pcm_format_signed_ARG_EXPAND); -u_int8_t snd_pcm_format_silence(snd_pcm_format_silence_ARG_EXPAND); +u_int8_t glshim_snd_pcm_format_silence(snd_pcm_format_silence_ARG_EXPAND); typedef u_int8_t (*snd_pcm_format_silence_PTR)(snd_pcm_format_silence_ARG_EXPAND); -u_int16_t snd_pcm_format_silence_16(snd_pcm_format_silence_16_ARG_EXPAND); +u_int16_t glshim_snd_pcm_format_silence_16(snd_pcm_format_silence_16_ARG_EXPAND); typedef u_int16_t (*snd_pcm_format_silence_16_PTR)(snd_pcm_format_silence_16_ARG_EXPAND); -u_int32_t snd_pcm_format_silence_32(snd_pcm_format_silence_32_ARG_EXPAND); +u_int32_t glshim_snd_pcm_format_silence_32(snd_pcm_format_silence_32_ARG_EXPAND); typedef u_int32_t (*snd_pcm_format_silence_32_PTR)(snd_pcm_format_silence_32_ARG_EXPAND); -u_int64_t snd_pcm_format_silence_64(snd_pcm_format_silence_64_ARG_EXPAND); +u_int64_t glshim_snd_pcm_format_silence_64(snd_pcm_format_silence_64_ARG_EXPAND); typedef u_int64_t (*snd_pcm_format_silence_64_PTR)(snd_pcm_format_silence_64_ARG_EXPAND); -ssize_t snd_pcm_format_size(snd_pcm_format_size_ARG_EXPAND); +ssize_t glshim_snd_pcm_format_size(snd_pcm_format_size_ARG_EXPAND); typedef ssize_t (*snd_pcm_format_size_PTR)(snd_pcm_format_size_ARG_EXPAND); -int snd_pcm_format_unsigned(snd_pcm_format_unsigned_ARG_EXPAND); +int glshim_snd_pcm_format_unsigned(snd_pcm_format_unsigned_ARG_EXPAND); typedef int (*snd_pcm_format_unsigned_PTR)(snd_pcm_format_unsigned_ARG_EXPAND); -snd_pcm_format_t snd_pcm_format_value(snd_pcm_format_value_ARG_EXPAND); +snd_pcm_format_t glshim_snd_pcm_format_value(snd_pcm_format_value_ARG_EXPAND); typedef snd_pcm_format_t (*snd_pcm_format_value_PTR)(snd_pcm_format_value_ARG_EXPAND); -int snd_pcm_format_width(snd_pcm_format_width_ARG_EXPAND); +int glshim_snd_pcm_format_width(snd_pcm_format_width_ARG_EXPAND); typedef int (*snd_pcm_format_width_PTR)(snd_pcm_format_width_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_forward(snd_pcm_forward_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_forward(snd_pcm_forward_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_forward_PTR)(snd_pcm_forward_ARG_EXPAND); -ssize_t snd_pcm_frames_to_bytes(snd_pcm_frames_to_bytes_ARG_EXPAND); +ssize_t glshim_snd_pcm_frames_to_bytes(snd_pcm_frames_to_bytes_ARG_EXPAND); typedef ssize_t (*snd_pcm_frames_to_bytes_PTR)(snd_pcm_frames_to_bytes_ARG_EXPAND); -int snd_pcm_get_params(snd_pcm_get_params_ARG_EXPAND); +int glshim_snd_pcm_get_params(snd_pcm_get_params_ARG_EXPAND); typedef int (*snd_pcm_get_params_PTR)(snd_pcm_get_params_ARG_EXPAND); -int snd_pcm_hook_add(snd_pcm_hook_add_ARG_EXPAND); +int glshim_snd_pcm_hook_add(snd_pcm_hook_add_ARG_EXPAND); typedef int (*snd_pcm_hook_add_PTR)(snd_pcm_hook_add_ARG_EXPAND); -snd_pcm_t * snd_pcm_hook_get_pcm(snd_pcm_hook_get_pcm_ARG_EXPAND); +snd_pcm_t * glshim_snd_pcm_hook_get_pcm(snd_pcm_hook_get_pcm_ARG_EXPAND); typedef snd_pcm_t * (*snd_pcm_hook_get_pcm_PTR)(snd_pcm_hook_get_pcm_ARG_EXPAND); -void * snd_pcm_hook_get_private(snd_pcm_hook_get_private_ARG_EXPAND); +void * glshim_snd_pcm_hook_get_private(snd_pcm_hook_get_private_ARG_EXPAND); typedef void * (*snd_pcm_hook_get_private_PTR)(snd_pcm_hook_get_private_ARG_EXPAND); -int snd_pcm_hook_remove(snd_pcm_hook_remove_ARG_EXPAND); +int glshim_snd_pcm_hook_remove(snd_pcm_hook_remove_ARG_EXPAND); typedef int (*snd_pcm_hook_remove_PTR)(snd_pcm_hook_remove_ARG_EXPAND); -void snd_pcm_hook_set_private(snd_pcm_hook_set_private_ARG_EXPAND); +void glshim_snd_pcm_hook_set_private(snd_pcm_hook_set_private_ARG_EXPAND); typedef void (*snd_pcm_hook_set_private_PTR)(snd_pcm_hook_set_private_ARG_EXPAND); -int snd_pcm_hw_free(snd_pcm_hw_free_ARG_EXPAND); +int glshim_snd_pcm_hw_free(snd_pcm_hw_free_ARG_EXPAND); typedef int (*snd_pcm_hw_free_PTR)(snd_pcm_hw_free_ARG_EXPAND); -int snd_pcm_hw_params(snd_pcm_hw_params_ARG_EXPAND); +int glshim_snd_pcm_hw_params(snd_pcm_hw_params_ARG_EXPAND); typedef int (*snd_pcm_hw_params_PTR)(snd_pcm_hw_params_ARG_EXPAND); -int snd_pcm_hw_params_any(snd_pcm_hw_params_any_ARG_EXPAND); +int glshim_snd_pcm_hw_params_any(snd_pcm_hw_params_any_ARG_EXPAND); typedef int (*snd_pcm_hw_params_any_PTR)(snd_pcm_hw_params_any_ARG_EXPAND); -int snd_pcm_hw_params_can_mmap_sample_resolution(snd_pcm_hw_params_can_mmap_sample_resolution_ARG_EXPAND); +int glshim_snd_pcm_hw_params_can_mmap_sample_resolution(snd_pcm_hw_params_can_mmap_sample_resolution_ARG_EXPAND); typedef int (*snd_pcm_hw_params_can_mmap_sample_resolution_PTR)(snd_pcm_hw_params_can_mmap_sample_resolution_ARG_EXPAND); -int snd_pcm_hw_params_can_overrange(snd_pcm_hw_params_can_overrange_ARG_EXPAND); +int glshim_snd_pcm_hw_params_can_overrange(snd_pcm_hw_params_can_overrange_ARG_EXPAND); typedef int (*snd_pcm_hw_params_can_overrange_PTR)(snd_pcm_hw_params_can_overrange_ARG_EXPAND); -int snd_pcm_hw_params_can_pause(snd_pcm_hw_params_can_pause_ARG_EXPAND); +int glshim_snd_pcm_hw_params_can_pause(snd_pcm_hw_params_can_pause_ARG_EXPAND); typedef int (*snd_pcm_hw_params_can_pause_PTR)(snd_pcm_hw_params_can_pause_ARG_EXPAND); -int snd_pcm_hw_params_can_resume(snd_pcm_hw_params_can_resume_ARG_EXPAND); +int glshim_snd_pcm_hw_params_can_resume(snd_pcm_hw_params_can_resume_ARG_EXPAND); typedef int (*snd_pcm_hw_params_can_resume_PTR)(snd_pcm_hw_params_can_resume_ARG_EXPAND); -int snd_pcm_hw_params_can_sync_start(snd_pcm_hw_params_can_sync_start_ARG_EXPAND); +int glshim_snd_pcm_hw_params_can_sync_start(snd_pcm_hw_params_can_sync_start_ARG_EXPAND); typedef int (*snd_pcm_hw_params_can_sync_start_PTR)(snd_pcm_hw_params_can_sync_start_ARG_EXPAND); -void snd_pcm_hw_params_copy(snd_pcm_hw_params_copy_ARG_EXPAND); +void glshim_snd_pcm_hw_params_copy(snd_pcm_hw_params_copy_ARG_EXPAND); typedef void (*snd_pcm_hw_params_copy_PTR)(snd_pcm_hw_params_copy_ARG_EXPAND); -int snd_pcm_hw_params_current(snd_pcm_hw_params_current_ARG_EXPAND); +int glshim_snd_pcm_hw_params_current(snd_pcm_hw_params_current_ARG_EXPAND); typedef int (*snd_pcm_hw_params_current_PTR)(snd_pcm_hw_params_current_ARG_EXPAND); -int snd_pcm_hw_params_dump(snd_pcm_hw_params_dump_ARG_EXPAND); +int glshim_snd_pcm_hw_params_dump(snd_pcm_hw_params_dump_ARG_EXPAND); typedef int (*snd_pcm_hw_params_dump_PTR)(snd_pcm_hw_params_dump_ARG_EXPAND); -void snd_pcm_hw_params_free(snd_pcm_hw_params_free_ARG_EXPAND); +void glshim_snd_pcm_hw_params_free(snd_pcm_hw_params_free_ARG_EXPAND); typedef void (*snd_pcm_hw_params_free_PTR)(snd_pcm_hw_params_free_ARG_EXPAND); -int snd_pcm_hw_params_get_access(snd_pcm_hw_params_get_access_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_access(snd_pcm_hw_params_get_access_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_access_PTR)(snd_pcm_hw_params_get_access_ARG_EXPAND); -int snd_pcm_hw_params_get_access_mask(snd_pcm_hw_params_get_access_mask_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_access_mask(snd_pcm_hw_params_get_access_mask_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_access_mask_PTR)(snd_pcm_hw_params_get_access_mask_ARG_EXPAND); -int snd_pcm_hw_params_get_buffer_size(snd_pcm_hw_params_get_buffer_size_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_buffer_size(snd_pcm_hw_params_get_buffer_size_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_buffer_size_PTR)(snd_pcm_hw_params_get_buffer_size_ARG_EXPAND); -int snd_pcm_hw_params_get_buffer_size_max(snd_pcm_hw_params_get_buffer_size_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_buffer_size_max(snd_pcm_hw_params_get_buffer_size_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_buffer_size_max_PTR)(snd_pcm_hw_params_get_buffer_size_max_ARG_EXPAND); -int snd_pcm_hw_params_get_buffer_size_min(snd_pcm_hw_params_get_buffer_size_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_buffer_size_min(snd_pcm_hw_params_get_buffer_size_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_buffer_size_min_PTR)(snd_pcm_hw_params_get_buffer_size_min_ARG_EXPAND); -int snd_pcm_hw_params_get_buffer_time(snd_pcm_hw_params_get_buffer_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_buffer_time(snd_pcm_hw_params_get_buffer_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_buffer_time_PTR)(snd_pcm_hw_params_get_buffer_time_ARG_EXPAND); -int snd_pcm_hw_params_get_buffer_time_max(snd_pcm_hw_params_get_buffer_time_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_buffer_time_max(snd_pcm_hw_params_get_buffer_time_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_buffer_time_max_PTR)(snd_pcm_hw_params_get_buffer_time_max_ARG_EXPAND); -int snd_pcm_hw_params_get_buffer_time_min(snd_pcm_hw_params_get_buffer_time_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_buffer_time_min(snd_pcm_hw_params_get_buffer_time_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_buffer_time_min_PTR)(snd_pcm_hw_params_get_buffer_time_min_ARG_EXPAND); -int snd_pcm_hw_params_get_channels(snd_pcm_hw_params_get_channels_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_channels(snd_pcm_hw_params_get_channels_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_channels_PTR)(snd_pcm_hw_params_get_channels_ARG_EXPAND); -int snd_pcm_hw_params_get_channels_max(snd_pcm_hw_params_get_channels_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_channels_max(snd_pcm_hw_params_get_channels_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_channels_max_PTR)(snd_pcm_hw_params_get_channels_max_ARG_EXPAND); -int snd_pcm_hw_params_get_channels_min(snd_pcm_hw_params_get_channels_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_channels_min(snd_pcm_hw_params_get_channels_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_channels_min_PTR)(snd_pcm_hw_params_get_channels_min_ARG_EXPAND); -int snd_pcm_hw_params_get_export_buffer(snd_pcm_hw_params_get_export_buffer_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_export_buffer(snd_pcm_hw_params_get_export_buffer_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_export_buffer_PTR)(snd_pcm_hw_params_get_export_buffer_ARG_EXPAND); -int snd_pcm_hw_params_get_fifo_size(snd_pcm_hw_params_get_fifo_size_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_fifo_size(snd_pcm_hw_params_get_fifo_size_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_fifo_size_PTR)(snd_pcm_hw_params_get_fifo_size_ARG_EXPAND); -int snd_pcm_hw_params_get_format(snd_pcm_hw_params_get_format_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_format(snd_pcm_hw_params_get_format_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_format_PTR)(snd_pcm_hw_params_get_format_ARG_EXPAND); -void snd_pcm_hw_params_get_format_mask(snd_pcm_hw_params_get_format_mask_ARG_EXPAND); +void glshim_snd_pcm_hw_params_get_format_mask(snd_pcm_hw_params_get_format_mask_ARG_EXPAND); typedef void (*snd_pcm_hw_params_get_format_mask_PTR)(snd_pcm_hw_params_get_format_mask_ARG_EXPAND); -int snd_pcm_hw_params_get_min_align(snd_pcm_hw_params_get_min_align_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_min_align(snd_pcm_hw_params_get_min_align_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_min_align_PTR)(snd_pcm_hw_params_get_min_align_ARG_EXPAND); -int snd_pcm_hw_params_get_period_size(snd_pcm_hw_params_get_period_size_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_period_size(snd_pcm_hw_params_get_period_size_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_period_size_PTR)(snd_pcm_hw_params_get_period_size_ARG_EXPAND); -int snd_pcm_hw_params_get_period_size_max(snd_pcm_hw_params_get_period_size_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_period_size_max(snd_pcm_hw_params_get_period_size_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_period_size_max_PTR)(snd_pcm_hw_params_get_period_size_max_ARG_EXPAND); -int snd_pcm_hw_params_get_period_size_min(snd_pcm_hw_params_get_period_size_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_period_size_min(snd_pcm_hw_params_get_period_size_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_period_size_min_PTR)(snd_pcm_hw_params_get_period_size_min_ARG_EXPAND); -int snd_pcm_hw_params_get_period_time(snd_pcm_hw_params_get_period_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_period_time(snd_pcm_hw_params_get_period_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_period_time_PTR)(snd_pcm_hw_params_get_period_time_ARG_EXPAND); -int snd_pcm_hw_params_get_period_time_max(snd_pcm_hw_params_get_period_time_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_period_time_max(snd_pcm_hw_params_get_period_time_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_period_time_max_PTR)(snd_pcm_hw_params_get_period_time_max_ARG_EXPAND); -int snd_pcm_hw_params_get_period_time_min(snd_pcm_hw_params_get_period_time_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_period_time_min(snd_pcm_hw_params_get_period_time_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_period_time_min_PTR)(snd_pcm_hw_params_get_period_time_min_ARG_EXPAND); -int snd_pcm_hw_params_get_periods(snd_pcm_hw_params_get_periods_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_periods(snd_pcm_hw_params_get_periods_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_periods_PTR)(snd_pcm_hw_params_get_periods_ARG_EXPAND); -int snd_pcm_hw_params_get_periods_max(snd_pcm_hw_params_get_periods_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_periods_max(snd_pcm_hw_params_get_periods_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_periods_max_PTR)(snd_pcm_hw_params_get_periods_max_ARG_EXPAND); -int snd_pcm_hw_params_get_periods_min(snd_pcm_hw_params_get_periods_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_periods_min(snd_pcm_hw_params_get_periods_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_periods_min_PTR)(snd_pcm_hw_params_get_periods_min_ARG_EXPAND); -int snd_pcm_hw_params_get_rate(snd_pcm_hw_params_get_rate_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_rate(snd_pcm_hw_params_get_rate_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_rate_PTR)(snd_pcm_hw_params_get_rate_ARG_EXPAND); -int snd_pcm_hw_params_get_rate_max(snd_pcm_hw_params_get_rate_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_rate_max(snd_pcm_hw_params_get_rate_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_rate_max_PTR)(snd_pcm_hw_params_get_rate_max_ARG_EXPAND); -int snd_pcm_hw_params_get_rate_min(snd_pcm_hw_params_get_rate_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_rate_min(snd_pcm_hw_params_get_rate_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_rate_min_PTR)(snd_pcm_hw_params_get_rate_min_ARG_EXPAND); -int snd_pcm_hw_params_get_rate_numden(snd_pcm_hw_params_get_rate_numden_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_rate_numden(snd_pcm_hw_params_get_rate_numden_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_rate_numden_PTR)(snd_pcm_hw_params_get_rate_numden_ARG_EXPAND); -int snd_pcm_hw_params_get_rate_resample(snd_pcm_hw_params_get_rate_resample_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_rate_resample(snd_pcm_hw_params_get_rate_resample_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_rate_resample_PTR)(snd_pcm_hw_params_get_rate_resample_ARG_EXPAND); -int snd_pcm_hw_params_get_sbits(snd_pcm_hw_params_get_sbits_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_sbits(snd_pcm_hw_params_get_sbits_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_sbits_PTR)(snd_pcm_hw_params_get_sbits_ARG_EXPAND); -int snd_pcm_hw_params_get_subformat(snd_pcm_hw_params_get_subformat_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_subformat(snd_pcm_hw_params_get_subformat_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_subformat_PTR)(snd_pcm_hw_params_get_subformat_ARG_EXPAND); -void snd_pcm_hw_params_get_subformat_mask(snd_pcm_hw_params_get_subformat_mask_ARG_EXPAND); +void glshim_snd_pcm_hw_params_get_subformat_mask(snd_pcm_hw_params_get_subformat_mask_ARG_EXPAND); typedef void (*snd_pcm_hw_params_get_subformat_mask_PTR)(snd_pcm_hw_params_get_subformat_mask_ARG_EXPAND); -int snd_pcm_hw_params_get_tick_time(snd_pcm_hw_params_get_tick_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_tick_time(snd_pcm_hw_params_get_tick_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_tick_time_PTR)(snd_pcm_hw_params_get_tick_time_ARG_EXPAND); -int snd_pcm_hw_params_get_tick_time_max(snd_pcm_hw_params_get_tick_time_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_tick_time_max(snd_pcm_hw_params_get_tick_time_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_tick_time_max_PTR)(snd_pcm_hw_params_get_tick_time_max_ARG_EXPAND); -int snd_pcm_hw_params_get_tick_time_min(snd_pcm_hw_params_get_tick_time_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_get_tick_time_min(snd_pcm_hw_params_get_tick_time_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_get_tick_time_min_PTR)(snd_pcm_hw_params_get_tick_time_min_ARG_EXPAND); -int snd_pcm_hw_params_is_batch(snd_pcm_hw_params_is_batch_ARG_EXPAND); +int glshim_snd_pcm_hw_params_is_batch(snd_pcm_hw_params_is_batch_ARG_EXPAND); typedef int (*snd_pcm_hw_params_is_batch_PTR)(snd_pcm_hw_params_is_batch_ARG_EXPAND); -int snd_pcm_hw_params_is_block_transfer(snd_pcm_hw_params_is_block_transfer_ARG_EXPAND); +int glshim_snd_pcm_hw_params_is_block_transfer(snd_pcm_hw_params_is_block_transfer_ARG_EXPAND); typedef int (*snd_pcm_hw_params_is_block_transfer_PTR)(snd_pcm_hw_params_is_block_transfer_ARG_EXPAND); -int snd_pcm_hw_params_is_double(snd_pcm_hw_params_is_double_ARG_EXPAND); +int glshim_snd_pcm_hw_params_is_double(snd_pcm_hw_params_is_double_ARG_EXPAND); typedef int (*snd_pcm_hw_params_is_double_PTR)(snd_pcm_hw_params_is_double_ARG_EXPAND); -int snd_pcm_hw_params_is_half_duplex(snd_pcm_hw_params_is_half_duplex_ARG_EXPAND); +int glshim_snd_pcm_hw_params_is_half_duplex(snd_pcm_hw_params_is_half_duplex_ARG_EXPAND); typedef int (*snd_pcm_hw_params_is_half_duplex_PTR)(snd_pcm_hw_params_is_half_duplex_ARG_EXPAND); -int snd_pcm_hw_params_is_joint_duplex(snd_pcm_hw_params_is_joint_duplex_ARG_EXPAND); +int glshim_snd_pcm_hw_params_is_joint_duplex(snd_pcm_hw_params_is_joint_duplex_ARG_EXPAND); typedef int (*snd_pcm_hw_params_is_joint_duplex_PTR)(snd_pcm_hw_params_is_joint_duplex_ARG_EXPAND); -int snd_pcm_hw_params_is_monotonic(snd_pcm_hw_params_is_monotonic_ARG_EXPAND); +int glshim_snd_pcm_hw_params_is_monotonic(snd_pcm_hw_params_is_monotonic_ARG_EXPAND); typedef int (*snd_pcm_hw_params_is_monotonic_PTR)(snd_pcm_hw_params_is_monotonic_ARG_EXPAND); -int snd_pcm_hw_params_malloc(snd_pcm_hw_params_malloc_ARG_EXPAND); +int glshim_snd_pcm_hw_params_malloc(snd_pcm_hw_params_malloc_ARG_EXPAND); typedef int (*snd_pcm_hw_params_malloc_PTR)(snd_pcm_hw_params_malloc_ARG_EXPAND); -int snd_pcm_hw_params_set_access(snd_pcm_hw_params_set_access_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_access(snd_pcm_hw_params_set_access_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_access_PTR)(snd_pcm_hw_params_set_access_ARG_EXPAND); -int snd_pcm_hw_params_set_access_first(snd_pcm_hw_params_set_access_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_access_first(snd_pcm_hw_params_set_access_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_access_first_PTR)(snd_pcm_hw_params_set_access_first_ARG_EXPAND); -int snd_pcm_hw_params_set_access_last(snd_pcm_hw_params_set_access_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_access_last(snd_pcm_hw_params_set_access_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_access_last_PTR)(snd_pcm_hw_params_set_access_last_ARG_EXPAND); -int snd_pcm_hw_params_set_access_mask(snd_pcm_hw_params_set_access_mask_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_access_mask(snd_pcm_hw_params_set_access_mask_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_access_mask_PTR)(snd_pcm_hw_params_set_access_mask_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_size(snd_pcm_hw_params_set_buffer_size_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_size(snd_pcm_hw_params_set_buffer_size_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_size_PTR)(snd_pcm_hw_params_set_buffer_size_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_size_first(snd_pcm_hw_params_set_buffer_size_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_size_first(snd_pcm_hw_params_set_buffer_size_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_size_first_PTR)(snd_pcm_hw_params_set_buffer_size_first_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_size_last(snd_pcm_hw_params_set_buffer_size_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_size_last(snd_pcm_hw_params_set_buffer_size_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_size_last_PTR)(snd_pcm_hw_params_set_buffer_size_last_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_size_max(snd_pcm_hw_params_set_buffer_size_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_size_max(snd_pcm_hw_params_set_buffer_size_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_size_max_PTR)(snd_pcm_hw_params_set_buffer_size_max_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_size_min(snd_pcm_hw_params_set_buffer_size_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_size_min(snd_pcm_hw_params_set_buffer_size_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_size_min_PTR)(snd_pcm_hw_params_set_buffer_size_min_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_size_minmax(snd_pcm_hw_params_set_buffer_size_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_size_minmax(snd_pcm_hw_params_set_buffer_size_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_size_minmax_PTR)(snd_pcm_hw_params_set_buffer_size_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_size_near(snd_pcm_hw_params_set_buffer_size_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_size_near(snd_pcm_hw_params_set_buffer_size_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_size_near_PTR)(snd_pcm_hw_params_set_buffer_size_near_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_time(snd_pcm_hw_params_set_buffer_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_time(snd_pcm_hw_params_set_buffer_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_time_PTR)(snd_pcm_hw_params_set_buffer_time_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_time_first(snd_pcm_hw_params_set_buffer_time_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_time_first(snd_pcm_hw_params_set_buffer_time_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_time_first_PTR)(snd_pcm_hw_params_set_buffer_time_first_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_time_last(snd_pcm_hw_params_set_buffer_time_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_time_last(snd_pcm_hw_params_set_buffer_time_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_time_last_PTR)(snd_pcm_hw_params_set_buffer_time_last_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_time_max(snd_pcm_hw_params_set_buffer_time_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_time_max(snd_pcm_hw_params_set_buffer_time_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_time_max_PTR)(snd_pcm_hw_params_set_buffer_time_max_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_time_min(snd_pcm_hw_params_set_buffer_time_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_time_min(snd_pcm_hw_params_set_buffer_time_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_time_min_PTR)(snd_pcm_hw_params_set_buffer_time_min_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_time_minmax(snd_pcm_hw_params_set_buffer_time_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_time_minmax(snd_pcm_hw_params_set_buffer_time_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_time_minmax_PTR)(snd_pcm_hw_params_set_buffer_time_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_buffer_time_near(snd_pcm_hw_params_set_buffer_time_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_buffer_time_near(snd_pcm_hw_params_set_buffer_time_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_buffer_time_near_PTR)(snd_pcm_hw_params_set_buffer_time_near_ARG_EXPAND); -int snd_pcm_hw_params_set_channels(snd_pcm_hw_params_set_channels_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_channels(snd_pcm_hw_params_set_channels_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_channels_PTR)(snd_pcm_hw_params_set_channels_ARG_EXPAND); -int snd_pcm_hw_params_set_channels_first(snd_pcm_hw_params_set_channels_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_channels_first(snd_pcm_hw_params_set_channels_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_channels_first_PTR)(snd_pcm_hw_params_set_channels_first_ARG_EXPAND); -int snd_pcm_hw_params_set_channels_last(snd_pcm_hw_params_set_channels_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_channels_last(snd_pcm_hw_params_set_channels_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_channels_last_PTR)(snd_pcm_hw_params_set_channels_last_ARG_EXPAND); -int snd_pcm_hw_params_set_channels_max(snd_pcm_hw_params_set_channels_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_channels_max(snd_pcm_hw_params_set_channels_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_channels_max_PTR)(snd_pcm_hw_params_set_channels_max_ARG_EXPAND); -int snd_pcm_hw_params_set_channels_min(snd_pcm_hw_params_set_channels_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_channels_min(snd_pcm_hw_params_set_channels_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_channels_min_PTR)(snd_pcm_hw_params_set_channels_min_ARG_EXPAND); -int snd_pcm_hw_params_set_channels_minmax(snd_pcm_hw_params_set_channels_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_channels_minmax(snd_pcm_hw_params_set_channels_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_channels_minmax_PTR)(snd_pcm_hw_params_set_channels_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_channels_near(snd_pcm_hw_params_set_channels_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_channels_near(snd_pcm_hw_params_set_channels_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_channels_near_PTR)(snd_pcm_hw_params_set_channels_near_ARG_EXPAND); -int snd_pcm_hw_params_set_export_buffer(snd_pcm_hw_params_set_export_buffer_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_export_buffer(snd_pcm_hw_params_set_export_buffer_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_export_buffer_PTR)(snd_pcm_hw_params_set_export_buffer_ARG_EXPAND); -int snd_pcm_hw_params_set_format(snd_pcm_hw_params_set_format_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_format(snd_pcm_hw_params_set_format_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_format_PTR)(snd_pcm_hw_params_set_format_ARG_EXPAND); -int snd_pcm_hw_params_set_format_first(snd_pcm_hw_params_set_format_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_format_first(snd_pcm_hw_params_set_format_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_format_first_PTR)(snd_pcm_hw_params_set_format_first_ARG_EXPAND); -int snd_pcm_hw_params_set_format_last(snd_pcm_hw_params_set_format_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_format_last(snd_pcm_hw_params_set_format_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_format_last_PTR)(snd_pcm_hw_params_set_format_last_ARG_EXPAND); -int snd_pcm_hw_params_set_format_mask(snd_pcm_hw_params_set_format_mask_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_format_mask(snd_pcm_hw_params_set_format_mask_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_format_mask_PTR)(snd_pcm_hw_params_set_format_mask_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size(snd_pcm_hw_params_set_period_size_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size(snd_pcm_hw_params_set_period_size_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_PTR)(snd_pcm_hw_params_set_period_size_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size_first(snd_pcm_hw_params_set_period_size_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size_first(snd_pcm_hw_params_set_period_size_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_first_PTR)(snd_pcm_hw_params_set_period_size_first_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size_integer(snd_pcm_hw_params_set_period_size_integer_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size_integer(snd_pcm_hw_params_set_period_size_integer_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_integer_PTR)(snd_pcm_hw_params_set_period_size_integer_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size_last(snd_pcm_hw_params_set_period_size_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size_last(snd_pcm_hw_params_set_period_size_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_last_PTR)(snd_pcm_hw_params_set_period_size_last_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size_max(snd_pcm_hw_params_set_period_size_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size_max(snd_pcm_hw_params_set_period_size_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_max_PTR)(snd_pcm_hw_params_set_period_size_max_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size_min(snd_pcm_hw_params_set_period_size_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size_min(snd_pcm_hw_params_set_period_size_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_min_PTR)(snd_pcm_hw_params_set_period_size_min_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size_minmax(snd_pcm_hw_params_set_period_size_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size_minmax(snd_pcm_hw_params_set_period_size_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_minmax_PTR)(snd_pcm_hw_params_set_period_size_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_period_size_near(snd_pcm_hw_params_set_period_size_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_size_near(snd_pcm_hw_params_set_period_size_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_size_near_PTR)(snd_pcm_hw_params_set_period_size_near_ARG_EXPAND); -int snd_pcm_hw_params_set_period_time(snd_pcm_hw_params_set_period_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_time(snd_pcm_hw_params_set_period_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_time_PTR)(snd_pcm_hw_params_set_period_time_ARG_EXPAND); -int snd_pcm_hw_params_set_period_time_first(snd_pcm_hw_params_set_period_time_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_time_first(snd_pcm_hw_params_set_period_time_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_time_first_PTR)(snd_pcm_hw_params_set_period_time_first_ARG_EXPAND); -int snd_pcm_hw_params_set_period_time_last(snd_pcm_hw_params_set_period_time_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_time_last(snd_pcm_hw_params_set_period_time_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_time_last_PTR)(snd_pcm_hw_params_set_period_time_last_ARG_EXPAND); -int snd_pcm_hw_params_set_period_time_max(snd_pcm_hw_params_set_period_time_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_time_max(snd_pcm_hw_params_set_period_time_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_time_max_PTR)(snd_pcm_hw_params_set_period_time_max_ARG_EXPAND); -int snd_pcm_hw_params_set_period_time_min(snd_pcm_hw_params_set_period_time_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_time_min(snd_pcm_hw_params_set_period_time_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_time_min_PTR)(snd_pcm_hw_params_set_period_time_min_ARG_EXPAND); -int snd_pcm_hw_params_set_period_time_minmax(snd_pcm_hw_params_set_period_time_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_time_minmax(snd_pcm_hw_params_set_period_time_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_time_minmax_PTR)(snd_pcm_hw_params_set_period_time_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_period_time_near(snd_pcm_hw_params_set_period_time_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_period_time_near(snd_pcm_hw_params_set_period_time_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_period_time_near_PTR)(snd_pcm_hw_params_set_period_time_near_ARG_EXPAND); -int snd_pcm_hw_params_set_periods(snd_pcm_hw_params_set_periods_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods(snd_pcm_hw_params_set_periods_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_PTR)(snd_pcm_hw_params_set_periods_ARG_EXPAND); -int snd_pcm_hw_params_set_periods_first(snd_pcm_hw_params_set_periods_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods_first(snd_pcm_hw_params_set_periods_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_first_PTR)(snd_pcm_hw_params_set_periods_first_ARG_EXPAND); -int snd_pcm_hw_params_set_periods_integer(snd_pcm_hw_params_set_periods_integer_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods_integer(snd_pcm_hw_params_set_periods_integer_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_integer_PTR)(snd_pcm_hw_params_set_periods_integer_ARG_EXPAND); -int snd_pcm_hw_params_set_periods_last(snd_pcm_hw_params_set_periods_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods_last(snd_pcm_hw_params_set_periods_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_last_PTR)(snd_pcm_hw_params_set_periods_last_ARG_EXPAND); -int snd_pcm_hw_params_set_periods_max(snd_pcm_hw_params_set_periods_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods_max(snd_pcm_hw_params_set_periods_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_max_PTR)(snd_pcm_hw_params_set_periods_max_ARG_EXPAND); -int snd_pcm_hw_params_set_periods_min(snd_pcm_hw_params_set_periods_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods_min(snd_pcm_hw_params_set_periods_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_min_PTR)(snd_pcm_hw_params_set_periods_min_ARG_EXPAND); -int snd_pcm_hw_params_set_periods_minmax(snd_pcm_hw_params_set_periods_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods_minmax(snd_pcm_hw_params_set_periods_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_minmax_PTR)(snd_pcm_hw_params_set_periods_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_periods_near(snd_pcm_hw_params_set_periods_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_periods_near(snd_pcm_hw_params_set_periods_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_periods_near_PTR)(snd_pcm_hw_params_set_periods_near_ARG_EXPAND); -int snd_pcm_hw_params_set_rate(snd_pcm_hw_params_set_rate_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate(snd_pcm_hw_params_set_rate_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_PTR)(snd_pcm_hw_params_set_rate_ARG_EXPAND); -int snd_pcm_hw_params_set_rate_first(snd_pcm_hw_params_set_rate_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate_first(snd_pcm_hw_params_set_rate_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_first_PTR)(snd_pcm_hw_params_set_rate_first_ARG_EXPAND); -int snd_pcm_hw_params_set_rate_last(snd_pcm_hw_params_set_rate_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate_last(snd_pcm_hw_params_set_rate_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_last_PTR)(snd_pcm_hw_params_set_rate_last_ARG_EXPAND); -int snd_pcm_hw_params_set_rate_max(snd_pcm_hw_params_set_rate_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate_max(snd_pcm_hw_params_set_rate_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_max_PTR)(snd_pcm_hw_params_set_rate_max_ARG_EXPAND); -int snd_pcm_hw_params_set_rate_min(snd_pcm_hw_params_set_rate_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate_min(snd_pcm_hw_params_set_rate_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_min_PTR)(snd_pcm_hw_params_set_rate_min_ARG_EXPAND); -int snd_pcm_hw_params_set_rate_minmax(snd_pcm_hw_params_set_rate_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate_minmax(snd_pcm_hw_params_set_rate_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_minmax_PTR)(snd_pcm_hw_params_set_rate_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_rate_near(snd_pcm_hw_params_set_rate_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate_near(snd_pcm_hw_params_set_rate_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_near_PTR)(snd_pcm_hw_params_set_rate_near_ARG_EXPAND); -int snd_pcm_hw_params_set_rate_resample(snd_pcm_hw_params_set_rate_resample_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_rate_resample(snd_pcm_hw_params_set_rate_resample_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_rate_resample_PTR)(snd_pcm_hw_params_set_rate_resample_ARG_EXPAND); -int snd_pcm_hw_params_set_subformat(snd_pcm_hw_params_set_subformat_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_subformat(snd_pcm_hw_params_set_subformat_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_subformat_PTR)(snd_pcm_hw_params_set_subformat_ARG_EXPAND); -int snd_pcm_hw_params_set_subformat_first(snd_pcm_hw_params_set_subformat_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_subformat_first(snd_pcm_hw_params_set_subformat_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_subformat_first_PTR)(snd_pcm_hw_params_set_subformat_first_ARG_EXPAND); -int snd_pcm_hw_params_set_subformat_last(snd_pcm_hw_params_set_subformat_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_subformat_last(snd_pcm_hw_params_set_subformat_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_subformat_last_PTR)(snd_pcm_hw_params_set_subformat_last_ARG_EXPAND); -int snd_pcm_hw_params_set_subformat_mask(snd_pcm_hw_params_set_subformat_mask_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_subformat_mask(snd_pcm_hw_params_set_subformat_mask_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_subformat_mask_PTR)(snd_pcm_hw_params_set_subformat_mask_ARG_EXPAND); -int snd_pcm_hw_params_set_tick_time(snd_pcm_hw_params_set_tick_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_tick_time(snd_pcm_hw_params_set_tick_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_tick_time_PTR)(snd_pcm_hw_params_set_tick_time_ARG_EXPAND); -int snd_pcm_hw_params_set_tick_time_first(snd_pcm_hw_params_set_tick_time_first_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_tick_time_first(snd_pcm_hw_params_set_tick_time_first_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_tick_time_first_PTR)(snd_pcm_hw_params_set_tick_time_first_ARG_EXPAND); -int snd_pcm_hw_params_set_tick_time_last(snd_pcm_hw_params_set_tick_time_last_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_tick_time_last(snd_pcm_hw_params_set_tick_time_last_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_tick_time_last_PTR)(snd_pcm_hw_params_set_tick_time_last_ARG_EXPAND); -int snd_pcm_hw_params_set_tick_time_max(snd_pcm_hw_params_set_tick_time_max_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_tick_time_max(snd_pcm_hw_params_set_tick_time_max_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_tick_time_max_PTR)(snd_pcm_hw_params_set_tick_time_max_ARG_EXPAND); -int snd_pcm_hw_params_set_tick_time_min(snd_pcm_hw_params_set_tick_time_min_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_tick_time_min(snd_pcm_hw_params_set_tick_time_min_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_tick_time_min_PTR)(snd_pcm_hw_params_set_tick_time_min_ARG_EXPAND); -int snd_pcm_hw_params_set_tick_time_minmax(snd_pcm_hw_params_set_tick_time_minmax_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_tick_time_minmax(snd_pcm_hw_params_set_tick_time_minmax_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_tick_time_minmax_PTR)(snd_pcm_hw_params_set_tick_time_minmax_ARG_EXPAND); -int snd_pcm_hw_params_set_tick_time_near(snd_pcm_hw_params_set_tick_time_near_ARG_EXPAND); +int glshim_snd_pcm_hw_params_set_tick_time_near(snd_pcm_hw_params_set_tick_time_near_ARG_EXPAND); typedef int (*snd_pcm_hw_params_set_tick_time_near_PTR)(snd_pcm_hw_params_set_tick_time_near_ARG_EXPAND); -size_t snd_pcm_hw_params_sizeof(snd_pcm_hw_params_sizeof_ARG_EXPAND); +size_t glshim_snd_pcm_hw_params_sizeof(snd_pcm_hw_params_sizeof_ARG_EXPAND); typedef size_t (*snd_pcm_hw_params_sizeof_PTR)(snd_pcm_hw_params_sizeof_ARG_EXPAND); -int snd_pcm_hw_params_test_access(snd_pcm_hw_params_test_access_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_access(snd_pcm_hw_params_test_access_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_access_PTR)(snd_pcm_hw_params_test_access_ARG_EXPAND); -int snd_pcm_hw_params_test_buffer_size(snd_pcm_hw_params_test_buffer_size_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_buffer_size(snd_pcm_hw_params_test_buffer_size_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_buffer_size_PTR)(snd_pcm_hw_params_test_buffer_size_ARG_EXPAND); -int snd_pcm_hw_params_test_buffer_time(snd_pcm_hw_params_test_buffer_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_buffer_time(snd_pcm_hw_params_test_buffer_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_buffer_time_PTR)(snd_pcm_hw_params_test_buffer_time_ARG_EXPAND); -int snd_pcm_hw_params_test_channels(snd_pcm_hw_params_test_channels_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_channels(snd_pcm_hw_params_test_channels_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_channels_PTR)(snd_pcm_hw_params_test_channels_ARG_EXPAND); -int snd_pcm_hw_params_test_format(snd_pcm_hw_params_test_format_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_format(snd_pcm_hw_params_test_format_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_format_PTR)(snd_pcm_hw_params_test_format_ARG_EXPAND); -int snd_pcm_hw_params_test_period_size(snd_pcm_hw_params_test_period_size_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_period_size(snd_pcm_hw_params_test_period_size_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_period_size_PTR)(snd_pcm_hw_params_test_period_size_ARG_EXPAND); -int snd_pcm_hw_params_test_period_time(snd_pcm_hw_params_test_period_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_period_time(snd_pcm_hw_params_test_period_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_period_time_PTR)(snd_pcm_hw_params_test_period_time_ARG_EXPAND); -int snd_pcm_hw_params_test_periods(snd_pcm_hw_params_test_periods_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_periods(snd_pcm_hw_params_test_periods_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_periods_PTR)(snd_pcm_hw_params_test_periods_ARG_EXPAND); -int snd_pcm_hw_params_test_rate(snd_pcm_hw_params_test_rate_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_rate(snd_pcm_hw_params_test_rate_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_rate_PTR)(snd_pcm_hw_params_test_rate_ARG_EXPAND); -int snd_pcm_hw_params_test_subformat(snd_pcm_hw_params_test_subformat_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_subformat(snd_pcm_hw_params_test_subformat_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_subformat_PTR)(snd_pcm_hw_params_test_subformat_ARG_EXPAND); -int snd_pcm_hw_params_test_tick_time(snd_pcm_hw_params_test_tick_time_ARG_EXPAND); +int glshim_snd_pcm_hw_params_test_tick_time(snd_pcm_hw_params_test_tick_time_ARG_EXPAND); typedef int (*snd_pcm_hw_params_test_tick_time_PTR)(snd_pcm_hw_params_test_tick_time_ARG_EXPAND); -int snd_pcm_hwsync(snd_pcm_hwsync_ARG_EXPAND); +int glshim_snd_pcm_hwsync(snd_pcm_hwsync_ARG_EXPAND); typedef int (*snd_pcm_hwsync_PTR)(snd_pcm_hwsync_ARG_EXPAND); -int snd_pcm_info(snd_pcm_info_ARG_EXPAND); +int glshim_snd_pcm_info(snd_pcm_info_ARG_EXPAND); typedef int (*snd_pcm_info_PTR)(snd_pcm_info_ARG_EXPAND); -void snd_pcm_info_copy(snd_pcm_info_copy_ARG_EXPAND); +void glshim_snd_pcm_info_copy(snd_pcm_info_copy_ARG_EXPAND); typedef void (*snd_pcm_info_copy_PTR)(snd_pcm_info_copy_ARG_EXPAND); -void snd_pcm_info_free(snd_pcm_info_free_ARG_EXPAND); +void glshim_snd_pcm_info_free(snd_pcm_info_free_ARG_EXPAND); typedef void (*snd_pcm_info_free_PTR)(snd_pcm_info_free_ARG_EXPAND); -int snd_pcm_info_get_card(snd_pcm_info_get_card_ARG_EXPAND); +int glshim_snd_pcm_info_get_card(snd_pcm_info_get_card_ARG_EXPAND); typedef int (*snd_pcm_info_get_card_PTR)(snd_pcm_info_get_card_ARG_EXPAND); -snd_pcm_class_t snd_pcm_info_get_class(snd_pcm_info_get_class_ARG_EXPAND); +snd_pcm_class_t glshim_snd_pcm_info_get_class(snd_pcm_info_get_class_ARG_EXPAND); typedef snd_pcm_class_t (*snd_pcm_info_get_class_PTR)(snd_pcm_info_get_class_ARG_EXPAND); -unsigned int snd_pcm_info_get_device(snd_pcm_info_get_device_ARG_EXPAND); +unsigned int glshim_snd_pcm_info_get_device(snd_pcm_info_get_device_ARG_EXPAND); typedef unsigned int (*snd_pcm_info_get_device_PTR)(snd_pcm_info_get_device_ARG_EXPAND); -const char * snd_pcm_info_get_id(snd_pcm_info_get_id_ARG_EXPAND); +const char * glshim_snd_pcm_info_get_id(snd_pcm_info_get_id_ARG_EXPAND); typedef const char * (*snd_pcm_info_get_id_PTR)(snd_pcm_info_get_id_ARG_EXPAND); -const char * snd_pcm_info_get_name(snd_pcm_info_get_name_ARG_EXPAND); +const char * glshim_snd_pcm_info_get_name(snd_pcm_info_get_name_ARG_EXPAND); typedef const char * (*snd_pcm_info_get_name_PTR)(snd_pcm_info_get_name_ARG_EXPAND); -snd_pcm_stream_t snd_pcm_info_get_stream(snd_pcm_info_get_stream_ARG_EXPAND); +snd_pcm_stream_t glshim_snd_pcm_info_get_stream(snd_pcm_info_get_stream_ARG_EXPAND); typedef snd_pcm_stream_t (*snd_pcm_info_get_stream_PTR)(snd_pcm_info_get_stream_ARG_EXPAND); -snd_pcm_subclass_t snd_pcm_info_get_subclass(snd_pcm_info_get_subclass_ARG_EXPAND); +snd_pcm_subclass_t glshim_snd_pcm_info_get_subclass(snd_pcm_info_get_subclass_ARG_EXPAND); typedef snd_pcm_subclass_t (*snd_pcm_info_get_subclass_PTR)(snd_pcm_info_get_subclass_ARG_EXPAND); -unsigned int snd_pcm_info_get_subdevice(snd_pcm_info_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_pcm_info_get_subdevice(snd_pcm_info_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_pcm_info_get_subdevice_PTR)(snd_pcm_info_get_subdevice_ARG_EXPAND); -const char * snd_pcm_info_get_subdevice_name(snd_pcm_info_get_subdevice_name_ARG_EXPAND); +const char * glshim_snd_pcm_info_get_subdevice_name(snd_pcm_info_get_subdevice_name_ARG_EXPAND); typedef const char * (*snd_pcm_info_get_subdevice_name_PTR)(snd_pcm_info_get_subdevice_name_ARG_EXPAND); -unsigned int snd_pcm_info_get_subdevices_avail(snd_pcm_info_get_subdevices_avail_ARG_EXPAND); +unsigned int glshim_snd_pcm_info_get_subdevices_avail(snd_pcm_info_get_subdevices_avail_ARG_EXPAND); typedef unsigned int (*snd_pcm_info_get_subdevices_avail_PTR)(snd_pcm_info_get_subdevices_avail_ARG_EXPAND); -unsigned int snd_pcm_info_get_subdevices_count(snd_pcm_info_get_subdevices_count_ARG_EXPAND); +unsigned int glshim_snd_pcm_info_get_subdevices_count(snd_pcm_info_get_subdevices_count_ARG_EXPAND); typedef unsigned int (*snd_pcm_info_get_subdevices_count_PTR)(snd_pcm_info_get_subdevices_count_ARG_EXPAND); -snd_pcm_sync_id_t snd_pcm_info_get_sync(snd_pcm_info_get_sync_ARG_EXPAND); +snd_pcm_sync_id_t glshim_snd_pcm_info_get_sync(snd_pcm_info_get_sync_ARG_EXPAND); typedef snd_pcm_sync_id_t (*snd_pcm_info_get_sync_PTR)(snd_pcm_info_get_sync_ARG_EXPAND); -int snd_pcm_info_malloc(snd_pcm_info_malloc_ARG_EXPAND); +int glshim_snd_pcm_info_malloc(snd_pcm_info_malloc_ARG_EXPAND); typedef int (*snd_pcm_info_malloc_PTR)(snd_pcm_info_malloc_ARG_EXPAND); -void snd_pcm_info_set_device(snd_pcm_info_set_device_ARG_EXPAND); +void glshim_snd_pcm_info_set_device(snd_pcm_info_set_device_ARG_EXPAND); typedef void (*snd_pcm_info_set_device_PTR)(snd_pcm_info_set_device_ARG_EXPAND); -void snd_pcm_info_set_stream(snd_pcm_info_set_stream_ARG_EXPAND); +void glshim_snd_pcm_info_set_stream(snd_pcm_info_set_stream_ARG_EXPAND); typedef void (*snd_pcm_info_set_stream_PTR)(snd_pcm_info_set_stream_ARG_EXPAND); -void snd_pcm_info_set_subdevice(snd_pcm_info_set_subdevice_ARG_EXPAND); +void glshim_snd_pcm_info_set_subdevice(snd_pcm_info_set_subdevice_ARG_EXPAND); typedef void (*snd_pcm_info_set_subdevice_PTR)(snd_pcm_info_set_subdevice_ARG_EXPAND); -size_t snd_pcm_info_sizeof(snd_pcm_info_sizeof_ARG_EXPAND); +size_t glshim_snd_pcm_info_sizeof(snd_pcm_info_sizeof_ARG_EXPAND); typedef size_t (*snd_pcm_info_sizeof_PTR)(snd_pcm_info_sizeof_ARG_EXPAND); -int snd_pcm_link(snd_pcm_link_ARG_EXPAND); +int glshim_snd_pcm_link(snd_pcm_link_ARG_EXPAND); typedef int (*snd_pcm_link_PTR)(snd_pcm_link_ARG_EXPAND); -int snd_pcm_meter_add_scope(snd_pcm_meter_add_scope_ARG_EXPAND); +int glshim_snd_pcm_meter_add_scope(snd_pcm_meter_add_scope_ARG_EXPAND); typedef int (*snd_pcm_meter_add_scope_PTR)(snd_pcm_meter_add_scope_ARG_EXPAND); -snd_pcm_uframes_t snd_pcm_meter_get_boundary(snd_pcm_meter_get_boundary_ARG_EXPAND); +snd_pcm_uframes_t glshim_snd_pcm_meter_get_boundary(snd_pcm_meter_get_boundary_ARG_EXPAND); typedef snd_pcm_uframes_t (*snd_pcm_meter_get_boundary_PTR)(snd_pcm_meter_get_boundary_ARG_EXPAND); -snd_pcm_uframes_t snd_pcm_meter_get_bufsize(snd_pcm_meter_get_bufsize_ARG_EXPAND); +snd_pcm_uframes_t glshim_snd_pcm_meter_get_bufsize(snd_pcm_meter_get_bufsize_ARG_EXPAND); typedef snd_pcm_uframes_t (*snd_pcm_meter_get_bufsize_PTR)(snd_pcm_meter_get_bufsize_ARG_EXPAND); -unsigned int snd_pcm_meter_get_channels(snd_pcm_meter_get_channels_ARG_EXPAND); +unsigned int glshim_snd_pcm_meter_get_channels(snd_pcm_meter_get_channels_ARG_EXPAND); typedef unsigned int (*snd_pcm_meter_get_channels_PTR)(snd_pcm_meter_get_channels_ARG_EXPAND); -snd_pcm_uframes_t snd_pcm_meter_get_now(snd_pcm_meter_get_now_ARG_EXPAND); +snd_pcm_uframes_t glshim_snd_pcm_meter_get_now(snd_pcm_meter_get_now_ARG_EXPAND); typedef snd_pcm_uframes_t (*snd_pcm_meter_get_now_PTR)(snd_pcm_meter_get_now_ARG_EXPAND); -unsigned int snd_pcm_meter_get_rate(snd_pcm_meter_get_rate_ARG_EXPAND); +unsigned int glshim_snd_pcm_meter_get_rate(snd_pcm_meter_get_rate_ARG_EXPAND); typedef unsigned int (*snd_pcm_meter_get_rate_PTR)(snd_pcm_meter_get_rate_ARG_EXPAND); -snd_pcm_scope_t * snd_pcm_meter_search_scope(snd_pcm_meter_search_scope_ARG_EXPAND); +snd_pcm_scope_t * glshim_snd_pcm_meter_search_scope(snd_pcm_meter_search_scope_ARG_EXPAND); typedef snd_pcm_scope_t * (*snd_pcm_meter_search_scope_PTR)(snd_pcm_meter_search_scope_ARG_EXPAND); -int snd_pcm_mmap_begin(snd_pcm_mmap_begin_ARG_EXPAND); +int glshim_snd_pcm_mmap_begin(snd_pcm_mmap_begin_ARG_EXPAND); typedef int (*snd_pcm_mmap_begin_PTR)(snd_pcm_mmap_begin_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_mmap_commit(snd_pcm_mmap_commit_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_mmap_commit(snd_pcm_mmap_commit_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_mmap_commit_PTR)(snd_pcm_mmap_commit_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_mmap_readi(snd_pcm_mmap_readi_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_mmap_readi(snd_pcm_mmap_readi_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_mmap_readi_PTR)(snd_pcm_mmap_readi_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_mmap_readn(snd_pcm_mmap_readn_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_mmap_readn(snd_pcm_mmap_readn_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_mmap_readn_PTR)(snd_pcm_mmap_readn_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_mmap_writei(snd_pcm_mmap_writei_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_mmap_writei(snd_pcm_mmap_writei_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_mmap_writei_PTR)(snd_pcm_mmap_writei_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_mmap_writen(snd_pcm_mmap_writen_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_mmap_writen(snd_pcm_mmap_writen_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_mmap_writen_PTR)(snd_pcm_mmap_writen_ARG_EXPAND); -const char * snd_pcm_name(snd_pcm_name_ARG_EXPAND); +const char * glshim_snd_pcm_name(snd_pcm_name_ARG_EXPAND); typedef const char * (*snd_pcm_name_PTR)(snd_pcm_name_ARG_EXPAND); -int snd_pcm_nonblock(snd_pcm_nonblock_ARG_EXPAND); +int glshim_snd_pcm_nonblock(snd_pcm_nonblock_ARG_EXPAND); typedef int (*snd_pcm_nonblock_PTR)(snd_pcm_nonblock_ARG_EXPAND); -int snd_pcm_open(snd_pcm_open_ARG_EXPAND); +int glshim_snd_pcm_open(snd_pcm_open_ARG_EXPAND); typedef int (*snd_pcm_open_PTR)(snd_pcm_open_ARG_EXPAND); -int snd_pcm_open_lconf(snd_pcm_open_lconf_ARG_EXPAND); +int glshim_snd_pcm_open_lconf(snd_pcm_open_lconf_ARG_EXPAND); typedef int (*snd_pcm_open_lconf_PTR)(snd_pcm_open_lconf_ARG_EXPAND); -int snd_pcm_pause(snd_pcm_pause_ARG_EXPAND); +int glshim_snd_pcm_pause(snd_pcm_pause_ARG_EXPAND); typedef int (*snd_pcm_pause_PTR)(snd_pcm_pause_ARG_EXPAND); -int snd_pcm_poll_descriptors(snd_pcm_poll_descriptors_ARG_EXPAND); +int glshim_snd_pcm_poll_descriptors(snd_pcm_poll_descriptors_ARG_EXPAND); typedef int (*snd_pcm_poll_descriptors_PTR)(snd_pcm_poll_descriptors_ARG_EXPAND); -int snd_pcm_poll_descriptors_count(snd_pcm_poll_descriptors_count_ARG_EXPAND); +int glshim_snd_pcm_poll_descriptors_count(snd_pcm_poll_descriptors_count_ARG_EXPAND); typedef int (*snd_pcm_poll_descriptors_count_PTR)(snd_pcm_poll_descriptors_count_ARG_EXPAND); -int snd_pcm_poll_descriptors_revents(snd_pcm_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_pcm_poll_descriptors_revents(snd_pcm_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_pcm_poll_descriptors_revents_PTR)(snd_pcm_poll_descriptors_revents_ARG_EXPAND); -int snd_pcm_prepare(snd_pcm_prepare_ARG_EXPAND); +int glshim_snd_pcm_prepare(snd_pcm_prepare_ARG_EXPAND); typedef int (*snd_pcm_prepare_PTR)(snd_pcm_prepare_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_readi(snd_pcm_readi_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_readi(snd_pcm_readi_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_readi_PTR)(snd_pcm_readi_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_readn(snd_pcm_readn_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_readn(snd_pcm_readn_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_readn_PTR)(snd_pcm_readn_ARG_EXPAND); -int snd_pcm_recover(snd_pcm_recover_ARG_EXPAND); +int glshim_snd_pcm_recover(snd_pcm_recover_ARG_EXPAND); typedef int (*snd_pcm_recover_PTR)(snd_pcm_recover_ARG_EXPAND); -int snd_pcm_reset(snd_pcm_reset_ARG_EXPAND); +int glshim_snd_pcm_reset(snd_pcm_reset_ARG_EXPAND); typedef int (*snd_pcm_reset_PTR)(snd_pcm_reset_ARG_EXPAND); -int snd_pcm_resume(snd_pcm_resume_ARG_EXPAND); +int glshim_snd_pcm_resume(snd_pcm_resume_ARG_EXPAND); typedef int (*snd_pcm_resume_PTR)(snd_pcm_resume_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_rewind(snd_pcm_rewind_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_rewind(snd_pcm_rewind_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_rewind_PTR)(snd_pcm_rewind_ARG_EXPAND); -ssize_t snd_pcm_samples_to_bytes(snd_pcm_samples_to_bytes_ARG_EXPAND); +ssize_t glshim_snd_pcm_samples_to_bytes(snd_pcm_samples_to_bytes_ARG_EXPAND); typedef ssize_t (*snd_pcm_samples_to_bytes_PTR)(snd_pcm_samples_to_bytes_ARG_EXPAND); -void * snd_pcm_scope_get_callback_private(snd_pcm_scope_get_callback_private_ARG_EXPAND); +void * glshim_snd_pcm_scope_get_callback_private(snd_pcm_scope_get_callback_private_ARG_EXPAND); typedef void * (*snd_pcm_scope_get_callback_private_PTR)(snd_pcm_scope_get_callback_private_ARG_EXPAND); -const char * snd_pcm_scope_get_name(snd_pcm_scope_get_name_ARG_EXPAND); +const char * glshim_snd_pcm_scope_get_name(snd_pcm_scope_get_name_ARG_EXPAND); typedef const char * (*snd_pcm_scope_get_name_PTR)(snd_pcm_scope_get_name_ARG_EXPAND); -int snd_pcm_scope_malloc(snd_pcm_scope_malloc_ARG_EXPAND); +int glshim_snd_pcm_scope_malloc(snd_pcm_scope_malloc_ARG_EXPAND); typedef int (*snd_pcm_scope_malloc_PTR)(snd_pcm_scope_malloc_ARG_EXPAND); -int16_t * snd_pcm_scope_s16_get_channel_buffer(snd_pcm_scope_s16_get_channel_buffer_ARG_EXPAND); +int16_t * glshim_snd_pcm_scope_s16_get_channel_buffer(snd_pcm_scope_s16_get_channel_buffer_ARG_EXPAND); typedef int16_t * (*snd_pcm_scope_s16_get_channel_buffer_PTR)(snd_pcm_scope_s16_get_channel_buffer_ARG_EXPAND); -int snd_pcm_scope_s16_open(snd_pcm_scope_s16_open_ARG_EXPAND); +int glshim_snd_pcm_scope_s16_open(snd_pcm_scope_s16_open_ARG_EXPAND); typedef int (*snd_pcm_scope_s16_open_PTR)(snd_pcm_scope_s16_open_ARG_EXPAND); -void snd_pcm_scope_set_callback_private(snd_pcm_scope_set_callback_private_ARG_EXPAND); +void glshim_snd_pcm_scope_set_callback_private(snd_pcm_scope_set_callback_private_ARG_EXPAND); typedef void (*snd_pcm_scope_set_callback_private_PTR)(snd_pcm_scope_set_callback_private_ARG_EXPAND); -void snd_pcm_scope_set_name(snd_pcm_scope_set_name_ARG_EXPAND); +void glshim_snd_pcm_scope_set_name(snd_pcm_scope_set_name_ARG_EXPAND); typedef void (*snd_pcm_scope_set_name_PTR)(snd_pcm_scope_set_name_ARG_EXPAND); -void snd_pcm_scope_set_ops(snd_pcm_scope_set_ops_ARG_EXPAND); +void glshim_snd_pcm_scope_set_ops(snd_pcm_scope_set_ops_ARG_EXPAND); typedef void (*snd_pcm_scope_set_ops_PTR)(snd_pcm_scope_set_ops_ARG_EXPAND); -int snd_pcm_set_params(snd_pcm_set_params_ARG_EXPAND); +int glshim_snd_pcm_set_params(snd_pcm_set_params_ARG_EXPAND); typedef int (*snd_pcm_set_params_PTR)(snd_pcm_set_params_ARG_EXPAND); -int snd_pcm_start(snd_pcm_start_ARG_EXPAND); +int glshim_snd_pcm_start(snd_pcm_start_ARG_EXPAND); typedef int (*snd_pcm_start_PTR)(snd_pcm_start_ARG_EXPAND); -const char * snd_pcm_start_mode_name(snd_pcm_start_mode_name_ARG_EXPAND); +const char * glshim_snd_pcm_start_mode_name(snd_pcm_start_mode_name_ARG_EXPAND); typedef const char * (*snd_pcm_start_mode_name_PTR)(snd_pcm_start_mode_name_ARG_EXPAND); -snd_pcm_state_t snd_pcm_state(snd_pcm_state_ARG_EXPAND); +snd_pcm_state_t glshim_snd_pcm_state(snd_pcm_state_ARG_EXPAND); typedef snd_pcm_state_t (*snd_pcm_state_PTR)(snd_pcm_state_ARG_EXPAND); -const char * snd_pcm_state_name(snd_pcm_state_name_ARG_EXPAND); +const char * glshim_snd_pcm_state_name(snd_pcm_state_name_ARG_EXPAND); typedef const char * (*snd_pcm_state_name_PTR)(snd_pcm_state_name_ARG_EXPAND); -int snd_pcm_status(snd_pcm_status_ARG_EXPAND); +int glshim_snd_pcm_status(snd_pcm_status_ARG_EXPAND); typedef int (*snd_pcm_status_PTR)(snd_pcm_status_ARG_EXPAND); -void snd_pcm_status_copy(snd_pcm_status_copy_ARG_EXPAND); +void glshim_snd_pcm_status_copy(snd_pcm_status_copy_ARG_EXPAND); typedef void (*snd_pcm_status_copy_PTR)(snd_pcm_status_copy_ARG_EXPAND); -int snd_pcm_status_dump(snd_pcm_status_dump_ARG_EXPAND); +int glshim_snd_pcm_status_dump(snd_pcm_status_dump_ARG_EXPAND); typedef int (*snd_pcm_status_dump_PTR)(snd_pcm_status_dump_ARG_EXPAND); -void snd_pcm_status_free(snd_pcm_status_free_ARG_EXPAND); +void glshim_snd_pcm_status_free(snd_pcm_status_free_ARG_EXPAND); typedef void (*snd_pcm_status_free_PTR)(snd_pcm_status_free_ARG_EXPAND); -snd_pcm_uframes_t snd_pcm_status_get_avail(snd_pcm_status_get_avail_ARG_EXPAND); +snd_pcm_uframes_t glshim_snd_pcm_status_get_avail(snd_pcm_status_get_avail_ARG_EXPAND); typedef snd_pcm_uframes_t (*snd_pcm_status_get_avail_PTR)(snd_pcm_status_get_avail_ARG_EXPAND); -snd_pcm_uframes_t snd_pcm_status_get_avail_max(snd_pcm_status_get_avail_max_ARG_EXPAND); +snd_pcm_uframes_t glshim_snd_pcm_status_get_avail_max(snd_pcm_status_get_avail_max_ARG_EXPAND); typedef snd_pcm_uframes_t (*snd_pcm_status_get_avail_max_PTR)(snd_pcm_status_get_avail_max_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_status_get_delay(snd_pcm_status_get_delay_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_status_get_delay(snd_pcm_status_get_delay_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_status_get_delay_PTR)(snd_pcm_status_get_delay_ARG_EXPAND); -void snd_pcm_status_get_htstamp(snd_pcm_status_get_htstamp_ARG_EXPAND); +void glshim_snd_pcm_status_get_htstamp(snd_pcm_status_get_htstamp_ARG_EXPAND); typedef void (*snd_pcm_status_get_htstamp_PTR)(snd_pcm_status_get_htstamp_ARG_EXPAND); -snd_pcm_uframes_t snd_pcm_status_get_overrange(snd_pcm_status_get_overrange_ARG_EXPAND); +snd_pcm_uframes_t glshim_snd_pcm_status_get_overrange(snd_pcm_status_get_overrange_ARG_EXPAND); typedef snd_pcm_uframes_t (*snd_pcm_status_get_overrange_PTR)(snd_pcm_status_get_overrange_ARG_EXPAND); -snd_pcm_state_t snd_pcm_status_get_state(snd_pcm_status_get_state_ARG_EXPAND); +snd_pcm_state_t glshim_snd_pcm_status_get_state(snd_pcm_status_get_state_ARG_EXPAND); typedef snd_pcm_state_t (*snd_pcm_status_get_state_PTR)(snd_pcm_status_get_state_ARG_EXPAND); -void snd_pcm_status_get_trigger_htstamp(snd_pcm_status_get_trigger_htstamp_ARG_EXPAND); +void glshim_snd_pcm_status_get_trigger_htstamp(snd_pcm_status_get_trigger_htstamp_ARG_EXPAND); typedef void (*snd_pcm_status_get_trigger_htstamp_PTR)(snd_pcm_status_get_trigger_htstamp_ARG_EXPAND); -void snd_pcm_status_get_trigger_tstamp(snd_pcm_status_get_trigger_tstamp_ARG_EXPAND); +void glshim_snd_pcm_status_get_trigger_tstamp(snd_pcm_status_get_trigger_tstamp_ARG_EXPAND); typedef void (*snd_pcm_status_get_trigger_tstamp_PTR)(snd_pcm_status_get_trigger_tstamp_ARG_EXPAND); -void snd_pcm_status_get_tstamp(snd_pcm_status_get_tstamp_ARG_EXPAND); +void glshim_snd_pcm_status_get_tstamp(snd_pcm_status_get_tstamp_ARG_EXPAND); typedef void (*snd_pcm_status_get_tstamp_PTR)(snd_pcm_status_get_tstamp_ARG_EXPAND); -int snd_pcm_status_malloc(snd_pcm_status_malloc_ARG_EXPAND); +int glshim_snd_pcm_status_malloc(snd_pcm_status_malloc_ARG_EXPAND); typedef int (*snd_pcm_status_malloc_PTR)(snd_pcm_status_malloc_ARG_EXPAND); -size_t snd_pcm_status_sizeof(snd_pcm_status_sizeof_ARG_EXPAND); +size_t glshim_snd_pcm_status_sizeof(snd_pcm_status_sizeof_ARG_EXPAND); typedef size_t (*snd_pcm_status_sizeof_PTR)(snd_pcm_status_sizeof_ARG_EXPAND); -snd_pcm_stream_t snd_pcm_stream(snd_pcm_stream_ARG_EXPAND); +snd_pcm_stream_t glshim_snd_pcm_stream(snd_pcm_stream_ARG_EXPAND); typedef snd_pcm_stream_t (*snd_pcm_stream_PTR)(snd_pcm_stream_ARG_EXPAND); -const char * snd_pcm_stream_name(snd_pcm_stream_name_ARG_EXPAND); +const char * glshim_snd_pcm_stream_name(snd_pcm_stream_name_ARG_EXPAND); typedef const char * (*snd_pcm_stream_name_PTR)(snd_pcm_stream_name_ARG_EXPAND); -const char * snd_pcm_subformat_description(snd_pcm_subformat_description_ARG_EXPAND); +const char * glshim_snd_pcm_subformat_description(snd_pcm_subformat_description_ARG_EXPAND); typedef const char * (*snd_pcm_subformat_description_PTR)(snd_pcm_subformat_description_ARG_EXPAND); -void snd_pcm_subformat_mask_any(snd_pcm_subformat_mask_any_ARG_EXPAND); +void glshim_snd_pcm_subformat_mask_any(snd_pcm_subformat_mask_any_ARG_EXPAND); typedef void (*snd_pcm_subformat_mask_any_PTR)(snd_pcm_subformat_mask_any_ARG_EXPAND); -void snd_pcm_subformat_mask_copy(snd_pcm_subformat_mask_copy_ARG_EXPAND); +void glshim_snd_pcm_subformat_mask_copy(snd_pcm_subformat_mask_copy_ARG_EXPAND); typedef void (*snd_pcm_subformat_mask_copy_PTR)(snd_pcm_subformat_mask_copy_ARG_EXPAND); -int snd_pcm_subformat_mask_empty(snd_pcm_subformat_mask_empty_ARG_EXPAND); +int glshim_snd_pcm_subformat_mask_empty(snd_pcm_subformat_mask_empty_ARG_EXPAND); typedef int (*snd_pcm_subformat_mask_empty_PTR)(snd_pcm_subformat_mask_empty_ARG_EXPAND); -void snd_pcm_subformat_mask_free(snd_pcm_subformat_mask_free_ARG_EXPAND); +void glshim_snd_pcm_subformat_mask_free(snd_pcm_subformat_mask_free_ARG_EXPAND); typedef void (*snd_pcm_subformat_mask_free_PTR)(snd_pcm_subformat_mask_free_ARG_EXPAND); -int snd_pcm_subformat_mask_malloc(snd_pcm_subformat_mask_malloc_ARG_EXPAND); +int glshim_snd_pcm_subformat_mask_malloc(snd_pcm_subformat_mask_malloc_ARG_EXPAND); typedef int (*snd_pcm_subformat_mask_malloc_PTR)(snd_pcm_subformat_mask_malloc_ARG_EXPAND); -void snd_pcm_subformat_mask_none(snd_pcm_subformat_mask_none_ARG_EXPAND); +void glshim_snd_pcm_subformat_mask_none(snd_pcm_subformat_mask_none_ARG_EXPAND); typedef void (*snd_pcm_subformat_mask_none_PTR)(snd_pcm_subformat_mask_none_ARG_EXPAND); -void snd_pcm_subformat_mask_reset(snd_pcm_subformat_mask_reset_ARG_EXPAND); +void glshim_snd_pcm_subformat_mask_reset(snd_pcm_subformat_mask_reset_ARG_EXPAND); typedef void (*snd_pcm_subformat_mask_reset_PTR)(snd_pcm_subformat_mask_reset_ARG_EXPAND); -void snd_pcm_subformat_mask_set(snd_pcm_subformat_mask_set_ARG_EXPAND); +void glshim_snd_pcm_subformat_mask_set(snd_pcm_subformat_mask_set_ARG_EXPAND); typedef void (*snd_pcm_subformat_mask_set_PTR)(snd_pcm_subformat_mask_set_ARG_EXPAND); -size_t snd_pcm_subformat_mask_sizeof(snd_pcm_subformat_mask_sizeof_ARG_EXPAND); +size_t glshim_snd_pcm_subformat_mask_sizeof(snd_pcm_subformat_mask_sizeof_ARG_EXPAND); typedef size_t (*snd_pcm_subformat_mask_sizeof_PTR)(snd_pcm_subformat_mask_sizeof_ARG_EXPAND); -int snd_pcm_subformat_mask_test(snd_pcm_subformat_mask_test_ARG_EXPAND); +int glshim_snd_pcm_subformat_mask_test(snd_pcm_subformat_mask_test_ARG_EXPAND); typedef int (*snd_pcm_subformat_mask_test_PTR)(snd_pcm_subformat_mask_test_ARG_EXPAND); -const char * snd_pcm_subformat_name(snd_pcm_subformat_name_ARG_EXPAND); +const char * glshim_snd_pcm_subformat_name(snd_pcm_subformat_name_ARG_EXPAND); typedef const char * (*snd_pcm_subformat_name_PTR)(snd_pcm_subformat_name_ARG_EXPAND); -int snd_pcm_sw_params(snd_pcm_sw_params_ARG_EXPAND); +int glshim_snd_pcm_sw_params(snd_pcm_sw_params_ARG_EXPAND); typedef int (*snd_pcm_sw_params_PTR)(snd_pcm_sw_params_ARG_EXPAND); -void snd_pcm_sw_params_copy(snd_pcm_sw_params_copy_ARG_EXPAND); +void glshim_snd_pcm_sw_params_copy(snd_pcm_sw_params_copy_ARG_EXPAND); typedef void (*snd_pcm_sw_params_copy_PTR)(snd_pcm_sw_params_copy_ARG_EXPAND); -int snd_pcm_sw_params_current(snd_pcm_sw_params_current_ARG_EXPAND); +int glshim_snd_pcm_sw_params_current(snd_pcm_sw_params_current_ARG_EXPAND); typedef int (*snd_pcm_sw_params_current_PTR)(snd_pcm_sw_params_current_ARG_EXPAND); -int snd_pcm_sw_params_dump(snd_pcm_sw_params_dump_ARG_EXPAND); +int glshim_snd_pcm_sw_params_dump(snd_pcm_sw_params_dump_ARG_EXPAND); typedef int (*snd_pcm_sw_params_dump_PTR)(snd_pcm_sw_params_dump_ARG_EXPAND); -void snd_pcm_sw_params_free(snd_pcm_sw_params_free_ARG_EXPAND); +void glshim_snd_pcm_sw_params_free(snd_pcm_sw_params_free_ARG_EXPAND); typedef void (*snd_pcm_sw_params_free_PTR)(snd_pcm_sw_params_free_ARG_EXPAND); -int snd_pcm_sw_params_get_avail_min(snd_pcm_sw_params_get_avail_min_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_avail_min(snd_pcm_sw_params_get_avail_min_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_avail_min_PTR)(snd_pcm_sw_params_get_avail_min_ARG_EXPAND); -int snd_pcm_sw_params_get_boundary(snd_pcm_sw_params_get_boundary_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_boundary(snd_pcm_sw_params_get_boundary_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_boundary_PTR)(snd_pcm_sw_params_get_boundary_ARG_EXPAND); -int snd_pcm_sw_params_get_silence_size(snd_pcm_sw_params_get_silence_size_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_silence_size(snd_pcm_sw_params_get_silence_size_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_silence_size_PTR)(snd_pcm_sw_params_get_silence_size_ARG_EXPAND); -int snd_pcm_sw_params_get_silence_threshold(snd_pcm_sw_params_get_silence_threshold_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_silence_threshold(snd_pcm_sw_params_get_silence_threshold_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_silence_threshold_PTR)(snd_pcm_sw_params_get_silence_threshold_ARG_EXPAND); -int snd_pcm_sw_params_get_sleep_min(snd_pcm_sw_params_get_sleep_min_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_sleep_min(snd_pcm_sw_params_get_sleep_min_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_sleep_min_PTR)(snd_pcm_sw_params_get_sleep_min_ARG_EXPAND); -snd_pcm_start_t snd_pcm_sw_params_get_start_mode(snd_pcm_sw_params_get_start_mode_ARG_EXPAND); +snd_pcm_start_t glshim_snd_pcm_sw_params_get_start_mode(snd_pcm_sw_params_get_start_mode_ARG_EXPAND); typedef snd_pcm_start_t (*snd_pcm_sw_params_get_start_mode_PTR)(snd_pcm_sw_params_get_start_mode_ARG_EXPAND); -int snd_pcm_sw_params_get_start_threshold(snd_pcm_sw_params_get_start_threshold_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_start_threshold(snd_pcm_sw_params_get_start_threshold_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_start_threshold_PTR)(snd_pcm_sw_params_get_start_threshold_ARG_EXPAND); -int snd_pcm_sw_params_get_stop_threshold(snd_pcm_sw_params_get_stop_threshold_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_stop_threshold(snd_pcm_sw_params_get_stop_threshold_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_stop_threshold_PTR)(snd_pcm_sw_params_get_stop_threshold_ARG_EXPAND); -int snd_pcm_sw_params_get_tstamp_mode(snd_pcm_sw_params_get_tstamp_mode_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_tstamp_mode(snd_pcm_sw_params_get_tstamp_mode_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_tstamp_mode_PTR)(snd_pcm_sw_params_get_tstamp_mode_ARG_EXPAND); -int snd_pcm_sw_params_get_xfer_align(snd_pcm_sw_params_get_xfer_align_ARG_EXPAND); +int glshim_snd_pcm_sw_params_get_xfer_align(snd_pcm_sw_params_get_xfer_align_ARG_EXPAND); typedef int (*snd_pcm_sw_params_get_xfer_align_PTR)(snd_pcm_sw_params_get_xfer_align_ARG_EXPAND); -snd_pcm_xrun_t snd_pcm_sw_params_get_xrun_mode(snd_pcm_sw_params_get_xrun_mode_ARG_EXPAND); +snd_pcm_xrun_t glshim_snd_pcm_sw_params_get_xrun_mode(snd_pcm_sw_params_get_xrun_mode_ARG_EXPAND); typedef snd_pcm_xrun_t (*snd_pcm_sw_params_get_xrun_mode_PTR)(snd_pcm_sw_params_get_xrun_mode_ARG_EXPAND); -int snd_pcm_sw_params_malloc(snd_pcm_sw_params_malloc_ARG_EXPAND); +int glshim_snd_pcm_sw_params_malloc(snd_pcm_sw_params_malloc_ARG_EXPAND); typedef int (*snd_pcm_sw_params_malloc_PTR)(snd_pcm_sw_params_malloc_ARG_EXPAND); -int snd_pcm_sw_params_set_avail_min(snd_pcm_sw_params_set_avail_min_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_avail_min(snd_pcm_sw_params_set_avail_min_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_avail_min_PTR)(snd_pcm_sw_params_set_avail_min_ARG_EXPAND); -int snd_pcm_sw_params_set_silence_size(snd_pcm_sw_params_set_silence_size_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_silence_size(snd_pcm_sw_params_set_silence_size_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_silence_size_PTR)(snd_pcm_sw_params_set_silence_size_ARG_EXPAND); -int snd_pcm_sw_params_set_silence_threshold(snd_pcm_sw_params_set_silence_threshold_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_silence_threshold(snd_pcm_sw_params_set_silence_threshold_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_silence_threshold_PTR)(snd_pcm_sw_params_set_silence_threshold_ARG_EXPAND); -int snd_pcm_sw_params_set_sleep_min(snd_pcm_sw_params_set_sleep_min_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_sleep_min(snd_pcm_sw_params_set_sleep_min_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_sleep_min_PTR)(snd_pcm_sw_params_set_sleep_min_ARG_EXPAND); -int snd_pcm_sw_params_set_start_mode(snd_pcm_sw_params_set_start_mode_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_start_mode(snd_pcm_sw_params_set_start_mode_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_start_mode_PTR)(snd_pcm_sw_params_set_start_mode_ARG_EXPAND); -int snd_pcm_sw_params_set_start_threshold(snd_pcm_sw_params_set_start_threshold_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_start_threshold(snd_pcm_sw_params_set_start_threshold_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_start_threshold_PTR)(snd_pcm_sw_params_set_start_threshold_ARG_EXPAND); -int snd_pcm_sw_params_set_stop_threshold(snd_pcm_sw_params_set_stop_threshold_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_stop_threshold(snd_pcm_sw_params_set_stop_threshold_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_stop_threshold_PTR)(snd_pcm_sw_params_set_stop_threshold_ARG_EXPAND); -int snd_pcm_sw_params_set_tstamp_mode(snd_pcm_sw_params_set_tstamp_mode_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_tstamp_mode(snd_pcm_sw_params_set_tstamp_mode_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_tstamp_mode_PTR)(snd_pcm_sw_params_set_tstamp_mode_ARG_EXPAND); -int snd_pcm_sw_params_set_xfer_align(snd_pcm_sw_params_set_xfer_align_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_xfer_align(snd_pcm_sw_params_set_xfer_align_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_xfer_align_PTR)(snd_pcm_sw_params_set_xfer_align_ARG_EXPAND); -int snd_pcm_sw_params_set_xrun_mode(snd_pcm_sw_params_set_xrun_mode_ARG_EXPAND); +int glshim_snd_pcm_sw_params_set_xrun_mode(snd_pcm_sw_params_set_xrun_mode_ARG_EXPAND); typedef int (*snd_pcm_sw_params_set_xrun_mode_PTR)(snd_pcm_sw_params_set_xrun_mode_ARG_EXPAND); -size_t snd_pcm_sw_params_sizeof(snd_pcm_sw_params_sizeof_ARG_EXPAND); +size_t glshim_snd_pcm_sw_params_sizeof(snd_pcm_sw_params_sizeof_ARG_EXPAND); typedef size_t (*snd_pcm_sw_params_sizeof_PTR)(snd_pcm_sw_params_sizeof_ARG_EXPAND); -const char * snd_pcm_tstamp_mode_name(snd_pcm_tstamp_mode_name_ARG_EXPAND); +const char * glshim_snd_pcm_tstamp_mode_name(snd_pcm_tstamp_mode_name_ARG_EXPAND); typedef const char * (*snd_pcm_tstamp_mode_name_PTR)(snd_pcm_tstamp_mode_name_ARG_EXPAND); -snd_pcm_type_t snd_pcm_type(snd_pcm_type_ARG_EXPAND); +snd_pcm_type_t glshim_snd_pcm_type(snd_pcm_type_ARG_EXPAND); typedef snd_pcm_type_t (*snd_pcm_type_PTR)(snd_pcm_type_ARG_EXPAND); -const char * snd_pcm_type_name(snd_pcm_type_name_ARG_EXPAND); +const char * glshim_snd_pcm_type_name(snd_pcm_type_name_ARG_EXPAND); typedef const char * (*snd_pcm_type_name_PTR)(snd_pcm_type_name_ARG_EXPAND); -int snd_pcm_unlink(snd_pcm_unlink_ARG_EXPAND); +int glshim_snd_pcm_unlink(snd_pcm_unlink_ARG_EXPAND); typedef int (*snd_pcm_unlink_PTR)(snd_pcm_unlink_ARG_EXPAND); -int snd_pcm_wait(snd_pcm_wait_ARG_EXPAND); +int glshim_snd_pcm_wait(snd_pcm_wait_ARG_EXPAND); typedef int (*snd_pcm_wait_PTR)(snd_pcm_wait_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_writei(snd_pcm_writei_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_writei(snd_pcm_writei_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_writei_PTR)(snd_pcm_writei_ARG_EXPAND); -snd_pcm_sframes_t snd_pcm_writen(snd_pcm_writen_ARG_EXPAND); +snd_pcm_sframes_t glshim_snd_pcm_writen(snd_pcm_writen_ARG_EXPAND); typedef snd_pcm_sframes_t (*snd_pcm_writen_PTR)(snd_pcm_writen_ARG_EXPAND); -const char * snd_pcm_xrun_mode_name(snd_pcm_xrun_mode_name_ARG_EXPAND); +const char * glshim_snd_pcm_xrun_mode_name(snd_pcm_xrun_mode_name_ARG_EXPAND); typedef const char * (*snd_pcm_xrun_mode_name_PTR)(snd_pcm_xrun_mode_name_ARG_EXPAND); -int snd_rawmidi_close(snd_rawmidi_close_ARG_EXPAND); +int glshim_snd_rawmidi_close(snd_rawmidi_close_ARG_EXPAND); typedef int (*snd_rawmidi_close_PTR)(snd_rawmidi_close_ARG_EXPAND); -int snd_rawmidi_drain(snd_rawmidi_drain_ARG_EXPAND); +int glshim_snd_rawmidi_drain(snd_rawmidi_drain_ARG_EXPAND); typedef int (*snd_rawmidi_drain_PTR)(snd_rawmidi_drain_ARG_EXPAND); -int snd_rawmidi_drop(snd_rawmidi_drop_ARG_EXPAND); +int glshim_snd_rawmidi_drop(snd_rawmidi_drop_ARG_EXPAND); typedef int (*snd_rawmidi_drop_PTR)(snd_rawmidi_drop_ARG_EXPAND); -int snd_rawmidi_info(snd_rawmidi_info_ARG_EXPAND); +int glshim_snd_rawmidi_info(snd_rawmidi_info_ARG_EXPAND); typedef int (*snd_rawmidi_info_PTR)(snd_rawmidi_info_ARG_EXPAND); -void snd_rawmidi_info_copy(snd_rawmidi_info_copy_ARG_EXPAND); +void glshim_snd_rawmidi_info_copy(snd_rawmidi_info_copy_ARG_EXPAND); typedef void (*snd_rawmidi_info_copy_PTR)(snd_rawmidi_info_copy_ARG_EXPAND); -void snd_rawmidi_info_free(snd_rawmidi_info_free_ARG_EXPAND); +void glshim_snd_rawmidi_info_free(snd_rawmidi_info_free_ARG_EXPAND); typedef void (*snd_rawmidi_info_free_PTR)(snd_rawmidi_info_free_ARG_EXPAND); -int snd_rawmidi_info_get_card(snd_rawmidi_info_get_card_ARG_EXPAND); +int glshim_snd_rawmidi_info_get_card(snd_rawmidi_info_get_card_ARG_EXPAND); typedef int (*snd_rawmidi_info_get_card_PTR)(snd_rawmidi_info_get_card_ARG_EXPAND); -unsigned int snd_rawmidi_info_get_device(snd_rawmidi_info_get_device_ARG_EXPAND); +unsigned int glshim_snd_rawmidi_info_get_device(snd_rawmidi_info_get_device_ARG_EXPAND); typedef unsigned int (*snd_rawmidi_info_get_device_PTR)(snd_rawmidi_info_get_device_ARG_EXPAND); -unsigned int snd_rawmidi_info_get_flags(snd_rawmidi_info_get_flags_ARG_EXPAND); +unsigned int glshim_snd_rawmidi_info_get_flags(snd_rawmidi_info_get_flags_ARG_EXPAND); typedef unsigned int (*snd_rawmidi_info_get_flags_PTR)(snd_rawmidi_info_get_flags_ARG_EXPAND); -const char * snd_rawmidi_info_get_id(snd_rawmidi_info_get_id_ARG_EXPAND); +const char * glshim_snd_rawmidi_info_get_id(snd_rawmidi_info_get_id_ARG_EXPAND); typedef const char * (*snd_rawmidi_info_get_id_PTR)(snd_rawmidi_info_get_id_ARG_EXPAND); -const char * snd_rawmidi_info_get_name(snd_rawmidi_info_get_name_ARG_EXPAND); +const char * glshim_snd_rawmidi_info_get_name(snd_rawmidi_info_get_name_ARG_EXPAND); typedef const char * (*snd_rawmidi_info_get_name_PTR)(snd_rawmidi_info_get_name_ARG_EXPAND); -snd_rawmidi_stream_t snd_rawmidi_info_get_stream(snd_rawmidi_info_get_stream_ARG_EXPAND); +snd_rawmidi_stream_t glshim_snd_rawmidi_info_get_stream(snd_rawmidi_info_get_stream_ARG_EXPAND); typedef snd_rawmidi_stream_t (*snd_rawmidi_info_get_stream_PTR)(snd_rawmidi_info_get_stream_ARG_EXPAND); -unsigned int snd_rawmidi_info_get_subdevice(snd_rawmidi_info_get_subdevice_ARG_EXPAND); +unsigned int glshim_snd_rawmidi_info_get_subdevice(snd_rawmidi_info_get_subdevice_ARG_EXPAND); typedef unsigned int (*snd_rawmidi_info_get_subdevice_PTR)(snd_rawmidi_info_get_subdevice_ARG_EXPAND); -const char * snd_rawmidi_info_get_subdevice_name(snd_rawmidi_info_get_subdevice_name_ARG_EXPAND); +const char * glshim_snd_rawmidi_info_get_subdevice_name(snd_rawmidi_info_get_subdevice_name_ARG_EXPAND); typedef const char * (*snd_rawmidi_info_get_subdevice_name_PTR)(snd_rawmidi_info_get_subdevice_name_ARG_EXPAND); -unsigned int snd_rawmidi_info_get_subdevices_avail(snd_rawmidi_info_get_subdevices_avail_ARG_EXPAND); +unsigned int glshim_snd_rawmidi_info_get_subdevices_avail(snd_rawmidi_info_get_subdevices_avail_ARG_EXPAND); typedef unsigned int (*snd_rawmidi_info_get_subdevices_avail_PTR)(snd_rawmidi_info_get_subdevices_avail_ARG_EXPAND); -unsigned int snd_rawmidi_info_get_subdevices_count(snd_rawmidi_info_get_subdevices_count_ARG_EXPAND); +unsigned int glshim_snd_rawmidi_info_get_subdevices_count(snd_rawmidi_info_get_subdevices_count_ARG_EXPAND); typedef unsigned int (*snd_rawmidi_info_get_subdevices_count_PTR)(snd_rawmidi_info_get_subdevices_count_ARG_EXPAND); -int snd_rawmidi_info_malloc(snd_rawmidi_info_malloc_ARG_EXPAND); +int glshim_snd_rawmidi_info_malloc(snd_rawmidi_info_malloc_ARG_EXPAND); typedef int (*snd_rawmidi_info_malloc_PTR)(snd_rawmidi_info_malloc_ARG_EXPAND); -void snd_rawmidi_info_set_device(snd_rawmidi_info_set_device_ARG_EXPAND); +void glshim_snd_rawmidi_info_set_device(snd_rawmidi_info_set_device_ARG_EXPAND); typedef void (*snd_rawmidi_info_set_device_PTR)(snd_rawmidi_info_set_device_ARG_EXPAND); -void snd_rawmidi_info_set_stream(snd_rawmidi_info_set_stream_ARG_EXPAND); +void glshim_snd_rawmidi_info_set_stream(snd_rawmidi_info_set_stream_ARG_EXPAND); typedef void (*snd_rawmidi_info_set_stream_PTR)(snd_rawmidi_info_set_stream_ARG_EXPAND); -void snd_rawmidi_info_set_subdevice(snd_rawmidi_info_set_subdevice_ARG_EXPAND); +void glshim_snd_rawmidi_info_set_subdevice(snd_rawmidi_info_set_subdevice_ARG_EXPAND); typedef void (*snd_rawmidi_info_set_subdevice_PTR)(snd_rawmidi_info_set_subdevice_ARG_EXPAND); -size_t snd_rawmidi_info_sizeof(snd_rawmidi_info_sizeof_ARG_EXPAND); +size_t glshim_snd_rawmidi_info_sizeof(snd_rawmidi_info_sizeof_ARG_EXPAND); typedef size_t (*snd_rawmidi_info_sizeof_PTR)(snd_rawmidi_info_sizeof_ARG_EXPAND); -const char * snd_rawmidi_name(snd_rawmidi_name_ARG_EXPAND); +const char * glshim_snd_rawmidi_name(snd_rawmidi_name_ARG_EXPAND); typedef const char * (*snd_rawmidi_name_PTR)(snd_rawmidi_name_ARG_EXPAND); -int snd_rawmidi_nonblock(snd_rawmidi_nonblock_ARG_EXPAND); +int glshim_snd_rawmidi_nonblock(snd_rawmidi_nonblock_ARG_EXPAND); typedef int (*snd_rawmidi_nonblock_PTR)(snd_rawmidi_nonblock_ARG_EXPAND); -int snd_rawmidi_open(snd_rawmidi_open_ARG_EXPAND); +int glshim_snd_rawmidi_open(snd_rawmidi_open_ARG_EXPAND); typedef int (*snd_rawmidi_open_PTR)(snd_rawmidi_open_ARG_EXPAND); -int snd_rawmidi_open_lconf(snd_rawmidi_open_lconf_ARG_EXPAND); +int glshim_snd_rawmidi_open_lconf(snd_rawmidi_open_lconf_ARG_EXPAND); typedef int (*snd_rawmidi_open_lconf_PTR)(snd_rawmidi_open_lconf_ARG_EXPAND); -int snd_rawmidi_params(snd_rawmidi_params_ARG_EXPAND); +int glshim_snd_rawmidi_params(snd_rawmidi_params_ARG_EXPAND); typedef int (*snd_rawmidi_params_PTR)(snd_rawmidi_params_ARG_EXPAND); -void snd_rawmidi_params_copy(snd_rawmidi_params_copy_ARG_EXPAND); +void glshim_snd_rawmidi_params_copy(snd_rawmidi_params_copy_ARG_EXPAND); typedef void (*snd_rawmidi_params_copy_PTR)(snd_rawmidi_params_copy_ARG_EXPAND); -int snd_rawmidi_params_current(snd_rawmidi_params_current_ARG_EXPAND); +int glshim_snd_rawmidi_params_current(snd_rawmidi_params_current_ARG_EXPAND); typedef int (*snd_rawmidi_params_current_PTR)(snd_rawmidi_params_current_ARG_EXPAND); -void snd_rawmidi_params_free(snd_rawmidi_params_free_ARG_EXPAND); +void glshim_snd_rawmidi_params_free(snd_rawmidi_params_free_ARG_EXPAND); typedef void (*snd_rawmidi_params_free_PTR)(snd_rawmidi_params_free_ARG_EXPAND); -size_t snd_rawmidi_params_get_avail_min(snd_rawmidi_params_get_avail_min_ARG_EXPAND); +size_t glshim_snd_rawmidi_params_get_avail_min(snd_rawmidi_params_get_avail_min_ARG_EXPAND); typedef size_t (*snd_rawmidi_params_get_avail_min_PTR)(snd_rawmidi_params_get_avail_min_ARG_EXPAND); -size_t snd_rawmidi_params_get_buffer_size(snd_rawmidi_params_get_buffer_size_ARG_EXPAND); +size_t glshim_snd_rawmidi_params_get_buffer_size(snd_rawmidi_params_get_buffer_size_ARG_EXPAND); typedef size_t (*snd_rawmidi_params_get_buffer_size_PTR)(snd_rawmidi_params_get_buffer_size_ARG_EXPAND); -int snd_rawmidi_params_get_no_active_sensing(snd_rawmidi_params_get_no_active_sensing_ARG_EXPAND); +int glshim_snd_rawmidi_params_get_no_active_sensing(snd_rawmidi_params_get_no_active_sensing_ARG_EXPAND); typedef int (*snd_rawmidi_params_get_no_active_sensing_PTR)(snd_rawmidi_params_get_no_active_sensing_ARG_EXPAND); -int snd_rawmidi_params_malloc(snd_rawmidi_params_malloc_ARG_EXPAND); +int glshim_snd_rawmidi_params_malloc(snd_rawmidi_params_malloc_ARG_EXPAND); typedef int (*snd_rawmidi_params_malloc_PTR)(snd_rawmidi_params_malloc_ARG_EXPAND); -int snd_rawmidi_params_set_avail_min(snd_rawmidi_params_set_avail_min_ARG_EXPAND); +int glshim_snd_rawmidi_params_set_avail_min(snd_rawmidi_params_set_avail_min_ARG_EXPAND); typedef int (*snd_rawmidi_params_set_avail_min_PTR)(snd_rawmidi_params_set_avail_min_ARG_EXPAND); -int snd_rawmidi_params_set_buffer_size(snd_rawmidi_params_set_buffer_size_ARG_EXPAND); +int glshim_snd_rawmidi_params_set_buffer_size(snd_rawmidi_params_set_buffer_size_ARG_EXPAND); typedef int (*snd_rawmidi_params_set_buffer_size_PTR)(snd_rawmidi_params_set_buffer_size_ARG_EXPAND); -int snd_rawmidi_params_set_no_active_sensing(snd_rawmidi_params_set_no_active_sensing_ARG_EXPAND); +int glshim_snd_rawmidi_params_set_no_active_sensing(snd_rawmidi_params_set_no_active_sensing_ARG_EXPAND); typedef int (*snd_rawmidi_params_set_no_active_sensing_PTR)(snd_rawmidi_params_set_no_active_sensing_ARG_EXPAND); -size_t snd_rawmidi_params_sizeof(snd_rawmidi_params_sizeof_ARG_EXPAND); +size_t glshim_snd_rawmidi_params_sizeof(snd_rawmidi_params_sizeof_ARG_EXPAND); typedef size_t (*snd_rawmidi_params_sizeof_PTR)(snd_rawmidi_params_sizeof_ARG_EXPAND); -int snd_rawmidi_poll_descriptors(snd_rawmidi_poll_descriptors_ARG_EXPAND); +int glshim_snd_rawmidi_poll_descriptors(snd_rawmidi_poll_descriptors_ARG_EXPAND); typedef int (*snd_rawmidi_poll_descriptors_PTR)(snd_rawmidi_poll_descriptors_ARG_EXPAND); -int snd_rawmidi_poll_descriptors_count(snd_rawmidi_poll_descriptors_count_ARG_EXPAND); +int glshim_snd_rawmidi_poll_descriptors_count(snd_rawmidi_poll_descriptors_count_ARG_EXPAND); typedef int (*snd_rawmidi_poll_descriptors_count_PTR)(snd_rawmidi_poll_descriptors_count_ARG_EXPAND); -int snd_rawmidi_poll_descriptors_revents(snd_rawmidi_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_rawmidi_poll_descriptors_revents(snd_rawmidi_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_rawmidi_poll_descriptors_revents_PTR)(snd_rawmidi_poll_descriptors_revents_ARG_EXPAND); -ssize_t snd_rawmidi_read(snd_rawmidi_read_ARG_EXPAND); +ssize_t glshim_snd_rawmidi_read(snd_rawmidi_read_ARG_EXPAND); typedef ssize_t (*snd_rawmidi_read_PTR)(snd_rawmidi_read_ARG_EXPAND); -int snd_rawmidi_status(snd_rawmidi_status_ARG_EXPAND); +int glshim_snd_rawmidi_status(snd_rawmidi_status_ARG_EXPAND); typedef int (*snd_rawmidi_status_PTR)(snd_rawmidi_status_ARG_EXPAND); -void snd_rawmidi_status_copy(snd_rawmidi_status_copy_ARG_EXPAND); +void glshim_snd_rawmidi_status_copy(snd_rawmidi_status_copy_ARG_EXPAND); typedef void (*snd_rawmidi_status_copy_PTR)(snd_rawmidi_status_copy_ARG_EXPAND); -void snd_rawmidi_status_free(snd_rawmidi_status_free_ARG_EXPAND); +void glshim_snd_rawmidi_status_free(snd_rawmidi_status_free_ARG_EXPAND); typedef void (*snd_rawmidi_status_free_PTR)(snd_rawmidi_status_free_ARG_EXPAND); -size_t snd_rawmidi_status_get_avail(snd_rawmidi_status_get_avail_ARG_EXPAND); +size_t glshim_snd_rawmidi_status_get_avail(snd_rawmidi_status_get_avail_ARG_EXPAND); typedef size_t (*snd_rawmidi_status_get_avail_PTR)(snd_rawmidi_status_get_avail_ARG_EXPAND); -void snd_rawmidi_status_get_tstamp(snd_rawmidi_status_get_tstamp_ARG_EXPAND); +void glshim_snd_rawmidi_status_get_tstamp(snd_rawmidi_status_get_tstamp_ARG_EXPAND); typedef void (*snd_rawmidi_status_get_tstamp_PTR)(snd_rawmidi_status_get_tstamp_ARG_EXPAND); -size_t snd_rawmidi_status_get_xruns(snd_rawmidi_status_get_xruns_ARG_EXPAND); +size_t glshim_snd_rawmidi_status_get_xruns(snd_rawmidi_status_get_xruns_ARG_EXPAND); typedef size_t (*snd_rawmidi_status_get_xruns_PTR)(snd_rawmidi_status_get_xruns_ARG_EXPAND); -int snd_rawmidi_status_malloc(snd_rawmidi_status_malloc_ARG_EXPAND); +int glshim_snd_rawmidi_status_malloc(snd_rawmidi_status_malloc_ARG_EXPAND); typedef int (*snd_rawmidi_status_malloc_PTR)(snd_rawmidi_status_malloc_ARG_EXPAND); -size_t snd_rawmidi_status_sizeof(snd_rawmidi_status_sizeof_ARG_EXPAND); +size_t glshim_snd_rawmidi_status_sizeof(snd_rawmidi_status_sizeof_ARG_EXPAND); typedef size_t (*snd_rawmidi_status_sizeof_PTR)(snd_rawmidi_status_sizeof_ARG_EXPAND); -snd_rawmidi_stream_t snd_rawmidi_stream(snd_rawmidi_stream_ARG_EXPAND); +snd_rawmidi_stream_t glshim_snd_rawmidi_stream(snd_rawmidi_stream_ARG_EXPAND); typedef snd_rawmidi_stream_t (*snd_rawmidi_stream_PTR)(snd_rawmidi_stream_ARG_EXPAND); -snd_rawmidi_type_t snd_rawmidi_type(snd_rawmidi_type_ARG_EXPAND); +snd_rawmidi_type_t glshim_snd_rawmidi_type(snd_rawmidi_type_ARG_EXPAND); typedef snd_rawmidi_type_t (*snd_rawmidi_type_PTR)(snd_rawmidi_type_ARG_EXPAND); -ssize_t snd_rawmidi_write(snd_rawmidi_write_ARG_EXPAND); +ssize_t glshim_snd_rawmidi_write(snd_rawmidi_write_ARG_EXPAND); typedef ssize_t (*snd_rawmidi_write_PTR)(snd_rawmidi_write_ARG_EXPAND); -int snd_sctl_build(snd_sctl_build_ARG_EXPAND); +int glshim_snd_sctl_build(snd_sctl_build_ARG_EXPAND); typedef int (*snd_sctl_build_PTR)(snd_sctl_build_ARG_EXPAND); -int snd_sctl_free(snd_sctl_free_ARG_EXPAND); +int glshim_snd_sctl_free(snd_sctl_free_ARG_EXPAND); typedef int (*snd_sctl_free_PTR)(snd_sctl_free_ARG_EXPAND); -int snd_sctl_install(snd_sctl_install_ARG_EXPAND); +int glshim_snd_sctl_install(snd_sctl_install_ARG_EXPAND); typedef int (*snd_sctl_install_PTR)(snd_sctl_install_ARG_EXPAND); -int snd_sctl_remove(snd_sctl_remove_ARG_EXPAND); +int glshim_snd_sctl_remove(snd_sctl_remove_ARG_EXPAND); typedef int (*snd_sctl_remove_PTR)(snd_sctl_remove_ARG_EXPAND); -int snd_seq_alloc_named_queue(snd_seq_alloc_named_queue_ARG_EXPAND); +int glshim_snd_seq_alloc_named_queue(snd_seq_alloc_named_queue_ARG_EXPAND); typedef int (*snd_seq_alloc_named_queue_PTR)(snd_seq_alloc_named_queue_ARG_EXPAND); -int snd_seq_alloc_queue(snd_seq_alloc_queue_ARG_EXPAND); +int glshim_snd_seq_alloc_queue(snd_seq_alloc_queue_ARG_EXPAND); typedef int (*snd_seq_alloc_queue_PTR)(snd_seq_alloc_queue_ARG_EXPAND); -int snd_seq_change_bit(snd_seq_change_bit_ARG_EXPAND); +int glshim_snd_seq_change_bit(snd_seq_change_bit_ARG_EXPAND); typedef int (*snd_seq_change_bit_PTR)(snd_seq_change_bit_ARG_EXPAND); -int snd_seq_client_id(snd_seq_client_id_ARG_EXPAND); +int glshim_snd_seq_client_id(snd_seq_client_id_ARG_EXPAND); typedef int (*snd_seq_client_id_PTR)(snd_seq_client_id_ARG_EXPAND); -void snd_seq_client_info_copy(snd_seq_client_info_copy_ARG_EXPAND); +void glshim_snd_seq_client_info_copy(snd_seq_client_info_copy_ARG_EXPAND); typedef void (*snd_seq_client_info_copy_PTR)(snd_seq_client_info_copy_ARG_EXPAND); -void snd_seq_client_info_free(snd_seq_client_info_free_ARG_EXPAND); +void glshim_snd_seq_client_info_free(snd_seq_client_info_free_ARG_EXPAND); typedef void (*snd_seq_client_info_free_PTR)(snd_seq_client_info_free_ARG_EXPAND); -int snd_seq_client_info_get_broadcast_filter(snd_seq_client_info_get_broadcast_filter_ARG_EXPAND); +int glshim_snd_seq_client_info_get_broadcast_filter(snd_seq_client_info_get_broadcast_filter_ARG_EXPAND); typedef int (*snd_seq_client_info_get_broadcast_filter_PTR)(snd_seq_client_info_get_broadcast_filter_ARG_EXPAND); -int snd_seq_client_info_get_client(snd_seq_client_info_get_client_ARG_EXPAND); +int glshim_snd_seq_client_info_get_client(snd_seq_client_info_get_client_ARG_EXPAND); typedef int (*snd_seq_client_info_get_client_PTR)(snd_seq_client_info_get_client_ARG_EXPAND); -int snd_seq_client_info_get_error_bounce(snd_seq_client_info_get_error_bounce_ARG_EXPAND); +int glshim_snd_seq_client_info_get_error_bounce(snd_seq_client_info_get_error_bounce_ARG_EXPAND); typedef int (*snd_seq_client_info_get_error_bounce_PTR)(snd_seq_client_info_get_error_bounce_ARG_EXPAND); -const unsigned char * snd_seq_client_info_get_event_filter(snd_seq_client_info_get_event_filter_ARG_EXPAND); +const unsigned char * glshim_snd_seq_client_info_get_event_filter(snd_seq_client_info_get_event_filter_ARG_EXPAND); typedef const unsigned char * (*snd_seq_client_info_get_event_filter_PTR)(snd_seq_client_info_get_event_filter_ARG_EXPAND); -int snd_seq_client_info_get_event_lost(snd_seq_client_info_get_event_lost_ARG_EXPAND); +int glshim_snd_seq_client_info_get_event_lost(snd_seq_client_info_get_event_lost_ARG_EXPAND); typedef int (*snd_seq_client_info_get_event_lost_PTR)(snd_seq_client_info_get_event_lost_ARG_EXPAND); -const char * snd_seq_client_info_get_name(snd_seq_client_info_get_name_ARG_EXPAND); +const char * glshim_snd_seq_client_info_get_name(snd_seq_client_info_get_name_ARG_EXPAND); typedef const char * (*snd_seq_client_info_get_name_PTR)(snd_seq_client_info_get_name_ARG_EXPAND); -int snd_seq_client_info_get_num_ports(snd_seq_client_info_get_num_ports_ARG_EXPAND); +int glshim_snd_seq_client_info_get_num_ports(snd_seq_client_info_get_num_ports_ARG_EXPAND); typedef int (*snd_seq_client_info_get_num_ports_PTR)(snd_seq_client_info_get_num_ports_ARG_EXPAND); -snd_seq_client_type_t snd_seq_client_info_get_type(snd_seq_client_info_get_type_ARG_EXPAND); +snd_seq_client_type_t glshim_snd_seq_client_info_get_type(snd_seq_client_info_get_type_ARG_EXPAND); typedef snd_seq_client_type_t (*snd_seq_client_info_get_type_PTR)(snd_seq_client_info_get_type_ARG_EXPAND); -int snd_seq_client_info_malloc(snd_seq_client_info_malloc_ARG_EXPAND); +int glshim_snd_seq_client_info_malloc(snd_seq_client_info_malloc_ARG_EXPAND); typedef int (*snd_seq_client_info_malloc_PTR)(snd_seq_client_info_malloc_ARG_EXPAND); -void snd_seq_client_info_set_broadcast_filter(snd_seq_client_info_set_broadcast_filter_ARG_EXPAND); +void glshim_snd_seq_client_info_set_broadcast_filter(snd_seq_client_info_set_broadcast_filter_ARG_EXPAND); typedef void (*snd_seq_client_info_set_broadcast_filter_PTR)(snd_seq_client_info_set_broadcast_filter_ARG_EXPAND); -void snd_seq_client_info_set_client(snd_seq_client_info_set_client_ARG_EXPAND); +void glshim_snd_seq_client_info_set_client(snd_seq_client_info_set_client_ARG_EXPAND); typedef void (*snd_seq_client_info_set_client_PTR)(snd_seq_client_info_set_client_ARG_EXPAND); -void snd_seq_client_info_set_error_bounce(snd_seq_client_info_set_error_bounce_ARG_EXPAND); +void glshim_snd_seq_client_info_set_error_bounce(snd_seq_client_info_set_error_bounce_ARG_EXPAND); typedef void (*snd_seq_client_info_set_error_bounce_PTR)(snd_seq_client_info_set_error_bounce_ARG_EXPAND); -void snd_seq_client_info_set_event_filter(snd_seq_client_info_set_event_filter_ARG_EXPAND); +void glshim_snd_seq_client_info_set_event_filter(snd_seq_client_info_set_event_filter_ARG_EXPAND); typedef void (*snd_seq_client_info_set_event_filter_PTR)(snd_seq_client_info_set_event_filter_ARG_EXPAND); -void snd_seq_client_info_set_name(snd_seq_client_info_set_name_ARG_EXPAND); +void glshim_snd_seq_client_info_set_name(snd_seq_client_info_set_name_ARG_EXPAND); typedef void (*snd_seq_client_info_set_name_PTR)(snd_seq_client_info_set_name_ARG_EXPAND); -size_t snd_seq_client_info_sizeof(snd_seq_client_info_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_client_info_sizeof(snd_seq_client_info_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_client_info_sizeof_PTR)(snd_seq_client_info_sizeof_ARG_EXPAND); -void snd_seq_client_pool_copy(snd_seq_client_pool_copy_ARG_EXPAND); +void glshim_snd_seq_client_pool_copy(snd_seq_client_pool_copy_ARG_EXPAND); typedef void (*snd_seq_client_pool_copy_PTR)(snd_seq_client_pool_copy_ARG_EXPAND); -void snd_seq_client_pool_free(snd_seq_client_pool_free_ARG_EXPAND); +void glshim_snd_seq_client_pool_free(snd_seq_client_pool_free_ARG_EXPAND); typedef void (*snd_seq_client_pool_free_PTR)(snd_seq_client_pool_free_ARG_EXPAND); -int snd_seq_client_pool_get_client(snd_seq_client_pool_get_client_ARG_EXPAND); +int glshim_snd_seq_client_pool_get_client(snd_seq_client_pool_get_client_ARG_EXPAND); typedef int (*snd_seq_client_pool_get_client_PTR)(snd_seq_client_pool_get_client_ARG_EXPAND); -size_t snd_seq_client_pool_get_input_free(snd_seq_client_pool_get_input_free_ARG_EXPAND); +size_t glshim_snd_seq_client_pool_get_input_free(snd_seq_client_pool_get_input_free_ARG_EXPAND); typedef size_t (*snd_seq_client_pool_get_input_free_PTR)(snd_seq_client_pool_get_input_free_ARG_EXPAND); -size_t snd_seq_client_pool_get_input_pool(snd_seq_client_pool_get_input_pool_ARG_EXPAND); +size_t glshim_snd_seq_client_pool_get_input_pool(snd_seq_client_pool_get_input_pool_ARG_EXPAND); typedef size_t (*snd_seq_client_pool_get_input_pool_PTR)(snd_seq_client_pool_get_input_pool_ARG_EXPAND); -size_t snd_seq_client_pool_get_output_free(snd_seq_client_pool_get_output_free_ARG_EXPAND); +size_t glshim_snd_seq_client_pool_get_output_free(snd_seq_client_pool_get_output_free_ARG_EXPAND); typedef size_t (*snd_seq_client_pool_get_output_free_PTR)(snd_seq_client_pool_get_output_free_ARG_EXPAND); -size_t snd_seq_client_pool_get_output_pool(snd_seq_client_pool_get_output_pool_ARG_EXPAND); +size_t glshim_snd_seq_client_pool_get_output_pool(snd_seq_client_pool_get_output_pool_ARG_EXPAND); typedef size_t (*snd_seq_client_pool_get_output_pool_PTR)(snd_seq_client_pool_get_output_pool_ARG_EXPAND); -size_t snd_seq_client_pool_get_output_room(snd_seq_client_pool_get_output_room_ARG_EXPAND); +size_t glshim_snd_seq_client_pool_get_output_room(snd_seq_client_pool_get_output_room_ARG_EXPAND); typedef size_t (*snd_seq_client_pool_get_output_room_PTR)(snd_seq_client_pool_get_output_room_ARG_EXPAND); -int snd_seq_client_pool_malloc(snd_seq_client_pool_malloc_ARG_EXPAND); +int glshim_snd_seq_client_pool_malloc(snd_seq_client_pool_malloc_ARG_EXPAND); typedef int (*snd_seq_client_pool_malloc_PTR)(snd_seq_client_pool_malloc_ARG_EXPAND); -void snd_seq_client_pool_set_input_pool(snd_seq_client_pool_set_input_pool_ARG_EXPAND); +void glshim_snd_seq_client_pool_set_input_pool(snd_seq_client_pool_set_input_pool_ARG_EXPAND); typedef void (*snd_seq_client_pool_set_input_pool_PTR)(snd_seq_client_pool_set_input_pool_ARG_EXPAND); -void snd_seq_client_pool_set_output_pool(snd_seq_client_pool_set_output_pool_ARG_EXPAND); +void glshim_snd_seq_client_pool_set_output_pool(snd_seq_client_pool_set_output_pool_ARG_EXPAND); typedef void (*snd_seq_client_pool_set_output_pool_PTR)(snd_seq_client_pool_set_output_pool_ARG_EXPAND); -void snd_seq_client_pool_set_output_room(snd_seq_client_pool_set_output_room_ARG_EXPAND); +void glshim_snd_seq_client_pool_set_output_room(snd_seq_client_pool_set_output_room_ARG_EXPAND); typedef void (*snd_seq_client_pool_set_output_room_PTR)(snd_seq_client_pool_set_output_room_ARG_EXPAND); -size_t snd_seq_client_pool_sizeof(snd_seq_client_pool_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_client_pool_sizeof(snd_seq_client_pool_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_client_pool_sizeof_PTR)(snd_seq_client_pool_sizeof_ARG_EXPAND); -int snd_seq_close(snd_seq_close_ARG_EXPAND); +int glshim_snd_seq_close(snd_seq_close_ARG_EXPAND); typedef int (*snd_seq_close_PTR)(snd_seq_close_ARG_EXPAND); -int snd_seq_connect_from(snd_seq_connect_from_ARG_EXPAND); +int glshim_snd_seq_connect_from(snd_seq_connect_from_ARG_EXPAND); typedef int (*snd_seq_connect_from_PTR)(snd_seq_connect_from_ARG_EXPAND); -int snd_seq_connect_to(snd_seq_connect_to_ARG_EXPAND); +int glshim_snd_seq_connect_to(snd_seq_connect_to_ARG_EXPAND); typedef int (*snd_seq_connect_to_PTR)(snd_seq_connect_to_ARG_EXPAND); -int snd_seq_control_queue(snd_seq_control_queue_ARG_EXPAND); +int glshim_snd_seq_control_queue(snd_seq_control_queue_ARG_EXPAND); typedef int (*snd_seq_control_queue_PTR)(snd_seq_control_queue_ARG_EXPAND); -int snd_seq_create_port(snd_seq_create_port_ARG_EXPAND); +int glshim_snd_seq_create_port(snd_seq_create_port_ARG_EXPAND); typedef int (*snd_seq_create_port_PTR)(snd_seq_create_port_ARG_EXPAND); -int snd_seq_create_queue(snd_seq_create_queue_ARG_EXPAND); +int glshim_snd_seq_create_queue(snd_seq_create_queue_ARG_EXPAND); typedef int (*snd_seq_create_queue_PTR)(snd_seq_create_queue_ARG_EXPAND); -int snd_seq_create_simple_port(snd_seq_create_simple_port_ARG_EXPAND); +int glshim_snd_seq_create_simple_port(snd_seq_create_simple_port_ARG_EXPAND); typedef int (*snd_seq_create_simple_port_PTR)(snd_seq_create_simple_port_ARG_EXPAND); -int snd_seq_delete_port(snd_seq_delete_port_ARG_EXPAND); +int glshim_snd_seq_delete_port(snd_seq_delete_port_ARG_EXPAND); typedef int (*snd_seq_delete_port_PTR)(snd_seq_delete_port_ARG_EXPAND); -int snd_seq_delete_simple_port(snd_seq_delete_simple_port_ARG_EXPAND); +int glshim_snd_seq_delete_simple_port(snd_seq_delete_simple_port_ARG_EXPAND); typedef int (*snd_seq_delete_simple_port_PTR)(snd_seq_delete_simple_port_ARG_EXPAND); -int snd_seq_disconnect_from(snd_seq_disconnect_from_ARG_EXPAND); +int glshim_snd_seq_disconnect_from(snd_seq_disconnect_from_ARG_EXPAND); typedef int (*snd_seq_disconnect_from_PTR)(snd_seq_disconnect_from_ARG_EXPAND); -int snd_seq_disconnect_to(snd_seq_disconnect_to_ARG_EXPAND); +int glshim_snd_seq_disconnect_to(snd_seq_disconnect_to_ARG_EXPAND); typedef int (*snd_seq_disconnect_to_PTR)(snd_seq_disconnect_to_ARG_EXPAND); -int snd_seq_drain_output(snd_seq_drain_output_ARG_EXPAND); +int glshim_snd_seq_drain_output(snd_seq_drain_output_ARG_EXPAND); typedef int (*snd_seq_drain_output_PTR)(snd_seq_drain_output_ARG_EXPAND); -int snd_seq_drop_input(snd_seq_drop_input_ARG_EXPAND); +int glshim_snd_seq_drop_input(snd_seq_drop_input_ARG_EXPAND); typedef int (*snd_seq_drop_input_PTR)(snd_seq_drop_input_ARG_EXPAND); -int snd_seq_drop_input_buffer(snd_seq_drop_input_buffer_ARG_EXPAND); +int glshim_snd_seq_drop_input_buffer(snd_seq_drop_input_buffer_ARG_EXPAND); typedef int (*snd_seq_drop_input_buffer_PTR)(snd_seq_drop_input_buffer_ARG_EXPAND); -int snd_seq_drop_output(snd_seq_drop_output_ARG_EXPAND); +int glshim_snd_seq_drop_output(snd_seq_drop_output_ARG_EXPAND); typedef int (*snd_seq_drop_output_PTR)(snd_seq_drop_output_ARG_EXPAND); -int snd_seq_drop_output_buffer(snd_seq_drop_output_buffer_ARG_EXPAND); +int glshim_snd_seq_drop_output_buffer(snd_seq_drop_output_buffer_ARG_EXPAND); typedef int (*snd_seq_drop_output_buffer_PTR)(snd_seq_drop_output_buffer_ARG_EXPAND); -int snd_seq_event_input(snd_seq_event_input_ARG_EXPAND); +int glshim_snd_seq_event_input(snd_seq_event_input_ARG_EXPAND); typedef int (*snd_seq_event_input_PTR)(snd_seq_event_input_ARG_EXPAND); -int snd_seq_event_input_pending(snd_seq_event_input_pending_ARG_EXPAND); +int glshim_snd_seq_event_input_pending(snd_seq_event_input_pending_ARG_EXPAND); typedef int (*snd_seq_event_input_pending_PTR)(snd_seq_event_input_pending_ARG_EXPAND); -ssize_t snd_seq_event_length(snd_seq_event_length_ARG_EXPAND); +ssize_t glshim_snd_seq_event_length(snd_seq_event_length_ARG_EXPAND); typedef ssize_t (*snd_seq_event_length_PTR)(snd_seq_event_length_ARG_EXPAND); -int snd_seq_event_output(snd_seq_event_output_ARG_EXPAND); +int glshim_snd_seq_event_output(snd_seq_event_output_ARG_EXPAND); typedef int (*snd_seq_event_output_PTR)(snd_seq_event_output_ARG_EXPAND); -int snd_seq_event_output_buffer(snd_seq_event_output_buffer_ARG_EXPAND); +int glshim_snd_seq_event_output_buffer(snd_seq_event_output_buffer_ARG_EXPAND); typedef int (*snd_seq_event_output_buffer_PTR)(snd_seq_event_output_buffer_ARG_EXPAND); -int snd_seq_event_output_direct(snd_seq_event_output_direct_ARG_EXPAND); +int glshim_snd_seq_event_output_direct(snd_seq_event_output_direct_ARG_EXPAND); typedef int (*snd_seq_event_output_direct_PTR)(snd_seq_event_output_direct_ARG_EXPAND); -int snd_seq_event_output_pending(snd_seq_event_output_pending_ARG_EXPAND); +int glshim_snd_seq_event_output_pending(snd_seq_event_output_pending_ARG_EXPAND); typedef int (*snd_seq_event_output_pending_PTR)(snd_seq_event_output_pending_ARG_EXPAND); -int snd_seq_extract_output(snd_seq_extract_output_ARG_EXPAND); +int glshim_snd_seq_extract_output(snd_seq_extract_output_ARG_EXPAND); typedef int (*snd_seq_extract_output_PTR)(snd_seq_extract_output_ARG_EXPAND); -int snd_seq_free_event(snd_seq_free_event_ARG_EXPAND); +int glshim_snd_seq_free_event(snd_seq_free_event_ARG_EXPAND); typedef int (*snd_seq_free_event_PTR)(snd_seq_free_event_ARG_EXPAND); -int snd_seq_free_queue(snd_seq_free_queue_ARG_EXPAND); +int glshim_snd_seq_free_queue(snd_seq_free_queue_ARG_EXPAND); typedef int (*snd_seq_free_queue_PTR)(snd_seq_free_queue_ARG_EXPAND); -int snd_seq_get_any_client_info(snd_seq_get_any_client_info_ARG_EXPAND); +int glshim_snd_seq_get_any_client_info(snd_seq_get_any_client_info_ARG_EXPAND); typedef int (*snd_seq_get_any_client_info_PTR)(snd_seq_get_any_client_info_ARG_EXPAND); -int snd_seq_get_any_port_info(snd_seq_get_any_port_info_ARG_EXPAND); +int glshim_snd_seq_get_any_port_info(snd_seq_get_any_port_info_ARG_EXPAND); typedef int (*snd_seq_get_any_port_info_PTR)(snd_seq_get_any_port_info_ARG_EXPAND); -int snd_seq_get_bit(snd_seq_get_bit_ARG_EXPAND); +int glshim_snd_seq_get_bit(snd_seq_get_bit_ARG_EXPAND); typedef int (*snd_seq_get_bit_PTR)(snd_seq_get_bit_ARG_EXPAND); -int snd_seq_get_client_info(snd_seq_get_client_info_ARG_EXPAND); +int glshim_snd_seq_get_client_info(snd_seq_get_client_info_ARG_EXPAND); typedef int (*snd_seq_get_client_info_PTR)(snd_seq_get_client_info_ARG_EXPAND); -int snd_seq_get_client_pool(snd_seq_get_client_pool_ARG_EXPAND); +int glshim_snd_seq_get_client_pool(snd_seq_get_client_pool_ARG_EXPAND); typedef int (*snd_seq_get_client_pool_PTR)(snd_seq_get_client_pool_ARG_EXPAND); -size_t snd_seq_get_input_buffer_size(snd_seq_get_input_buffer_size_ARG_EXPAND); +size_t glshim_snd_seq_get_input_buffer_size(snd_seq_get_input_buffer_size_ARG_EXPAND); typedef size_t (*snd_seq_get_input_buffer_size_PTR)(snd_seq_get_input_buffer_size_ARG_EXPAND); -size_t snd_seq_get_output_buffer_size(snd_seq_get_output_buffer_size_ARG_EXPAND); +size_t glshim_snd_seq_get_output_buffer_size(snd_seq_get_output_buffer_size_ARG_EXPAND); typedef size_t (*snd_seq_get_output_buffer_size_PTR)(snd_seq_get_output_buffer_size_ARG_EXPAND); -int snd_seq_get_port_info(snd_seq_get_port_info_ARG_EXPAND); +int glshim_snd_seq_get_port_info(snd_seq_get_port_info_ARG_EXPAND); typedef int (*snd_seq_get_port_info_PTR)(snd_seq_get_port_info_ARG_EXPAND); -int snd_seq_get_port_subscription(snd_seq_get_port_subscription_ARG_EXPAND); +int glshim_snd_seq_get_port_subscription(snd_seq_get_port_subscription_ARG_EXPAND); typedef int (*snd_seq_get_port_subscription_PTR)(snd_seq_get_port_subscription_ARG_EXPAND); -int snd_seq_get_queue_info(snd_seq_get_queue_info_ARG_EXPAND); +int glshim_snd_seq_get_queue_info(snd_seq_get_queue_info_ARG_EXPAND); typedef int (*snd_seq_get_queue_info_PTR)(snd_seq_get_queue_info_ARG_EXPAND); -int snd_seq_get_queue_status(snd_seq_get_queue_status_ARG_EXPAND); +int glshim_snd_seq_get_queue_status(snd_seq_get_queue_status_ARG_EXPAND); typedef int (*snd_seq_get_queue_status_PTR)(snd_seq_get_queue_status_ARG_EXPAND); -int snd_seq_get_queue_tempo(snd_seq_get_queue_tempo_ARG_EXPAND); +int glshim_snd_seq_get_queue_tempo(snd_seq_get_queue_tempo_ARG_EXPAND); typedef int (*snd_seq_get_queue_tempo_PTR)(snd_seq_get_queue_tempo_ARG_EXPAND); -int snd_seq_get_queue_timer(snd_seq_get_queue_timer_ARG_EXPAND); +int glshim_snd_seq_get_queue_timer(snd_seq_get_queue_timer_ARG_EXPAND); typedef int (*snd_seq_get_queue_timer_PTR)(snd_seq_get_queue_timer_ARG_EXPAND); -int snd_seq_get_queue_usage(snd_seq_get_queue_usage_ARG_EXPAND); +int glshim_snd_seq_get_queue_usage(snd_seq_get_queue_usage_ARG_EXPAND); typedef int (*snd_seq_get_queue_usage_PTR)(snd_seq_get_queue_usage_ARG_EXPAND); -const char * snd_seq_name(snd_seq_name_ARG_EXPAND); +const char * glshim_snd_seq_name(snd_seq_name_ARG_EXPAND); typedef const char * (*snd_seq_name_PTR)(snd_seq_name_ARG_EXPAND); -int snd_seq_nonblock(snd_seq_nonblock_ARG_EXPAND); +int glshim_snd_seq_nonblock(snd_seq_nonblock_ARG_EXPAND); typedef int (*snd_seq_nonblock_PTR)(snd_seq_nonblock_ARG_EXPAND); -int snd_seq_open(snd_seq_open_ARG_EXPAND); +int glshim_snd_seq_open(snd_seq_open_ARG_EXPAND); typedef int (*snd_seq_open_PTR)(snd_seq_open_ARG_EXPAND); -int snd_seq_open_lconf(snd_seq_open_lconf_ARG_EXPAND); +int glshim_snd_seq_open_lconf(snd_seq_open_lconf_ARG_EXPAND); typedef int (*snd_seq_open_lconf_PTR)(snd_seq_open_lconf_ARG_EXPAND); -int snd_seq_parse_address(snd_seq_parse_address_ARG_EXPAND); +int glshim_snd_seq_parse_address(snd_seq_parse_address_ARG_EXPAND); typedef int (*snd_seq_parse_address_PTR)(snd_seq_parse_address_ARG_EXPAND); -int snd_seq_poll_descriptors(snd_seq_poll_descriptors_ARG_EXPAND); +int glshim_snd_seq_poll_descriptors(snd_seq_poll_descriptors_ARG_EXPAND); typedef int (*snd_seq_poll_descriptors_PTR)(snd_seq_poll_descriptors_ARG_EXPAND); -int snd_seq_poll_descriptors_count(snd_seq_poll_descriptors_count_ARG_EXPAND); +int glshim_snd_seq_poll_descriptors_count(snd_seq_poll_descriptors_count_ARG_EXPAND); typedef int (*snd_seq_poll_descriptors_count_PTR)(snd_seq_poll_descriptors_count_ARG_EXPAND); -int snd_seq_poll_descriptors_revents(snd_seq_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_seq_poll_descriptors_revents(snd_seq_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_seq_poll_descriptors_revents_PTR)(snd_seq_poll_descriptors_revents_ARG_EXPAND); -void snd_seq_port_info_copy(snd_seq_port_info_copy_ARG_EXPAND); +void glshim_snd_seq_port_info_copy(snd_seq_port_info_copy_ARG_EXPAND); typedef void (*snd_seq_port_info_copy_PTR)(snd_seq_port_info_copy_ARG_EXPAND); -void snd_seq_port_info_free(snd_seq_port_info_free_ARG_EXPAND); +void glshim_snd_seq_port_info_free(snd_seq_port_info_free_ARG_EXPAND); typedef void (*snd_seq_port_info_free_PTR)(snd_seq_port_info_free_ARG_EXPAND); -const snd_seq_addr_t * snd_seq_port_info_get_addr(snd_seq_port_info_get_addr_ARG_EXPAND); +const snd_seq_addr_t * glshim_snd_seq_port_info_get_addr(snd_seq_port_info_get_addr_ARG_EXPAND); typedef const snd_seq_addr_t * (*snd_seq_port_info_get_addr_PTR)(snd_seq_port_info_get_addr_ARG_EXPAND); -unsigned int snd_seq_port_info_get_capability(snd_seq_port_info_get_capability_ARG_EXPAND); +unsigned int glshim_snd_seq_port_info_get_capability(snd_seq_port_info_get_capability_ARG_EXPAND); typedef unsigned int (*snd_seq_port_info_get_capability_PTR)(snd_seq_port_info_get_capability_ARG_EXPAND); -int snd_seq_port_info_get_client(snd_seq_port_info_get_client_ARG_EXPAND); +int glshim_snd_seq_port_info_get_client(snd_seq_port_info_get_client_ARG_EXPAND); typedef int (*snd_seq_port_info_get_client_PTR)(snd_seq_port_info_get_client_ARG_EXPAND); -int snd_seq_port_info_get_midi_channels(snd_seq_port_info_get_midi_channels_ARG_EXPAND); +int glshim_snd_seq_port_info_get_midi_channels(snd_seq_port_info_get_midi_channels_ARG_EXPAND); typedef int (*snd_seq_port_info_get_midi_channels_PTR)(snd_seq_port_info_get_midi_channels_ARG_EXPAND); -int snd_seq_port_info_get_midi_voices(snd_seq_port_info_get_midi_voices_ARG_EXPAND); +int glshim_snd_seq_port_info_get_midi_voices(snd_seq_port_info_get_midi_voices_ARG_EXPAND); typedef int (*snd_seq_port_info_get_midi_voices_PTR)(snd_seq_port_info_get_midi_voices_ARG_EXPAND); -const char * snd_seq_port_info_get_name(snd_seq_port_info_get_name_ARG_EXPAND); +const char * glshim_snd_seq_port_info_get_name(snd_seq_port_info_get_name_ARG_EXPAND); typedef const char * (*snd_seq_port_info_get_name_PTR)(snd_seq_port_info_get_name_ARG_EXPAND); -int snd_seq_port_info_get_port(snd_seq_port_info_get_port_ARG_EXPAND); +int glshim_snd_seq_port_info_get_port(snd_seq_port_info_get_port_ARG_EXPAND); typedef int (*snd_seq_port_info_get_port_PTR)(snd_seq_port_info_get_port_ARG_EXPAND); -int snd_seq_port_info_get_port_specified(snd_seq_port_info_get_port_specified_ARG_EXPAND); +int glshim_snd_seq_port_info_get_port_specified(snd_seq_port_info_get_port_specified_ARG_EXPAND); typedef int (*snd_seq_port_info_get_port_specified_PTR)(snd_seq_port_info_get_port_specified_ARG_EXPAND); -int snd_seq_port_info_get_read_use(snd_seq_port_info_get_read_use_ARG_EXPAND); +int glshim_snd_seq_port_info_get_read_use(snd_seq_port_info_get_read_use_ARG_EXPAND); typedef int (*snd_seq_port_info_get_read_use_PTR)(snd_seq_port_info_get_read_use_ARG_EXPAND); -int snd_seq_port_info_get_synth_voices(snd_seq_port_info_get_synth_voices_ARG_EXPAND); +int glshim_snd_seq_port_info_get_synth_voices(snd_seq_port_info_get_synth_voices_ARG_EXPAND); typedef int (*snd_seq_port_info_get_synth_voices_PTR)(snd_seq_port_info_get_synth_voices_ARG_EXPAND); -int snd_seq_port_info_get_timestamp_queue(snd_seq_port_info_get_timestamp_queue_ARG_EXPAND); +int glshim_snd_seq_port_info_get_timestamp_queue(snd_seq_port_info_get_timestamp_queue_ARG_EXPAND); typedef int (*snd_seq_port_info_get_timestamp_queue_PTR)(snd_seq_port_info_get_timestamp_queue_ARG_EXPAND); -int snd_seq_port_info_get_timestamp_real(snd_seq_port_info_get_timestamp_real_ARG_EXPAND); +int glshim_snd_seq_port_info_get_timestamp_real(snd_seq_port_info_get_timestamp_real_ARG_EXPAND); typedef int (*snd_seq_port_info_get_timestamp_real_PTR)(snd_seq_port_info_get_timestamp_real_ARG_EXPAND); -int snd_seq_port_info_get_timestamping(snd_seq_port_info_get_timestamping_ARG_EXPAND); +int glshim_snd_seq_port_info_get_timestamping(snd_seq_port_info_get_timestamping_ARG_EXPAND); typedef int (*snd_seq_port_info_get_timestamping_PTR)(snd_seq_port_info_get_timestamping_ARG_EXPAND); -unsigned int snd_seq_port_info_get_type(snd_seq_port_info_get_type_ARG_EXPAND); +unsigned int glshim_snd_seq_port_info_get_type(snd_seq_port_info_get_type_ARG_EXPAND); typedef unsigned int (*snd_seq_port_info_get_type_PTR)(snd_seq_port_info_get_type_ARG_EXPAND); -int snd_seq_port_info_get_write_use(snd_seq_port_info_get_write_use_ARG_EXPAND); +int glshim_snd_seq_port_info_get_write_use(snd_seq_port_info_get_write_use_ARG_EXPAND); typedef int (*snd_seq_port_info_get_write_use_PTR)(snd_seq_port_info_get_write_use_ARG_EXPAND); -int snd_seq_port_info_malloc(snd_seq_port_info_malloc_ARG_EXPAND); +int glshim_snd_seq_port_info_malloc(snd_seq_port_info_malloc_ARG_EXPAND); typedef int (*snd_seq_port_info_malloc_PTR)(snd_seq_port_info_malloc_ARG_EXPAND); -void snd_seq_port_info_set_addr(snd_seq_port_info_set_addr_ARG_EXPAND); +void glshim_snd_seq_port_info_set_addr(snd_seq_port_info_set_addr_ARG_EXPAND); typedef void (*snd_seq_port_info_set_addr_PTR)(snd_seq_port_info_set_addr_ARG_EXPAND); -void snd_seq_port_info_set_capability(snd_seq_port_info_set_capability_ARG_EXPAND); +void glshim_snd_seq_port_info_set_capability(snd_seq_port_info_set_capability_ARG_EXPAND); typedef void (*snd_seq_port_info_set_capability_PTR)(snd_seq_port_info_set_capability_ARG_EXPAND); -void snd_seq_port_info_set_client(snd_seq_port_info_set_client_ARG_EXPAND); +void glshim_snd_seq_port_info_set_client(snd_seq_port_info_set_client_ARG_EXPAND); typedef void (*snd_seq_port_info_set_client_PTR)(snd_seq_port_info_set_client_ARG_EXPAND); -void snd_seq_port_info_set_midi_channels(snd_seq_port_info_set_midi_channels_ARG_EXPAND); +void glshim_snd_seq_port_info_set_midi_channels(snd_seq_port_info_set_midi_channels_ARG_EXPAND); typedef void (*snd_seq_port_info_set_midi_channels_PTR)(snd_seq_port_info_set_midi_channels_ARG_EXPAND); -void snd_seq_port_info_set_midi_voices(snd_seq_port_info_set_midi_voices_ARG_EXPAND); +void glshim_snd_seq_port_info_set_midi_voices(snd_seq_port_info_set_midi_voices_ARG_EXPAND); typedef void (*snd_seq_port_info_set_midi_voices_PTR)(snd_seq_port_info_set_midi_voices_ARG_EXPAND); -void snd_seq_port_info_set_name(snd_seq_port_info_set_name_ARG_EXPAND); +void glshim_snd_seq_port_info_set_name(snd_seq_port_info_set_name_ARG_EXPAND); typedef void (*snd_seq_port_info_set_name_PTR)(snd_seq_port_info_set_name_ARG_EXPAND); -void snd_seq_port_info_set_port(snd_seq_port_info_set_port_ARG_EXPAND); +void glshim_snd_seq_port_info_set_port(snd_seq_port_info_set_port_ARG_EXPAND); typedef void (*snd_seq_port_info_set_port_PTR)(snd_seq_port_info_set_port_ARG_EXPAND); -void snd_seq_port_info_set_port_specified(snd_seq_port_info_set_port_specified_ARG_EXPAND); +void glshim_snd_seq_port_info_set_port_specified(snd_seq_port_info_set_port_specified_ARG_EXPAND); typedef void (*snd_seq_port_info_set_port_specified_PTR)(snd_seq_port_info_set_port_specified_ARG_EXPAND); -void snd_seq_port_info_set_synth_voices(snd_seq_port_info_set_synth_voices_ARG_EXPAND); +void glshim_snd_seq_port_info_set_synth_voices(snd_seq_port_info_set_synth_voices_ARG_EXPAND); typedef void (*snd_seq_port_info_set_synth_voices_PTR)(snd_seq_port_info_set_synth_voices_ARG_EXPAND); -void snd_seq_port_info_set_timestamp_queue(snd_seq_port_info_set_timestamp_queue_ARG_EXPAND); +void glshim_snd_seq_port_info_set_timestamp_queue(snd_seq_port_info_set_timestamp_queue_ARG_EXPAND); typedef void (*snd_seq_port_info_set_timestamp_queue_PTR)(snd_seq_port_info_set_timestamp_queue_ARG_EXPAND); -void snd_seq_port_info_set_timestamp_real(snd_seq_port_info_set_timestamp_real_ARG_EXPAND); +void glshim_snd_seq_port_info_set_timestamp_real(snd_seq_port_info_set_timestamp_real_ARG_EXPAND); typedef void (*snd_seq_port_info_set_timestamp_real_PTR)(snd_seq_port_info_set_timestamp_real_ARG_EXPAND); -void snd_seq_port_info_set_timestamping(snd_seq_port_info_set_timestamping_ARG_EXPAND); +void glshim_snd_seq_port_info_set_timestamping(snd_seq_port_info_set_timestamping_ARG_EXPAND); typedef void (*snd_seq_port_info_set_timestamping_PTR)(snd_seq_port_info_set_timestamping_ARG_EXPAND); -void snd_seq_port_info_set_type(snd_seq_port_info_set_type_ARG_EXPAND); +void glshim_snd_seq_port_info_set_type(snd_seq_port_info_set_type_ARG_EXPAND); typedef void (*snd_seq_port_info_set_type_PTR)(snd_seq_port_info_set_type_ARG_EXPAND); -size_t snd_seq_port_info_sizeof(snd_seq_port_info_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_port_info_sizeof(snd_seq_port_info_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_port_info_sizeof_PTR)(snd_seq_port_info_sizeof_ARG_EXPAND); -void snd_seq_port_subscribe_copy(snd_seq_port_subscribe_copy_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_copy(snd_seq_port_subscribe_copy_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_copy_PTR)(snd_seq_port_subscribe_copy_ARG_EXPAND); -void snd_seq_port_subscribe_free(snd_seq_port_subscribe_free_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_free(snd_seq_port_subscribe_free_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_free_PTR)(snd_seq_port_subscribe_free_ARG_EXPAND); -const snd_seq_addr_t * snd_seq_port_subscribe_get_dest(snd_seq_port_subscribe_get_dest_ARG_EXPAND); +const snd_seq_addr_t * glshim_snd_seq_port_subscribe_get_dest(snd_seq_port_subscribe_get_dest_ARG_EXPAND); typedef const snd_seq_addr_t * (*snd_seq_port_subscribe_get_dest_PTR)(snd_seq_port_subscribe_get_dest_ARG_EXPAND); -int snd_seq_port_subscribe_get_exclusive(snd_seq_port_subscribe_get_exclusive_ARG_EXPAND); +int glshim_snd_seq_port_subscribe_get_exclusive(snd_seq_port_subscribe_get_exclusive_ARG_EXPAND); typedef int (*snd_seq_port_subscribe_get_exclusive_PTR)(snd_seq_port_subscribe_get_exclusive_ARG_EXPAND); -int snd_seq_port_subscribe_get_queue(snd_seq_port_subscribe_get_queue_ARG_EXPAND); +int glshim_snd_seq_port_subscribe_get_queue(snd_seq_port_subscribe_get_queue_ARG_EXPAND); typedef int (*snd_seq_port_subscribe_get_queue_PTR)(snd_seq_port_subscribe_get_queue_ARG_EXPAND); -const snd_seq_addr_t * snd_seq_port_subscribe_get_sender(snd_seq_port_subscribe_get_sender_ARG_EXPAND); +const snd_seq_addr_t * glshim_snd_seq_port_subscribe_get_sender(snd_seq_port_subscribe_get_sender_ARG_EXPAND); typedef const snd_seq_addr_t * (*snd_seq_port_subscribe_get_sender_PTR)(snd_seq_port_subscribe_get_sender_ARG_EXPAND); -int snd_seq_port_subscribe_get_time_real(snd_seq_port_subscribe_get_time_real_ARG_EXPAND); +int glshim_snd_seq_port_subscribe_get_time_real(snd_seq_port_subscribe_get_time_real_ARG_EXPAND); typedef int (*snd_seq_port_subscribe_get_time_real_PTR)(snd_seq_port_subscribe_get_time_real_ARG_EXPAND); -int snd_seq_port_subscribe_get_time_update(snd_seq_port_subscribe_get_time_update_ARG_EXPAND); +int glshim_snd_seq_port_subscribe_get_time_update(snd_seq_port_subscribe_get_time_update_ARG_EXPAND); typedef int (*snd_seq_port_subscribe_get_time_update_PTR)(snd_seq_port_subscribe_get_time_update_ARG_EXPAND); -int snd_seq_port_subscribe_malloc(snd_seq_port_subscribe_malloc_ARG_EXPAND); +int glshim_snd_seq_port_subscribe_malloc(snd_seq_port_subscribe_malloc_ARG_EXPAND); typedef int (*snd_seq_port_subscribe_malloc_PTR)(snd_seq_port_subscribe_malloc_ARG_EXPAND); -void snd_seq_port_subscribe_set_dest(snd_seq_port_subscribe_set_dest_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_set_dest(snd_seq_port_subscribe_set_dest_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_set_dest_PTR)(snd_seq_port_subscribe_set_dest_ARG_EXPAND); -void snd_seq_port_subscribe_set_exclusive(snd_seq_port_subscribe_set_exclusive_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_set_exclusive(snd_seq_port_subscribe_set_exclusive_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_set_exclusive_PTR)(snd_seq_port_subscribe_set_exclusive_ARG_EXPAND); -void snd_seq_port_subscribe_set_queue(snd_seq_port_subscribe_set_queue_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_set_queue(snd_seq_port_subscribe_set_queue_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_set_queue_PTR)(snd_seq_port_subscribe_set_queue_ARG_EXPAND); -void snd_seq_port_subscribe_set_sender(snd_seq_port_subscribe_set_sender_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_set_sender(snd_seq_port_subscribe_set_sender_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_set_sender_PTR)(snd_seq_port_subscribe_set_sender_ARG_EXPAND); -void snd_seq_port_subscribe_set_time_real(snd_seq_port_subscribe_set_time_real_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_set_time_real(snd_seq_port_subscribe_set_time_real_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_set_time_real_PTR)(snd_seq_port_subscribe_set_time_real_ARG_EXPAND); -void snd_seq_port_subscribe_set_time_update(snd_seq_port_subscribe_set_time_update_ARG_EXPAND); +void glshim_snd_seq_port_subscribe_set_time_update(snd_seq_port_subscribe_set_time_update_ARG_EXPAND); typedef void (*snd_seq_port_subscribe_set_time_update_PTR)(snd_seq_port_subscribe_set_time_update_ARG_EXPAND); -size_t snd_seq_port_subscribe_sizeof(snd_seq_port_subscribe_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_port_subscribe_sizeof(snd_seq_port_subscribe_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_port_subscribe_sizeof_PTR)(snd_seq_port_subscribe_sizeof_ARG_EXPAND); -int snd_seq_query_named_queue(snd_seq_query_named_queue_ARG_EXPAND); +int glshim_snd_seq_query_named_queue(snd_seq_query_named_queue_ARG_EXPAND); typedef int (*snd_seq_query_named_queue_PTR)(snd_seq_query_named_queue_ARG_EXPAND); -int snd_seq_query_next_client(snd_seq_query_next_client_ARG_EXPAND); +int glshim_snd_seq_query_next_client(snd_seq_query_next_client_ARG_EXPAND); typedef int (*snd_seq_query_next_client_PTR)(snd_seq_query_next_client_ARG_EXPAND); -int snd_seq_query_next_port(snd_seq_query_next_port_ARG_EXPAND); +int glshim_snd_seq_query_next_port(snd_seq_query_next_port_ARG_EXPAND); typedef int (*snd_seq_query_next_port_PTR)(snd_seq_query_next_port_ARG_EXPAND); -int snd_seq_query_port_subscribers(snd_seq_query_port_subscribers_ARG_EXPAND); +int glshim_snd_seq_query_port_subscribers(snd_seq_query_port_subscribers_ARG_EXPAND); typedef int (*snd_seq_query_port_subscribers_PTR)(snd_seq_query_port_subscribers_ARG_EXPAND); -void snd_seq_query_subscribe_copy(snd_seq_query_subscribe_copy_ARG_EXPAND); +void glshim_snd_seq_query_subscribe_copy(snd_seq_query_subscribe_copy_ARG_EXPAND); typedef void (*snd_seq_query_subscribe_copy_PTR)(snd_seq_query_subscribe_copy_ARG_EXPAND); -void snd_seq_query_subscribe_free(snd_seq_query_subscribe_free_ARG_EXPAND); +void glshim_snd_seq_query_subscribe_free(snd_seq_query_subscribe_free_ARG_EXPAND); typedef void (*snd_seq_query_subscribe_free_PTR)(snd_seq_query_subscribe_free_ARG_EXPAND); -const snd_seq_addr_t * snd_seq_query_subscribe_get_addr(snd_seq_query_subscribe_get_addr_ARG_EXPAND); +const snd_seq_addr_t * glshim_snd_seq_query_subscribe_get_addr(snd_seq_query_subscribe_get_addr_ARG_EXPAND); typedef const snd_seq_addr_t * (*snd_seq_query_subscribe_get_addr_PTR)(snd_seq_query_subscribe_get_addr_ARG_EXPAND); -int snd_seq_query_subscribe_get_client(snd_seq_query_subscribe_get_client_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_client(snd_seq_query_subscribe_get_client_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_client_PTR)(snd_seq_query_subscribe_get_client_ARG_EXPAND); -int snd_seq_query_subscribe_get_exclusive(snd_seq_query_subscribe_get_exclusive_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_exclusive(snd_seq_query_subscribe_get_exclusive_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_exclusive_PTR)(snd_seq_query_subscribe_get_exclusive_ARG_EXPAND); -int snd_seq_query_subscribe_get_index(snd_seq_query_subscribe_get_index_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_index(snd_seq_query_subscribe_get_index_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_index_PTR)(snd_seq_query_subscribe_get_index_ARG_EXPAND); -int snd_seq_query_subscribe_get_num_subs(snd_seq_query_subscribe_get_num_subs_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_num_subs(snd_seq_query_subscribe_get_num_subs_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_num_subs_PTR)(snd_seq_query_subscribe_get_num_subs_ARG_EXPAND); -int snd_seq_query_subscribe_get_port(snd_seq_query_subscribe_get_port_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_port(snd_seq_query_subscribe_get_port_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_port_PTR)(snd_seq_query_subscribe_get_port_ARG_EXPAND); -int snd_seq_query_subscribe_get_queue(snd_seq_query_subscribe_get_queue_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_queue(snd_seq_query_subscribe_get_queue_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_queue_PTR)(snd_seq_query_subscribe_get_queue_ARG_EXPAND); -const snd_seq_addr_t * snd_seq_query_subscribe_get_root(snd_seq_query_subscribe_get_root_ARG_EXPAND); +const snd_seq_addr_t * glshim_snd_seq_query_subscribe_get_root(snd_seq_query_subscribe_get_root_ARG_EXPAND); typedef const snd_seq_addr_t * (*snd_seq_query_subscribe_get_root_PTR)(snd_seq_query_subscribe_get_root_ARG_EXPAND); -int snd_seq_query_subscribe_get_time_real(snd_seq_query_subscribe_get_time_real_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_time_real(snd_seq_query_subscribe_get_time_real_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_time_real_PTR)(snd_seq_query_subscribe_get_time_real_ARG_EXPAND); -int snd_seq_query_subscribe_get_time_update(snd_seq_query_subscribe_get_time_update_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_get_time_update(snd_seq_query_subscribe_get_time_update_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_get_time_update_PTR)(snd_seq_query_subscribe_get_time_update_ARG_EXPAND); -snd_seq_query_subs_type_t snd_seq_query_subscribe_get_type(snd_seq_query_subscribe_get_type_ARG_EXPAND); +snd_seq_query_subs_type_t glshim_snd_seq_query_subscribe_get_type(snd_seq_query_subscribe_get_type_ARG_EXPAND); typedef snd_seq_query_subs_type_t (*snd_seq_query_subscribe_get_type_PTR)(snd_seq_query_subscribe_get_type_ARG_EXPAND); -int snd_seq_query_subscribe_malloc(snd_seq_query_subscribe_malloc_ARG_EXPAND); +int glshim_snd_seq_query_subscribe_malloc(snd_seq_query_subscribe_malloc_ARG_EXPAND); typedef int (*snd_seq_query_subscribe_malloc_PTR)(snd_seq_query_subscribe_malloc_ARG_EXPAND); -void snd_seq_query_subscribe_set_client(snd_seq_query_subscribe_set_client_ARG_EXPAND); +void glshim_snd_seq_query_subscribe_set_client(snd_seq_query_subscribe_set_client_ARG_EXPAND); typedef void (*snd_seq_query_subscribe_set_client_PTR)(snd_seq_query_subscribe_set_client_ARG_EXPAND); -void snd_seq_query_subscribe_set_index(snd_seq_query_subscribe_set_index_ARG_EXPAND); +void glshim_snd_seq_query_subscribe_set_index(snd_seq_query_subscribe_set_index_ARG_EXPAND); typedef void (*snd_seq_query_subscribe_set_index_PTR)(snd_seq_query_subscribe_set_index_ARG_EXPAND); -void snd_seq_query_subscribe_set_port(snd_seq_query_subscribe_set_port_ARG_EXPAND); +void glshim_snd_seq_query_subscribe_set_port(snd_seq_query_subscribe_set_port_ARG_EXPAND); typedef void (*snd_seq_query_subscribe_set_port_PTR)(snd_seq_query_subscribe_set_port_ARG_EXPAND); -void snd_seq_query_subscribe_set_root(snd_seq_query_subscribe_set_root_ARG_EXPAND); +void glshim_snd_seq_query_subscribe_set_root(snd_seq_query_subscribe_set_root_ARG_EXPAND); typedef void (*snd_seq_query_subscribe_set_root_PTR)(snd_seq_query_subscribe_set_root_ARG_EXPAND); -void snd_seq_query_subscribe_set_type(snd_seq_query_subscribe_set_type_ARG_EXPAND); +void glshim_snd_seq_query_subscribe_set_type(snd_seq_query_subscribe_set_type_ARG_EXPAND); typedef void (*snd_seq_query_subscribe_set_type_PTR)(snd_seq_query_subscribe_set_type_ARG_EXPAND); -size_t snd_seq_query_subscribe_sizeof(snd_seq_query_subscribe_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_query_subscribe_sizeof(snd_seq_query_subscribe_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_query_subscribe_sizeof_PTR)(snd_seq_query_subscribe_sizeof_ARG_EXPAND); -void snd_seq_queue_info_copy(snd_seq_queue_info_copy_ARG_EXPAND); +void glshim_snd_seq_queue_info_copy(snd_seq_queue_info_copy_ARG_EXPAND); typedef void (*snd_seq_queue_info_copy_PTR)(snd_seq_queue_info_copy_ARG_EXPAND); -void snd_seq_queue_info_free(snd_seq_queue_info_free_ARG_EXPAND); +void glshim_snd_seq_queue_info_free(snd_seq_queue_info_free_ARG_EXPAND); typedef void (*snd_seq_queue_info_free_PTR)(snd_seq_queue_info_free_ARG_EXPAND); -unsigned int snd_seq_queue_info_get_flags(snd_seq_queue_info_get_flags_ARG_EXPAND); +unsigned int glshim_snd_seq_queue_info_get_flags(snd_seq_queue_info_get_flags_ARG_EXPAND); typedef unsigned int (*snd_seq_queue_info_get_flags_PTR)(snd_seq_queue_info_get_flags_ARG_EXPAND); -int snd_seq_queue_info_get_locked(snd_seq_queue_info_get_locked_ARG_EXPAND); +int glshim_snd_seq_queue_info_get_locked(snd_seq_queue_info_get_locked_ARG_EXPAND); typedef int (*snd_seq_queue_info_get_locked_PTR)(snd_seq_queue_info_get_locked_ARG_EXPAND); -const char * snd_seq_queue_info_get_name(snd_seq_queue_info_get_name_ARG_EXPAND); +const char * glshim_snd_seq_queue_info_get_name(snd_seq_queue_info_get_name_ARG_EXPAND); typedef const char * (*snd_seq_queue_info_get_name_PTR)(snd_seq_queue_info_get_name_ARG_EXPAND); -int snd_seq_queue_info_get_owner(snd_seq_queue_info_get_owner_ARG_EXPAND); +int glshim_snd_seq_queue_info_get_owner(snd_seq_queue_info_get_owner_ARG_EXPAND); typedef int (*snd_seq_queue_info_get_owner_PTR)(snd_seq_queue_info_get_owner_ARG_EXPAND); -int snd_seq_queue_info_get_queue(snd_seq_queue_info_get_queue_ARG_EXPAND); +int glshim_snd_seq_queue_info_get_queue(snd_seq_queue_info_get_queue_ARG_EXPAND); typedef int (*snd_seq_queue_info_get_queue_PTR)(snd_seq_queue_info_get_queue_ARG_EXPAND); -int snd_seq_queue_info_malloc(snd_seq_queue_info_malloc_ARG_EXPAND); +int glshim_snd_seq_queue_info_malloc(snd_seq_queue_info_malloc_ARG_EXPAND); typedef int (*snd_seq_queue_info_malloc_PTR)(snd_seq_queue_info_malloc_ARG_EXPAND); -void snd_seq_queue_info_set_flags(snd_seq_queue_info_set_flags_ARG_EXPAND); +void glshim_snd_seq_queue_info_set_flags(snd_seq_queue_info_set_flags_ARG_EXPAND); typedef void (*snd_seq_queue_info_set_flags_PTR)(snd_seq_queue_info_set_flags_ARG_EXPAND); -void snd_seq_queue_info_set_locked(snd_seq_queue_info_set_locked_ARG_EXPAND); +void glshim_snd_seq_queue_info_set_locked(snd_seq_queue_info_set_locked_ARG_EXPAND); typedef void (*snd_seq_queue_info_set_locked_PTR)(snd_seq_queue_info_set_locked_ARG_EXPAND); -void snd_seq_queue_info_set_name(snd_seq_queue_info_set_name_ARG_EXPAND); +void glshim_snd_seq_queue_info_set_name(snd_seq_queue_info_set_name_ARG_EXPAND); typedef void (*snd_seq_queue_info_set_name_PTR)(snd_seq_queue_info_set_name_ARG_EXPAND); -void snd_seq_queue_info_set_owner(snd_seq_queue_info_set_owner_ARG_EXPAND); +void glshim_snd_seq_queue_info_set_owner(snd_seq_queue_info_set_owner_ARG_EXPAND); typedef void (*snd_seq_queue_info_set_owner_PTR)(snd_seq_queue_info_set_owner_ARG_EXPAND); -size_t snd_seq_queue_info_sizeof(snd_seq_queue_info_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_queue_info_sizeof(snd_seq_queue_info_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_queue_info_sizeof_PTR)(snd_seq_queue_info_sizeof_ARG_EXPAND); -void snd_seq_queue_status_copy(snd_seq_queue_status_copy_ARG_EXPAND); +void glshim_snd_seq_queue_status_copy(snd_seq_queue_status_copy_ARG_EXPAND); typedef void (*snd_seq_queue_status_copy_PTR)(snd_seq_queue_status_copy_ARG_EXPAND); -void snd_seq_queue_status_free(snd_seq_queue_status_free_ARG_EXPAND); +void glshim_snd_seq_queue_status_free(snd_seq_queue_status_free_ARG_EXPAND); typedef void (*snd_seq_queue_status_free_PTR)(snd_seq_queue_status_free_ARG_EXPAND); -int snd_seq_queue_status_get_events(snd_seq_queue_status_get_events_ARG_EXPAND); +int glshim_snd_seq_queue_status_get_events(snd_seq_queue_status_get_events_ARG_EXPAND); typedef int (*snd_seq_queue_status_get_events_PTR)(snd_seq_queue_status_get_events_ARG_EXPAND); -int snd_seq_queue_status_get_queue(snd_seq_queue_status_get_queue_ARG_EXPAND); +int glshim_snd_seq_queue_status_get_queue(snd_seq_queue_status_get_queue_ARG_EXPAND); typedef int (*snd_seq_queue_status_get_queue_PTR)(snd_seq_queue_status_get_queue_ARG_EXPAND); -const snd_seq_real_time_t * snd_seq_queue_status_get_real_time(snd_seq_queue_status_get_real_time_ARG_EXPAND); +const snd_seq_real_time_t * glshim_snd_seq_queue_status_get_real_time(snd_seq_queue_status_get_real_time_ARG_EXPAND); typedef const snd_seq_real_time_t * (*snd_seq_queue_status_get_real_time_PTR)(snd_seq_queue_status_get_real_time_ARG_EXPAND); -unsigned int snd_seq_queue_status_get_status(snd_seq_queue_status_get_status_ARG_EXPAND); +unsigned int glshim_snd_seq_queue_status_get_status(snd_seq_queue_status_get_status_ARG_EXPAND); typedef unsigned int (*snd_seq_queue_status_get_status_PTR)(snd_seq_queue_status_get_status_ARG_EXPAND); -snd_seq_tick_time_t snd_seq_queue_status_get_tick_time(snd_seq_queue_status_get_tick_time_ARG_EXPAND); +snd_seq_tick_time_t glshim_snd_seq_queue_status_get_tick_time(snd_seq_queue_status_get_tick_time_ARG_EXPAND); typedef snd_seq_tick_time_t (*snd_seq_queue_status_get_tick_time_PTR)(snd_seq_queue_status_get_tick_time_ARG_EXPAND); -int snd_seq_queue_status_malloc(snd_seq_queue_status_malloc_ARG_EXPAND); +int glshim_snd_seq_queue_status_malloc(snd_seq_queue_status_malloc_ARG_EXPAND); typedef int (*snd_seq_queue_status_malloc_PTR)(snd_seq_queue_status_malloc_ARG_EXPAND); -size_t snd_seq_queue_status_sizeof(snd_seq_queue_status_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_queue_status_sizeof(snd_seq_queue_status_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_queue_status_sizeof_PTR)(snd_seq_queue_status_sizeof_ARG_EXPAND); -void snd_seq_queue_tempo_copy(snd_seq_queue_tempo_copy_ARG_EXPAND); +void glshim_snd_seq_queue_tempo_copy(snd_seq_queue_tempo_copy_ARG_EXPAND); typedef void (*snd_seq_queue_tempo_copy_PTR)(snd_seq_queue_tempo_copy_ARG_EXPAND); -void snd_seq_queue_tempo_free(snd_seq_queue_tempo_free_ARG_EXPAND); +void glshim_snd_seq_queue_tempo_free(snd_seq_queue_tempo_free_ARG_EXPAND); typedef void (*snd_seq_queue_tempo_free_PTR)(snd_seq_queue_tempo_free_ARG_EXPAND); -int snd_seq_queue_tempo_get_ppq(snd_seq_queue_tempo_get_ppq_ARG_EXPAND); +int glshim_snd_seq_queue_tempo_get_ppq(snd_seq_queue_tempo_get_ppq_ARG_EXPAND); typedef int (*snd_seq_queue_tempo_get_ppq_PTR)(snd_seq_queue_tempo_get_ppq_ARG_EXPAND); -int snd_seq_queue_tempo_get_queue(snd_seq_queue_tempo_get_queue_ARG_EXPAND); +int glshim_snd_seq_queue_tempo_get_queue(snd_seq_queue_tempo_get_queue_ARG_EXPAND); typedef int (*snd_seq_queue_tempo_get_queue_PTR)(snd_seq_queue_tempo_get_queue_ARG_EXPAND); -unsigned int snd_seq_queue_tempo_get_skew(snd_seq_queue_tempo_get_skew_ARG_EXPAND); +unsigned int glshim_snd_seq_queue_tempo_get_skew(snd_seq_queue_tempo_get_skew_ARG_EXPAND); typedef unsigned int (*snd_seq_queue_tempo_get_skew_PTR)(snd_seq_queue_tempo_get_skew_ARG_EXPAND); -unsigned int snd_seq_queue_tempo_get_skew_base(snd_seq_queue_tempo_get_skew_base_ARG_EXPAND); +unsigned int glshim_snd_seq_queue_tempo_get_skew_base(snd_seq_queue_tempo_get_skew_base_ARG_EXPAND); typedef unsigned int (*snd_seq_queue_tempo_get_skew_base_PTR)(snd_seq_queue_tempo_get_skew_base_ARG_EXPAND); -unsigned int snd_seq_queue_tempo_get_tempo(snd_seq_queue_tempo_get_tempo_ARG_EXPAND); +unsigned int glshim_snd_seq_queue_tempo_get_tempo(snd_seq_queue_tempo_get_tempo_ARG_EXPAND); typedef unsigned int (*snd_seq_queue_tempo_get_tempo_PTR)(snd_seq_queue_tempo_get_tempo_ARG_EXPAND); -int snd_seq_queue_tempo_malloc(snd_seq_queue_tempo_malloc_ARG_EXPAND); +int glshim_snd_seq_queue_tempo_malloc(snd_seq_queue_tempo_malloc_ARG_EXPAND); typedef int (*snd_seq_queue_tempo_malloc_PTR)(snd_seq_queue_tempo_malloc_ARG_EXPAND); -void snd_seq_queue_tempo_set_ppq(snd_seq_queue_tempo_set_ppq_ARG_EXPAND); +void glshim_snd_seq_queue_tempo_set_ppq(snd_seq_queue_tempo_set_ppq_ARG_EXPAND); typedef void (*snd_seq_queue_tempo_set_ppq_PTR)(snd_seq_queue_tempo_set_ppq_ARG_EXPAND); -void snd_seq_queue_tempo_set_skew(snd_seq_queue_tempo_set_skew_ARG_EXPAND); +void glshim_snd_seq_queue_tempo_set_skew(snd_seq_queue_tempo_set_skew_ARG_EXPAND); typedef void (*snd_seq_queue_tempo_set_skew_PTR)(snd_seq_queue_tempo_set_skew_ARG_EXPAND); -void snd_seq_queue_tempo_set_skew_base(snd_seq_queue_tempo_set_skew_base_ARG_EXPAND); +void glshim_snd_seq_queue_tempo_set_skew_base(snd_seq_queue_tempo_set_skew_base_ARG_EXPAND); typedef void (*snd_seq_queue_tempo_set_skew_base_PTR)(snd_seq_queue_tempo_set_skew_base_ARG_EXPAND); -void snd_seq_queue_tempo_set_tempo(snd_seq_queue_tempo_set_tempo_ARG_EXPAND); +void glshim_snd_seq_queue_tempo_set_tempo(snd_seq_queue_tempo_set_tempo_ARG_EXPAND); typedef void (*snd_seq_queue_tempo_set_tempo_PTR)(snd_seq_queue_tempo_set_tempo_ARG_EXPAND); -size_t snd_seq_queue_tempo_sizeof(snd_seq_queue_tempo_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_queue_tempo_sizeof(snd_seq_queue_tempo_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_queue_tempo_sizeof_PTR)(snd_seq_queue_tempo_sizeof_ARG_EXPAND); -void snd_seq_queue_timer_copy(snd_seq_queue_timer_copy_ARG_EXPAND); +void glshim_snd_seq_queue_timer_copy(snd_seq_queue_timer_copy_ARG_EXPAND); typedef void (*snd_seq_queue_timer_copy_PTR)(snd_seq_queue_timer_copy_ARG_EXPAND); -void snd_seq_queue_timer_free(snd_seq_queue_timer_free_ARG_EXPAND); +void glshim_snd_seq_queue_timer_free(snd_seq_queue_timer_free_ARG_EXPAND); typedef void (*snd_seq_queue_timer_free_PTR)(snd_seq_queue_timer_free_ARG_EXPAND); -const snd_timer_id_t * snd_seq_queue_timer_get_id(snd_seq_queue_timer_get_id_ARG_EXPAND); +const snd_timer_id_t * glshim_snd_seq_queue_timer_get_id(snd_seq_queue_timer_get_id_ARG_EXPAND); typedef const snd_timer_id_t * (*snd_seq_queue_timer_get_id_PTR)(snd_seq_queue_timer_get_id_ARG_EXPAND); -int snd_seq_queue_timer_get_queue(snd_seq_queue_timer_get_queue_ARG_EXPAND); +int glshim_snd_seq_queue_timer_get_queue(snd_seq_queue_timer_get_queue_ARG_EXPAND); typedef int (*snd_seq_queue_timer_get_queue_PTR)(snd_seq_queue_timer_get_queue_ARG_EXPAND); -unsigned int snd_seq_queue_timer_get_resolution(snd_seq_queue_timer_get_resolution_ARG_EXPAND); +unsigned int glshim_snd_seq_queue_timer_get_resolution(snd_seq_queue_timer_get_resolution_ARG_EXPAND); typedef unsigned int (*snd_seq_queue_timer_get_resolution_PTR)(snd_seq_queue_timer_get_resolution_ARG_EXPAND); -snd_seq_queue_timer_type_t snd_seq_queue_timer_get_type(snd_seq_queue_timer_get_type_ARG_EXPAND); +snd_seq_queue_timer_type_t glshim_snd_seq_queue_timer_get_type(snd_seq_queue_timer_get_type_ARG_EXPAND); typedef snd_seq_queue_timer_type_t (*snd_seq_queue_timer_get_type_PTR)(snd_seq_queue_timer_get_type_ARG_EXPAND); -int snd_seq_queue_timer_malloc(snd_seq_queue_timer_malloc_ARG_EXPAND); +int glshim_snd_seq_queue_timer_malloc(snd_seq_queue_timer_malloc_ARG_EXPAND); typedef int (*snd_seq_queue_timer_malloc_PTR)(snd_seq_queue_timer_malloc_ARG_EXPAND); -void snd_seq_queue_timer_set_id(snd_seq_queue_timer_set_id_ARG_EXPAND); +void glshim_snd_seq_queue_timer_set_id(snd_seq_queue_timer_set_id_ARG_EXPAND); typedef void (*snd_seq_queue_timer_set_id_PTR)(snd_seq_queue_timer_set_id_ARG_EXPAND); -void snd_seq_queue_timer_set_resolution(snd_seq_queue_timer_set_resolution_ARG_EXPAND); +void glshim_snd_seq_queue_timer_set_resolution(snd_seq_queue_timer_set_resolution_ARG_EXPAND); typedef void (*snd_seq_queue_timer_set_resolution_PTR)(snd_seq_queue_timer_set_resolution_ARG_EXPAND); -void snd_seq_queue_timer_set_type(snd_seq_queue_timer_set_type_ARG_EXPAND); +void glshim_snd_seq_queue_timer_set_type(snd_seq_queue_timer_set_type_ARG_EXPAND); typedef void (*snd_seq_queue_timer_set_type_PTR)(snd_seq_queue_timer_set_type_ARG_EXPAND); -size_t snd_seq_queue_timer_sizeof(snd_seq_queue_timer_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_queue_timer_sizeof(snd_seq_queue_timer_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_queue_timer_sizeof_PTR)(snd_seq_queue_timer_sizeof_ARG_EXPAND); -int snd_seq_remove_events(snd_seq_remove_events_ARG_EXPAND); +int glshim_snd_seq_remove_events(snd_seq_remove_events_ARG_EXPAND); typedef int (*snd_seq_remove_events_PTR)(snd_seq_remove_events_ARG_EXPAND); -void snd_seq_remove_events_copy(snd_seq_remove_events_copy_ARG_EXPAND); +void glshim_snd_seq_remove_events_copy(snd_seq_remove_events_copy_ARG_EXPAND); typedef void (*snd_seq_remove_events_copy_PTR)(snd_seq_remove_events_copy_ARG_EXPAND); -void snd_seq_remove_events_free(snd_seq_remove_events_free_ARG_EXPAND); +void glshim_snd_seq_remove_events_free(snd_seq_remove_events_free_ARG_EXPAND); typedef void (*snd_seq_remove_events_free_PTR)(snd_seq_remove_events_free_ARG_EXPAND); -int snd_seq_remove_events_get_channel(snd_seq_remove_events_get_channel_ARG_EXPAND); +int glshim_snd_seq_remove_events_get_channel(snd_seq_remove_events_get_channel_ARG_EXPAND); typedef int (*snd_seq_remove_events_get_channel_PTR)(snd_seq_remove_events_get_channel_ARG_EXPAND); -unsigned int snd_seq_remove_events_get_condition(snd_seq_remove_events_get_condition_ARG_EXPAND); +unsigned int glshim_snd_seq_remove_events_get_condition(snd_seq_remove_events_get_condition_ARG_EXPAND); typedef unsigned int (*snd_seq_remove_events_get_condition_PTR)(snd_seq_remove_events_get_condition_ARG_EXPAND); -const snd_seq_addr_t * snd_seq_remove_events_get_dest(snd_seq_remove_events_get_dest_ARG_EXPAND); +const snd_seq_addr_t * glshim_snd_seq_remove_events_get_dest(snd_seq_remove_events_get_dest_ARG_EXPAND); typedef const snd_seq_addr_t * (*snd_seq_remove_events_get_dest_PTR)(snd_seq_remove_events_get_dest_ARG_EXPAND); -int snd_seq_remove_events_get_event_type(snd_seq_remove_events_get_event_type_ARG_EXPAND); +int glshim_snd_seq_remove_events_get_event_type(snd_seq_remove_events_get_event_type_ARG_EXPAND); typedef int (*snd_seq_remove_events_get_event_type_PTR)(snd_seq_remove_events_get_event_type_ARG_EXPAND); -int snd_seq_remove_events_get_queue(snd_seq_remove_events_get_queue_ARG_EXPAND); +int glshim_snd_seq_remove_events_get_queue(snd_seq_remove_events_get_queue_ARG_EXPAND); typedef int (*snd_seq_remove_events_get_queue_PTR)(snd_seq_remove_events_get_queue_ARG_EXPAND); -int snd_seq_remove_events_get_tag(snd_seq_remove_events_get_tag_ARG_EXPAND); +int glshim_snd_seq_remove_events_get_tag(snd_seq_remove_events_get_tag_ARG_EXPAND); typedef int (*snd_seq_remove_events_get_tag_PTR)(snd_seq_remove_events_get_tag_ARG_EXPAND); -const snd_seq_timestamp_t * snd_seq_remove_events_get_time(snd_seq_remove_events_get_time_ARG_EXPAND); +const snd_seq_timestamp_t * glshim_snd_seq_remove_events_get_time(snd_seq_remove_events_get_time_ARG_EXPAND); typedef const snd_seq_timestamp_t * (*snd_seq_remove_events_get_time_PTR)(snd_seq_remove_events_get_time_ARG_EXPAND); -int snd_seq_remove_events_malloc(snd_seq_remove_events_malloc_ARG_EXPAND); +int glshim_snd_seq_remove_events_malloc(snd_seq_remove_events_malloc_ARG_EXPAND); typedef int (*snd_seq_remove_events_malloc_PTR)(snd_seq_remove_events_malloc_ARG_EXPAND); -void snd_seq_remove_events_set_channel(snd_seq_remove_events_set_channel_ARG_EXPAND); +void glshim_snd_seq_remove_events_set_channel(snd_seq_remove_events_set_channel_ARG_EXPAND); typedef void (*snd_seq_remove_events_set_channel_PTR)(snd_seq_remove_events_set_channel_ARG_EXPAND); -void snd_seq_remove_events_set_condition(snd_seq_remove_events_set_condition_ARG_EXPAND); +void glshim_snd_seq_remove_events_set_condition(snd_seq_remove_events_set_condition_ARG_EXPAND); typedef void (*snd_seq_remove_events_set_condition_PTR)(snd_seq_remove_events_set_condition_ARG_EXPAND); -void snd_seq_remove_events_set_dest(snd_seq_remove_events_set_dest_ARG_EXPAND); +void glshim_snd_seq_remove_events_set_dest(snd_seq_remove_events_set_dest_ARG_EXPAND); typedef void (*snd_seq_remove_events_set_dest_PTR)(snd_seq_remove_events_set_dest_ARG_EXPAND); -void snd_seq_remove_events_set_event_type(snd_seq_remove_events_set_event_type_ARG_EXPAND); +void glshim_snd_seq_remove_events_set_event_type(snd_seq_remove_events_set_event_type_ARG_EXPAND); typedef void (*snd_seq_remove_events_set_event_type_PTR)(snd_seq_remove_events_set_event_type_ARG_EXPAND); -void snd_seq_remove_events_set_queue(snd_seq_remove_events_set_queue_ARG_EXPAND); +void glshim_snd_seq_remove_events_set_queue(snd_seq_remove_events_set_queue_ARG_EXPAND); typedef void (*snd_seq_remove_events_set_queue_PTR)(snd_seq_remove_events_set_queue_ARG_EXPAND); -void snd_seq_remove_events_set_tag(snd_seq_remove_events_set_tag_ARG_EXPAND); +void glshim_snd_seq_remove_events_set_tag(snd_seq_remove_events_set_tag_ARG_EXPAND); typedef void (*snd_seq_remove_events_set_tag_PTR)(snd_seq_remove_events_set_tag_ARG_EXPAND); -void snd_seq_remove_events_set_time(snd_seq_remove_events_set_time_ARG_EXPAND); +void glshim_snd_seq_remove_events_set_time(snd_seq_remove_events_set_time_ARG_EXPAND); typedef void (*snd_seq_remove_events_set_time_PTR)(snd_seq_remove_events_set_time_ARG_EXPAND); -size_t snd_seq_remove_events_sizeof(snd_seq_remove_events_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_remove_events_sizeof(snd_seq_remove_events_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_remove_events_sizeof_PTR)(snd_seq_remove_events_sizeof_ARG_EXPAND); -int snd_seq_reset_pool_input(snd_seq_reset_pool_input_ARG_EXPAND); +int glshim_snd_seq_reset_pool_input(snd_seq_reset_pool_input_ARG_EXPAND); typedef int (*snd_seq_reset_pool_input_PTR)(snd_seq_reset_pool_input_ARG_EXPAND); -int snd_seq_reset_pool_output(snd_seq_reset_pool_output_ARG_EXPAND); +int glshim_snd_seq_reset_pool_output(snd_seq_reset_pool_output_ARG_EXPAND); typedef int (*snd_seq_reset_pool_output_PTR)(snd_seq_reset_pool_output_ARG_EXPAND); -void snd_seq_set_bit(snd_seq_set_bit_ARG_EXPAND); +void glshim_snd_seq_set_bit(snd_seq_set_bit_ARG_EXPAND); typedef void (*snd_seq_set_bit_PTR)(snd_seq_set_bit_ARG_EXPAND); -int snd_seq_set_client_event_filter(snd_seq_set_client_event_filter_ARG_EXPAND); +int glshim_snd_seq_set_client_event_filter(snd_seq_set_client_event_filter_ARG_EXPAND); typedef int (*snd_seq_set_client_event_filter_PTR)(snd_seq_set_client_event_filter_ARG_EXPAND); -int snd_seq_set_client_info(snd_seq_set_client_info_ARG_EXPAND); +int glshim_snd_seq_set_client_info(snd_seq_set_client_info_ARG_EXPAND); typedef int (*snd_seq_set_client_info_PTR)(snd_seq_set_client_info_ARG_EXPAND); -int snd_seq_set_client_name(snd_seq_set_client_name_ARG_EXPAND); +int glshim_snd_seq_set_client_name(snd_seq_set_client_name_ARG_EXPAND); typedef int (*snd_seq_set_client_name_PTR)(snd_seq_set_client_name_ARG_EXPAND); -int snd_seq_set_client_pool(snd_seq_set_client_pool_ARG_EXPAND); +int glshim_snd_seq_set_client_pool(snd_seq_set_client_pool_ARG_EXPAND); typedef int (*snd_seq_set_client_pool_PTR)(snd_seq_set_client_pool_ARG_EXPAND); -int snd_seq_set_client_pool_input(snd_seq_set_client_pool_input_ARG_EXPAND); +int glshim_snd_seq_set_client_pool_input(snd_seq_set_client_pool_input_ARG_EXPAND); typedef int (*snd_seq_set_client_pool_input_PTR)(snd_seq_set_client_pool_input_ARG_EXPAND); -int snd_seq_set_client_pool_output_room(snd_seq_set_client_pool_output_room_ARG_EXPAND); +int glshim_snd_seq_set_client_pool_output_room(snd_seq_set_client_pool_output_room_ARG_EXPAND); typedef int (*snd_seq_set_client_pool_output_room_PTR)(snd_seq_set_client_pool_output_room_ARG_EXPAND); -int snd_seq_set_input_buffer_size(snd_seq_set_input_buffer_size_ARG_EXPAND); +int glshim_snd_seq_set_input_buffer_size(snd_seq_set_input_buffer_size_ARG_EXPAND); typedef int (*snd_seq_set_input_buffer_size_PTR)(snd_seq_set_input_buffer_size_ARG_EXPAND); -int snd_seq_set_output_buffer_size(snd_seq_set_output_buffer_size_ARG_EXPAND); +int glshim_snd_seq_set_output_buffer_size(snd_seq_set_output_buffer_size_ARG_EXPAND); typedef int (*snd_seq_set_output_buffer_size_PTR)(snd_seq_set_output_buffer_size_ARG_EXPAND); -int snd_seq_set_port_info(snd_seq_set_port_info_ARG_EXPAND); +int glshim_snd_seq_set_port_info(snd_seq_set_port_info_ARG_EXPAND); typedef int (*snd_seq_set_port_info_PTR)(snd_seq_set_port_info_ARG_EXPAND); -int snd_seq_set_queue_info(snd_seq_set_queue_info_ARG_EXPAND); +int glshim_snd_seq_set_queue_info(snd_seq_set_queue_info_ARG_EXPAND); typedef int (*snd_seq_set_queue_info_PTR)(snd_seq_set_queue_info_ARG_EXPAND); -int snd_seq_set_queue_tempo(snd_seq_set_queue_tempo_ARG_EXPAND); +int glshim_snd_seq_set_queue_tempo(snd_seq_set_queue_tempo_ARG_EXPAND); typedef int (*snd_seq_set_queue_tempo_PTR)(snd_seq_set_queue_tempo_ARG_EXPAND); -int snd_seq_set_queue_timer(snd_seq_set_queue_timer_ARG_EXPAND); +int glshim_snd_seq_set_queue_timer(snd_seq_set_queue_timer_ARG_EXPAND); typedef int (*snd_seq_set_queue_timer_PTR)(snd_seq_set_queue_timer_ARG_EXPAND); -int snd_seq_set_queue_usage(snd_seq_set_queue_usage_ARG_EXPAND); +int glshim_snd_seq_set_queue_usage(snd_seq_set_queue_usage_ARG_EXPAND); typedef int (*snd_seq_set_queue_usage_PTR)(snd_seq_set_queue_usage_ARG_EXPAND); -int snd_seq_subscribe_port(snd_seq_subscribe_port_ARG_EXPAND); +int glshim_snd_seq_subscribe_port(snd_seq_subscribe_port_ARG_EXPAND); typedef int (*snd_seq_subscribe_port_PTR)(snd_seq_subscribe_port_ARG_EXPAND); -int snd_seq_sync_output_queue(snd_seq_sync_output_queue_ARG_EXPAND); +int glshim_snd_seq_sync_output_queue(snd_seq_sync_output_queue_ARG_EXPAND); typedef int (*snd_seq_sync_output_queue_PTR)(snd_seq_sync_output_queue_ARG_EXPAND); -int snd_seq_system_info(snd_seq_system_info_ARG_EXPAND); +int glshim_snd_seq_system_info(snd_seq_system_info_ARG_EXPAND); typedef int (*snd_seq_system_info_PTR)(snd_seq_system_info_ARG_EXPAND); -void snd_seq_system_info_copy(snd_seq_system_info_copy_ARG_EXPAND); +void glshim_snd_seq_system_info_copy(snd_seq_system_info_copy_ARG_EXPAND); typedef void (*snd_seq_system_info_copy_PTR)(snd_seq_system_info_copy_ARG_EXPAND); -void snd_seq_system_info_free(snd_seq_system_info_free_ARG_EXPAND); +void glshim_snd_seq_system_info_free(snd_seq_system_info_free_ARG_EXPAND); typedef void (*snd_seq_system_info_free_PTR)(snd_seq_system_info_free_ARG_EXPAND); -int snd_seq_system_info_get_channels(snd_seq_system_info_get_channels_ARG_EXPAND); +int glshim_snd_seq_system_info_get_channels(snd_seq_system_info_get_channels_ARG_EXPAND); typedef int (*snd_seq_system_info_get_channels_PTR)(snd_seq_system_info_get_channels_ARG_EXPAND); -int snd_seq_system_info_get_clients(snd_seq_system_info_get_clients_ARG_EXPAND); +int glshim_snd_seq_system_info_get_clients(snd_seq_system_info_get_clients_ARG_EXPAND); typedef int (*snd_seq_system_info_get_clients_PTR)(snd_seq_system_info_get_clients_ARG_EXPAND); -int snd_seq_system_info_get_cur_clients(snd_seq_system_info_get_cur_clients_ARG_EXPAND); +int glshim_snd_seq_system_info_get_cur_clients(snd_seq_system_info_get_cur_clients_ARG_EXPAND); typedef int (*snd_seq_system_info_get_cur_clients_PTR)(snd_seq_system_info_get_cur_clients_ARG_EXPAND); -int snd_seq_system_info_get_cur_queues(snd_seq_system_info_get_cur_queues_ARG_EXPAND); +int glshim_snd_seq_system_info_get_cur_queues(snd_seq_system_info_get_cur_queues_ARG_EXPAND); typedef int (*snd_seq_system_info_get_cur_queues_PTR)(snd_seq_system_info_get_cur_queues_ARG_EXPAND); -int snd_seq_system_info_get_ports(snd_seq_system_info_get_ports_ARG_EXPAND); +int glshim_snd_seq_system_info_get_ports(snd_seq_system_info_get_ports_ARG_EXPAND); typedef int (*snd_seq_system_info_get_ports_PTR)(snd_seq_system_info_get_ports_ARG_EXPAND); -int snd_seq_system_info_get_queues(snd_seq_system_info_get_queues_ARG_EXPAND); +int glshim_snd_seq_system_info_get_queues(snd_seq_system_info_get_queues_ARG_EXPAND); typedef int (*snd_seq_system_info_get_queues_PTR)(snd_seq_system_info_get_queues_ARG_EXPAND); -int snd_seq_system_info_malloc(snd_seq_system_info_malloc_ARG_EXPAND); +int glshim_snd_seq_system_info_malloc(snd_seq_system_info_malloc_ARG_EXPAND); typedef int (*snd_seq_system_info_malloc_PTR)(snd_seq_system_info_malloc_ARG_EXPAND); -size_t snd_seq_system_info_sizeof(snd_seq_system_info_sizeof_ARG_EXPAND); +size_t glshim_snd_seq_system_info_sizeof(snd_seq_system_info_sizeof_ARG_EXPAND); typedef size_t (*snd_seq_system_info_sizeof_PTR)(snd_seq_system_info_sizeof_ARG_EXPAND); -snd_seq_type_t snd_seq_type(snd_seq_type_ARG_EXPAND); +snd_seq_type_t glshim_snd_seq_type(snd_seq_type_ARG_EXPAND); typedef snd_seq_type_t (*snd_seq_type_PTR)(snd_seq_type_ARG_EXPAND); -int snd_seq_unsubscribe_port(snd_seq_unsubscribe_port_ARG_EXPAND); +int glshim_snd_seq_unsubscribe_port(snd_seq_unsubscribe_port_ARG_EXPAND); typedef int (*snd_seq_unsubscribe_port_PTR)(snd_seq_unsubscribe_port_ARG_EXPAND); -struct snd_shm_area * snd_shm_area_create(snd_shm_area_create_ARG_EXPAND); +struct snd_shm_area * glshim_snd_shm_area_create(snd_shm_area_create_ARG_EXPAND); typedef struct snd_shm_area * (*snd_shm_area_create_PTR)(snd_shm_area_create_ARG_EXPAND); -int snd_shm_area_destroy(snd_shm_area_destroy_ARG_EXPAND); +int glshim_snd_shm_area_destroy(snd_shm_area_destroy_ARG_EXPAND); typedef int (*snd_shm_area_destroy_PTR)(snd_shm_area_destroy_ARG_EXPAND); -struct snd_shm_area * snd_shm_area_share(snd_shm_area_share_ARG_EXPAND); +struct snd_shm_area * glshim_snd_shm_area_share(snd_shm_area_share_ARG_EXPAND); typedef struct snd_shm_area * (*snd_shm_area_share_PTR)(snd_shm_area_share_ARG_EXPAND); -int snd_spcm_init(snd_spcm_init_ARG_EXPAND); +int glshim_snd_spcm_init(snd_spcm_init_ARG_EXPAND); typedef int (*snd_spcm_init_PTR)(snd_spcm_init_ARG_EXPAND); -int snd_spcm_init_duplex(snd_spcm_init_duplex_ARG_EXPAND); +int glshim_snd_spcm_init_duplex(snd_spcm_init_duplex_ARG_EXPAND); typedef int (*snd_spcm_init_duplex_PTR)(snd_spcm_init_duplex_ARG_EXPAND); -int snd_spcm_init_get_params(snd_spcm_init_get_params_ARG_EXPAND); +int glshim_snd_spcm_init_get_params(snd_spcm_init_get_params_ARG_EXPAND); typedef int (*snd_spcm_init_get_params_PTR)(snd_spcm_init_get_params_ARG_EXPAND); -const char * snd_strerror(snd_strerror_ARG_EXPAND); +const char * glshim_snd_strerror(snd_strerror_ARG_EXPAND); typedef const char * (*snd_strerror_PTR)(snd_strerror_ARG_EXPAND); -int snd_timer_close(snd_timer_close_ARG_EXPAND); +int glshim_snd_timer_close(snd_timer_close_ARG_EXPAND); typedef int (*snd_timer_close_PTR)(snd_timer_close_ARG_EXPAND); -int snd_timer_continue(snd_timer_continue_ARG_EXPAND); +int glshim_snd_timer_continue(snd_timer_continue_ARG_EXPAND); typedef int (*snd_timer_continue_PTR)(snd_timer_continue_ARG_EXPAND); -void snd_timer_ginfo_copy(snd_timer_ginfo_copy_ARG_EXPAND); +void glshim_snd_timer_ginfo_copy(snd_timer_ginfo_copy_ARG_EXPAND); typedef void (*snd_timer_ginfo_copy_PTR)(snd_timer_ginfo_copy_ARG_EXPAND); -void snd_timer_ginfo_free(snd_timer_ginfo_free_ARG_EXPAND); +void glshim_snd_timer_ginfo_free(snd_timer_ginfo_free_ARG_EXPAND); typedef void (*snd_timer_ginfo_free_PTR)(snd_timer_ginfo_free_ARG_EXPAND); -int snd_timer_ginfo_get_card(snd_timer_ginfo_get_card_ARG_EXPAND); +int glshim_snd_timer_ginfo_get_card(snd_timer_ginfo_get_card_ARG_EXPAND); typedef int (*snd_timer_ginfo_get_card_PTR)(snd_timer_ginfo_get_card_ARG_EXPAND); -unsigned int snd_timer_ginfo_get_clients(snd_timer_ginfo_get_clients_ARG_EXPAND); +unsigned int glshim_snd_timer_ginfo_get_clients(snd_timer_ginfo_get_clients_ARG_EXPAND); typedef unsigned int (*snd_timer_ginfo_get_clients_PTR)(snd_timer_ginfo_get_clients_ARG_EXPAND); -unsigned int snd_timer_ginfo_get_flags(snd_timer_ginfo_get_flags_ARG_EXPAND); +unsigned int glshim_snd_timer_ginfo_get_flags(snd_timer_ginfo_get_flags_ARG_EXPAND); typedef unsigned int (*snd_timer_ginfo_get_flags_PTR)(snd_timer_ginfo_get_flags_ARG_EXPAND); -char * snd_timer_ginfo_get_id(snd_timer_ginfo_get_id_ARG_EXPAND); +char * glshim_snd_timer_ginfo_get_id(snd_timer_ginfo_get_id_ARG_EXPAND); typedef char * (*snd_timer_ginfo_get_id_PTR)(snd_timer_ginfo_get_id_ARG_EXPAND); -char * snd_timer_ginfo_get_name(snd_timer_ginfo_get_name_ARG_EXPAND); +char * glshim_snd_timer_ginfo_get_name(snd_timer_ginfo_get_name_ARG_EXPAND); typedef char * (*snd_timer_ginfo_get_name_PTR)(snd_timer_ginfo_get_name_ARG_EXPAND); -unsigned long snd_timer_ginfo_get_resolution(snd_timer_ginfo_get_resolution_ARG_EXPAND); +unsigned long glshim_snd_timer_ginfo_get_resolution(snd_timer_ginfo_get_resolution_ARG_EXPAND); typedef unsigned long (*snd_timer_ginfo_get_resolution_PTR)(snd_timer_ginfo_get_resolution_ARG_EXPAND); -unsigned long snd_timer_ginfo_get_resolution_max(snd_timer_ginfo_get_resolution_max_ARG_EXPAND); +unsigned long glshim_snd_timer_ginfo_get_resolution_max(snd_timer_ginfo_get_resolution_max_ARG_EXPAND); typedef unsigned long (*snd_timer_ginfo_get_resolution_max_PTR)(snd_timer_ginfo_get_resolution_max_ARG_EXPAND); -unsigned long snd_timer_ginfo_get_resolution_min(snd_timer_ginfo_get_resolution_min_ARG_EXPAND); +unsigned long glshim_snd_timer_ginfo_get_resolution_min(snd_timer_ginfo_get_resolution_min_ARG_EXPAND); typedef unsigned long (*snd_timer_ginfo_get_resolution_min_PTR)(snd_timer_ginfo_get_resolution_min_ARG_EXPAND); -snd_timer_id_t * snd_timer_ginfo_get_tid(snd_timer_ginfo_get_tid_ARG_EXPAND); +snd_timer_id_t * glshim_snd_timer_ginfo_get_tid(snd_timer_ginfo_get_tid_ARG_EXPAND); typedef snd_timer_id_t * (*snd_timer_ginfo_get_tid_PTR)(snd_timer_ginfo_get_tid_ARG_EXPAND); -int snd_timer_ginfo_malloc(snd_timer_ginfo_malloc_ARG_EXPAND); +int glshim_snd_timer_ginfo_malloc(snd_timer_ginfo_malloc_ARG_EXPAND); typedef int (*snd_timer_ginfo_malloc_PTR)(snd_timer_ginfo_malloc_ARG_EXPAND); -int snd_timer_ginfo_set_tid(snd_timer_ginfo_set_tid_ARG_EXPAND); +int glshim_snd_timer_ginfo_set_tid(snd_timer_ginfo_set_tid_ARG_EXPAND); typedef int (*snd_timer_ginfo_set_tid_PTR)(snd_timer_ginfo_set_tid_ARG_EXPAND); -size_t snd_timer_ginfo_sizeof(snd_timer_ginfo_sizeof_ARG_EXPAND); +size_t glshim_snd_timer_ginfo_sizeof(snd_timer_ginfo_sizeof_ARG_EXPAND); typedef size_t (*snd_timer_ginfo_sizeof_PTR)(snd_timer_ginfo_sizeof_ARG_EXPAND); -void snd_timer_id_copy(snd_timer_id_copy_ARG_EXPAND); +void glshim_snd_timer_id_copy(snd_timer_id_copy_ARG_EXPAND); typedef void (*snd_timer_id_copy_PTR)(snd_timer_id_copy_ARG_EXPAND); -void snd_timer_id_free(snd_timer_id_free_ARG_EXPAND); +void glshim_snd_timer_id_free(snd_timer_id_free_ARG_EXPAND); typedef void (*snd_timer_id_free_PTR)(snd_timer_id_free_ARG_EXPAND); -int snd_timer_id_get_card(snd_timer_id_get_card_ARG_EXPAND); +int glshim_snd_timer_id_get_card(snd_timer_id_get_card_ARG_EXPAND); typedef int (*snd_timer_id_get_card_PTR)(snd_timer_id_get_card_ARG_EXPAND); -int snd_timer_id_get_class(snd_timer_id_get_class_ARG_EXPAND); +int glshim_snd_timer_id_get_class(snd_timer_id_get_class_ARG_EXPAND); typedef int (*snd_timer_id_get_class_PTR)(snd_timer_id_get_class_ARG_EXPAND); -int snd_timer_id_get_device(snd_timer_id_get_device_ARG_EXPAND); +int glshim_snd_timer_id_get_device(snd_timer_id_get_device_ARG_EXPAND); typedef int (*snd_timer_id_get_device_PTR)(snd_timer_id_get_device_ARG_EXPAND); -int snd_timer_id_get_sclass(snd_timer_id_get_sclass_ARG_EXPAND); +int glshim_snd_timer_id_get_sclass(snd_timer_id_get_sclass_ARG_EXPAND); typedef int (*snd_timer_id_get_sclass_PTR)(snd_timer_id_get_sclass_ARG_EXPAND); -int snd_timer_id_get_subdevice(snd_timer_id_get_subdevice_ARG_EXPAND); +int glshim_snd_timer_id_get_subdevice(snd_timer_id_get_subdevice_ARG_EXPAND); typedef int (*snd_timer_id_get_subdevice_PTR)(snd_timer_id_get_subdevice_ARG_EXPAND); -int snd_timer_id_malloc(snd_timer_id_malloc_ARG_EXPAND); +int glshim_snd_timer_id_malloc(snd_timer_id_malloc_ARG_EXPAND); typedef int (*snd_timer_id_malloc_PTR)(snd_timer_id_malloc_ARG_EXPAND); -void snd_timer_id_set_card(snd_timer_id_set_card_ARG_EXPAND); +void glshim_snd_timer_id_set_card(snd_timer_id_set_card_ARG_EXPAND); typedef void (*snd_timer_id_set_card_PTR)(snd_timer_id_set_card_ARG_EXPAND); -void snd_timer_id_set_class(snd_timer_id_set_class_ARG_EXPAND); +void glshim_snd_timer_id_set_class(snd_timer_id_set_class_ARG_EXPAND); typedef void (*snd_timer_id_set_class_PTR)(snd_timer_id_set_class_ARG_EXPAND); -void snd_timer_id_set_device(snd_timer_id_set_device_ARG_EXPAND); +void glshim_snd_timer_id_set_device(snd_timer_id_set_device_ARG_EXPAND); typedef void (*snd_timer_id_set_device_PTR)(snd_timer_id_set_device_ARG_EXPAND); -void snd_timer_id_set_sclass(snd_timer_id_set_sclass_ARG_EXPAND); +void glshim_snd_timer_id_set_sclass(snd_timer_id_set_sclass_ARG_EXPAND); typedef void (*snd_timer_id_set_sclass_PTR)(snd_timer_id_set_sclass_ARG_EXPAND); -void snd_timer_id_set_subdevice(snd_timer_id_set_subdevice_ARG_EXPAND); +void glshim_snd_timer_id_set_subdevice(snd_timer_id_set_subdevice_ARG_EXPAND); typedef void (*snd_timer_id_set_subdevice_PTR)(snd_timer_id_set_subdevice_ARG_EXPAND); -size_t snd_timer_id_sizeof(snd_timer_id_sizeof_ARG_EXPAND); +size_t glshim_snd_timer_id_sizeof(snd_timer_id_sizeof_ARG_EXPAND); typedef size_t (*snd_timer_id_sizeof_PTR)(snd_timer_id_sizeof_ARG_EXPAND); -int snd_timer_info(snd_timer_info_ARG_EXPAND); +int glshim_snd_timer_info(snd_timer_info_ARG_EXPAND); typedef int (*snd_timer_info_PTR)(snd_timer_info_ARG_EXPAND); -void snd_timer_info_copy(snd_timer_info_copy_ARG_EXPAND); +void glshim_snd_timer_info_copy(snd_timer_info_copy_ARG_EXPAND); typedef void (*snd_timer_info_copy_PTR)(snd_timer_info_copy_ARG_EXPAND); -void snd_timer_info_free(snd_timer_info_free_ARG_EXPAND); +void glshim_snd_timer_info_free(snd_timer_info_free_ARG_EXPAND); typedef void (*snd_timer_info_free_PTR)(snd_timer_info_free_ARG_EXPAND); -int snd_timer_info_get_card(snd_timer_info_get_card_ARG_EXPAND); +int glshim_snd_timer_info_get_card(snd_timer_info_get_card_ARG_EXPAND); typedef int (*snd_timer_info_get_card_PTR)(snd_timer_info_get_card_ARG_EXPAND); -const char * snd_timer_info_get_id(snd_timer_info_get_id_ARG_EXPAND); +const char * glshim_snd_timer_info_get_id(snd_timer_info_get_id_ARG_EXPAND); typedef const char * (*snd_timer_info_get_id_PTR)(snd_timer_info_get_id_ARG_EXPAND); -const char * snd_timer_info_get_name(snd_timer_info_get_name_ARG_EXPAND); +const char * glshim_snd_timer_info_get_name(snd_timer_info_get_name_ARG_EXPAND); typedef const char * (*snd_timer_info_get_name_PTR)(snd_timer_info_get_name_ARG_EXPAND); -long snd_timer_info_get_resolution(snd_timer_info_get_resolution_ARG_EXPAND); +long glshim_snd_timer_info_get_resolution(snd_timer_info_get_resolution_ARG_EXPAND); typedef long (*snd_timer_info_get_resolution_PTR)(snd_timer_info_get_resolution_ARG_EXPAND); -long snd_timer_info_get_ticks(snd_timer_info_get_ticks_ARG_EXPAND); +long glshim_snd_timer_info_get_ticks(snd_timer_info_get_ticks_ARG_EXPAND); typedef long (*snd_timer_info_get_ticks_PTR)(snd_timer_info_get_ticks_ARG_EXPAND); -int snd_timer_info_is_slave(snd_timer_info_is_slave_ARG_EXPAND); +int glshim_snd_timer_info_is_slave(snd_timer_info_is_slave_ARG_EXPAND); typedef int (*snd_timer_info_is_slave_PTR)(snd_timer_info_is_slave_ARG_EXPAND); -int snd_timer_info_malloc(snd_timer_info_malloc_ARG_EXPAND); +int glshim_snd_timer_info_malloc(snd_timer_info_malloc_ARG_EXPAND); typedef int (*snd_timer_info_malloc_PTR)(snd_timer_info_malloc_ARG_EXPAND); -size_t snd_timer_info_sizeof(snd_timer_info_sizeof_ARG_EXPAND); +size_t glshim_snd_timer_info_sizeof(snd_timer_info_sizeof_ARG_EXPAND); typedef size_t (*snd_timer_info_sizeof_PTR)(snd_timer_info_sizeof_ARG_EXPAND); -int snd_timer_open(snd_timer_open_ARG_EXPAND); +int glshim_snd_timer_open(snd_timer_open_ARG_EXPAND); typedef int (*snd_timer_open_PTR)(snd_timer_open_ARG_EXPAND); -int snd_timer_open_lconf(snd_timer_open_lconf_ARG_EXPAND); +int glshim_snd_timer_open_lconf(snd_timer_open_lconf_ARG_EXPAND); typedef int (*snd_timer_open_lconf_PTR)(snd_timer_open_lconf_ARG_EXPAND); -int snd_timer_params(snd_timer_params_ARG_EXPAND); +int glshim_snd_timer_params(snd_timer_params_ARG_EXPAND); typedef int (*snd_timer_params_PTR)(snd_timer_params_ARG_EXPAND); -void snd_timer_params_copy(snd_timer_params_copy_ARG_EXPAND); +void glshim_snd_timer_params_copy(snd_timer_params_copy_ARG_EXPAND); typedef void (*snd_timer_params_copy_PTR)(snd_timer_params_copy_ARG_EXPAND); -void snd_timer_params_free(snd_timer_params_free_ARG_EXPAND); +void glshim_snd_timer_params_free(snd_timer_params_free_ARG_EXPAND); typedef void (*snd_timer_params_free_PTR)(snd_timer_params_free_ARG_EXPAND); -int snd_timer_params_get_auto_start(snd_timer_params_get_auto_start_ARG_EXPAND); +int glshim_snd_timer_params_get_auto_start(snd_timer_params_get_auto_start_ARG_EXPAND); typedef int (*snd_timer_params_get_auto_start_PTR)(snd_timer_params_get_auto_start_ARG_EXPAND); -int snd_timer_params_get_early_event(snd_timer_params_get_early_event_ARG_EXPAND); +int glshim_snd_timer_params_get_early_event(snd_timer_params_get_early_event_ARG_EXPAND); typedef int (*snd_timer_params_get_early_event_PTR)(snd_timer_params_get_early_event_ARG_EXPAND); -int snd_timer_params_get_exclusive(snd_timer_params_get_exclusive_ARG_EXPAND); +int glshim_snd_timer_params_get_exclusive(snd_timer_params_get_exclusive_ARG_EXPAND); typedef int (*snd_timer_params_get_exclusive_PTR)(snd_timer_params_get_exclusive_ARG_EXPAND); -unsigned int snd_timer_params_get_filter(snd_timer_params_get_filter_ARG_EXPAND); +unsigned int glshim_snd_timer_params_get_filter(snd_timer_params_get_filter_ARG_EXPAND); typedef unsigned int (*snd_timer_params_get_filter_PTR)(snd_timer_params_get_filter_ARG_EXPAND); -long snd_timer_params_get_queue_size(snd_timer_params_get_queue_size_ARG_EXPAND); +long glshim_snd_timer_params_get_queue_size(snd_timer_params_get_queue_size_ARG_EXPAND); typedef long (*snd_timer_params_get_queue_size_PTR)(snd_timer_params_get_queue_size_ARG_EXPAND); -long snd_timer_params_get_ticks(snd_timer_params_get_ticks_ARG_EXPAND); +long glshim_snd_timer_params_get_ticks(snd_timer_params_get_ticks_ARG_EXPAND); typedef long (*snd_timer_params_get_ticks_PTR)(snd_timer_params_get_ticks_ARG_EXPAND); -int snd_timer_params_malloc(snd_timer_params_malloc_ARG_EXPAND); +int glshim_snd_timer_params_malloc(snd_timer_params_malloc_ARG_EXPAND); typedef int (*snd_timer_params_malloc_PTR)(snd_timer_params_malloc_ARG_EXPAND); -int snd_timer_params_set_auto_start(snd_timer_params_set_auto_start_ARG_EXPAND); +int glshim_snd_timer_params_set_auto_start(snd_timer_params_set_auto_start_ARG_EXPAND); typedef int (*snd_timer_params_set_auto_start_PTR)(snd_timer_params_set_auto_start_ARG_EXPAND); -int snd_timer_params_set_early_event(snd_timer_params_set_early_event_ARG_EXPAND); +int glshim_snd_timer_params_set_early_event(snd_timer_params_set_early_event_ARG_EXPAND); typedef int (*snd_timer_params_set_early_event_PTR)(snd_timer_params_set_early_event_ARG_EXPAND); -int snd_timer_params_set_exclusive(snd_timer_params_set_exclusive_ARG_EXPAND); +int glshim_snd_timer_params_set_exclusive(snd_timer_params_set_exclusive_ARG_EXPAND); typedef int (*snd_timer_params_set_exclusive_PTR)(snd_timer_params_set_exclusive_ARG_EXPAND); -void snd_timer_params_set_filter(snd_timer_params_set_filter_ARG_EXPAND); +void glshim_snd_timer_params_set_filter(snd_timer_params_set_filter_ARG_EXPAND); typedef void (*snd_timer_params_set_filter_PTR)(snd_timer_params_set_filter_ARG_EXPAND); -void snd_timer_params_set_queue_size(snd_timer_params_set_queue_size_ARG_EXPAND); +void glshim_snd_timer_params_set_queue_size(snd_timer_params_set_queue_size_ARG_EXPAND); typedef void (*snd_timer_params_set_queue_size_PTR)(snd_timer_params_set_queue_size_ARG_EXPAND); -void snd_timer_params_set_ticks(snd_timer_params_set_ticks_ARG_EXPAND); +void glshim_snd_timer_params_set_ticks(snd_timer_params_set_ticks_ARG_EXPAND); typedef void (*snd_timer_params_set_ticks_PTR)(snd_timer_params_set_ticks_ARG_EXPAND); -size_t snd_timer_params_sizeof(snd_timer_params_sizeof_ARG_EXPAND); +size_t glshim_snd_timer_params_sizeof(snd_timer_params_sizeof_ARG_EXPAND); typedef size_t (*snd_timer_params_sizeof_PTR)(snd_timer_params_sizeof_ARG_EXPAND); -int snd_timer_poll_descriptors(snd_timer_poll_descriptors_ARG_EXPAND); +int glshim_snd_timer_poll_descriptors(snd_timer_poll_descriptors_ARG_EXPAND); typedef int (*snd_timer_poll_descriptors_PTR)(snd_timer_poll_descriptors_ARG_EXPAND); -int snd_timer_poll_descriptors_count(snd_timer_poll_descriptors_count_ARG_EXPAND); +int glshim_snd_timer_poll_descriptors_count(snd_timer_poll_descriptors_count_ARG_EXPAND); typedef int (*snd_timer_poll_descriptors_count_PTR)(snd_timer_poll_descriptors_count_ARG_EXPAND); -int snd_timer_poll_descriptors_revents(snd_timer_poll_descriptors_revents_ARG_EXPAND); +int glshim_snd_timer_poll_descriptors_revents(snd_timer_poll_descriptors_revents_ARG_EXPAND); typedef int (*snd_timer_poll_descriptors_revents_PTR)(snd_timer_poll_descriptors_revents_ARG_EXPAND); -int snd_timer_query_close(snd_timer_query_close_ARG_EXPAND); +int glshim_snd_timer_query_close(snd_timer_query_close_ARG_EXPAND); typedef int (*snd_timer_query_close_PTR)(snd_timer_query_close_ARG_EXPAND); -int snd_timer_query_info(snd_timer_query_info_ARG_EXPAND); +int glshim_snd_timer_query_info(snd_timer_query_info_ARG_EXPAND); typedef int (*snd_timer_query_info_PTR)(snd_timer_query_info_ARG_EXPAND); -int snd_timer_query_next_device(snd_timer_query_next_device_ARG_EXPAND); +int glshim_snd_timer_query_next_device(snd_timer_query_next_device_ARG_EXPAND); typedef int (*snd_timer_query_next_device_PTR)(snd_timer_query_next_device_ARG_EXPAND); -int snd_timer_query_open(snd_timer_query_open_ARG_EXPAND); +int glshim_snd_timer_query_open(snd_timer_query_open_ARG_EXPAND); typedef int (*snd_timer_query_open_PTR)(snd_timer_query_open_ARG_EXPAND); -int snd_timer_query_open_lconf(snd_timer_query_open_lconf_ARG_EXPAND); +int glshim_snd_timer_query_open_lconf(snd_timer_query_open_lconf_ARG_EXPAND); typedef int (*snd_timer_query_open_lconf_PTR)(snd_timer_query_open_lconf_ARG_EXPAND); -int snd_timer_query_params(snd_timer_query_params_ARG_EXPAND); +int glshim_snd_timer_query_params(snd_timer_query_params_ARG_EXPAND); typedef int (*snd_timer_query_params_PTR)(snd_timer_query_params_ARG_EXPAND); -int snd_timer_query_status(snd_timer_query_status_ARG_EXPAND); +int glshim_snd_timer_query_status(snd_timer_query_status_ARG_EXPAND); typedef int (*snd_timer_query_status_PTR)(snd_timer_query_status_ARG_EXPAND); -ssize_t snd_timer_read(snd_timer_read_ARG_EXPAND); +ssize_t glshim_snd_timer_read(snd_timer_read_ARG_EXPAND); typedef ssize_t (*snd_timer_read_PTR)(snd_timer_read_ARG_EXPAND); -int snd_timer_start(snd_timer_start_ARG_EXPAND); +int glshim_snd_timer_start(snd_timer_start_ARG_EXPAND); typedef int (*snd_timer_start_PTR)(snd_timer_start_ARG_EXPAND); -int snd_timer_status(snd_timer_status_ARG_EXPAND); +int glshim_snd_timer_status(snd_timer_status_ARG_EXPAND); typedef int (*snd_timer_status_PTR)(snd_timer_status_ARG_EXPAND); -void snd_timer_status_copy(snd_timer_status_copy_ARG_EXPAND); +void glshim_snd_timer_status_copy(snd_timer_status_copy_ARG_EXPAND); typedef void (*snd_timer_status_copy_PTR)(snd_timer_status_copy_ARG_EXPAND); -void snd_timer_status_free(snd_timer_status_free_ARG_EXPAND); +void glshim_snd_timer_status_free(snd_timer_status_free_ARG_EXPAND); typedef void (*snd_timer_status_free_PTR)(snd_timer_status_free_ARG_EXPAND); -long snd_timer_status_get_lost(snd_timer_status_get_lost_ARG_EXPAND); +long glshim_snd_timer_status_get_lost(snd_timer_status_get_lost_ARG_EXPAND); typedef long (*snd_timer_status_get_lost_PTR)(snd_timer_status_get_lost_ARG_EXPAND); -long snd_timer_status_get_overrun(snd_timer_status_get_overrun_ARG_EXPAND); +long glshim_snd_timer_status_get_overrun(snd_timer_status_get_overrun_ARG_EXPAND); typedef long (*snd_timer_status_get_overrun_PTR)(snd_timer_status_get_overrun_ARG_EXPAND); -long snd_timer_status_get_queue(snd_timer_status_get_queue_ARG_EXPAND); +long glshim_snd_timer_status_get_queue(snd_timer_status_get_queue_ARG_EXPAND); typedef long (*snd_timer_status_get_queue_PTR)(snd_timer_status_get_queue_ARG_EXPAND); -long snd_timer_status_get_resolution(snd_timer_status_get_resolution_ARG_EXPAND); +long glshim_snd_timer_status_get_resolution(snd_timer_status_get_resolution_ARG_EXPAND); typedef long (*snd_timer_status_get_resolution_PTR)(snd_timer_status_get_resolution_ARG_EXPAND); -snd_htimestamp_t snd_timer_status_get_timestamp(snd_timer_status_get_timestamp_ARG_EXPAND); +snd_htimestamp_t glshim_snd_timer_status_get_timestamp(snd_timer_status_get_timestamp_ARG_EXPAND); typedef snd_htimestamp_t (*snd_timer_status_get_timestamp_PTR)(snd_timer_status_get_timestamp_ARG_EXPAND); -int snd_timer_status_malloc(snd_timer_status_malloc_ARG_EXPAND); +int glshim_snd_timer_status_malloc(snd_timer_status_malloc_ARG_EXPAND); typedef int (*snd_timer_status_malloc_PTR)(snd_timer_status_malloc_ARG_EXPAND); -size_t snd_timer_status_sizeof(snd_timer_status_sizeof_ARG_EXPAND); +size_t glshim_snd_timer_status_sizeof(snd_timer_status_sizeof_ARG_EXPAND); typedef size_t (*snd_timer_status_sizeof_PTR)(snd_timer_status_sizeof_ARG_EXPAND); -int snd_timer_stop(snd_timer_stop_ARG_EXPAND); +int glshim_snd_timer_stop(snd_timer_stop_ARG_EXPAND); typedef int (*snd_timer_stop_PTR)(snd_timer_stop_ARG_EXPAND); -int snd_user_file(snd_user_file_ARG_EXPAND); +int glshim_snd_user_file(snd_user_file_ARG_EXPAND); typedef int (*snd_user_file_PTR)(snd_user_file_ARG_EXPAND);