The calling convention that can be used when invoking an
external function from VisualAge is limited by platform. The following
table shows the supported PlatformFunction calling conventions and
their equivalent C function modifiers on each operating system
platform. In the table, a (none) indicates that no function
modifier is needed and blank indicates the calling convention is not
supported.
| Calling Convention | OS/2 | Windows 95/98 | Windows NT | UNIX |
| 'c' | __stdcall | __stdcall | __stdcall | (none) |
| 'pascal16' | _Far16 _Pascal | __far __pascal |
|
|
| 'pascal' | _Pascal |
|
|
|
| 'cdecl16' | _Far16 _Cdecl | __far __cdecl |
|
|
| ||||
For information on calling conventions for OS/390, refer to materials on accessing DLLs or load modules in the VisualAge Smalltalk Server Guide.