You've already forked lazarus-ccr
chelper: fix libname writting for non external functions
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1301 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1118,9 +1118,11 @@ begin
|
||||
wr.W(GetPasTypeName(cent.RetType, n.owner));
|
||||
end;
|
||||
wr.W(';');
|
||||
if isDeclExternal(cfg, cent.RetType, isfunc) then wr.W(' external');
|
||||
if cfg.ExtLibName<>'' then wr.W(' '+cfg.ExtLibName);
|
||||
if isDeclExternal(cfg, cent.RetType, isfunc) then begin
|
||||
wr.W(' external');
|
||||
if isfunc and (cfg.ExtLibName<>'') then wr.W(' '+cfg.ExtLibName);
|
||||
wr.W(';');
|
||||
end;
|
||||
if WriteComment then WriteLnCommentForOffset(cent.Offset);
|
||||
end;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user