We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if the class written as
class MyClass{ //some method };
it works fine.
but
class MYLIBRARY_EXPORT MyClass{ //some method };
not works.
The text was updated successfully, but these errors were encountered:
Im not sure about the implementation of functions for this case. Could you give an example?
class MYLIBRARY_EXPORT MyClass{ void test(); };
Should it be
void MyClass::test() { }
Also I'm curious about the use cases of MYLIBRARY_EXPORT. Is it a macro? Is it used for Windows?
MYLIBRARY_EXPORT
Sorry, something went wrong.
yes , for windows.
#ifdef WIN32 #ifdef MY_LIB #define MYLIBRARY_EXPORT __declspec(dllexport) #else #define MYLIBRARY_EXPORT __declspec(dllimport) #endif #else #define MYLIBRARY_EXPORT #endif class MYLIBRARY_EXPORT MyClass{ void test(); };
A proper solution cannot be given until this issue is fixed from the cpp treesitter parser
No branches or pull requests
if the class written as
it works fine.
but
not works.
The text was updated successfully, but these errors were encountered: