Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3376] Re: Road to Reentrancy

Date2003-11-18 01:15
From"Michael Gogins"
Subject[CSOUND-DEV:3376] Re: Road to Reentrancy
Not exactly... the header files need to be reorganized. Currently there is
not a good separation in the header files, and too many internal things need
to be exposed in the API.

As a first step, we should probably move as much of cs.h into csound.h as we
need (but no more) to ensure that plugin opcodes ONLY need csound.h for
anything they want to do.

============================================
Michael Gogins
gogins at pipeline period com
Irreducible Productions
CsoundVST, an extended version of Csound for programming music and sound
Available at http://sourceforge.net/projects/csound/
============================================


----- Original Message ----- 
From: "stevenyi" 
To: "Csound Developers Discussion List" 
Sent: Monday, November 17, 2003 12:39 AM
Subject: [CSOUND-DEV:3352] Re: Road to Reentrancy


> Hi all,
>
> It seems to me now that opcode plugins, since they won't be using the
> API functions as defined in csound.h but rather should be accessing
> through the GLOBAL *, then csound.h can be considered the host API and
> cs.h in it's current form is something that would eventually become a
> plugin API, yes?
>
> steven
>

Date2003-11-18 02:22
From"Matt J. Ingalls"
Subject[CSOUND-DEV:3377] Re: Road to Reentrancy
> As a first step, we should probably move as much of cs.h into csound.h as we
> need (but no more) to ensure that plugin opcodes ONLY need csound.h for
> anything they want to do.

i think i have mentioned about 3000 times on this list i have already done
this! and  i sent the relative code to this list and to john ffitch it
must be over a year ago now.  I just made the assumption

HOWEVER, passing a struct with just the function pointers in the API
functions would greatly reduce the amount of definitions needed in
csound.h.. and this is something i would prefer to see!

-m

Date2003-11-18 11:47
Fromjpff@cs.bath.ac.uk
Subject[CSOUND-DEV:3381] Re: Road to Reentrancy
>>>>> "Matt" == Matt J Ingalls  writes:

 Matt> i think i have mentioned about 3000 times on this list i have already done
 Matt> this! and  i sent the relative code to this list and to john ffitch it
 Matt> must be over a year ago now.  I just made the assumption

The changes were to a file called csound.h which I do not maintain and
do not use.  I could not work out what I was supposed to do with them
so they have remained on the "todo" heap

==John ffitch

Date2003-11-18 19:22
From"Matt J. Ingalls"
Subject[CSOUND-DEV:3390] Re: Road to Reentrancy
> The changes were to a file called csound.h which I do not maintain and
> do not use.  I could not work out what I was supposed to do with them
> so they have remained on the "todo" heap

ok, thank you for the explanation.  there were also changes to about 15
other files, including much to cs.h and sysdep.h, which i assumed was too
much to deal with and why i was talking to steven about trying to get a
separate API for hosts as an alternative.  -- which i think is a better
approach in the long run anyway..

-m