+ removed comments from pascal external variables.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@723 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
skalogryz
2009-02-26 13:17:21 +00:00
parent 0c2e22da08
commit c331110de0

View File

@ -835,7 +835,7 @@ var
s : AnsiString;
begin
tp := TTypeDef(v._Type);
s := Format('%s : %s; // external name ''%s''; ', [v._Name, ObjCToDelphiType(tp._Name, tp._IsPointer), v._Name] );
s := Format('%s : %s; external name ''%s''; ', [v._Name, ObjCToDelphiType(tp._Name, tp._IsPointer), v._Name] );
Vars.Add(SpacePrefix + s);
end;
@ -885,7 +885,7 @@ begin
restype := ObjCToDelphiType(fntype, isptr);
s:= GetProcFuncHead(f._Name, '', CParamsListToPascalStr(f._ParamsList), restype) + ' cdecl';
st.Add( s);
s := Format(' external name ''_%s'';', [f._Name]);
s := Format(' external name ''_%s'';', [f._Name]);
st.Add(s);
end;