X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/5b4dabb2071e2e09cd70a156beed03b12bec477a..1e8d80477a3e058a30c477955f1e0c56deb6e956:/Decode.cpp 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 <>