This example shows the C code for a simple aggregate function that uses a TD_ANYTYPE input parameter.