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)
3535 {
3636 foreach ( var unit in lib . TranslationUnits . Where ( u => u . IsValid ) )
3737 {
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 ) ;
4739 }
4840
4941 // QString is type-mapped to string so we only need two methods for the conversion
@@ -240,9 +232,6 @@ public void Setup(Driver driver)
240232 module . CodeFiles . Add ( Path . Combine ( dir , "QChar.cs" ) ) ;
241233 module . CodeFiles . Add ( Path . Combine ( dir , "QEvent.cs" ) ) ;
242234 }
243- var moduleInitializer = Path . GetTempFileName ( ) ;
244- File . WriteAllText ( moduleInitializer , "internal class ModuleInitializer { internal static void Run() {} }" ) ;
245- module . CodeFiles . Add ( moduleInitializer ) ;
246235
247236 driver . Options . Modules . Add ( module ) ;
248237 }
You can’t perform that action at this time.
0 commit comments