]> git.mxchange.org Git - flightgear.git/commit
getprop/setprop allows integer indices.
authorJames Turner <zakalawe@mac.com>
Wed, 19 Feb 2014 04:07:29 +0000 (20:07 -0800)
committerJames Turner <zakalawe@mac.com>
Wed, 19 Feb 2014 04:07:29 +0000 (20:07 -0800)
commit34ed79e5f88ffdfc5e651a1fe3e639cb8f4d3353
tree3c2403d1a6b06e19a6850c39b962be41ec4cae94
parent1c286e4932d0e6be8abcf1d6b9ad2b2e5becb5d3
getprop/setprop allows integer indices.

As suggested by a long-standing enhancement idea,
extend getprop/setprop to accept multiple args,
including integer arguments. This removes the need
for string concatenation (and hence, allocation)
on the Nasal side.

Patch by Nicholas 'Philosopher' Scheel
src/Scripting/NasalSys.cxx