octave-maintainers
[Top][All Lists]
Advanced

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

Re: OCTAVE_HELP vs HELP_OCTAVE


From: John W. Eaton
Subject: Re: OCTAVE_HELP vs HELP_OCTAVE
Date: Thu, 25 Feb 2016 16:40:41 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0

On 02/23/2016 04:46 PM, Mike Miller wrote:
Recent changes have been removing conditionals in the public API and
changing how they are defined when needed. This is good progress.

We now have a mix of macros of the form HAVE_OCTAVE_X and OCTAVE_HAVE_Y,
for example

   HAVE_OCTAVE_DEPRECATED_ATTR
   HAVE_OCTAVE_GUI

   OCTAVE_HAVE_FAST_INT_OPS
   OCTAVE_HAVE_SIG_JUMP

Can we pick one of these? Personally I would prefer all public symbols
to start with OCTAVE_.

Yes, symbols that are used in the public header files should be defined in octave-config.h and start with the prefix "OCTAVE_". These should be symbols that are either features that have been enabled or characteristics of the system that won't change.

But since the symbol in question is OCTAVE_DEPRECATED_ATTR, should we write

  OCTAVE_HAVE_OCTAVE_DEPRECATED_ATTR

?

jwe





reply via email to

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