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

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

[Octave-bug-tracker] [bug #64419] isequal fails for old-style @audioplay


From: Rik
Subject: [Octave-bug-tracker] [bug #64419] isequal fails for old-style @audioplayer, @audiorecorder objects
Date: Thu, 13 Jul 2023 20:26:28 -0400 (EDT)

Update of bug #64419 (project octave):

                Priority:              5 - Normal => 3 - Low                
                 Summary: isequal fails for old-style @class objects =>
isequal fails for old-style @audioplayer, @audiorecorder objects

    _______________________________________________________

Follow-up Comment #2:

Well, the cause of this is peculiar to the coding of @audioplayer and
@audiorecorder.  Instead of storing property names and values in a struct
which is then made into an object with class(), the constructor for these
objects creates a struct with a single field which is effectively a pointer to
a C++ object.  Hence, calling struct() on the object does return the correct
thing.  However, unlike the @ftp class which does something similar in storing
a pointer, the audioplayer classes store something that always looks like 0
when displayed and is probably something like a C++ octave_class value.

I don't care to debug this further.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64419>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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