diff options
author | Eduardo Lima (Etrunko) <eduardo.lima@intel.com> | 2012-12-04 20:21:59 +0000 |
---|---|---|
committer | Eduardo Lima (Etrunko) <eduardo.lima@intel.com> | 2013-08-13 17:58:57 -0300 |
commit | 9e59edb4e174cae588c806b1e20a88fc8b83edcb (patch) | |
tree | a1d5e9284f373013c4f1b51ed3e23831b5ba99d0 /compile | |
parent | 081071ccb209f4cb8bf9eba1f18dc33fac5a9394 (diff) | |
download | edje-accepted/tizen/mobile.tar.gz edje-accepted/tizen/mobile.tar.bz2 edje-accepted/tizen/mobile.zip |
New embryo function: get_program_idsubmit/tizen_ivi_genivi/20140131.024741submit/tizen/20131220.014222submit/tizen/20131218.100641submit/tizen/20130912.075725ivi_oct_m2accepted/tizen/mobile/20131223.191753accepted/tizen/mobile/20131218.175215accepted/tizen/ivi/genivi/20140131.030537accepted/tizen/ivi/20131220.020832accepted/tizen/ivi/20131219.023421accepted/tizen/generic/20140106.140254accepted/tizen/20130912.093149accepted/tizen/20130912.090231accepted/tizen/20130912.083346tizen_ivi_geniviaccepted/tizen/mobileaccepted/tizen/ivi/genivi
It is now you can run programs with names generated dinamically. Say that you
have 10 programs indexed somehow. You can now call them using the following snippet:
script {
new program_id[15], i;
for (i = 0; i < 10; i++) {
snprintf(program_id, 15, "my_program_%d", i+1);
run_program(get_program_id(program_id));
}
}
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions