]> git.ipfire.org Git - thirdparty/plymouth.git/commit
[script] Strings automatically adopt from the global String template
authorCharlie Brej <cbrej@cs.man.ac.uk>
Wed, 24 Mar 2010 15:55:59 +0000 (15:55 +0000)
committerCharlie Brej <cbrej@cs.man.ac.uk>
Wed, 24 Mar 2010 15:59:02 +0000 (15:59 +0000)
commitfe2ec6ffbf882cedaf361d47eba47d32cd2d6a78
tree62a71855b02dca7f11e9fce0f69b8c0b7f4d6fd5
parent669c2dcc0af6ab5d0a599353a0fb50e89d75266a
[script] Strings automatically adopt from the global String template

This means string operations now can be applied on raw strings rather than
having to cast them using the String() class template wrapper.

String("something").CharAt(3)
now becomes simply:
"something".CharAt(3)
src/plugins/splash/script/script-execute.c