Skip to content

dart-interop/cupertino_ffi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Warning: it's extremely unlikely that you should use this package. It's almost always a better idea to write a Flutter plugin.

This package enables Dart developers to use various C APIs by Apple. The package uses dart:ffi and the C APIs are generated with ffi_tool.

Memory management

Until dart:ffi supports finalizers (Dart SDK issue #35770), you need to call reference counting manually (the package provides arcRetain and arcRelease).

Libraries

Important: Core Foundation primitives are "toll-free" compatible with Foundation primitives (NSArray, NSString, etc.). In other words, conversion between Pointer<CFString> and Pointer<NSString> are simple casts.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published