summaryrefslogtreecommitdiff
path: root/fluid/io/Code_Writer.h
diff options
context:
space:
mode:
authormaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 02:33:41 +0500
committermaxim nikonov <maxim.nikonov@hqo.co>2026-02-06 02:33:41 +0500
commit43e0a37906afabb0b3b091b8d3eac9a910cae50c (patch)
treed2a037c2bf0dc395fddb08e32ebfcf2795503b7c /fluid/io/Code_Writer.h
parent4ce4967c33d56e4b56d85d11fe0e0be91e159f5d (diff)
wip
Diffstat (limited to 'fluid/io/Code_Writer.h')
-rw-r--r--fluid/io/Code_Writer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fluid/io/Code_Writer.h b/fluid/io/Code_Writer.h
index 9d52e0600..f2ca32a3e 100644
--- a/fluid/io/Code_Writer.h
+++ b/fluid/io/Code_Writer.h
@@ -88,9 +88,9 @@ private:
Project &proj_;
/// file pointer for the C++ code file
- FILE *code_file = nullptr;
+ FILE *code_file = 0;
/// file pointer for the C++ header file
- FILE *header_file = nullptr;
+ FILE *header_file = 0;
/// tree of unique but human-readable identifiers
Fd_Id_Map unique_id_list;
@@ -106,7 +106,7 @@ private:
/// if set, we are at the start of a line and can ignore leading spaces in crc
bool block_line_start_ = true;
/// expanding buffer for vsnprintf
- char *block_buffer_ = nullptr;
+ char *block_buffer_ = 0;
/// size of expanding buffer for vsnprintf
int block_buffer_size_ = 0;
@@ -159,7 +159,7 @@ public:
void tag(proj::Mergeback::Tag prev_type, proj::Mergeback::Tag next_type, unsigned short uid);
- static unsigned long block_crc(const void *data, int n=-1, unsigned long in_crc=0, bool *inout_line_start=nullptr);
+ static unsigned long block_crc(const void *data, int n=-1, unsigned long in_crc=0, bool *inout_line_start=0);
};
} // namespace io