From 003433989597771bbb4f03cf678f5771c09606fd Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Sat, 24 Apr 2010 16:22:02 -0400 Subject: es: Prefix the get* functions with _es1/2 so they don't conflict --- src/mesa/main/APIspecutil.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mesa/main/APIspecutil.py') diff --git a/src/mesa/main/APIspecutil.py b/src/mesa/main/APIspecutil.py index 27a8fe8a6d..9e604bb84b 100644 --- a/src/mesa/main/APIspecutil.py +++ b/src/mesa/main/APIspecutil.py @@ -222,6 +222,13 @@ def Parameters(funcname): return params +def FunctionPrefix(funcname): + """Return function specific prefix.""" + func = __functions[funcname] + + return func.prefix + + def FindParamIndex(params, paramname): """Find the index of a named parameter.""" for i in xrange(len(params)): -- cgit v1.2.3