DelphiAST
DelphiAST copied to clipboard
Adding support for WinApi calling directive
@Irame can you please add a little more context here or bind it with the open issue? I see sample test file:
type
TMyWinApiFunc = function(): Integer; winapi;
TMyWinApiProc = procedure(); winapi;
function MyWinApiFunc(): Integer; winapi;
procedure MyWinApiProc(); winapi;
and guessing that DelphiAST is failing when parsing winapi
key word?
I don't know if this is required. Win API calls are normally stdcall.
https://learn.microsoft.com/en-us/cpp/cpp/stdcall?view=msvc-170