summaryrefslogtreecommitdiff
path: root/fluid/io/Project_Writer.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2026-01-05 12:54:12 +0100
committerMatthias Melcher <github@matthiasm.com>2026-01-05 21:06:04 +0100
commit89aa5726f8d772e0fec1ebcbdfa3b74aa7a217f8 (patch)
tree2bb2c31e1b283d33a1bff29aa3a105362f2a9435 /fluid/io/Project_Writer.h
parent5f10939cfa0fc943dfc28b441efa9e9028eef5e5 (diff)
Fluid: Improve std::string output
Fluid: Update Widget_Node to std::string Fluid: Image names to std::string Fluid: std::string tooltip Fluid: stringify Widget_Node::subtype Fluid:: extra_code
Diffstat (limited to 'fluid/io/Project_Writer.h')
-rw-r--r--fluid/io/Project_Writer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fluid/io/Project_Writer.h b/fluid/io/Project_Writer.h
index 4b21cf2fb..c95c9f7cb 100644
--- a/fluid/io/Project_Writer.h
+++ b/fluid/io/Project_Writer.h
@@ -21,6 +21,8 @@
#include <stdio.h>
+#include <string>
+
class Node;
namespace fld {
@@ -52,6 +54,7 @@ public:
int write_project(const char *filename, int selected_only, bool codeview);
void NewFunction();
void write_word(const char *);
+ void write_word(const std::string& word) { write_word(word.c_str()); }
void write_string(const char *,...) __fl_attr((__format__ (__printf__, 2, 3)));
void write_indent(int n);
void write_open();