ForeignCallback

ForeignCallback[]

表示一个可以从外部库调用的外部回调函数.

更多信息

范例

打开所有单元关闭所有单元

基本范例  (1)

加载一个接受函数指针的外部函数:

创建外部回调函数:

调用外部函数并传递外部回调函数:

02
0
12
1
22
4
32
9
42
16
52
25
62
36
72
49
82
64
92
81

读取输出:

范围  (1)

信息  (1)

创建外部回调函数:

获取关于回调函数的 Information

Wolfram Research (2023),ForeignCallback,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ForeignCallback.html.

文本

Wolfram Research (2023),ForeignCallback,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ForeignCallback.html.

CMS

Wolfram 语言. 2023. "ForeignCallback." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/ForeignCallback.html.

APA

Wolfram 语言. (2023). ForeignCallback. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ForeignCallback.html 年

BibTeX

@misc{reference.wolfram_2024_foreigncallback, author="Wolfram Research", title="{ForeignCallback}", year="2023", howpublished="\url{https://reference.wolfram.com/language/ref/ForeignCallback.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_foreigncallback, organization={Wolfram Research}, title={ForeignCallback}, year={2023}, url={https://reference.wolfram.com/language/ref/ForeignCallback.html}, note=[Accessed: 22-November-2024 ]}