X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/7af8226436456c67bfb306ab798fb6b31c156bf4..96d36aaa89e579a53bd5848c22a462ca8eb13f80:/sig/parse.cpp diff --git a/sig/parse.cpp b/sig/parse.cpp index 20fa5a2..7e025f8 100644 --- a/sig/parse.cpp +++ b/sig/parse.cpp @@ -169,6 +169,7 @@ Type *Parse_(CYPool &pool, const char **encoding, char eos, bool named, Callback break; case 'c': type = new(pool) Primitive(); break; + case 'D': type = new(pool) Primitive(); break; case 'd': type = new(pool) Primitive(); break; case 'f': type = new(pool) Primitive(); break; case 'i': type = new(pool) Primitive(); break; @@ -279,6 +280,11 @@ const char *Primitive::Encode(CYPool &pool) const { return "f"; } +template <> +const char *Primitive::Encode(CYPool &pool) const { + return "D"; +} + template <> const char *Primitive::Encode(CYPool &pool) const { return "c";