I prepare to upgrade cocos2d-x from alpha0 to rc0
I used the string.format like this:
string.format(“value is %s”, val)
In alpha0,
If type of “val” is “table”, the result is:
value is table 0x000ad28852
If type of “val” is “function”, the result is:
value is function 0x000ad28852
But in rc0, this function raised error.
My question is how to make this function works as alpha0?