X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/9eddcf9d195359a1d5df83ffa70dda6e548dcb86..5a6d4d25db388006fc37491a1253b4a102461a6f:/Output.cpp diff --git a/Output.cpp b/Output.cpp index e399d48..c974744 100644 --- a/Output.cpp +++ b/Output.cpp @@ -24,34 +24,6 @@ #include -_finline CYFlags operator ~(CYFlags rhs) { - return static_cast(~static_cast(rhs)); -} - -_finline CYFlags operator &(CYFlags lhs, CYFlags rhs) { - return static_cast(static_cast(lhs) & static_cast(rhs)); -} - -_finline CYFlags operator |(CYFlags lhs, CYFlags rhs) { - return static_cast(static_cast(lhs) | static_cast(rhs)); -} - -_finline CYFlags &operator |=(CYFlags &lhs, CYFlags rhs) { - return lhs = lhs | rhs; -} - -_finline CYFlags CYLeft(CYFlags flags) { - return flags & ~(CYNoDangle | CYNoInteger); -} - -_finline CYFlags CYRight(CYFlags flags) { - return flags & ~CYNoBF; -} - -_finline CYFlags CYCenter(CYFlags flags) { - return CYLeft(CYRight(flags)); -} - void CYOutput::Terminate() { out_ << ';'; mode_ = NoMode;