<p>In <a href="https://github.com/geany/geany/pull/1038#discussion_r64227575">src/document.c</a>:</p>
<pre style='color:#555'>> @@ -825,7 +825,8 @@ GeanyDocument *document_new_file_if_non_open(void)
>  }
>  
>  
> -/**
> +/** @girskip
</pre>
<p>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).</p>

<p>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 <code>new XXX.file()</code> vs <code>XXX.new_file()</code>).</p>

<p>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).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/geany/geany/pull/1038/files/07a84b11982327f7aa1dbbd3129bfba76b108afc..6b0b2421368ae77f057990dad24dc5adfaec0a70#r64227575">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJzGSbIH_PVoxLzwjcKLlEdSXmPkeks5qEbOTgaJpZM4Ifw_7.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/1038/files/07a84b11982327f7aa1dbbd3129bfba76b108afc..6b0b2421368ae77f057990dad24dc5adfaec0a70#r64227575"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>