summaryrefslogtreecommitdiff
path: root/tools/HPMHookGen
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-06-16 03:05:58 +0200
committerHaru <haru@dotalux.com>2015-06-19 13:01:03 +0200
commite9223da7d71f28a3b803e2283387960aeeb6d77a (patch)
tree99b5f58124034e376500751fa4a4ab8f775cf4c3 /tools/HPMHookGen
parentd32babc2bcba159a83238882df9b35c11d512eb4 (diff)
downloadhercules-e9223da7d71f28a3b803e2283387960aeeb6d77a.tar.gz
hercules-e9223da7d71f28a3b803e2283387960aeeb6d77a.tar.bz2
hercules-e9223da7d71f28a3b803e2283387960aeeb6d77a.tar.xz
hercules-e9223da7d71f28a3b803e2283387960aeeb6d77a.zip
Fixed an issue causing some structs to be missing from the HPMDataCheck
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'tools/HPMHookGen')
-rw-r--r--tools/HPMHookGen/HPMDataCheckGen.pl1
-rw-r--r--tools/HPMHookGen/doxygen.conf2
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/HPMHookGen/HPMDataCheckGen.pl b/tools/HPMHookGen/HPMDataCheckGen.pl
index 06b58127a..0e5f628cd 100644
--- a/tools/HPMHookGen/HPMDataCheckGen.pl
+++ b/tools/HPMHookGen/HPMDataCheckGen.pl
@@ -26,6 +26,7 @@ foreach my $file (@files) {
next if $data->{compounddef}->{$filekey}->{compoundname}->[0] =~ /::/; # its a duplicate with a :: name e.g. struct script_state {<...>} ay;
my @filepath = split(/[\/\\]/, $data->{compounddef}->{$filekey}->{location}->[0]->{file});
my $foldername = uc($filepath[-2]);
+ next if $filepath[-1] eq "HPM.h"; # Skip the HPM core, plugins don't need it
my $filename = uc($filepath[-1]); $filename =~ s/-/_/g; $filename =~ s/\.[^.]*$//;
my $plugintypes = 'SERVER_TYPE_UNKNOWN';
$plugintypes = 'SERVER_TYPE_ALL' if $foldername eq 'COMMON';
diff --git a/tools/HPMHookGen/doxygen.conf b/tools/HPMHookGen/doxygen.conf
index b6dc7444b..b64584846 100644
--- a/tools/HPMHookGen/doxygen.conf
+++ b/tools/HPMHookGen/doxygen.conf
@@ -34,7 +34,7 @@ IDL_PROPERTY_SUPPORT = NO
DISTRIBUTE_GROUP_DOC = NO
SUBGROUPING = NO
TYPEDEF_HIDES_STRUCT = NO
-EXTRACT_ALL = NO
+EXTRACT_ALL = YES
EXTRACT_PRIVATE = NO
EXTRACT_STATIC = NO
EXTRACT_LOCAL_CLASSES = NO