summaryrefslogtreecommitdiff
path: root/util/cpp_compress.hh
diff options
context:
space:
mode:
Diffstat (limited to 'util/cpp_compress.hh')
-rw-r--r--util/cpp_compress.hh10
1 files changed, 10 insertions, 0 deletions
diff --git a/util/cpp_compress.hh b/util/cpp_compress.hh
new file mode 100644
index 0000000..62bcfda
--- /dev/null
+++ b/util/cpp_compress.hh
@@ -0,0 +1,10 @@
+#include <string>
+
+class CPPcompressor
+{
+public:
+ /* Compress the given C++ source code. Warning: Function not re-entrant. */
+ std::string Compress(const std::string& input);
+ std::string Compress(const std::string& input,
+ const std::string& macro_prefix_chars);
+};