2
0
Эх сурвалжийг харах

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

woollybah 6 жил өмнө
parent
commit
d2be2db198
1 өөрчлөгдсөн 1 нэмэгдсэн , 11 устгасан
  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