summaryrefslogtreecommitdiff
path: root/src/mesa/es/main/APIspec.py
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-11-23 14:40:32 +0800
committerBrian Paul <brianp@vmware.com>2010-01-04 14:15:15 -0700
commita2d21f67f901ec34799819ba47b9579ac78bf112 (patch)
tree3b3f02e50d95215208c71caba31291e67f9ac740 /src/mesa/es/main/APIspec.py
parentf7d23dfef54f837e21ff590ab0929802c3540831 (diff)
mesa/es: Generate code for special functions.
es_generator.py did not generate code for special functions. They were supposed to be defined elsewhere. But as a result, parameter checking was also skipped. This commit changes the way special functions are called so that parameter checking is always performed. When there is nothing to check, the check functions becomes macros expanding to the real functions, as an optimization. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'src/mesa/es/main/APIspec.py')
-rw-r--r--src/mesa/es/main/APIspec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/es/main/APIspec.py b/src/mesa/es/main/APIspec.py
index 7d27e46e28..6947f7301c 100644
--- a/src/mesa/es/main/APIspec.py
+++ b/src/mesa/es/main/APIspec.py
@@ -133,7 +133,7 @@ class Function(object):
if force_skip_desc:
self._skip_desc = True
else:
- self._skip_desc = (self.is_external or func_node.prop("skip_desc") == "true")
+ self._skip_desc = (func_node.prop("skip_desc") == "true")
self._categories = categories