From c6e2a4acb5aeb4e3639893725c3633f1f595bad9 Mon Sep 17 00:00:00 2001 From: Alex Lin Date: Tue, 22 Sep 2015 09:10:46 -0500 Subject: [PATCH] Change new get_val;ue_by_ref name to var_get Changed the name. refs #125 --- share/trick/swig/shortcuts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/trick/swig/shortcuts.py b/share/trick/swig/shortcuts.py index aba09940..f774ae58 100644 --- a/share/trick/swig/shortcuts.py +++ b/share/trick/swig/shortcuts.py @@ -105,7 +105,7 @@ if hasattr(top.cvar, 'trick_data_record'): # The return statement is an anonymous dictionary lookup that returns # the value based on the type in val. The 6 argument is a default # type to use -def get_value_by_ref_name(name): +def var_get(name): ref = trick.ref_attributes(name) ref.thisown = True val = trick.V_DATA()