Csound Csound-dev Csound-tekno Search About

[Cs-dev] API Question

Date2005-07-25 07:59
FromDavid Akbari
Subject[Cs-dev] API Question
Hi List,

I was just wondering what the Csound 4 equivalent of Csound5 API pointer

csound->Die();

was and what header file does it live in?

TIA,


-David



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-07-25 11:40
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] API Question
>>>>> "David" == David Akbari  writes:

 David> Hi List,
 David> I was just wondering what the Csound 4 equivalent of Csound5 API pointer

 csound-> Die();

 David> was and what header file does it live in?

It was called die and is in prototyp.h

prototyp.h:void die(char *), dies(char *, char *);

==John ffitch


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-07-25 12:49
FromIstvan Varga
SubjectRe: [Cs-dev] API Question
jpff@cs.bath.ac.uk wrote:

>  David> I was just wondering what the Csound 4 equivalent of Csound5 API pointer
> 
>  csound-> Die();
> 
>  David> was and what header file does it live in?
> 
> It was called die and is in prototyp.h
> 
> prototyp.h:void die(char *), dies(char *, char *);

If you are converting Csound 5 code to Csound 4, note that csound->Die()
can take a printf-like format string and variable number of arguments;
this is not supported by Csound 4 die() and dies().


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net