Skip to content
Brandon Elam Barker edited this page Jun 3, 2020 · 3 revisions

Empty Arrays

Arrays in the public API are rarely empty (I think; see testIsMNull). One case where they can be is after a call to freeMXArray. If you notice another such occurrence, please open an issue so we can make sure everything is as safe as possible. You can use the safe-get methods (mxArrayGetSafe, mxArrayGetFirst, mxArrayGetLast) to guard against this possibility.

Clone this wiki locally