Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Blinker 5.10 Online Reference - <b> function calling conventions</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Function calling conventions
------------------------------------------------------------------------------
 For compatibility with other environments, the Blinker DOS extender
 functions all begin with the word `Dos' and use the PASCAL calling
 conventions. Function prototypes for these functions are defined in the
 header file BLX286.H in the C subdirectory of the Blinker installation
 directory. These functions should only be called from a low level language
 such as C or Assembly language.

 All other Blinker functions use the C calling conventions, and are provided
 with interfaces to most languages. These interfaces are defined in the
 language include files BLINKER.BI, BLINKER.H, BLINKER.CH, BLINKER.FI,
 BLINKER.HDR, BLINKER.DEF and BLINKER.INC. These files can be found in the
 BAS, C, CLP, FOR, FRC, MOD and PAS subdirectories respectively of the
 Blinker installation directory.

 The CA-Clipper functions interface uses the CA-Clipper Extend system, and
 requires no special treatment as far as the CA-Clipper programmer is
 concerned.

 The BASIC interface is identical to the C interface for simple data types,
 but strings require special treatment. For this reason, any of the Blinker
 functions which pass or return string values have the suffix 'BAS' appended
 to the normal function name.

 The C interface uses the following calling conventions:

 . Simple data types are passed on the stack
 . Strings are passed by far reference
 . Parameters are passed in reverse order, i.e. the last parameter is
   pushed onto the stack first.

 which are the same as standard C calling conventions.
 Languages for which no interface is provided should use the C interface.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson