C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)

You can declare pTAL-only, or C-only routine identifiers and satisfy both compilers by using the
public name option in:
Interface declarations in C
EXTERNAL procedure declarations in pTAL
In G-series Inspect or H-series Native Inspect sessions:
Use uppercase for pTAL identifiers
Use the given case for C identifiers
Matching Data Types
Use data types that are compatible between languages for:
Shared global variables
Formal or actual parameters
Function return values
Table 23 Compatible pTAL and C Data Types
C Data TypepTAL Data TypepTAL Declaration
Direct data
charSTRINGi;STRING
shortINT (signed)i;INT
intINT(32)j;INT (32)
long longFIXED(0)f;FIXED
floatREALr;REAL
doubleREAL(64)s;REAL(64)
Indirect using 16-bit pointers using the pTAL or TAL model
char *STRING.s;STRING
short *INT.i;INT
int *INT(32).j;INT (32)
long long *FIXED(0).f;FIXED
float *REAL.r;REAL
double *REAL(64).s;REAL(64)
Indirect using 32-bit pointers
char *STRING.EXT s;STRING
short *INT.EXT i;INT
int *INT(32).EXT j;INT (32)
long long *FIXED(0).EXT f;FIXED
float *REAL.EXT r;REAL
double *REAL(64).EXT s;REAL(64)
126 Mixed-Language Programming for TNS/R and TNS/E Native Programs