Generate struct helper functions (allocator, from_list, to_list)
Source:R/header_parsing_codegen.R
generate_struct_helpers.RdCreates convenience functions for working with a struct type:
new_<struct>(): Allocate a new struct, optionally initialize from values<struct>_to_list(): Convert struct pointer to R list