Skip to content

Commit

Permalink
Set output on context
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed May 9, 2024
1 parent 4fc6530 commit d1553c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions matlab/src/cpp/arrow/matlab/array/proxy/array.cc
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ void Array::exportToC(libmexclass::proxy::method::Context& context) {
mda::StructArray output = factory.createStructArray({1, 1}, {"ArrowArrayAddress", "ArrowSchemaAddress"});
output[0]["ArrowArrayAddress"] = factory.createScalar(reinterpret_cast<uint64_t>(arrow_array));
output[0]["ArrowSchemaAddress"] = factory.createScalar(reinterpret_cast<uint64_t>(arrow_schema));
context.outputs[0] = output;
}

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

0 comments on commit d1553c8

Please sign in to comment.