25 unloweredStructPointerInEventFunction =
false;
26 unloweredStructPointerInInitFunction =
false;
27 unloweredStructPointerInCallbackStartFunction =
false;
28 unloweredStructPointerInCallbackUpdateFunction =
false;
29 unloweredStructPointerInCallbackStopFunction =
false;
49 if (json_object_object_get_ex(
details,
"default", &value))
51 return json_object_to_json_string_ext(value, JSON_C_TO_STRING_PLAIN);
53 else if (json_object_object_get_ex(
details,
"defaults", &value))
56 if (json_object_object_get_ex(value,
getVuoType()->getModuleKey().c_str(), &valueForType))
57 return json_object_to_json_string_ext(valueForType, JSON_C_TO_STRING_PLAIN);
73 if (json_object_object_get_ex(
details,
"auto", &value))
74 return json_object_to_json_string_ext(value, JSON_C_TO_STRING_PLAIN);
89 if (json_object_object_get_ex(
details,
"autoSupersedesDefault", &value))
90 return json_object_get_boolean(value);
99 void VuoCompilerInputDataClass::setUnloweredStructPointer(Type *firstParameterType,
bool &unloweredStructPointer)
101 StructType *elementType =
nullptr;
106 unloweredStructPointer = (parts.size() >= 2
107 && parts[0] ==
"struct"
109 && std::all_of(parts.begin() + 2, parts.end(), [](
const string &s) { return s.find_first_not_of(
"0123456789") == string::npos; }));
125 setUnloweredStructPointer(firstParameterType, unloweredStructPointerInEventFunction);
133 return unloweredStructPointerInEventFunction;
141 setUnloweredStructPointer(firstParameterType, unloweredStructPointerInInitFunction);
149 return unloweredStructPointerInInitFunction;
157 setUnloweredStructPointer(firstParameterType, unloweredStructPointerInCallbackStartFunction);
165 return unloweredStructPointerInCallbackStartFunction;
173 setUnloweredStructPointer(firstParameterType, unloweredStructPointerInCallbackUpdateFunction);
181 return unloweredStructPointerInCallbackUpdateFunction;
189 setUnloweredStructPointer(firstParameterType, unloweredStructPointerInCallbackStopFunction);
197 return unloweredStructPointerInCallbackStopFunction;