#NEWLINE# def get_list_payload( context , builder , list_type , value ) : #NEWLINE# #INDENT# '\n    Given a list value and type, get its payload structure (as a\n    reference, so that mutations are seen by all).\n    ' #NEWLINE# payload_type = types . ListPayload ( list_type ) #NEWLINE# payload = context . nrt_meminfo_data ( builder , value . meminfo ) #NEWLINE# ptrty = context . get_data_type ( payload_type ) . as_pointer ( ) #NEWLINE# payload = builder . bitcast ( payload , list_type ) #NEWLINE# return context . make_data_helper ( builder , payload_type , ref = payload )