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

SWIG - double array in struct to c# - SWIGTYPE_p_double #1

Open
zjmsky opened this issue Feb 20, 2019 · 0 comments
Open

SWIG - double array in struct to c# - SWIGTYPE_p_double #1

zjmsky opened this issue Feb 20, 2019 · 0 comments

Comments

@zjmsky
Copy link

zjmsky commented Feb 20, 2019

HI:
I have an question. I'm trying to use swig to wrap some native dll, which contains struct looking like this:
struct Test
{ double Price[20];
};
and c# representation for Price is not an array, but SWIGTYPE_p_double. Is there way to tell swig to interpret my float Price[20] as an array, and not SWIGTYPE_p_double?

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

1 participant