Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#30 change the name of the header-file

open
2
2006-01-31
2006-01-31
No

pd is the only software i know which has such a weird
naming for the public header: "m_pd.h"
while this name is logical within pd's internal naming
scheme (as explained in src/notes.txt) i think it is an
annoyance to have a "/usr/include/m_pd.h" file after
installation.
i would like to propose the official header file to be
called "pd.h"

for compatibility reasons we could still provide an
"m_pd.h" which in turn includes "pd.h".
i would suggest to emit a warning (via the "#warning"
or the "#pragma warn" preprocessor directoves, to
indicate that the m_pd.h-header is deprecated for
externals.
in a second step (after a grace period of say 6
months), we could even put an "#error" into the m_pd.h.

a simpler possibility would be to add a "pd.h" which
includes "m_pd.h"

i know that this is really just cosmetic.

mfga.sdr
IOhannes

Discussion

  • Logged In: YES
    user_id=27104

    I concur, plus I think its more than just cosmetic.
    Following standard naming schemes makes it easier to learn
    and use software.

     


Anonymous


Cancel   Add attachments