Hi,
I have a C++ class with code as in below:
This I need to call in a .c file, which I did with extern "C" definitions with a C wrapper as in below:
I am getting errors if I compile this, same above static class member function I am able to call in a .cpp file and build successfully.
But I am unable to call in .c file.
The errors I am getting when calling from .c file are:
1. In class declaration :
2. In .c wrapper function where I am calling static class member function I am getting the error " at the scope resolution operator
Kindly help me solve this.