提交 57c405e0 authored 作者: Pierre Luc Carrier's avatar Pierre Luc Carrier

Updated documentation in gof.COp.format_c_function_args()

上级 0e7f081a
......@@ -1077,7 +1077,7 @@ class COp(Op):
def format_c_function_args(self, inp, out):
# Generate an string containing the arguments sent to the external C
# function. The argstring will be of format :
# "input0, input1, input2, (void**)&output0, (void**)&output1"
# "input0, input1, input2, &output0, &output1"
input_arg_str = ", ".join(inp)
output_arg_str = ", ".join(["&%s"] * len(out)) % tuple(out)
return input_arg_str + ", " + output_arg_str
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论