a sample show how to call c function from lua