[Mesa-dev] [PATCH 1/3] glsl: Document parameters_lists_match()

Chad Versace chad at chad-versace.us
Tue Jul 26 16:08:02 PDT 2011


The function's parameter do not indicate which parameter list belongs to
the function signature and which is the actual parameter list. So clarify
this in a Doxygen comment.

Signed-off-by: Chad Versace <chad at chad-versace.us>
---
 src/glsl/ir_function.cpp |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/glsl/ir_function.cpp b/src/glsl/ir_function.cpp
index 0f2f1a0..6795988 100644
--- a/src/glsl/ir_function.cpp
+++ b/src/glsl/ir_function.cpp
@@ -85,6 +85,12 @@ type_compare(const glsl_type *a, const glsl_type *b)
 }
 
 
+/**
+ * Called by matching_signature().
+ *
+ * \param list_a Parameters of the function definition.
+ * \param list_b Actual parameters passed to the function.
+ */
 static int
 parameter_lists_match(const exec_list *list_a, const exec_list *list_b)
 {
-- 
1.7.6



More information about the mesa-dev mailing list