[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support |
Date: |
Mon, 10 Oct 2011 12:28:01 -0500 |
I was talking about jwe in #octave about this whole business, and
frankly, I think these OCTAVE_PTR_TYPE macros are a very ugly
solution. Casting pointers to integers and back is highly nonportable
and error-prone. If this is going to be part of Octave, why not patch
Octave instead? Would you be happy with an octave_ptr<T> class derived
from octave_value? It would give you T* pointers. jwe was thinking of
a more general class, octave_mem or something like that, which simply
holds a chunk of memory.
I think it's a better solution than trying to second-guess
architectures with CPP.
- Jordi G. H.
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, (continued)
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Ben Abbott, 2011/10/09
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Martin Helm, 2011/10/09
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael Goffioul, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Ben Abbott, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael Goffioul, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Ben Abbott, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael Goffioul, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Martin Helm, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, bpabbott, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael Goffioul, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support,
Jordi Gutiérrez Hermoso <=
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael Goffioul, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Jordi Gutiérrez Hermoso, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael Goffioul, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Jordi Gutiérrez Hermoso, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael D Godfrey, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Ben Abbott, 2011/10/10
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael Goffioul, 2011/10/11
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, bpabbott, 2011/10/11
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, Michael Goffioul, 2011/10/11
- Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support, bpabbott, 2011/10/11