X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/5b4dabb2071e2e09cd70a156beed03b12bec477a..dc15fe8ace017fdef39202474c1563c1ae0ae67a:/Decode.cpp?ds=sidebyside diff --git a/Decode.cpp b/Decode.cpp index c20fb1c..63bb9ef 100644 --- a/Decode.cpp +++ b/Decode.cpp @@ -38,12 +38,17 @@ CYType *Primitive::Decode(CYPool &pool) const { template <> CYType *Primitive::Decode(CYPool &pool) const { - return $ CYType($ CYTypeVariable("double")); + return $ CYType($ CYTypeFloating(1)); } template <> CYType *Primitive::Decode(CYPool &pool) const { - return $ CYType($ CYTypeVariable("float")); + return $ CYType($ CYTypeFloating(0)); +} + +template <> +CYType *Primitive::Decode(CYPool &pool) const { + return $ CYType($ CYTypeFloating(2)); } template <>