a general call lua in c