issue #3956:Add the conversional functions which are used in the templates of lua binding-generator