]> git.saurik.com Git - cycript.git/blob - sig/parse.hpp
Initial FFI call success.
[cycript.git] / sig / parse.hpp
1 #ifndef SIG_PARSE_H
2 #define SIG_PARSE_H
3
4 #include "sig/types.hpp"
5
6 #include <apr-1/apr_pools.h>
7
8 namespace sig {
9
10 extern void (*sig_aggregate)(apr_pool_t *pool, enum Primitive primitive, const char *name, struct Signature *signature, const char *types);
11
12 void sig_parse_signature(apr_pool_t *pool, struct Signature *signature, const char **name, char eos);
13 struct Type *sig_parse_type(apr_pool_t *pool, const char **name, char eos, bool named);
14
15 void Parse(apr_pool_t *pool, struct Signature *signature, const char *name);
16
17 const char *sig_unparse_signature(apr_pool_t *pool, struct Signature *signature);
18 const char *sig_unparse_type(apr_pool_t *pool, struct Type *type);
19
20 }
21
22 #endif/*SIG_PARSE_H*/