Changeset 0c845239 in OpenModelica
- Timestamp:
- 2020-10-20T15:47:42+02:00 (3 years ago)
- Children:
- d42dbda
- Parents:
- 953bdfe7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OMCompiler/Compiler/boot/tarball-include/OpenModelicaBootstrappingHeader.h
ra4f0ef3 r0c845239 3 3 extern "C" { 4 4 #endif 5 #define OPENMODELICA_BOOTSTRAPPING_STAGE_16 7 5 #ifdef ADD_METARECORD_DEFINITIONS 8 6 #ifndef FMI_Info_INFO__desc_added … … 156 154 #define FMI__FMIIMPORT(platform,fmuFileName,fmuWorkingDirectory,fmiLogLevel,fmiDebugOutput,fmiContext,fmiInstance,fmiInfo,fmiTypeDefinitionsList,fmiExperimentAnnotation,fmiModelVariablesInstance,fmiModelVariablesList,generateInputConnectors,generateOutputConnectors) (mmc_mk_box(15, 3,&FMI_FmiImport_FMIIMPORT__desc,platform,fmuFileName,fmuWorkingDirectory,fmiLogLevel,fmiDebugOutput,fmiContext,fmiInstance,fmiInfo,fmiTypeDefinitionsList,fmiExperimentAnnotation,fmiModelVariablesInstance,fmiModelVariablesList,generateInputConnectors,generateOutputConnectors)) 157 155 #ifdef ADD_METARECORD_DEFINITIONS 158 #ifndef Util_ReplacePattern_REPLACEPATTERN__desc_added 159 #define Util_ReplacePattern_REPLACEPATTERN__desc_added 160 ADD_METARECORD_DEFINITIONS const char* Util_ReplacePattern_REPLACEPATTERN__desc__fields[2] = {"from","to"}; 161 ADD_METARECORD_DEFINITIONS struct record_description Util_ReplacePattern_REPLACEPATTERN__desc = { 162 "Util_ReplacePattern_REPLACEPATTERN", 163 "Util.ReplacePattern.REPLACEPATTERN", 164 Util_ReplacePattern_REPLACEPATTERN__desc__fields 165 }; 166 #endif 167 #else /* Only use the file as a header */ 168 extern struct record_description Util_ReplacePattern_REPLACEPATTERN__desc; 169 #endif 170 #define Util__REPLACEPATTERN_3dBOX2 3 171 #define Util__REPLACEPATTERN(from,to) (mmc_mk_box3(3,&Util_ReplacePattern_REPLACEPATTERN__desc,from,to)) 172 #ifdef ADD_METARECORD_DEFINITIONS 173 #ifndef Util_Status_FAILURE__desc_added 174 #define Util_Status_FAILURE__desc_added 175 ADD_METARECORD_DEFINITIONS const char* Util_Status_FAILURE__desc__fields[1] = {"no fields"}; 176 ADD_METARECORD_DEFINITIONS struct record_description Util_Status_FAILURE__desc = { 177 "Util_Status_FAILURE", 178 "Util.Status.FAILURE", 179 Util_Status_FAILURE__desc__fields 180 }; 181 #endif 182 #else /* Only use the file as a header */ 183 extern struct record_description Util_Status_FAILURE__desc; 184 #endif 185 #define Util__FAILURE_3dBOX0 4 186 static const MMC_DEFSTRUCTLIT(Util__FAILURE__struct,1,4) {&Util_Status_FAILURE__desc}}; 187 static void *Util__FAILURE = MMC_REFSTRUCTLIT(Util__FAILURE__struct); 188 #ifdef ADD_METARECORD_DEFINITIONS 189 #ifndef Util_Status_SUCCESS__desc_added 190 #define Util_Status_SUCCESS__desc_added 191 ADD_METARECORD_DEFINITIONS const char* Util_Status_SUCCESS__desc__fields[1] = {"no fields"}; 192 ADD_METARECORD_DEFINITIONS struct record_description Util_Status_SUCCESS__desc = { 193 "Util_Status_SUCCESS", 194 "Util.Status.SUCCESS", 195 Util_Status_SUCCESS__desc__fields 196 }; 197 #endif 198 #else /* Only use the file as a header */ 199 extern struct record_description Util_Status_SUCCESS__desc; 200 #endif 201 #define Util__SUCCESS_3dBOX0 3 202 static const MMC_DEFSTRUCTLIT(Util__SUCCESS__struct,1,3) {&Util_Status_SUCCESS__desc}}; 203 static void *Util__SUCCESS = MMC_REFSTRUCTLIT(Util__SUCCESS__struct); 204 #ifdef ADD_METARECORD_DEFINITIONS 205 #ifndef Util_DateTime_DATETIME__desc_added 206 #define Util_DateTime_DATETIME__desc_added 207 ADD_METARECORD_DEFINITIONS const char* Util_DateTime_DATETIME__desc__fields[6] = {"sec","min","hour","mday","mon","year"}; 208 ADD_METARECORD_DEFINITIONS struct record_description Util_DateTime_DATETIME__desc = { 209 "Util_DateTime_DATETIME", 210 "Util.DateTime.DATETIME", 211 Util_DateTime_DATETIME__desc__fields 212 }; 213 #endif 214 #else /* Only use the file as a header */ 215 extern struct record_description Util_DateTime_DATETIME__desc; 216 #endif 217 #define Util__DATETIME_3dBOX6 3 218 #define Util__DATETIME(sec,min,hour,mday,mon,year) (mmc_mk_box7(3,&Util_DateTime_DATETIME__desc,sec,min,hour,mday,mon,year)) 219 #ifdef ADD_METARECORD_DEFINITIONS 220 #ifndef Util_TranslatableContent_notrans__desc_added 221 #define Util_TranslatableContent_notrans__desc_added 222 ADD_METARECORD_DEFINITIONS const char* Util_TranslatableContent_notrans__desc__fields[1] = {"str"}; 223 ADD_METARECORD_DEFINITIONS struct record_description Util_TranslatableContent_notrans__desc = { 224 "Util_TranslatableContent_notrans", 225 "Util.TranslatableContent.notrans", 226 Util_TranslatableContent_notrans__desc__fields 227 }; 228 #endif 229 #else /* Only use the file as a header */ 230 extern struct record_description Util_TranslatableContent_notrans__desc; 231 #endif 232 #define Util__notrans_3dBOX1 4 233 #define Util__notrans(str) (mmc_mk_box2(4,&Util_TranslatableContent_notrans__desc,str)) 234 #ifdef ADD_METARECORD_DEFINITIONS 235 #ifndef Util_TranslatableContent_gettext__desc_added 236 #define Util_TranslatableContent_gettext__desc_added 237 ADD_METARECORD_DEFINITIONS const char* Util_TranslatableContent_gettext__desc__fields[1] = {"msgid"}; 238 ADD_METARECORD_DEFINITIONS struct record_description Util_TranslatableContent_gettext__desc = { 239 "Util_TranslatableContent_gettext", 240 "Util.TranslatableContent.gettext", 241 Util_TranslatableContent_gettext__desc__fields 242 }; 243 #endif 244 #else /* Only use the file as a header */ 245 extern struct record_description Util_TranslatableContent_gettext__desc; 246 #endif 247 #define Util__gettext_3dBOX1 3 248 #define Util__gettext(msgid) (mmc_mk_box2(3,&Util_TranslatableContent_gettext__desc,msgid)) 249 #ifdef ADD_METARECORD_DEFINITIONS 250 #ifndef Error_Severity_NOTIFICATION__desc_added 251 #define Error_Severity_NOTIFICATION__desc_added 252 ADD_METARECORD_DEFINITIONS const char* Error_Severity_NOTIFICATION__desc__fields[1] = {"no fields"}; 253 ADD_METARECORD_DEFINITIONS struct record_description Error_Severity_NOTIFICATION__desc = { 254 "Error_Severity_NOTIFICATION", 255 "Error.Severity.NOTIFICATION", 256 Error_Severity_NOTIFICATION__desc__fields 257 }; 258 #endif 259 #else /* Only use the file as a header */ 260 extern struct record_description Error_Severity_NOTIFICATION__desc; 261 #endif 262 #define Error__NOTIFICATION_3dBOX0 6 263 static const MMC_DEFSTRUCTLIT(Error__NOTIFICATION__struct,1,6) {&Error_Severity_NOTIFICATION__desc}}; 264 static void *Error__NOTIFICATION = MMC_REFSTRUCTLIT(Error__NOTIFICATION__struct); 265 #ifdef ADD_METARECORD_DEFINITIONS 266 #ifndef Error_Severity_WARNING__desc_added 267 #define Error_Severity_WARNING__desc_added 268 ADD_METARECORD_DEFINITIONS const char* Error_Severity_WARNING__desc__fields[1] = {"no fields"}; 269 ADD_METARECORD_DEFINITIONS struct record_description Error_Severity_WARNING__desc = { 270 "Error_Severity_WARNING", 271 "Error.Severity.WARNING", 272 Error_Severity_WARNING__desc__fields 273 }; 274 #endif 275 #else /* Only use the file as a header */ 276 extern struct record_description Error_Severity_WARNING__desc; 277 #endif 278 #define Error__WARNING_3dBOX0 5 279 static const MMC_DEFSTRUCTLIT(Error__WARNING__struct,1,5) {&Error_Severity_WARNING__desc}}; 280 static void *Error__WARNING = MMC_REFSTRUCTLIT(Error__WARNING__struct); 281 #ifdef ADD_METARECORD_DEFINITIONS 282 #ifndef Error_Severity_ERROR__desc_added 283 #define Error_Severity_ERROR__desc_added 284 ADD_METARECORD_DEFINITIONS const char* Error_Severity_ERROR__desc__fields[1] = {"no fields"}; 285 ADD_METARECORD_DEFINITIONS struct record_description Error_Severity_ERROR__desc = { 286 "Error_Severity_ERROR", 287 "Error.Severity.ERROR", 288 Error_Severity_ERROR__desc__fields 289 }; 290 #endif 291 #else /* Only use the file as a header */ 292 extern struct record_description Error_Severity_ERROR__desc; 293 #endif 294 #define Error__ERROR_3dBOX0 4 295 static const MMC_DEFSTRUCTLIT(Error__ERROR__struct,1,4) {&Error_Severity_ERROR__desc}}; 296 static void *Error__ERROR = MMC_REFSTRUCTLIT(Error__ERROR__struct); 297 #ifdef ADD_METARECORD_DEFINITIONS 298 #ifndef Error_Severity_INTERNAL__desc_added 299 #define Error_Severity_INTERNAL__desc_added 300 ADD_METARECORD_DEFINITIONS const char* Error_Severity_INTERNAL__desc__fields[1] = {"no fields"}; 301 ADD_METARECORD_DEFINITIONS struct record_description Error_Severity_INTERNAL__desc = { 302 "Error_Severity_INTERNAL", 303 "Error.Severity.INTERNAL", 304 Error_Severity_INTERNAL__desc__fields 305 }; 306 #endif 307 #else /* Only use the file as a header */ 308 extern struct record_description Error_Severity_INTERNAL__desc; 309 #endif 310 #define Error__INTERNAL_3dBOX0 3 311 static const MMC_DEFSTRUCTLIT(Error__INTERNAL__struct,1,3) {&Error_Severity_INTERNAL__desc}}; 312 static void *Error__INTERNAL = MMC_REFSTRUCTLIT(Error__INTERNAL__struct); 313 #ifdef ADD_METARECORD_DEFINITIONS 314 #ifndef Error_MessageType_SCRIPTING__desc_added 315 #define Error_MessageType_SCRIPTING__desc_added 316 ADD_METARECORD_DEFINITIONS const char* Error_MessageType_SCRIPTING__desc__fields[1] = {"no fields"}; 317 ADD_METARECORD_DEFINITIONS struct record_description Error_MessageType_SCRIPTING__desc = { 318 "Error_MessageType_SCRIPTING", 319 "Error.MessageType.SCRIPTING", 320 Error_MessageType_SCRIPTING__desc__fields 321 }; 322 #endif 323 #else /* Only use the file as a header */ 324 extern struct record_description Error_MessageType_SCRIPTING__desc; 325 #endif 326 #define Error__SCRIPTING_3dBOX0 8 327 static const MMC_DEFSTRUCTLIT(Error__SCRIPTING__struct,1,8) {&Error_MessageType_SCRIPTING__desc}}; 328 static void *Error__SCRIPTING = MMC_REFSTRUCTLIT(Error__SCRIPTING__struct); 329 #ifdef ADD_METARECORD_DEFINITIONS 330 #ifndef Error_MessageType_SIMULATION__desc_added 331 #define Error_MessageType_SIMULATION__desc_added 332 ADD_METARECORD_DEFINITIONS const char* Error_MessageType_SIMULATION__desc__fields[1] = {"no fields"}; 333 ADD_METARECORD_DEFINITIONS struct record_description Error_MessageType_SIMULATION__desc = { 334 "Error_MessageType_SIMULATION", 335 "Error.MessageType.SIMULATION", 336 Error_MessageType_SIMULATION__desc__fields 337 }; 338 #endif 339 #else /* Only use the file as a header */ 340 extern struct record_description Error_MessageType_SIMULATION__desc; 341 #endif 342 #define Error__SIMULATION_3dBOX0 7 343 static const MMC_DEFSTRUCTLIT(Error__SIMULATION__struct,1,7) {&Error_MessageType_SIMULATION__desc}}; 344 static void *Error__SIMULATION = MMC_REFSTRUCTLIT(Error__SIMULATION__struct); 345 #ifdef ADD_METARECORD_DEFINITIONS 346 #ifndef Error_MessageType_SYMBOLIC__desc_added 347 #define Error_MessageType_SYMBOLIC__desc_added 348 ADD_METARECORD_DEFINITIONS const char* Error_MessageType_SYMBOLIC__desc__fields[1] = {"no fields"}; 349 ADD_METARECORD_DEFINITIONS struct record_description Error_MessageType_SYMBOLIC__desc = { 350 "Error_MessageType_SYMBOLIC", 351 "Error.MessageType.SYMBOLIC", 352 Error_MessageType_SYMBOLIC__desc__fields 353 }; 354 #endif 355 #else /* Only use the file as a header */ 356 extern struct record_description Error_MessageType_SYMBOLIC__desc; 357 #endif 358 #define Error__SYMBOLIC_3dBOX0 6 359 static const MMC_DEFSTRUCTLIT(Error__SYMBOLIC__struct,1,6) {&Error_MessageType_SYMBOLIC__desc}}; 360 static void *Error__SYMBOLIC = MMC_REFSTRUCTLIT(Error__SYMBOLIC__struct); 361 #ifdef ADD_METARECORD_DEFINITIONS 362 #ifndef Error_MessageType_TRANSLATION__desc_added 363 #define Error_MessageType_TRANSLATION__desc_added 364 ADD_METARECORD_DEFINITIONS const char* Error_MessageType_TRANSLATION__desc__fields[1] = {"no fields"}; 365 ADD_METARECORD_DEFINITIONS struct record_description Error_MessageType_TRANSLATION__desc = { 366 "Error_MessageType_TRANSLATION", 367 "Error.MessageType.TRANSLATION", 368 Error_MessageType_TRANSLATION__desc__fields 369 }; 370 #endif 371 #else /* Only use the file as a header */ 372 extern struct record_description Error_MessageType_TRANSLATION__desc; 373 #endif 374 #define Error__TRANSLATION_3dBOX0 5 375 static const MMC_DEFSTRUCTLIT(Error__TRANSLATION__struct,1,5) {&Error_MessageType_TRANSLATION__desc}}; 376 static void *Error__TRANSLATION = MMC_REFSTRUCTLIT(Error__TRANSLATION__struct); 377 #ifdef ADD_METARECORD_DEFINITIONS 378 #ifndef Error_MessageType_GRAMMAR__desc_added 379 #define Error_MessageType_GRAMMAR__desc_added 380 ADD_METARECORD_DEFINITIONS const char* Error_MessageType_GRAMMAR__desc__fields[1] = {"no fields"}; 381 ADD_METARECORD_DEFINITIONS struct record_description Error_MessageType_GRAMMAR__desc = { 382 "Error_MessageType_GRAMMAR", 383 "Error.MessageType.GRAMMAR", 384 Error_MessageType_GRAMMAR__desc__fields 385 }; 386 #endif 387 #else /* Only use the file as a header */ 388 extern struct record_description Error_MessageType_GRAMMAR__desc; 389 #endif 390 #define Error__GRAMMAR_3dBOX0 4 391 static const MMC_DEFSTRUCTLIT(Error__GRAMMAR__struct,1,4) {&Error_MessageType_GRAMMAR__desc}}; 392 static void *Error__GRAMMAR = MMC_REFSTRUCTLIT(Error__GRAMMAR__struct); 393 #ifdef ADD_METARECORD_DEFINITIONS 394 #ifndef Error_MessageType_SYNTAX__desc_added 395 #define Error_MessageType_SYNTAX__desc_added 396 ADD_METARECORD_DEFINITIONS const char* Error_MessageType_SYNTAX__desc__fields[1] = {"no fields"}; 397 ADD_METARECORD_DEFINITIONS struct record_description Error_MessageType_SYNTAX__desc = { 398 "Error_MessageType_SYNTAX", 399 "Error.MessageType.SYNTAX", 400 Error_MessageType_SYNTAX__desc__fields 401 }; 402 #endif 403 #else /* Only use the file as a header */ 404 extern struct record_description Error_MessageType_SYNTAX__desc; 405 #endif 406 #define Error__SYNTAX_3dBOX0 3 407 static const MMC_DEFSTRUCTLIT(Error__SYNTAX__struct,1,3) {&Error_MessageType_SYNTAX__desc}}; 408 static void *Error__SYNTAX = MMC_REFSTRUCTLIT(Error__SYNTAX__struct); 409 #ifdef ADD_METARECORD_DEFINITIONS 410 #ifndef Error_Message_MESSAGE__desc_added 411 #define Error_Message_MESSAGE__desc_added 412 ADD_METARECORD_DEFINITIONS const char* Error_Message_MESSAGE__desc__fields[4] = {"id","ty","severity","message"}; 413 ADD_METARECORD_DEFINITIONS struct record_description Error_Message_MESSAGE__desc = { 414 "Error_Message_MESSAGE", 415 "Error.Message.MESSAGE", 416 Error_Message_MESSAGE__desc__fields 417 }; 418 #endif 419 #else /* Only use the file as a header */ 420 extern struct record_description Error_Message_MESSAGE__desc; 421 #endif 422 #define Error__MESSAGE_3dBOX4 3 423 #define Error__MESSAGE(id,ty,severity,message) (mmc_mk_box5(3,&Error_Message_MESSAGE__desc,id,ty,severity,message)) 424 #ifdef ADD_METARECORD_DEFINITIONS 425 #ifndef Error_TotalMessage_TOTALMESSAGE__desc_added 426 #define Error_TotalMessage_TOTALMESSAGE__desc_added 427 ADD_METARECORD_DEFINITIONS const char* Error_TotalMessage_TOTALMESSAGE__desc__fields[2] = {"msg","info"}; 428 ADD_METARECORD_DEFINITIONS struct record_description Error_TotalMessage_TOTALMESSAGE__desc = { 429 "Error_TotalMessage_TOTALMESSAGE", 430 "Error.TotalMessage.TOTALMESSAGE", 431 Error_TotalMessage_TOTALMESSAGE__desc__fields 432 }; 433 #endif 434 #else /* Only use the file as a header */ 435 extern struct record_description Error_TotalMessage_TOTALMESSAGE__desc; 436 #endif 437 #define Error__TOTALMESSAGE_3dBOX2 3 438 #define Error__TOTALMESSAGE(msg,info) (mmc_mk_box3(3,&Error_TotalMessage_TOTALMESSAGE__desc,msg,info)) 156 #ifndef Gettext_TranslatableContent_notrans__desc_added 157 #define Gettext_TranslatableContent_notrans__desc_added 158 ADD_METARECORD_DEFINITIONS const char* Gettext_TranslatableContent_notrans__desc__fields[1] = {"str"}; 159 ADD_METARECORD_DEFINITIONS struct record_description Gettext_TranslatableContent_notrans__desc = { 160 "Gettext_TranslatableContent_notrans", 161 "Gettext.TranslatableContent.notrans", 162 Gettext_TranslatableContent_notrans__desc__fields 163 }; 164 #endif 165 #else /* Only use the file as a header */ 166 extern struct record_description Gettext_TranslatableContent_notrans__desc; 167 #endif 168 #define Gettext__notrans_3dBOX1 4 169 #define Gettext__notrans(str) (mmc_mk_box2(4,&Gettext_TranslatableContent_notrans__desc,str)) 170 #ifdef ADD_METARECORD_DEFINITIONS 171 #ifndef Gettext_TranslatableContent_gettext__desc_added 172 #define Gettext_TranslatableContent_gettext__desc_added 173 ADD_METARECORD_DEFINITIONS const char* Gettext_TranslatableContent_gettext__desc__fields[1] = {"msgid"}; 174 ADD_METARECORD_DEFINITIONS struct record_description Gettext_TranslatableContent_gettext__desc = { 175 "Gettext_TranslatableContent_gettext", 176 "Gettext.TranslatableContent.gettext", 177 Gettext_TranslatableContent_gettext__desc__fields 178 }; 179 #endif 180 #else /* Only use the file as a header */ 181 extern struct record_description Gettext_TranslatableContent_gettext__desc; 182 #endif 183 #define Gettext__gettext_3dBOX1 3 184 #define Gettext__gettext(msgid) (mmc_mk_box2(3,&Gettext_TranslatableContent_gettext__desc,msgid)) 185 #ifdef ADD_METARECORD_DEFINITIONS 186 #ifndef ErrorTypes_Severity_NOTIFICATION__desc_added 187 #define ErrorTypes_Severity_NOTIFICATION__desc_added 188 ADD_METARECORD_DEFINITIONS const char* ErrorTypes_Severity_NOTIFICATION__desc__fields[1] = {"no fields"}; 189 ADD_METARECORD_DEFINITIONS struct record_description ErrorTypes_Severity_NOTIFICATION__desc = { 190 "ErrorTypes_Severity_NOTIFICATION", 191 "ErrorTypes.Severity.NOTIFICATION", 192 ErrorTypes_Severity_NOTIFICATION__desc__fields 193 }; 194 #endif 195 #else /* Only use the file as a header */ 196 extern struct record_description ErrorTypes_Severity_NOTIFICATION__desc; 197 #endif 198 #define ErrorTypes__NOTIFICATION_3dBOX0 6 199 static const MMC_DEFSTRUCTLIT(ErrorTypes__NOTIFICATION__struct,1,6) {&ErrorTypes_Severity_NOTIFICATION__desc}}; 200 static void *ErrorTypes__NOTIFICATION = MMC_REFSTRUCTLIT(ErrorTypes__NOTIFICATION__struct); 201 #ifdef ADD_METARECORD_DEFINITIONS 202 #ifndef ErrorTypes_Severity_WARNING__desc_added 203 #define ErrorTypes_Severity_WARNING__desc_added 204 ADD_METARECORD_DEFINITIONS const char* ErrorTypes_Severity_WARNING__desc__fields[1] = {"no fields"}; 205 ADD_METARECORD_DEFINITIONS struct record_description ErrorTypes_Severity_WARNING__desc = { 206 "ErrorTypes_Severity_WARNING", 207 "ErrorTypes.Severity.WARNING", 208 ErrorTypes_Severity_WARNING__desc__fields 209 }; 210 #endif 211 #else /* Only use the file as a header */ 212 extern struct record_description ErrorTypes_Severity_WARNING__desc; 213 #endif 214 #define ErrorTypes__WARNING_3dBOX0 5 215 static const MMC_DEFSTRUCTLIT(ErrorTypes__WARNING__struct,1,5) {&ErrorTypes_Severity_WARNING__desc}}; 216 static void *ErrorTypes__WARNING = MMC_REFSTRUCTLIT(ErrorTypes__WARNING__struct); 217 #ifdef ADD_METARECORD_DEFINITIONS 218 #ifndef ErrorTypes_Severity_ERROR__desc_added 219 #define ErrorTypes_Severity_ERROR__desc_added 220 ADD_METARECORD_DEFINITIONS const char* ErrorTypes_Severity_ERROR__desc__fields[1] = {"no fields"}; 221 ADD_METARECORD_DEFINITIONS struct record_description ErrorTypes_Severity_ERROR__desc = { 222 "ErrorTypes_Severity_ERROR", 223 "ErrorTypes.Severity.ERROR", 224 ErrorTypes_Severity_ERROR__desc__fields 225 }; 226 #endif 227 #else /* Only use the file as a header */ 228 extern struct record_description ErrorTypes_Severity_ERROR__desc; 229 #endif 230 #define ErrorTypes__ERROR_3dBOX0 4 231 static const MMC_DEFSTRUCTLIT(ErrorTypes__ERROR__struct,1,4) {&ErrorTypes_Severity_ERROR__desc}}; 232 static void *ErrorTypes__ERROR = MMC_REFSTRUCTLIT(ErrorTypes__ERROR__struct); 233 #ifdef ADD_METARECORD_DEFINITIONS 234 #ifndef ErrorTypes_Severity_INTERNAL__desc_added 235 #define ErrorTypes_Severity_INTERNAL__desc_added 236 ADD_METARECORD_DEFINITIONS const char* ErrorTypes_Severity_INTERNAL__desc__fields[1] = {"no fields"}; 237 ADD_METARECORD_DEFINITIONS struct record_description ErrorTypes_Severity_INTERNAL__desc = { 238 "ErrorTypes_Severity_INTERNAL", 239 "ErrorTypes.Severity.INTERNAL", 240 ErrorTypes_Severity_INTERNAL__desc__fields 241 }; 242 #endif 243 #else /* Only use the file as a header */ 244 extern struct record_description ErrorTypes_Severity_INTERNAL__desc; 245 #endif 246 #define ErrorTypes__INTERNAL_3dBOX0 3 247 static const MMC_DEFSTRUCTLIT(ErrorTypes__INTERNAL__struct,1,3) {&ErrorTypes_Severity_INTERNAL__desc}}; 248 static void *ErrorTypes__INTERNAL = MMC_REFSTRUCTLIT(ErrorTypes__INTERNAL__struct); 249 #ifdef ADD_METARECORD_DEFINITIONS 250 #ifndef ErrorTypes_MessageType_SCRIPTING__desc_added 251 #define ErrorTypes_MessageType_SCRIPTING__desc_added 252 ADD_METARECORD_DEFINITIONS const char* ErrorTypes_MessageType_SCRIPTING__desc__fields[1] = {"no fields"}; 253 ADD_METARECORD_DEFINITIONS struct record_description ErrorTypes_MessageType_SCRIPTING__desc = { 254 "ErrorTypes_MessageType_SCRIPTING", 255 "ErrorTypes.MessageType.SCRIPTING", 256 ErrorTypes_MessageType_SCRIPTING__desc__fields 257 }; 258 #endif 259 #else /* Only use the file as a header */ 260 extern struct record_description ErrorTypes_MessageType_SCRIPTING__desc; 261 #endif 262 #define ErrorTypes__SCRIPTING_3dBOX0 8 263 static const MMC_DEFSTRUCTLIT(ErrorTypes__SCRIPTING__struct,1,8) {&ErrorTypes_MessageType_SCRIPTING__desc}}; 264 static void *ErrorTypes__SCRIPTING = MMC_REFSTRUCTLIT(ErrorTypes__SCRIPTING__struct); 265 #ifdef ADD_METARECORD_DEFINITIONS 266 #ifndef ErrorTypes_MessageType_SIMULATION__desc_added 267 #define ErrorTypes_MessageType_SIMULATION__desc_added 268 ADD_METARECORD_DEFINITIONS const char* ErrorTypes_MessageType_SIMULATION__desc__fields[1] = {"no fields"}; 269 ADD_METARECORD_DEFINITIONS struct record_description ErrorTypes_MessageType_SIMULATION__desc = { 270 "ErrorTypes_MessageType_SIMULATION", 271 "ErrorTypes.MessageType.SIMULATION", 272 ErrorTypes_MessageType_SIMULATION__desc__fields 273 }; 274 #endif 275 #else /* Only use the file as a header */ 276 extern struct record_description ErrorTypes_MessageType_SIMULATION__desc; 277 #endif 278 #define ErrorTypes__SIMULATION_3dBOX0 7 279 static const MMC_DEFSTRUCTLIT(ErrorTypes__SIMULATION__struct,1,7) {&ErrorTypes_MessageType_SIMULATION__desc}}; 280 static void *ErrorTypes__SIMULATION = MMC_REFSTRUCTLIT(ErrorTypes__SIMULATION__struct); 281 #ifdef ADD_METARECORD_DEFINITIONS 282 #ifndef ErrorTypes_MessageType_SYMBOLIC__desc_added 283 #define ErrorTypes_MessageType_SYMBOLIC__desc_added 284 ADD_METARECORD_DEFINITIONS const char* ErrorTypes_MessageType_SYMBOLIC__desc__fields[1] = {"no fields"}; 285 ADD_METARECORD_DEFINITIONS struct record_description ErrorTypes_MessageType_SYMBOLIC__desc = { 286 "ErrorTypes_MessageType_SYMBOLIC", 287 "ErrorTypes.MessageType.SYMBOLIC", 288 ErrorTypes_MessageType_SYMBOLIC__desc__fields 289 }; 290 #endif 291 #else /* Only use the file as a header */ 292 extern struct record_description ErrorTypes_MessageType_SYMBOLIC__desc; 293 #endif 294 #define ErrorTypes__SYMBOLIC_3dBOX0 6 295 static const MMC_DEFSTRUCTLIT(ErrorTypes__SYMBOLIC__struct,1,6) {&ErrorTypes_MessageType_SYMBOLIC__desc}}; 296 static void *ErrorTypes__SYMBOLIC = MMC_REFSTRUCTLIT(ErrorTypes__SYMBOLIC__struct); 297 #ifdef ADD_METARECORD_DEFINITIONS 298 #ifndef ErrorTypes_MessageType_TRANSLATION__desc_added 299 #define ErrorTypes_MessageType_TRANSLATION__desc_added 300 ADD_METARECORD_DEFINITIONS const char* ErrorTypes_MessageType_TRANSLATION__desc__fields[1] = {"no fields"}; 301 ADD_METARECORD_DEFINITIONS struct record_description ErrorTypes_MessageType_TRANSLATION__desc = { 302 "ErrorTypes_MessageType_TRANSLATION", 303 "ErrorTypes.MessageType.TRANSLATION", 304 ErrorTypes_MessageType_TRANSLATION__desc__fields 305 }; 306 #endif 307 #else /* Only use the file as a header */ 308 extern struct record_description ErrorTypes_MessageType_TRANSLATION__desc; 309 #endif 310 #define ErrorTypes__TRANSLATION_3dBOX0 5 311 static const MMC_DEFSTRUCTLIT(ErrorTypes__TRANSLATION__struct,1,5) {&ErrorTypes_MessageType_TRANSLATION__desc}}; 312 static void *ErrorTypes__TRANSLATION = MMC_REFSTRUCTLIT(ErrorTypes__TRANSLATION__struct); 313 #ifdef ADD_METARECORD_DEFINITIONS 314 #ifndef ErrorTypes_MessageType_GRAMMAR__desc_added 315 #define ErrorTypes_MessageType_GRAMMAR__desc_added 316 ADD_METARECORD_DEFINITIONS const char* ErrorTypes_MessageType_GRAMMAR__desc__fields[1] = {"no fields"}; 317 ADD_METARECORD_DEFINITIONS struct record_description ErrorTypes_MessageType_GRAMMAR__desc = { 318 "ErrorTypes_MessageType_GRAMMAR", 319 "ErrorTypes.MessageType.GRAMMAR", 320 ErrorTypes_MessageType_GRAMMAR__desc__fields 321 }; 322 #endif 323 #else /* Only use the file as a header */ 324 extern struct record_description ErrorTypes_MessageType_GRAMMAR__desc; 325 #endif 326 #define ErrorTypes__GRAMMAR_3dBOX0 4 327 static const MMC_DEFSTRUCTLIT(ErrorTypes__GRAMMAR__struct,1,4) {&ErrorTypes_MessageType_GRAMMAR__desc}}; 328 static void *ErrorTypes__GRAMMAR = MMC_REFSTRUCTLIT(ErrorTypes__GRAMMAR__struct); 329 #ifdef ADD_METARECORD_DEFINITIONS 330 #ifndef ErrorTypes_MessageType_SYNTAX__desc_added 331 #define ErrorTypes_MessageType_SYNTAX__desc_added 332 ADD_METARECORD_DEFINITIONS const char* ErrorTypes_MessageType_SYNTAX__desc__fields[1] = {"no fields"}; 333 ADD_METARECORD_DEFINITIONS struct record_description ErrorTypes_MessageType_SYNTAX__desc = { 334 "ErrorTypes_MessageType_SYNTAX", 335 "ErrorTypes.MessageType.SYNTAX", 336 ErrorTypes_MessageType_SYNTAX__desc__fields 337 }; 338 #endif 339 #else /* Only use the file as a header */ 340 extern struct record_description ErrorTypes_MessageType_SYNTAX__desc; 341 #endif 342 #define ErrorTypes__SYNTAX_3dBOX0 3 343 static const MMC_DEFSTRUCTLIT(ErrorTypes__SYNTAX__struct,1,3) {&ErrorTypes_MessageType_SYNTAX__desc}}; 344 static void *ErrorTypes__SYNTAX = MMC_REFSTRUCTLIT(ErrorTypes__SYNTAX__struct); 345 #ifdef ADD_METARECORD_DEFINITIONS 346 #ifndef ErrorTypes_Message_MESSAGE__desc_added 347 #define ErrorTypes_Message_MESSAGE__desc_added 348 ADD_METARECORD_DEFINITIONS const char* ErrorTypes_Message_MESSAGE__desc__fields[4] = {"id","ty","severity","message"}; 349 ADD_METARECORD_DEFINITIONS struct record_description ErrorTypes_Message_MESSAGE__desc = { 350 "ErrorTypes_Message_MESSAGE", 351 "ErrorTypes.Message.MESSAGE", 352 ErrorTypes_Message_MESSAGE__desc__fields 353 }; 354 #endif 355 #else /* Only use the file as a header */ 356 extern struct record_description ErrorTypes_Message_MESSAGE__desc; 357 #endif 358 #define ErrorTypes__MESSAGE_3dBOX4 3 359 #define ErrorTypes__MESSAGE(id,ty,severity,message) (mmc_mk_box5(3,&ErrorTypes_Message_MESSAGE__desc,id,ty,severity,message)) 360 #ifdef ADD_METARECORD_DEFINITIONS 361 #ifndef ErrorTypes_TotalMessage_TOTALMESSAGE__desc_added 362 #define ErrorTypes_TotalMessage_TOTALMESSAGE__desc_added 363 ADD_METARECORD_DEFINITIONS const char* ErrorTypes_TotalMessage_TOTALMESSAGE__desc__fields[2] = {"msg","info"}; 364 ADD_METARECORD_DEFINITIONS struct record_description ErrorTypes_TotalMessage_TOTALMESSAGE__desc = { 365 "ErrorTypes_TotalMessage_TOTALMESSAGE", 366 "ErrorTypes.TotalMessage.TOTALMESSAGE", 367 ErrorTypes_TotalMessage_TOTALMESSAGE__desc__fields 368 }; 369 #endif 370 #else /* Only use the file as a header */ 371 extern struct record_description ErrorTypes_TotalMessage_TOTALMESSAGE__desc; 372 #endif 373 #define ErrorTypes__TOTALMESSAGE_3dBOX2 3 374 #define ErrorTypes__TOTALMESSAGE(msg,info) (mmc_mk_box3(3,&ErrorTypes_TotalMessage_TOTALMESSAGE__desc,msg,info)) 439 375 #ifdef ADD_METARECORD_DEFINITIONS 440 376 #ifndef Values_Value_EMPTY__desc_added … … 806 742 #define GlobalScript__SIMULATION_5fOPTIONS(startTime,stopTime,numberOfIntervals,stepSize,tolerance,method,fileNamePrefix,options,outputFormat,variableFilter,cflags,simflags) (mmc_mk_box(13, 3,&GlobalScript_SimulationOptions_SIMULATION__OPTIONS__desc,startTime,stopTime,numberOfIntervals,stepSize,tolerance,method,fileNamePrefix,options,outputFormat,variableFilter,cflags,simflags)) 807 743 #ifdef ADD_METARECORD_DEFINITIONS 808 #ifndef GlobalScript_CompiledCFunction_CFunction__desc_added809 #define GlobalScript_CompiledCFunction_CFunction__desc_added810 ADD_METARECORD_DEFINITIONS const char* GlobalScript_CompiledCFunction_CFunction__desc__fields[5] = {"path","retType","funcHandle","buildTime","loadedFromFile"};811 ADD_METARECORD_DEFINITIONS struct record_description GlobalScript_CompiledCFunction_CFunction__desc = {812 "GlobalScript_CompiledCFunction_CFunction",813 "GlobalScript.CompiledCFunction.CFunction",814 GlobalScript_CompiledCFunction_CFunction__desc__fields815 };816 #endif817 #else /* Only use the file as a header */818 extern struct record_description GlobalScript_CompiledCFunction_CFunction__desc;819 #endif820 #define GlobalScript__CFunction_3dBOX5 3821 #define GlobalScript__CFunction(path,retType,funcHandle,buildTime,loadedFromFile) (mmc_mk_box6(3,&GlobalScript_CompiledCFunction_CFunction__desc,path,retType,funcHandle,buildTime,loadedFromFile))822 #ifdef ADD_METARECORD_DEFINITIONS823 744 #ifndef GlobalScript_Statement_IEXP__desc_added 824 745 #define GlobalScript_Statement_IEXP__desc_added … … 866 787 #define GlobalScript__ISTMTS(interactiveStmtLst,semicolon) (mmc_mk_box3(3,&GlobalScript_Statements_ISTMTS__desc,interactiveStmtLst,semicolon)) 867 788 #ifdef ADD_METARECORD_DEFINITIONS 868 #ifndef GlobalScript_InstantiatedClass_INSTCLASS__desc_added869 #define GlobalScript_InstantiatedClass_INSTCLASS__desc_added870 ADD_METARECORD_DEFINITIONS const char* GlobalScript_InstantiatedClass_INSTCLASS__desc__fields[3] = {"qualName","daeElementLst","env"};871 ADD_METARECORD_DEFINITIONS struct record_description GlobalScript_InstantiatedClass_INSTCLASS__desc = {872 "GlobalScript_InstantiatedClass_INSTCLASS",873 "GlobalScript.InstantiatedClass.INSTCLASS",874 GlobalScript_InstantiatedClass_INSTCLASS__desc__fields875 };876 #endif877 #else /* Only use the file as a header */878 extern struct record_description GlobalScript_InstantiatedClass_INSTCLASS__desc;879 #endif880 #define GlobalScript__INSTCLASS_3dBOX3 3881 #define GlobalScript__INSTCLASS(qualName,daeElementLst,env) (mmc_mk_box4(3,&GlobalScript_InstantiatedClass_INSTCLASS__desc,qualName,daeElementLst,env))882 #ifdef ADD_METARECORD_DEFINITIONS883 789 #ifndef GlobalScript_Variable_IVAR__desc_added 884 790 #define GlobalScript_Variable_IVAR__desc_added … … 896 802 #define GlobalScript__IVAR(varIdent,value,type_) (mmc_mk_box4(3,&GlobalScript_Variable_IVAR__desc,varIdent,value,type_)) 897 803 #ifdef ADD_METARECORD_DEFINITIONS 898 #ifndef GlobalScript_LoadedFile_FILE__desc_added899 #define GlobalScript_LoadedFile_FILE__desc_added900 ADD_METARECORD_DEFINITIONS const char* GlobalScript_LoadedFile_FILE__desc__fields[3] = {"fileName","loadTime","classNamesQualified"};901 ADD_METARECORD_DEFINITIONS struct record_description GlobalScript_LoadedFile_FILE__desc = {902 "GlobalScript_LoadedFile_FILE",903 "GlobalScript.LoadedFile.FILE",904 GlobalScript_LoadedFile_FILE__desc__fields905 };906 #endif907 #else /* Only use the file as a header */908 extern struct record_description GlobalScript_LoadedFile_FILE__desc;909 #endif910 #define GlobalScript__FILE_3dBOX3 3911 #define GlobalScript__FILE(fileName,loadTime,classNamesQualified) (mmc_mk_box4(3,&GlobalScript_LoadedFile_FILE__desc,fileName,loadTime,classNamesQualified))912 #ifdef ADD_METARECORD_DEFINITIONS913 #ifndef GlobalScript_SymbolTable_SYMBOLTABLE__desc_added914 #define GlobalScript_SymbolTable_SYMBOLTABLE__desc_added915 ADD_METARECORD_DEFINITIONS const char* GlobalScript_SymbolTable_SYMBOLTABLE__desc__fields[6] = {"ast","explodedAst","instClsLst","lstVarVal","compiledFunctions","loadedFiles"};916 ADD_METARECORD_DEFINITIONS struct record_description GlobalScript_SymbolTable_SYMBOLTABLE__desc = {917 "GlobalScript_SymbolTable_SYMBOLTABLE",918 "GlobalScript.SymbolTable.SYMBOLTABLE",919 GlobalScript_SymbolTable_SYMBOLTABLE__desc__fields920 };921 #endif922 #else /* Only use the file as a header */923 extern struct record_description GlobalScript_SymbolTable_SYMBOLTABLE__desc;924 #endif925 #define GlobalScript__SYMBOLTABLE_3dBOX6 3926 #define GlobalScript__SYMBOLTABLE(ast,explodedAst,instClsLst,lstVarVal,compiledFunctions,loadedFiles) (mmc_mk_box7(3,&GlobalScript_SymbolTable_SYMBOLTABLE__desc,ast,explodedAst,instClsLst,lstVarVal,compiledFunctions,loadedFiles))927 #ifdef ADD_METARECORD_DEFINITIONS928 804 #ifndef GlobalScript_Component_EXTENDSITEM__desc_added 929 805 #define GlobalScript_Component_EXTENDSITEM__desc_added … … 1410 1286 #ifndef Absyn_Element_DEFINEUNIT__desc_added 1411 1287 #define Absyn_Element_DEFINEUNIT__desc_added 1412 ADD_METARECORD_DEFINITIONS const char* Absyn_Element_DEFINEUNIT__desc__fields[3] = {"name","args", 1288 ADD_METARECORD_DEFINITIONS const char* Absyn_Element_DEFINEUNIT__desc__fields[3] = {"name","args","info"}; 1413 1289 ADD_METARECORD_DEFINITIONS struct record_description Absyn_Element_DEFINEUNIT__desc = { 1414 1290 "Absyn_Element_DEFINEUNIT", … … 1420 1296 extern struct record_description Absyn_Element_DEFINEUNIT__desc; 1421 1297 #endif 1422 #define Absyn__DEFINEUNIT_3dBOX 241423 #define Absyn__DEFINEUNIT(name,args, info) (mmc_mk_box4(4,&Absyn_Element_DEFINEUNIT__desc,name,args,info))1298 #define Absyn__DEFINEUNIT_3dBOX3 4 1299 #define Absyn__DEFINEUNIT(name,args,info) (mmc_mk_box4(4,&Absyn_Element_DEFINEUNIT__desc,name,args,info)) 1424 1300 #ifdef ADD_METARECORD_DEFINITIONS 1425 1301 #ifndef Absyn_Element_ELEMENT__desc_added … … 4212 4088 } 4213 4089 #endif 4090
Note: See TracChangeset
for help on using the changeset viewer.