pTitSeb's glshim renamed to gl4es

This commit is contained in:
lubomyr
2016-11-06 15:18:18 +02:00
parent 21867b6ddc
commit b4cadd5955
146 changed files with 4 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
{% extends "base/base.j2" %}
{% block main %}
{% include "base/headers.j2" %}
{% for func in functions %}
{% block definition scoped %}
{{ 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 }}"))) __attribute__((visibility("default")));
{% endblock %}
{% endfor %}
{% endblock %}