04-09-2013, 06:14 AM
Have a look at the tolua_AllToLua_cEntity_AddPosition01() function. It knows it is overloaded, so if its parameters don't match, instead of calling the error function, it hands off to tolua_AllToLua_cEntity_AddPosition00(), thus forming the chain. Runtime overloads, yay for speed