TAL Programmer's Guide

TAL and C Guidelines
Mixed-Language Programming
17–26 096254 Tandem Computers Incorporated
Here are examples of TAL and C structure pointers (large-memory-model) that
implement a linked list:
TAL Code C Code
STRUCT rec (
*
); struct rec
BEGIN {
INT x; short x;
INT .EXT strptr (rec); struct rec *p;
END; };
STRUCT .EXT joe (rec); struct rec joe;
PROC callme (param1); void f1 (struct rec *);
INT .EXT param1 (rec);
EXTERNAL;