Add the new shape information to the ResultsRecord for generated C code.