Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


CDECL

The CDECL call interface convention is used by many Windows C and C++ systems. With CDECL, all general-purpose registers are preserved except for EAX, ECX, and EDX.

The following rules apply to CDECL:

When you build export or import lists in module definition files, use the decorated version of the name. If you use undecorated names in the module definition file, you must give the object files to the ILIB utility along with the module definition file. ILIB will use the object files to determine how each name ended up after decoration.

related tasks
Calling between COBOL and C/C++ programs
Creating module definition files

related references
CALLINT
ENTRYINT
Compiler-directing statements


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)