diff options
author | Haru <haru@dotalux.com> | 2014-02-03 18:27:19 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-02-03 18:27:19 +0100 |
commit | 35e1b99c2d1ecab5fa67b2033c87a90512b5d9aa (patch) | |
tree | d4c6744cdd5c79d79a3b14765f289c8d2a58fb10 /src | |
parent | 42b5c048e3d97be93c71f81f84ff37c502f96163 (diff) | |
download | hercules-35e1b99c2d1ecab5fa67b2033c87a90512b5d9aa.tar.gz hercules-35e1b99c2d1ecab5fa67b2033c87a90512b5d9aa.tar.bz2 hercules-35e1b99c2d1ecab5fa67b2033c87a90512b5d9aa.tar.xz hercules-35e1b99c2d1ecab5fa67b2033c87a90512b5d9aa.zip |
Updated HPMHookGen with a HPMDataCheck generator
- It will be used by an upcoming commit by Ind.
- Added dummy HPMDataCheck.h, to test the API bot's capability to
re-generate it.
- Improved XML parser performance.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/common/HPMDataCheck.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/common/HPMDataCheck.h b/src/common/HPMDataCheck.h new file mode 100644 index 000000000..a4d94a010 --- /dev/null +++ b/src/common/HPMDataCheck.h @@ -0,0 +1,17 @@ +// Copyright (c) Hercules Dev Team, licensed under GNU GPL. +// See the LICENSE file +// +// NOTE: This file was auto-generated and should never be manually edited, +// as it will get overwritten. + + +#ifndef _HPM_DATA_CHECK_H_ +#define _HPM_DATA_CHECK_H_ + +const struct s_HPMDataCheck HPMDataCheck[] = { + /** PLACEHOLDER - Testing HerculesWS API Bot **/ + { "foo", 0 }, +}; +unsigned int HPMDataCheckLen = ARRAYLENGTH(HPMDataCheck); + +#endif /* _HPM_DATA_CHECK_H_ */ |