MLGetInteger64 (C 函数)
MLGetInteger64 已经被 WSGetInteger64 所取代.
更多信息

- 如果链接中的数据对应于实数,MLGetInteger64() 会将其四舍五入为一个64位整数.
- 如果链接中数据对应的整数太大,不能存为你的计算机系统的64位 C 类型或32位结构,那么,MLGetInteger64() 将失败并返回0.
- 如果函数成功,MLGetInteger64() 返回非零值.
- 如果 MLGetInteger64() 失败,则使用 MLError() 检索错误代码.
- MLGetInteger64() 在 MathLink 的标头文件 mathlink.h 中被声明.
范例
基本范例 (1)
#include "mathlink.h"
/* read a 64-bit integer from a link */
void f(MLINK lp)
{
mlint64 data;
if(! MLGetInteger64(lp, &data))
{ /* unable to read a 64-bit integer from lp */
/* ... */
}