I plan to use Julia as one of the languages that manipulates array of data that come from C/C++ programs. So I need to embed Julia. That works alright. However I need to pass array of basic types from C to Julia that includes integers, numbers, strings, datetime. There are quite good example for passing numeric arrays, and I am happy with them, but I need some advice in how to pass date time ARRAY variables (date, daytime, datetime), and strings. Ideally would be a zero copy mechanism, of course, yet I am eager to learn about any other solution.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Does the function String() destroy its argument? | 9 | 706 | December 12, 2022 | |
Calling Julia from C: printing array of strings? | 10 | 542 | June 26, 2023 | |
How to build a wrapper around a C-style array using Julia C API? | 4 | 144 | May 31, 2025 | |
Passing multiple C arguments to Julia function | 4 | 770 | January 5, 2021 | |
C Interface -- How to store an element in a C array | 4 | 1061 | March 22, 2019 |