X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/24ffc58c2367143a1cad64e4340e0fb5e863637a..95be164556de14834c2040ac7bea1632b63e5764:/sig/parse.cpp diff --git a/sig/parse.cpp b/sig/parse.cpp index 52a974d..b2931ef 100644 --- a/sig/parse.cpp +++ b/sig/parse.cpp @@ -381,6 +381,10 @@ const char *Object::Encode(CYPool &pool) const { } #endif +const char *Enum::Encode(CYPool &pool) const { + return type.Encode(pool); +} + const char *Aggregate::Encode(CYPool &pool) const { return pool.strcat(overlap ? "(" : "{", name == NULL ? "?" : name, "=", Unparse(pool, &signature), overlap ? ")" : "}", NULL); }