There is a segfault if a double quoted string contains "\0". Currently I use octave_value (const char, char) to create an octave_value form const char. But the correct way is using the constructor of Array to copy the cont char* to the array buffer. The size of the buffer will be taken by the user defined string literal.
There is a segfault if a double quoted string contains "\0". Currently I use octave_value (const char, char) to create an octave_value form const char. But the correct way is using the constructor of Array to copy the cont char* to the array buffer. The size of the buffer will be taken by the user defined string literal.