在甘样段代码中有一个 for 循环,在甘样个循环中调用本机函数 (GetChar)。在图 6 中,采用 C# 实现雷同的代码,并且通过调用 GetChar 来使 CsharpType 类封送处理到 NativeType,如下所示:
基于8个网页-相关网页
本机函数
Native function
以上为机器翻译结果,长、整句建议使用 人工翻译 。
反过来,本机函数又调用其他本机函数。
Native functions, in turn, call other native functions.
youdao
编写一个SPL应用程序来使用这些本机函数。
Write an SPL application that USES the native functions.
当调用需要指针的本机函数时,需要使用不安全代码。
Unsafe code is required when you call native functions that require pointers.
应用推荐
模块上移
模块下移
不移动