1. Is there exist C like function prototype definition in Lua?

    I'm not sure what you mean. Could you be more specific?