Vuo  2.0.0
type.h
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include "module.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 // Headers commonly used by type implementations
19 
20 #if (__clang_major__ == 3 && __clang_minor__ >= 2) || __clang_major__ > 3
21  #define VUO_CLANG_32_OR_LATER
22 #endif
23 
24 #pragma clang diagnostic push
25 #ifdef VUO_CLANG_32_OR_LATER
26  #pragma clang diagnostic ignored "-Wdocumentation"
27 #endif
28 #include "json-c/json.h"
29 #pragma clang diagnostic pop
30 
31 
39 #ifdef DOXYGEN
40 
65 
78 json_object * MyType_getJson(const MyType value);
79 
92 struct json_object * MyType_getInterprocessJson(const MyType value);
93 
105 VuoList_MyType MyType_getAllowedValues(void);
106 
117 char * MyType_getSummary(const MyType value);
118 
128 MyType MyType_makeFromString(const char *str);
129 
139 char * MyType_getString(const MyType value);
140 
151 char * MyType_getInterprocessString(const MyType value);
152 
163 void MyType_retain(const MyType value);
164 
175 void MyType_release(const MyType value);
176 
186 #endif
187 
188 #ifdef __cplusplus
189 }
190 #endif