]> git.ipfire.org Git - thirdparty/plymouth.git/commit
[script] Set "this" in functions called through an object
authorCharlie Brej <cbrej@cs.man.ac.uk>
Wed, 2 Sep 2009 20:21:05 +0000 (21:21 +0100)
committerCharlie Brej <cbrej@cs.man.ac.uk>
Wed, 2 Sep 2009 20:21:05 +0000 (21:21 +0100)
commit7ab622fb40605a3e944cc18f3ae473d92dacf97a
tree20f2f0e8e24f34598a73b77825c7a1269482eeb5
parent082d52060504392cf116fa18027e26569c5866e4
[script] Set "this" in functions called through an object

When functins are called as an element of an object (e.g. obj.func(par) ), the
object is passed into the function execution as "this" in the local context.
src/plugins/splash/script/script-execute.c
src/plugins/splash/script/script-execute.h
src/plugins/splash/script/script-lib-plymouth.c