|
@@ -98,14 +98,6 @@ implementation
|
|
|
begin
|
|
|
{ insert sharedlibrary }
|
|
|
{ current_module.linkothersharedlibs.add(SplitName(module),link_allways); }
|
|
|
- { force the mangledname }
|
|
|
- if assigned(aprocdef) then
|
|
|
- begin
|
|
|
- if (aprocdef.proccalloption in [pocall_cdecl,pocall_cppdecl]) then
|
|
|
- aprocdef.setmangledname(target_info.Cprefix+name)
|
|
|
- else
|
|
|
- aprocdef.setmangledname(name);
|
|
|
- end;
|
|
|
end;
|
|
|
|
|
|
|
|
@@ -142,14 +134,6 @@ procedure timportlibbsd.importprocedure(aprocdef:tprocdef;const module:string;in
|
|
|
begin
|
|
|
{ insert sharedlibrary }
|
|
|
current_module.linkothersharedlibs.add(SplitName(module),link_allways);
|
|
|
- { do nothing with the procedure, only set the mangledname }
|
|
|
-{ if name<>'' then
|
|
|
- begin
|
|
|
- aprocdef.setmangledname(name);
|
|
|
- end
|
|
|
- else
|
|
|
- message(parser_e_empty_import_name);
|
|
|
-}
|
|
|
end;
|
|
|
|
|
|
|
|
@@ -628,7 +612,10 @@ initialization
|
|
|
end.
|
|
|
{
|
|
|
$Log$
|
|
|
- Revision 1.25 2004-11-19 14:21:44 marco
|
|
|
+ Revision 1.26 2004-11-19 16:30:24 peter
|
|
|
+ * fixed setting of mangledname when importing
|
|
|
+
|
|
|
+ Revision 1.25 2004/11/19 14:21:44 marco
|
|
|
* cycle fix.
|
|
|
|
|
|
Revision 1.24 2004/11/08 22:09:59 peter
|