Re: Private virtual methods
- From: Emmanuele Bassi <ebassi gmail com>
- To: h realh co uk
- Cc: gir-devel-list gnome org
- Subject: Re: Private virtual methods
- Date: Sun, 5 Aug 2018 18:42:32 +0100
On Sun, 5 Aug 2018 at 18:21, Tony Houghton <
h realh co uk> wrote:
[To document/annotate a virtual method with no public function]
The syntax is `StructureName::virtual_function`.
Thanks. Presumably the scanner inspects the class structure and/or code to work out whether you're trying to document a signal or method?
The syntax for a signal is different: the token before the `::` separator is the type name, as opposed to the structure name; so, it's `GtkButton::clicked`, and `GListModelInterface::get_item()`.
Ciao,
Emmanuele.
--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]