Re: [GNC-dev] gnucash/gnome-utils/gnc-plugin-page.h missing a documentation parameter
john <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.gnucash.devel |
|---|---|
| Message-ID | <[email protected]> |
> On Feb 28, 2022, at 9:26 PM, Frank H. Ellenberger <[email protected]> wrote: > > Hi Kevin, > > Am 27.02.22 um 08:47 schrieb Kevin Buckley: >> appears to be missing the parameter name color >> >> Line 408 should presumably be >> >> * @param color The color for this page. This string is owned by the page and > > np, it is the return value. Because a function can have multiple > parameeters you have to name them. But there is only one return value. Frank, Before being so dismissive you should look at https://code.gnucash.org/docs/MAINT/group__ContentPluginBase.html#ga7408d75bdf2e64264cb9386ac860052c: <https://code.gnucash.org/docs/MAINT/group__ContentPluginBase.html#ga7408d75bdf2e64264cb9386ac860052c:> BTW > void gnc_plugin_page_set_page_color (GncPluginPage *page, const char *color); clearly has no return value. Regards, John Ralls