| 1 |
<?xml version="1.0"?> |
| 2 |
<page id="Regress.foo_not_a_constructor_new" |
| 3 |
type="topic" |
| 4 |
style="function" |
| 5 |
xmlns="http://projectmallard.org/1.0/" |
| 6 |
xmlns:api="http://projectmallard.org/experimental/api/" |
| 7 |
xmlns:ui="http://projectmallard.org/1.0/ui/"> |
| 8 |
<info> |
| 9 |
<link xref="index" group="function" type="guide"/> |
| 10 |
<api:function> |
| 11 |
<api:returns> |
| 12 |
<api:type>RegressFooObject*</api:type> |
| 13 |
</api:returns> |
| 14 |
<api:name>regress_foo_not_a_constructor_new</api:name> |
| 15 |
</api:function> |
| 16 |
</info> |
| 17 |
<title>regress_foo_not_a_constructor_new</title> |
| 18 |
<synopsis><code mime="text/x-csrc"> |
| 19 |
RegressFooObject* regress_foo_not_a_constructor_new (void); |
| 20 |
</code></synopsis> |
| 21 |
<p>This should be scanned as a top-level function, and shouldn't cause |
| 22 |
a "Can't find matching type for constructor" warning.</p> |
| 23 |
|
| 24 |
<terms> |
| 25 |
<item> |
| 26 |
<title><code>Returns</code></title> |
| 27 |
|
| 28 |
</item> |
| 29 |
</terms> |
| 30 |
|
| 31 |
</page> |