aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
diff options
context:
space:
mode:
authorCharles Krinke2008-09-05 23:26:35 +0000
committerCharles Krinke2008-09-05 23:26:35 +0000
commit947242f4764b8d98fe860d3c18bcea709aea777f (patch)
tree2169a26250473aa887dac6f492b582e779d41639 /OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
parentThank you kindly, KrTaylor for a patch that adds: (diff)
downloadopensim-SC_OLD-947242f4764b8d98fe860d3c18bcea709aea777f.zip
opensim-SC_OLD-947242f4764b8d98fe860d3c18bcea709aea777f.tar.gz
opensim-SC_OLD-947242f4764b8d98fe860d3c18bcea709aea777f.tar.bz2
opensim-SC_OLD-947242f4764b8d98fe860d3c18bcea709aea777f.tar.xz
Mantis#2126. Thank you kindly, Ralphos for a patch that addresses:
Types extracted from a LSL_Types.list have to be down-cast initially to the exact type of value type object that the Object actually is. This would make for very cumbersome, ugly code when extracting list parameter items in ll functions where a few implicit conversions should be applied such as key -> LSLString and LSLInteger -> LSLFloat (but not LSLFloat -> LSLInteger). This patch adds a set of GetXXXItem member functions to the LLS_Type.list class, where XXX is the name of the LSL_Type to be extracted: LSLFLoat, LSLInteger etc. All take a single, int parameter that is the item number to be extracted.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions