Skip to content

Commit d1553c8

Browse files
committed
Set output on context
1 parent 4fc6530 commit d1553c8

File tree

1 file changed

+1
-0
lines changed
  • matlab/src/cpp/arrow/matlab/array/proxy

1 file changed

+1
-0
lines changed

matlab/src/cpp/arrow/matlab/array/proxy/array.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ void Array::exportToC(libmexclass::proxy::method::Context& context) {
195195
mda::StructArray output = factory.createStructArray({1, 1}, {"ArrowArrayAddress", "ArrowSchemaAddress"});
196196
output[0]["ArrowArrayAddress"] = factory.createScalar(reinterpret_cast<uint64_t>(arrow_array));
197197
output[0]["ArrowSchemaAddress"] = factory.createScalar(reinterpret_cast<uint64_t>(arrow_schema));
198+
context.outputs[0] = output;
198199
}
199200

200201
} // namespace arrow::matlab::array::proxy

0 commit comments

Comments
 (0)