[Github-comments] [geany/geany] Gi signals (#1038)
Thomas Martitz
notifications at xxxxx
Mon May 23 14:02:59 UTC 2016
> @@ -825,7 +825,8 @@ GeanyDocument *document_new_file_if_non_open(void)
> }
>
>
> -/**
> +/** @girskip
The ownership is one essential difference, yes. I'd rather not have the bindings think they received a reference they own (although the unref/free function does nothing anyway).
The other significant difference is that, depending on the language, the syntax to invoke a constructor is different (not for python, but think of Vala `new XXX.file()` vs `XXX.new_file()`).
Maybe other languages put other constraints on constructors. I really wouldn't want GI think it's a constructor when it isn't (in GI's sense).
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1038/files/07a84b11982327f7aa1dbbd3129bfba76b108afc..6b0b2421368ae77f057990dad24dc5adfaec0a70#r64227575
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160523/7354e721/attachment.html>
More information about the Github-comments
mailing list