From 408a83cbe93bed87c1fe74df03476cfcaca28210 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 27 Nov 2001 14:44:40 +0000 Subject: [PATCH] added more instruction for writing the docs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/tech/tn0003.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/tech/tn0003.txt b/docs/tech/tn0003.txt index e193c50fe1..8965f44405 100644 --- a/docs/tech/tn0003.txt +++ b/docs/tech/tn0003.txt @@ -253,3 +253,18 @@ Note the use of \docparam to document parameters; and the fact that several overloaded forms of the same member function are documented within the same \membersection. + +Special forms: + +- for a const member function use \constfunc{} instead of \const + +- for a function without parameters use \func{...}{Function}{\void} + +- but do NOT use \void for functions without return value, just "void" + +- for a virtual/static member function use \func{virtual/static ...} + +- omit the return type for constructors: \func{}{MyClass}{...} + +- use \destruct macro for the destructors \func{}{\destruct{MyClass}}{\void} + -- 2.47.2