Handle memory management attributes
Open
lang-objective_c
package:ffigen
- Dominant language
- Dart
- Stars
- 275
- Forks
- 144
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 55
Description
From Brian's comment's [here](https://github.com/dart-lang/ffigen/pull/372#discussion_r874031339).
- [x] Methods that start with "new", or "alloc", or contain "copy" (currently we just exact match "new" and "alloc")
- [x] Property attributes (copy/assign/retain)
- [x] NS_RETURNS_RETAINED
- [x] Autorelease pools
- [ ] Test with ARC enabled
- [ ] Delegates
- [ ] ARC specific property attributes (strong/weak)
Contributor guide
Assessment
This issue has not been assessed yet.