summaryrefslogtreecommitdiff
path: root/ZAPD/OutputFormatter.h
diff options
context:
space:
mode:
Diffstat (limited to 'ZAPD/OutputFormatter.h')
-rw-r--r--ZAPD/OutputFormatter.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/ZAPD/OutputFormatter.h b/ZAPD/OutputFormatter.h
index 770f5d5..360a113 100644
--- a/ZAPD/OutputFormatter.h
+++ b/ZAPD/OutputFormatter.h
@@ -7,15 +7,15 @@
class OutputFormatter
{
private:
- const int tabSize;
- const int defaultIndent;
- const int lineLimit;
+ const uint32_t tabSize;
+ const uint32_t defaultIndent;
+ const uint32_t lineLimit;
- int col;
- int nest;
- int nestIndent[8];
- int currentIndent;
- int wordNests;
+ uint32_t col;
+ uint32_t nest;
+ uint32_t nestIndent[8];
+ uint32_t currentIndent;
+ uint32_t wordNests;
char word[128];
char space[128];
@@ -30,11 +30,11 @@ private:
static int WriteStatic(const char* buf, int count);
public:
- OutputFormatter(int tabSize = 4, int defaultIndent = 4, int lineLimit = 120);
+ OutputFormatter(uint32_t tabSize = 4, uint32_t defaultIndent = 4, uint32_t lineLimit = 120);
- int (*StaticWriter())(const char* buf, int count);
+ int (*StaticWriter())(const char* buf, int count); //Must be `int` due to libgfxd
- int Write(const char* buf, int count);
+ int Write(const char* buf, uint32_t count);
std::string GetOutput();
}; \ No newline at end of file