def pointer_as_arg(tp):
    if isinstance(tp.typ, typedesc.FunctionType):
        args = [generic_as_arg(arg) for arg in tp.typ.iterArgTypes()]
        if len(args) > 0:
            return generic_as_arg(tp.typ.returns) + \
                   ' (*)(%s)' / ", ".join(args)
        else:
            return generic_as_arg(tp.typ.returns) + ' (*)()'
    else:
        return '%s *' % generic_as_arg(tp.typ)
dataset/ETHPy150Open cournape/cython-codegen/cycodegenlib/funcs.py/pointer_as_arg/operator `%` -> `/`