diff options
| author | Léo Lam <leo@leolam.fr> | 2021-03-20 10:17:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-20 05:17:39 -0400 |
| commit | 4751db5c9ee0a25a26379ca5b44efad72215d256 (patch) | |
| tree | ce49e6e23e352c93424343f75b2e10601457a9c3 /ZAPD/ZArray.h | |
| parent | 963a282dc10036f367a2cb09bb5651aefc73d2a4 (diff) | |
Add a clang-format config and reformat all source files (#63)
* build: Add genbuildinfo as a dependency for ZAPD object files
* Add a clang-format config and reformat all source files
The existing code style is mostly preserved; this just makes formatting
more consistent and prevents lines from getting too long.
* Fix missing includes
Diffstat (limited to 'ZAPD/ZArray.h')
| -rw-r--r-- | ZAPD/ZArray.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ZAPD/ZArray.h b/ZAPD/ZArray.h index 8fd2565..8e00923 100644 --- a/ZAPD/ZArray.h +++ b/ZAPD/ZArray.h @@ -1,8 +1,8 @@ #pragma once -#include <vector> -#include <string> #include <stdint.h> +#include <string> +#include <vector> #include "ZResource.h" #include "tinyxml2.h" @@ -15,11 +15,13 @@ public: std::string GetSourceOutputCode(const std::string& prefix) override; int GetRawDataSize() override; - static ZArray* ExtractFromXML(tinyxml2::XMLElement* reader, const std::vector<uint8_t>& nRawData, const int rawDataIndex, const std::string& nRelPath, ZFile* nParent); + static ZArray* ExtractFromXML(tinyxml2::XMLElement* reader, + const std::vector<uint8_t>& nRawData, const int rawDataIndex, + const std::string& nRelPath, ZFile* nParent); protected: int arrayCnt; ZFile* testFile; - //void ParseRawData(const std::vector<uint8_t>& data, const int offset); + // void ParseRawData(const std::vector<uint8_t>& data, const int offset); };
\ No newline at end of file |
