Forráskód Böngészése

Don't generate "alias" entries for x86 defs.

woollybah 6 éve
szülő
commit
d2be2db198
1 módosított fájl, 1 hozzáadás és 11 törlés
  1. 1 11
      ctranslator.bmx

+ 1 - 11
ctranslator.bmx

@@ -6138,19 +6138,9 @@ End If
 		Emit "EXPORTS"
 		
 		For Local decl:TFuncDecl=EachIn app.exportDefs
-			Emit "~t" + TransExportDef(decl, False)
+			Emit "~t" + TransExportDef(decl, opt_arch = "x86")
 		Next
 
-		If opt_arch = "x86" Then
-			Emit "~n"
-			
-			For Local decl:TFuncDecl=EachIn app.exportDefs
-				If decl.attrs & DECL_API_STDCALL Then
-					Emit "~t" + TransExportDef(decl, True) + " = " + TransExportDef(decl, False)
-				End If
-			Next
-		End If
-		
 		Emit "~n"
 	End Method