当前位置: 首页>>编程示例 >>用法及示例精选 >>正文


Dart NativeApi.newNativePort用法及代码示例

dart:ffi 库中NativeApi.newNativePort 属性的用法介绍如下。

用法:

Pointer<NativeFunction<Int64 Function(Pointer<Uint8>, Pointer<NativeFunction<Dart_NativeMessageHandler>>, Int8)>> newNativePort

一个函数指针

Dart_Port Dart_NewNativePort(const char* name,
                             Dart_NativeMessageHandler handler,
                             bool handle_concurrently)

dart_native_api.h 中。

相关用法


注:本文由纯净天空筛选整理自dart.dev大神的英文原创作品 newNativePort property。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。