Developer Wouter Van Nifterick has a C-To-Delphi converter tool available over on GitHub under an MIT open source license. The tool contains a split view where you can write standard C code on the left side of the split view and it will show you translated code in Object Pascal (Delphi) on the right side of the split view. The DelphiAST library is used to perform syntax checking on the Delphi code side. Some of the features of the converter tool include:
If you are looking to convert some standard C code to Delphi or utilize some libraries that are written in C from your Delphi applications this converter tool can really give you a head start.
Head over and check out the full source code and download the C-To-Delphi Converter tool.