Define integer types to which any valid pointer to void can be converted.
定义整型类型,任何有效指针都可以转换成这个类型。
The new function basically does nothing besides building the object reference to contain that, and you can see that the other functions have to unpack the void pointer before getting down to business.
new函数除了构建一个包括它的对象引用以外,基本上没什么作用。而且您可以看到,其它的函数在执行前必须先将那个空指针解开。
The way this is set up, the Perl object contains a read-only integer that corresponds to the void pointer returned by newsession().
这样做的方法是,Perl对象包含一个只读的整数,此整数与函数newsession()返回的空指针相对应。
When we start talking to the library about something, we call a function called newsession that returns a void pointer (not an unusual way to organize things).
当我们开始与库交流时,我们调用一个名为 newsession 的函数,它会返回一个空指针(这是组织事情的惯用方法)。
How to check if void pointer points to NULL?
如何检查,如果无效指针指向空?
How to check if void pointer points to NULL?
如何检查,如果无效指针指向空?
应用推荐