Skip to content

Commit 95c04e9

Browse files
authored
fix Issue 23698 - ImportC: __stdcall is not documented as supported MSVC/DMC extensions (#3580)
1 parent 27a7e23 commit 95c04e9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

spec/importc.dd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,9 +626,17 @@ $(H2 $(LNAME2 gnu-clang-extensions, Gnu and Clang Extensions))
626626

627627
$(H2 $(LNAME2 visualc-extensions, Visual C Extensions))
628628

629+
$(P All the $(RELATIVE_LINK2 digital-mars-extensions, Digital Mars C Extensions).)
629630

630631
$(H2 $(LNAME2 digital-mars-extensions, Digital Mars C Extensions))
631632

633+
$(H3 $(LNAME2 __stdcall, `__stdcall` Function Calling Convention))
634+
635+
$(P This sets the calling convention for a function to the Windows API calling convention.)
636+
637+
---
638+
int __stdcall foo(int x);
639+
---
632640

633641
$(H2 $(LNAME2 d-side, ImportC from D's Point of View))
634642

0 commit comments

Comments
 (0)