X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/e2ce853b4a48f8278dc46e4143aa845b18948651..5154ab8dbb5374da04cd9f8e2004279700a40881:/Decode.cpp diff --git a/Decode.cpp b/Decode.cpp index 823e6b4..819c675 100644 --- a/Decode.cpp +++ b/Decode.cpp @@ -56,6 +56,13 @@ CYTypedIdentifier *Primitive::Decode(CYPool &pool) const { return $ CYTypedIdentifier($ CYTypeIntegral(CYTypeSigned, 1)); } +#ifdef __SIZEOF_INT128__ +template <> +CYTypedIdentifier *Primitive::Decode(CYPool &pool) const { + return $ CYTypedIdentifier($ CYTypeInt128(CYTypeSigned)); +} +#endif + template <> CYTypedIdentifier *Primitive::Decode(CYPool &pool) const { return $ CYTypedIdentifier($ CYTypeIntegral(CYTypeSigned, 2)); @@ -81,6 +88,13 @@ CYTypedIdentifier *Primitive::Decode(CYPool &pool) const { return $ CYTypedIdentifier($ CYTypeIntegral(CYTypeUnsigned, 1)); } +#ifdef __SIZEOF_INT128__ +template <> +CYTypedIdentifier *Primitive::Decode(CYPool &pool) const { + return $ CYTypedIdentifier($ CYTypeInt128(CYTypeUnsigned)); +} +#endif + template <> CYTypedIdentifier *Primitive::Decode(CYPool &pool) const { return $ CYTypedIdentifier($ CYTypeIntegral(CYTypeUnsigned, 2));