Posted By: block4
params from c++ to clite function - 08/24/07 11:28
hi,
i was wondering how i can pass a var array as a parameter to a clite function which is called from c++. example :
c++:
engine_callname("do_something", vararray);
// how should the declaration and
// initialization of vararray look like?
clite:
function do_something(data) {
// do something with the data
}
thanks in advance
i was wondering how i can pass a var array as a parameter to a clite function which is called from c++. example :
c++:
engine_callname("do_something", vararray);
// how should the declaration and
// initialization of vararray look like?
clite:
function do_something(data) {
// do something with the data
}
thanks in advance