summaryrefslogtreecommitdiff
path: root/src/mesa/es/main/APIspecutil.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/es/main/APIspecutil.py')
-rw-r--r--src/mesa/es/main/APIspecutil.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/es/main/APIspecutil.py b/src/mesa/es/main/APIspecutil.py
index 5bfb699ba7..27a8fe8a6d 100644
--- a/src/mesa/es/main/APIspecutil.py
+++ b/src/mesa/es/main/APIspecutil.py
@@ -59,8 +59,11 @@ def _ParseXML(filename, apiname):
for func in api.functions:
alias, need_conv = impl.match(func, conversions)
if not alias:
- print >>sys.stderr, "Error: unable to dispatch %s" % func.name
+ # external functions are manually dispatched
+ if not func.is_external:
+ print >>sys.stderr, "Error: unable to dispatch %s" % func.name
alias = func
+ need_conv = False
__functions[func.name] = func
__aliases[func.name] = (alias, need_conv)