Csound Csound-dev Csound-tekno Search About

[Cs-dev] Where should new constants go?

Date2007-05-16 04:44
FromAnthony Kozar
Subject[Cs-dev] Where should new constants go?
I am working some more on implementing the FileOpen callback and I realized
that the enumeration that I added to csoundCore.h is not accessible from the
host API (csound.h).  I had been assuming that csoundCore.h was included by
both csound.h and csdl.h, but I see now that it is not.

I need the CSOUND_FILETYPES enumeration to be available to both plugins and
to host applications.  Does anyone have any suggestions for where the best
place to put it would be??

There are some constants in text.h and msg_attr.h, both of which are
included by csound.h and hence, csdl.h.  Should I put the enumeration in one
of these or should I add another public header?  A new header would then
have to be added to the installer targets and distributions.

Thanks.

Anthony


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net