From 472719a3be3e7b6f2810aa6bad63550a1327360a Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 27 Oct 2023 22:52:44 -0400 Subject: gemspec --- ext/wittle_generator/Generate.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/wittle_generator/Generate.cpp') diff --git a/ext/wittle_generator/Generate.cpp b/ext/wittle_generator/Generate.cpp index 4cc3ce9..5e38ba8 100644 --- a/ext/wittle_generator/Generate.cpp +++ b/ext/wittle_generator/Generate.cpp @@ -2109,3 +2109,5 @@ bool Generate::combine_shapes(std::vector& shapes) { } bool Generate::hasSymbolOrPath(int x, int y) { return get(x, y) != 0; } + +std::string Generate::AsCode() { return _panel->Write(); } -- cgit 1.4.1