octave-maintainers
[Top][All Lists]
Advanced

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

Re: Patch to Octave shutdown procedures


From: Jaroslav Hajek
Subject: Re: Patch to Octave shutdown procedures
Date: Wed, 20 May 2009 13:37:51 +0200

On Wed, May 20, 2009 at 12:49 PM, Michael Goffioul
<address@hidden> wrote:
> On Wed, May 20, 2009 at 10:50 AM, Jaroslav Hajek <address@hidden> wrote:
>> I tagged octave_exit as OCTINTERP_API:
>> http://hg.savannah.gnu.org/hgweb/octave/rev/00ce0ae4ec63
>
> As I mentioned, I'm not sure about that syntax, as it's not a
> regular type, but a function pointer type (I cannot test at the
> moment). That's why I proposed the second one. Anyway,
> I'll try in my next build (probably this evening, or tomorrow)
>
> Michael.

I assumed it works the same way gcc attributes do, i.e. applies to the
declared name. But I see even GCC does not actually guarantee this
will work in the future (section Attribute syntax in the manual), so I
changed that to the typedef form.

cheers

-- 
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


reply via email to

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