You've already forked lazarus-ccr
+ 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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user