4 #include "minimal/stdlib.h"
41 struct Element *elements;
45 #define JOC_TYPE_INOUT (1 << 0)
46 #define JOC_TYPE_IN (1 << 1)
47 #define JOC_TYPE_BYCOPY (1 << 2)
48 #define JOC_TYPE_OUT (1 << 3)
49 #define JOC_TYPE_BYREF (1 << 4)
50 #define JOC_TYPE_CONST (1 << 5)
51 #define JOC_TYPE_ONEWAY (1 << 6)
54 enum Primitive primitive;
64 struct Signature signature;
69 struct Type *joc_parse_type(char **name, char eos, bool variable, bool signature);
70 void joc_parse_signature(struct Signature *signature, char **name, char eos, bool variable);