octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #51725] Adding mxGetProperty to Matlab API


From: Piotr Held
Subject: [Octave-bug-tracker] [bug #51725] Adding mxGetProperty to Matlab API
Date: Fri, 11 Aug 2017 16:54:44 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36

Follow-up Comment #4, bug #51725 (project octave):

I have 2 more questions to this:

1. Shouldn't all the mxDoSomething (mxArray *ptr) check if the ptr is not
nullptr if we are calling a mxArray method?

2. Shouldn't you try to throw garbage at mxGetProperty and write some tests
like that as well?
(eg. give it a nullptr, or give it a struct as input)

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51725>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]