mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 11:38:01 +02:00

that don't have an import name specified explicitly. The previous behaviour wasn't very useful, because it included the current module name in the mangled name and that was very unlikely to be the correct name of a routine in a different module. The new behaviour is also BP7 and Delphi compatible. git-svn-id: trunk@32385 -
16 lines
240 B
ObjectPascal
16 lines
240 B
ObjectPascal
procedure TestProc1; external;
|
|
procedure TestProc2; pascal; external;
|
|
|
|
procedure Ext_TestProc1; public name 'TestProc1';
|
|
begin
|
|
end;
|
|
|
|
procedure Ext_TestProc2; pascal; public name 'TestProc2';
|
|
begin
|
|
end;
|
|
|
|
begin
|
|
TestProc1;
|
|
TestProc2;
|
|
end.
|