X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/9185d5ef70289d99e212f2dd04457b05716e222e..da858962dd542d5872e9482296125d7b7e31ee29:/sig/parse.cpp diff --git a/sig/parse.cpp b/sig/parse.cpp index a359e54..05b3213 100644 --- a/sig/parse.cpp +++ b/sig/parse.cpp @@ -37,17 +37,13 @@ */ /* }}} */ -#ifndef _GNU_SOURCE -#define _GNU_SOURCE -#endif - -#include "minimal/stdlib.h" - #include - -#include - #include "sig/parse.hpp" +#include "Error.hpp" + +#include +#include +#include namespace sig { @@ -278,7 +274,7 @@ const char *Unparse(apr_pool_t *pool, struct Type *type) { return apr_psprintf(pool, "[%lu%s]", type->data.data.size, value); } break; - case pointer_P: return apr_psprintf(pool, "^%s", type->data.data.type == NULL ? "" : Unparse(pool, type->data.data.type)); + case pointer_P: return apr_psprintf(pool, "^%s", type->data.data.type == NULL ? "v" : Unparse(pool, type->data.data.type)); case bit_P: return apr_psprintf(pool, "b%zu", type->data.data.size); case char_P: return "c"; case double_P: return "d";