File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,7 @@ public void Preprocess(Driver driver, ASTContext lib)
35
35
{
36
36
foreach ( var unit in lib . TranslationUnits . Where ( u => u . IsValid ) )
37
37
{
38
- // HACK: work around https://github.com/mono/CppSharp/issues/677
39
- if ( unit . FileName == "locale_classes.tcc" || unit . FileName == "locale_facets.tcc" )
40
- {
41
- unit . ExplicitlyIgnore ( ) ;
42
- }
43
- else
44
- {
45
- IgnorePrivateDeclarations ( unit ) ;
46
- }
38
+ IgnorePrivateDeclarations ( unit ) ;
47
39
}
48
40
49
41
// QString is type-mapped to string so we only need two methods for the conversion
@@ -240,9 +232,6 @@ public void Setup(Driver driver)
240
232
module . CodeFiles . Add ( Path . Combine ( dir , "QChar.cs" ) ) ;
241
233
module . CodeFiles . Add ( Path . Combine ( dir , "QEvent.cs" ) ) ;
242
234
}
243
- var moduleInitializer = Path . GetTempFileName ( ) ;
244
- File . WriteAllText ( moduleInitializer , "internal class ModuleInitializer { internal static void Run() {} }" ) ;
245
- module . CodeFiles . Add ( moduleInitializer ) ;
246
235
247
236
driver . Options . Modules . Add ( module ) ;
248
237
}
You can’t perform that action at this time.
0 commit comments