]> git.saurik.com Git - cycript.git/blobdiff - Output.cpp
Also use CXType walker to for function prototypes.
[cycript.git] / Output.cpp
index 3daf4cfa66c6218943ea7890f63e4a7caf53e4e0..50cc836c822ef5b5ff26a74a687d72f598c0783f 100644 (file)
@@ -1185,6 +1185,15 @@ void CYTypeError::Output(CYOutput &out) const {
     out << "@error";
 }
 
+void CYTypeFloating::Output(CYOutput &out) const {
+    switch (length_) {
+        case 0: out << "float"; break;
+        case 1: out << "double"; break;
+        case 2: out << "long" << ' ' << "double"; break;
+        default: _assert(false);
+    }
+}
+
 void CYTypeInt128::Output(CYOutput &out) const {
     switch (signing_) {
         case CYTypeNeutral: break;