File tree 3 files changed +4
-6
lines changed
3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -143,10 +143,8 @@ private GeneratorOutput GenerateModuleTemplate(Module module)
143
143
144
144
protected abstract string TypePrinterDelegate ( CppSharp . AST . Type type ) ;
145
145
146
- public static string GeneratedIdentifier ( string id )
147
- {
148
- return "__" + id ;
149
- }
146
+ public static string GeneratedIdentifier ( string id ) =>
147
+ $ "__{ ( id . StartsWith ( "@" ) ? id . Substring ( 1 ) : id ) } ";
150
148
151
149
public void Dispose ( )
152
150
{
Original file line number Diff line number Diff line change @@ -848,7 +848,7 @@ HasOverloadsWithDifferentPointerKindsToSameType::~HasOverloadsWithDifferentPoint
848
848
{
849
849
}
850
850
851
- void HasOverloadsWithDifferentPointerKindsToSameType::overload (int & i )
851
+ void HasOverloadsWithDifferentPointerKindsToSameType::overload (int & in )
852
852
{
853
853
}
854
854
Original file line number Diff line number Diff line change @@ -1310,7 +1310,7 @@ class DLL_API HasOverloadsWithDifferentPointerKindsToSameType
1310
1310
public:
1311
1311
HasOverloadsWithDifferentPointerKindsToSameType ();
1312
1312
~HasOverloadsWithDifferentPointerKindsToSameType ();
1313
- void overload (int & i );
1313
+ void overload (int & in );
1314
1314
void overload (int && i);
1315
1315
void overload (const int & i);
1316
1316
void overload (const Foo& rx, int from = -1 );
You can’t perform that action at this time.
0 commit comments