Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for WinApi calling directive #316

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Irame
Copy link

@Irame Irame commented Oct 27, 2021

No description provided.

@bogdanpolak
Copy link

@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?

@darnocian
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants