I am using x64asm code in my C++ project. I am using this code to access my function that is defined in .asm file:
extern "C" void strpl(char* , int*, bool )
what I want is it to have any type pf pointer at first argument instead of just char*
I tried custom template which I googled like so:
template<typename T>
extern "C" void strpl(T const* , int*, bool )
but it says custom type are incompatible with extern "C"
what should I do to have it pass pointer of any type as first argument