def METHOD_NAME(self, name, constmode=False, outmode=False):
    if constmode:
        raise RuntimeError, "Cannot use const output buffer"
    if outmode:
        out = "*"
    else:
        out = ""
    return ["%s%s *%s__out__" % (self.datatype, out, name)]