File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -1350,6 +1350,16 @@ void mulle_objc_universe_assert_loadinfo( struct _mulle_objc_universe *univer
1350
1350
MULLE_OBJC_RUNTIME_LOAD_VERSION );
1351
1351
}
1352
1352
1353
+ //
1354
+ // this is used by mulle-objc-list which just want the info "stream" by
1355
+ // and doesn't care about tps/fcs/tao consistency, as it never makes actual
1356
+ // objective-C calls. but LOAD_VERSION must match. This is like the only
1357
+ // imaginable valid reason to use this flag... Otherwise you're just digging
1358
+ // yourself into a deeper hole
1359
+ //
1360
+ if ( universe -> config .skip_consistency_checks )
1361
+ return ;
1362
+
1353
1363
if ( info -> version .foundation )
1354
1364
{
1355
1365
if ( ! universe -> foundation .universefriend .versionassert )
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ struct _mulle_objc_universeconfig
76
76
unsigned no_classcuster_coverage : 1 ; // don't assume coverage of all direct classcluster subclasses
77
77
unsigned pedantic_exit : 1 ; // useful for leak checks
78
78
unsigned wait_threads_on_exit : 1 ; // useful for tests
79
+ unsigned skip_consistency_checks : 1 ; // used by mulle-objc-list (and mulle-objc-list only)
79
80
int cache_fillrate ; // default is (0) can be 0-90
80
81
};
81
82
You can’t perform that action at this time.
0 commit comments