From 0f07012d6046b615c9f6d070d5db80b6ba794cee Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 7 Sep 2013 00:01:29 -0700 Subject: [PATCH] Change ObjectiveC/Output.mm to straight-up C++. --- Makefile.am | 2 +- Makefile.in | 2 +- ObjectiveC/{Output.mm => Output.cpp} | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) rename ObjectiveC/{Output.mm => Output.cpp} (99%) diff --git a/Makefile.am b/Makefile.am index 7fc7cb2..20e06f6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -81,7 +81,7 @@ endif if CY_OBJECTIVEC filters += ObjectiveC -libcycript_sys_la_SOURCES += ObjectiveC/Output.mm ObjectiveC/Replace.cpp ObjectiveC/Library.mm +libcycript_sys_la_SOURCES += ObjectiveC/Output.cpp ObjectiveC/Replace.cpp ObjectiveC/Library.mm libcycript_sys_la_LIBADD += $(LTOBJECTIVEC) endif diff --git a/Makefile.in b/Makefile.in index 4fbd73c..2289700 100644 --- a/Makefile.in +++ b/Makefile.in @@ -79,7 +79,7 @@ bin_PROGRAMS = cycript$(EXEEXT) @CY_EXECUTE_TRUE@am__append_4 = C @CY_EXECUTE_TRUE@am__append_5 = Bridge.gperf Bridge.hpp @CY_OBJECTIVEC_TRUE@am__append_6 = ObjectiveC -@CY_OBJECTIVEC_TRUE@am__append_7 = ObjectiveC/Output.mm ObjectiveC/Replace.cpp ObjectiveC/Library.mm +@CY_OBJECTIVEC_TRUE@am__append_7 = ObjectiveC/Output.cpp ObjectiveC/Replace.cpp ObjectiveC/Library.mm @CY_OBJECTIVEC_TRUE@am__append_8 = $(LTOBJECTIVEC) @CY_MACH_TRUE@am__append_9 = Handler.mm @CY_MACH_TRUE@am__append_10 = Mach/Inject.cpp diff --git a/ObjectiveC/Output.mm b/ObjectiveC/Output.cpp similarity index 99% rename from ObjectiveC/Output.mm rename to ObjectiveC/Output.cpp index 33f7ee7..658a8f5 100644 --- a/ObjectiveC/Output.mm +++ b/ObjectiveC/Output.cpp @@ -22,7 +22,6 @@ #include "Replace.hpp" #include "ObjectiveC/Syntax.hpp" -#include #include void CYCategory::Output(CYOutput &out, CYFlags flags) const { -- 2.47.2