Csound Csound-dev Csound-tekno Search About

[Cs-dev] question about C++ API

Date2010-06-02 20:51
FromFelipe Sateler
Subject[Cs-dev] question about C++ API
Why does the C++ API export C symbols? Shouldn't these move to the C
library? Also, some (I think) helpers are being exported, maybe these
should be hidden?


(maybe) helpers:

 gatherArgs
 trimQuotes
 scatterArgs
 parseInstrument
 trim
 getline
 isToken
 findToken


C functions:

 csoundCompileCsd
 csoundCsdAddEvent10
 csoundCsdAddEvent11
 csoundCsdAddEvent3
 csoundCsdAddEvent4
 csoundCsdAddEvent5
 csoundCsdAddEvent6
 csoundCsdAddEvent7
 csoundCsdAddEvent8
 csoundCsdAddEvent9
 csoundCsdAddScoreLine
 csoundCsdCompile
 csoundCsdCreate
 csoundCsdGetOptions
 csoundCsdGetOrchestra
 csoundCsdPerform
 csoundCsdSave
 csoundCsdSetOptions
 csoundCsdSetOrchestra
 csoundNewCSD
 csoundPerformCsd
 csoundPerformLoop
 perfthread
 staticBuffer

-- 

Saludos,
Felipe Sateler

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-06-02 21:18
FromVictor Lazzarini
SubjectRe: [Cs-dev] question about C++ API
What exactly is what you are calling the C++ API? The 'interfaces'   
library libcsnd or the C++ class Csound which inlines calls to the C  
API in libcsound?

Victor


On 2 Jun 2010, at 20:51, Felipe Sateler wrote:

> Why does the C++ API export C symbols? Shouldn't these move to the C
> library? Also, some (I think) helpers are being exported, maybe these
> should be hidden?
>
>
> (maybe) helpers:
>
> gatherArgs
> trimQuotes
> scatterArgs
> parseInstrument
> trim
> getline
> isToken
> findToken
>
>
> C functions:
>
> csoundCompileCsd
> csoundCsdAddEvent10
> csoundCsdAddEvent11
> csoundCsdAddEvent3
> csoundCsdAddEvent4
> csoundCsdAddEvent5
> csoundCsdAddEvent6
> csoundCsdAddEvent7
> csoundCsdAddEvent8
> csoundCsdAddEvent9
> csoundCsdAddScoreLine
> csoundCsdCompile
> csoundCsdCreate
> csoundCsdGetOptions
> csoundCsdGetOrchestra
> csoundCsdPerform
> csoundCsdSave
> csoundCsdSetOptions
> csoundCsdSetOrchestra
> csoundNewCSD
> csoundPerformCsd
> csoundPerformLoop
> perfthread
> staticBuffer
>
> -- 
>
> Saludos,
> Felipe Sateler
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2010-06-03 00:54
FromFelipe Sateler
SubjectRe: [Cs-dev] question about C++ API
The csnd library. The Csound class is just a header file, so there is
nothing to export or hide.

On Wed, Jun 2, 2010 at 16:18, Victor Lazzarini  wrote:
> What exactly is what you are calling the C++ API? The 'interfaces'
> library libcsnd or the C++ class Csound which inlines calls to the C
> API in libcsound?
>
> Victor
>
>
> On 2 Jun 2010, at 20:51, Felipe Sateler wrote:
>
>> Why does the C++ API export C symbols? Shouldn't these move to the C
>> library? Also, some (I think) helpers are being exported, maybe these
>> should be hidden?
>>
>>
>> (maybe) helpers:
>>
>> gatherArgs
>> trimQuotes
>> scatterArgs
>> parseInstrument
>> trim
>> getline
>> isToken
>> findToken
>>
>>
>> C functions:
>>
>> csoundCompileCsd
>> csoundCsdAddEvent10
>> csoundCsdAddEvent11
>> csoundCsdAddEvent3
>> csoundCsdAddEvent4
>> csoundCsdAddEvent5
>> csoundCsdAddEvent6
>> csoundCsdAddEvent7
>> csoundCsdAddEvent8
>> csoundCsdAddEvent9
>> csoundCsdAddScoreLine
>> csoundCsdCompile
>> csoundCsdCreate
>> csoundCsdGetOptions
>> csoundCsdGetOrchestra
>> csoundCsdPerform
>> csoundCsdSave
>> csoundCsdSetOptions
>> csoundCsdSetOrchestra
>> csoundNewCSD
>> csoundPerformCsd
>> csoundPerformLoop
>> perfthread
>> staticBuffer
>>
>> --
>>
>> Saludos,
>> Felipe Sateler
>>
>> ------------------------------------------------------------------------------
>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
>> lucky parental unit.  See the prize list and enter to win:
>> http://p.sf.net/sfu/thinkgeek-promo
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



-- 

Saludos,
Felipe Sateler

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists