because that's how the API of the board im using is written
C API's often use pointer because references don't exist in C, that says nothing about the objects needing to be dynamically allocated or dealt with by pointers/smart pointers