Skip to content
New issue

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

use “std::list ” Wrong code generated #1878

Open
goon7203233 opened this issue Oct 16, 2024 · 0 comments
Open

use “std::list ” Wrong code generated #1878

goon7203233 opened this issue Oct 16, 2024 · 0 comments

Comments

@goon7203233
Copy link

xxxx.h

extern "C"
{
class TestCppSharp
{
public:
int order;
int bytes;
TestCppSharp();

};

class CppSharpOrder
{
public:
    int OrderID = 1;
    int CustomerID = 2;
    int EmployeeID = 3;
    int ShipVia = 4;
    double Freight = 5;
};

class CppSharpDatabase
{
public:
    std::list<CppSharpOrder> Orders;

};

}

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@goon7203233 and others