mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
17 lines
451 B
C
17 lines
451 B
C
typedef void (*CFunctionPointer)();
|
|
typedef void (__stdcall *StdCallFunctionPointer)();
|
|
|
|
void cFunction()
|
|
{}
|
|
|
|
void __stdcall stdcallFunction()
|
|
{}
|
|
|
|
void __stdcall takesCFunctionPointer(CFunctionPointer f)
|
|
{}
|
|
|
|
void takesStdCallFunctionPointer(StdCallFunctionPointer f)
|
|
{}
|
|
|
|
typedef void (__stdcall *StdCallFunctionPointerTakingCFunctionPointer)(CFunctionPointer f);
|
|
typedef void (*CFunctionPointerTakingStdCallFunctionPointer)(StdCallFunctionPointer f);
|