0

I'm trying to create a type generic function in C. As an argument I was passing on a void pointer. (The programmer using the function would be able to pass on a pointer of any type). However, this of course presents problems when dereferencing said pointer in the function. Any ideas as to how I can solve this problem? Thanks!

user3126802
  • 419
  • 8
  • 19

0 Answers0