Changeset 0c845239 in OpenModelica


Ignore:
Timestamp:
2020-10-20T15:47:42+02:00 (3 years ago)
Author:
Martin Sjölund <martin.sjolund@…>
Children:
d42dbda
Parents:
953bdfe7
Message:

New bootstrapping header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMCompiler/Compiler/boot/tarball-include/OpenModelicaBootstrappingHeader.h

    ra4f0ef3 r0c845239  
    33extern "C" {
    44#endif
    5 #define OPENMODELICA_BOOTSTRAPPING_STAGE_1
    6 
    75#ifdef ADD_METARECORD_DEFINITIONS
    86#ifndef FMI_Info_INFO__desc_added
     
    156154#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))
    157155#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
     158ADD_METARECORD_DEFINITIONS const char* Gettext_TranslatableContent_notrans__desc__fields[1] = {"str"};
     159ADD_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 */
     166extern 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
     173ADD_METARECORD_DEFINITIONS const char* Gettext_TranslatableContent_gettext__desc__fields[1] = {"msgid"};
     174ADD_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 */
     181extern 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
     188ADD_METARECORD_DEFINITIONS const char* ErrorTypes_Severity_NOTIFICATION__desc__fields[1] = {"no fields"};
     189ADD_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 */
     196extern struct record_description ErrorTypes_Severity_NOTIFICATION__desc;
     197#endif
     198#define ErrorTypes__NOTIFICATION_3dBOX0 6
     199static const MMC_DEFSTRUCTLIT(ErrorTypes__NOTIFICATION__struct,1,6) {&ErrorTypes_Severity_NOTIFICATION__desc}};
     200static 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
     204ADD_METARECORD_DEFINITIONS const char* ErrorTypes_Severity_WARNING__desc__fields[1] = {"no fields"};
     205ADD_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 */
     212extern struct record_description ErrorTypes_Severity_WARNING__desc;
     213#endif
     214#define ErrorTypes__WARNING_3dBOX0 5
     215static const MMC_DEFSTRUCTLIT(ErrorTypes__WARNING__struct,1,5) {&ErrorTypes_Severity_WARNING__desc}};
     216static 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
     220ADD_METARECORD_DEFINITIONS const char* ErrorTypes_Severity_ERROR__desc__fields[1] = {"no fields"};
     221ADD_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 */
     228extern struct record_description ErrorTypes_Severity_ERROR__desc;
     229#endif
     230#define ErrorTypes__ERROR_3dBOX0 4
     231static const MMC_DEFSTRUCTLIT(ErrorTypes__ERROR__struct,1,4) {&ErrorTypes_Severity_ERROR__desc}};
     232static 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
     236ADD_METARECORD_DEFINITIONS const char* ErrorTypes_Severity_INTERNAL__desc__fields[1] = {"no fields"};
     237ADD_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 */
     244extern struct record_description ErrorTypes_Severity_INTERNAL__desc;
     245#endif
     246#define ErrorTypes__INTERNAL_3dBOX0 3
     247static const MMC_DEFSTRUCTLIT(ErrorTypes__INTERNAL__struct,1,3) {&ErrorTypes_Severity_INTERNAL__desc}};
     248static 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
     252ADD_METARECORD_DEFINITIONS const char* ErrorTypes_MessageType_SCRIPTING__desc__fields[1] = {"no fields"};
     253ADD_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 */
     260extern struct record_description ErrorTypes_MessageType_SCRIPTING__desc;
     261#endif
     262#define ErrorTypes__SCRIPTING_3dBOX0 8
     263static const MMC_DEFSTRUCTLIT(ErrorTypes__SCRIPTING__struct,1,8) {&ErrorTypes_MessageType_SCRIPTING__desc}};
     264static 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
     268ADD_METARECORD_DEFINITIONS const char* ErrorTypes_MessageType_SIMULATION__desc__fields[1] = {"no fields"};
     269ADD_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 */
     276extern struct record_description ErrorTypes_MessageType_SIMULATION__desc;
     277#endif
     278#define ErrorTypes__SIMULATION_3dBOX0 7
     279static const MMC_DEFSTRUCTLIT(ErrorTypes__SIMULATION__struct,1,7) {&ErrorTypes_MessageType_SIMULATION__desc}};
     280static 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
     284ADD_METARECORD_DEFINITIONS const char* ErrorTypes_MessageType_SYMBOLIC__desc__fields[1] = {"no fields"};
     285ADD_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 */
     292extern struct record_description ErrorTypes_MessageType_SYMBOLIC__desc;
     293#endif
     294#define ErrorTypes__SYMBOLIC_3dBOX0 6
     295static const MMC_DEFSTRUCTLIT(ErrorTypes__SYMBOLIC__struct,1,6) {&ErrorTypes_MessageType_SYMBOLIC__desc}};
     296static 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
     300ADD_METARECORD_DEFINITIONS const char* ErrorTypes_MessageType_TRANSLATION__desc__fields[1] = {"no fields"};
     301ADD_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 */
     308extern struct record_description ErrorTypes_MessageType_TRANSLATION__desc;
     309#endif
     310#define ErrorTypes__TRANSLATION_3dBOX0 5
     311static const MMC_DEFSTRUCTLIT(ErrorTypes__TRANSLATION__struct,1,5) {&ErrorTypes_MessageType_TRANSLATION__desc}};
     312static 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
     316ADD_METARECORD_DEFINITIONS const char* ErrorTypes_MessageType_GRAMMAR__desc__fields[1] = {"no fields"};
     317ADD_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 */
     324extern struct record_description ErrorTypes_MessageType_GRAMMAR__desc;
     325#endif
     326#define ErrorTypes__GRAMMAR_3dBOX0 4
     327static const MMC_DEFSTRUCTLIT(ErrorTypes__GRAMMAR__struct,1,4) {&ErrorTypes_MessageType_GRAMMAR__desc}};
     328static 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
     332ADD_METARECORD_DEFINITIONS const char* ErrorTypes_MessageType_SYNTAX__desc__fields[1] = {"no fields"};
     333ADD_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 */
     340extern struct record_description ErrorTypes_MessageType_SYNTAX__desc;
     341#endif
     342#define ErrorTypes__SYNTAX_3dBOX0 3
     343static const MMC_DEFSTRUCTLIT(ErrorTypes__SYNTAX__struct,1,3) {&ErrorTypes_MessageType_SYNTAX__desc}};
     344static 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
     348ADD_METARECORD_DEFINITIONS const char* ErrorTypes_Message_MESSAGE__desc__fields[4] = {"id","ty","severity","message"};
     349ADD_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 */
     356extern 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
     363ADD_METARECORD_DEFINITIONS const char* ErrorTypes_TotalMessage_TOTALMESSAGE__desc__fields[2] = {"msg","info"};
     364ADD_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 */
     371extern 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))
    439375#ifdef ADD_METARECORD_DEFINITIONS
    440376#ifndef Values_Value_EMPTY__desc_added
     
    806742#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))
    807743#ifdef ADD_METARECORD_DEFINITIONS
    808 #ifndef GlobalScript_CompiledCFunction_CFunction__desc_added
    809 #define GlobalScript_CompiledCFunction_CFunction__desc_added
    810 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__fields
    815 };
    816 #endif
    817 #else /* Only use the file as a header */
    818 extern struct record_description GlobalScript_CompiledCFunction_CFunction__desc;
    819 #endif
    820 #define GlobalScript__CFunction_3dBOX5 3
    821 #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_DEFINITIONS
    823744#ifndef GlobalScript_Statement_IEXP__desc_added
    824745#define GlobalScript_Statement_IEXP__desc_added
     
    866787#define GlobalScript__ISTMTS(interactiveStmtLst,semicolon) (mmc_mk_box3(3,&GlobalScript_Statements_ISTMTS__desc,interactiveStmtLst,semicolon))
    867788#ifdef ADD_METARECORD_DEFINITIONS
    868 #ifndef GlobalScript_InstantiatedClass_INSTCLASS__desc_added
    869 #define GlobalScript_InstantiatedClass_INSTCLASS__desc_added
    870 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__fields
    875 };
    876 #endif
    877 #else /* Only use the file as a header */
    878 extern struct record_description GlobalScript_InstantiatedClass_INSTCLASS__desc;
    879 #endif
    880 #define GlobalScript__INSTCLASS_3dBOX3 3
    881 #define GlobalScript__INSTCLASS(qualName,daeElementLst,env) (mmc_mk_box4(3,&GlobalScript_InstantiatedClass_INSTCLASS__desc,qualName,daeElementLst,env))
    882 #ifdef ADD_METARECORD_DEFINITIONS
    883789#ifndef GlobalScript_Variable_IVAR__desc_added
    884790#define GlobalScript_Variable_IVAR__desc_added
     
    896802#define GlobalScript__IVAR(varIdent,value,type_) (mmc_mk_box4(3,&GlobalScript_Variable_IVAR__desc,varIdent,value,type_))
    897803#ifdef ADD_METARECORD_DEFINITIONS
    898 #ifndef GlobalScript_LoadedFile_FILE__desc_added
    899 #define GlobalScript_LoadedFile_FILE__desc_added
    900 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__fields
    905 };
    906 #endif
    907 #else /* Only use the file as a header */
    908 extern struct record_description GlobalScript_LoadedFile_FILE__desc;
    909 #endif
    910 #define GlobalScript__FILE_3dBOX3 3
    911 #define GlobalScript__FILE(fileName,loadTime,classNamesQualified) (mmc_mk_box4(3,&GlobalScript_LoadedFile_FILE__desc,fileName,loadTime,classNamesQualified))
    912 #ifdef ADD_METARECORD_DEFINITIONS
    913 #ifndef GlobalScript_SymbolTable_SYMBOLTABLE__desc_added
    914 #define GlobalScript_SymbolTable_SYMBOLTABLE__desc_added
    915 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__fields
    920 };
    921 #endif
    922 #else /* Only use the file as a header */
    923 extern struct record_description GlobalScript_SymbolTable_SYMBOLTABLE__desc;
    924 #endif
    925 #define GlobalScript__SYMBOLTABLE_3dBOX6 3
    926 #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_DEFINITIONS
    928804#ifndef GlobalScript_Component_EXTENDSITEM__desc_added
    929805#define GlobalScript_Component_EXTENDSITEM__desc_added
     
    14101286#ifndef Absyn_Element_DEFINEUNIT__desc_added
    14111287#define Absyn_Element_DEFINEUNIT__desc_added
    1412 ADD_METARECORD_DEFINITIONS const char* Absyn_Element_DEFINEUNIT__desc__fields[3] = {"name","args", "info"};
     1288ADD_METARECORD_DEFINITIONS const char* Absyn_Element_DEFINEUNIT__desc__fields[3] = {"name","args","info"};
    14131289ADD_METARECORD_DEFINITIONS struct record_description Absyn_Element_DEFINEUNIT__desc = {
    14141290  "Absyn_Element_DEFINEUNIT",
     
    14201296extern struct record_description Absyn_Element_DEFINEUNIT__desc;
    14211297#endif
    1422 #define Absyn__DEFINEUNIT_3dBOX2 4
    1423 #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))
    14241300#ifdef ADD_METARECORD_DEFINITIONS
    14251301#ifndef Absyn_Element_ELEMENT__desc_added
     
    42124088}
    42134089#endif
     4090
Note: See TracChangeset for help on using the changeset viewer.