Replace pointer to pointer types with a dynamic array structure.
As I'm going fast at the moment and I know this solution it will suffice. But it writes ugly and is error prone in maintenance. So a replacement should be done pretty fast.
As I'm going fast at the moment and I know this solution it will suffice. But it writes ugly and is error prone in maintenance. So a replacement should be done pretty fast.