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
An error occurred while wrapping the following code into a CLI :Cannot marshal argument of function IsEqual
typedef int Standard_Integer; typedef char16_t Standard_ExtCharacter; typedef bool Standard_Boolean; class Foo { public:
Standard_Integer a; float b; Standard_ExtCharacter c; inline Standard_Boolean IsEqual(const Standard_ExtCharacter One, const Standard_ExtCharacter Two) { return One == Two; }
}; Replace the code below and work fine.Why? not support typedef ? or not support char16_t ?
#pragma once typedef int Standard_Integer; typedef char16_t Standard_ExtCharacter; typedef bool Standard_Boolean; class Foo { public:
Standard_Integer a; float b; Standard_ExtCharacter c; inline Standard_Boolean IsEqual(const char16_t One, const char16_t Two) { return One == Two; }
}; __declspec(dllexport) Standard_Integer FooAdd(Foo* foo);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
An error occurred while wrapping the following code into a CLI :Cannot marshal argument of function IsEqual
typedef int Standard_Integer;
typedef char16_t Standard_ExtCharacter;
typedef bool Standard_Boolean;
class Foo
{
public:
};
Replace the code below and work fine.Why? not support typedef ? or not support char16_t ?
#pragma once
typedef int Standard_Integer;
typedef char16_t Standard_ExtCharacter;
typedef bool Standard_Boolean;
class Foo
{
public:
};
__declspec(dllexport) Standard_Integer FooAdd(Foo* foo);
The text was updated successfully, but these errors were encountered: