summaryrefslogtreecommitdiffstats
path: root/src/mapi/mapi_abi.py
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-04-13 18:23:50 +0100
committerEmil Velikov <[email protected]>2017-05-04 18:17:03 +0100
commit4562d88c1d6f02b0601abd97f421a72adf64b3a6 (patch)
tree7132b6a381a2d9c98467fc6be8687208e76fcc4e /src/mapi/mapi_abi.py
parent424cb9d3eaf2cd4e049c728920a9965df1fbcfac (diff)
mapi: replace mapi_table abstraction
Replace all instances of mapi_table with the actual struct _glapi_table. The former may have been needed when the OpenVG was around. But since that one is long gone, there' no point in having the current confusing mix of the two. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mapi/mapi_abi.py')
-rw-r--r--src/mapi/mapi_abi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/mapi_abi.py b/src/mapi/mapi_abi.py
index 2343182d116..adb5d77126d 100644
--- a/src/mapi/mapi_abi.py
+++ b/src/mapi/mapi_abi.py
@@ -437,7 +437,7 @@ class ABIPrinter(object):
if ent.ret:
ret = 'return '
stmt1 = self.indent
- stmt1 += 'const struct mapi_table *_tbl = %s();' % (
+ stmt1 += 'const struct _glapi_table *_tbl = %s();' % (
self.current_get)
stmt2 = self.indent
stmt2 += 'mapi_func _func = ((const mapi_func *) _tbl)[%d];' % (