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

C API and reading a string value #1120

Open
pnorbert opened this issue Jan 31, 2019 · 1 comment
Open

C API and reading a string value #1120

pnorbert opened this issue Jan 31, 2019 · 1 comment
Assignees

Comments

@pnorbert
Copy link
Contributor

In a C application we need to pre-allocate the memory to read in a string value. We need to have a function to retrieve the size of the that value, so we can allocate the correct amount of memory.

@pnorbert
Copy link
Contributor Author

pnorbert commented Feb 5, 2019

Better yet: allocate the memory inside ADIOS for the string or string arrays, and let the app only free it manually when done with it.

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

No branches or pull requests

2 participants