Use a void* argument to pass integer OR a pointer

前端 未结 0 1453
长情又很酷
长情又很酷 2021-01-29 01:27

I want to detect if a value of a void* type input function argument is an integer or a pointer. Currently, I\'m passing the integer only (this is Midnight Commander source):

相关标签:
回答
  • 消灭零回复
提交回复
热议问题