[gtk-doc] scan: put class structs to the generated section file, FIxes #605052
- From: Stefan Kost <stefkost src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk-doc] scan: put class structs to the generated section file, FIxes #605052
- Date: Sun, 3 Jan 2010 11:19:20 +0000 (UTC)
commit 12693564a6dd1f01b7c95794f64c0385cef79566
Author: David NeÄ?as <yeti physics muni cz>
Date: Sun Jan 3 13:15:34 2010 +0200
scan: put class structs to the generated section file, FIxes #605052
To document virtual methods of classes and interfaces, they must be present in
the section file. gtkdoc-scan excluded them when generating the section file.
It is now the consensus that it is better to have a brief doc-blob instead of
hiding the symbol by default.
gtkdoc-scan.in | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/gtkdoc-scan.in b/gtkdoc-scan.in
index 60c545d..7f72ab6 100755
--- a/gtkdoc-scan.in
+++ b/gtkdoc-scan.in
@@ -699,7 +699,6 @@ sub ScanHeader {
my $objectname = $1;
#print "Found object: $1\n";
$list = "<TITLE>$objectname</TITLE>\n$list";
- $list .= "$objectname\n";
push (@objects, $objectname);
}
#print "Store struct: $symbol\n";
@@ -724,16 +723,6 @@ sub ScanHeader {
#print "DEBUG: Scanning $input_file done\n\n\n";
- # Take out any object structs from the list of declarations as we don't
- # want them included.
- my ($object);
- foreach $object (@objects) {
- $list =~ s/^$object\n//m;
- $list =~ s/^${object}Class\n//m;
- $list =~ s/^${object}Iface\n//m;
- $list =~ s/^${object}Interface\n//m;
- }
-
# Try to separate the standard macros and functions, placing them at the
# end of the current section, in a subsection named 'Standard'.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]