mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 21:00:34 +02:00
codetools: added ctypes pointer types
git-svn-id: trunk@14538 -
This commit is contained in:
parent
0b277dd71a
commit
3c69d6a067
@ -33,7 +33,7 @@ program H2PasTest;
|
||||
uses
|
||||
Classes, SysUtils, CodeCache, CodeToolManager, FileProcs,
|
||||
CodeAtom, CodeTree, NonPascalCodeTools, CCodeParserTool,
|
||||
H2PasTool;
|
||||
H2PasTool, ctypes;
|
||||
|
||||
const
|
||||
ConfigFilename = 'codetools.config';
|
||||
|
@ -277,6 +277,7 @@ begin
|
||||
inc(p);
|
||||
CType:=copy(CType,1,CurAtomStart-1)+copy(CType,p,length(CType));
|
||||
p:=CurAtomStart;
|
||||
DebugLn(['TH2PasTool.ConvertSimpleCTypeToPascalType CType="',CType,'"']);
|
||||
end;
|
||||
until false;
|
||||
Result:=PredefinedCTypes[CType];
|
||||
|
Loading…
Reference in New Issue
Block a user