]> git.saurik.com Git - cycript.git/blobdiff - sig/parse.hpp
CYUTF8String cannot have a negative size, even -1.
[cycript.git] / sig / parse.hpp
index b7817c7e9eae3681332618984ecec26d54cc48d8..1c369e568f25491724aad03cfc865e0daa043c0c 100644 (file)
@@ -1,5 +1,5 @@
-/* Cycript - Optimizing JavaScript Compiler/Runtime
- * Copyright (C) 2009-2015  Jay Freeman (saurik)
+/* Cycript - The Truly Universal Scripting Language
+ * Copyright (C) 2009-2016  Jay Freeman (saurik)
 */
 
 /* GNU Affero General Public License, Version 3 {{{ */
 
 namespace sig {
 
-typedef void (*Callback)(CYPool &pool, Type *&type);
+typedef Type *(*Callback)(CYPool &pool, Aggregate *aggregate);
 void Parse(CYPool &pool, struct Signature *signature, const char *name, Callback callback);
 
-const char *Unparse(CYPool &pool, struct Signature *signature);
-const char *Unparse(CYPool &pool, struct Type *type);
+const char *Unparse(CYPool &pool, const struct Signature *signature);
+const char *Unparse(CYPool &pool, const struct Type *type);
 
-void Copy(CYPool &pool, Type &lhs, const Type &rhs);
 void Copy(CYPool &pool, Signature &lhs, const Signature &rhs);
-void Copy(CYPool &pool, Type &lhs, const Type &rhs);
 
 }