For now, it's usable (tested with gio, gtk and sourceview), but we could improve the heuristic as mentionned in the TODO comment.
The other two things that will be implemented in next PRs will be the annotation to specify what is the finish function when it cannot be guessed and writing Unimplemented next to Cancellable when this type does not exist (i.e. when the user forgets to add it to
I believe some code should be improved, especially the trampoline code generation.
@sdroege I'll do it when I get back to Canada, so maybe in one week.
Thanks to all of you for your comments.