carray_to_list ============== .. currentmodule:: globalmapper .. py:function:: carray_to_list (uint32 arr, uint32 size) -> list Converts a C-style array starting at memory address *arr* that is *size* members long into a Python-style list, and returns that list. :param uint32 arr: The pointer to the start of the array :param uint32 size: The number of members in the array :returns: A list form of the array that starts at *arr* :rtype: list Example ------- The following is an example of carray_to_list.:: shader_list = gm.carray_to_list(shader_array, size) For more context refer to :doc:`the tutorial page on setting pointers<../sampleCode/DemoPointers>`.