The definitive Wolfram Language and notebook experience
The original technical computing environment
All-in-one AI assistance for your Wolfram experience
More mobile apps
We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise
WolframConsulting.com
More Wolfram Solutions
More Solutions for Education
Courses in computing, science, life and more
Learn, solve problems and share ideas.
News, views and insights from Wolfram
Resources for
void MLReleaseUCS2Symbol(MLINK link,unsigned short *s,int len)
释放由 MLGetUCS2Symbol() 分配的存储对应于一个符号名称的长度为 len 的 UCS-2 Unicode 字符串 s 的内存.
#include "mathlink.h"/* read a UCS-2 encoded symbol from a link and then release the memory to MathLink for deallocation */void f(MLINK lp){ unsigned short *symbol; int length; if(! MLGetUCS2Symbol(lp, &symbol, &length)) { /* unable to read the UCS-2 symbol */ } /* ... */ MLReleaseUCS2Symbol(lp, symbol, length);}
C 函数: MLGetUCS2Symbol()
2007年引入 (6.0)