import re


def resolve_lua_ret_type(data_type):
    """
    arg: data_type= C data types like int,char** etc.
    Maps the C type to lua output types.

    """
    
    if re.match(".*char\s*\*",data_type):
        return "lua_pushstring"
    elif re.match("void",data_type):
        return None
    else:
        return "lua_pushnumber"