calling convention


Also found in: Wikipedia.

calling convention

(programming)
The arrangement of arguments for a procedure or function call. Different programming languages may require arguments to be pushed onto a stack or entered in registers in left-to-right or right-to left order, and either the caller or the callee can be responsible for removing the arguments. The calling convention also determines if a variable number of arguments is allowed.
References in periodicals archive ?
According to Google, the shift to 64 bits provides a marked improvement in rendering speed, thanks to the latest compiler and processor optimizations and "a calling convention that allows more function parameters to be passed quickly by registers.
Calling Convention -- Objective Grid now can be linked to
CLD) compatibility and the GNU calling convention, so that C code written using the Motorola tools can be recompiled/assembled with TASKING tools with an average 25% code improvement.
This makes it possible to integrate object-oriented applications with existing programs written in C, and with libraries that use a C calling convention.
PGI Visual Fortran incorporates compatibility features that simplify upgrading from legacy 32-bit Fortran for Windows to 64-bit platforms, including support for Windows 32-bit application programming interfaces (APIs), calling conventions, directives, and de facto standard utilities libraries.
Also, additional calling conventions (ways in which the function call and function return are coded) have been added and these can be optionally used to further increase the speed of the compiled program.
Similarly, the Foundations-specification effort gained consensus on calling conventions, result/error reporting, and event handling issues, and is on track for early 2Q completion.
The compiler, which generates minimal overhead while mixing C and assembly, supports user-specifiable calling conventions that call legacy assembly functions from C code.