[ffigen] Handle NS_RETURNS_RETAINED and methods that start with new/alloc or contain copy (#380)

* Handle NS_RETURNS_RETAINED and methods that start with init/alloc

* Split up tests
4 files changed
tree: 67ab9ed97993c1808314dba900f9c3c17acd6ef4
  1. pkgs/