Should the return type be of the wrapper class nnc_index_list_type * here? (And in the declaration?)