dbl_exec

Execute a routine within a Synergy program

WTSupported in traditional Synergy on Windows

 

USupported on UNIX

 

INT_REG dbl_exec(SEGENTRY *segment, DESCRIP **argblock)

Arguments

segment

A pointer to a segment entry.

argblock

The argument block pointer paired by the Synergy DBL subroutine to the C function.

Discussion

The dbl_exec function executes a Synergy DBL routine.

This function provides a bidirectional calling mechanism between C and Synergy DBL routines. In particular, it enables a C routine to call any routine within a Synergy program (regardless of whether the routine is written in C or Synergy DBL).

The return value is the same as the value that would be returned by the XSTAT subroutine.

It is the calling routine’s responsibility to ensure that the argument block is valid.