[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] SC -> c++ interface



on 2004-11-23 16:03:23 -0800, James McCartney wrote:
> 
> On Nov 23, 2004, at 3:20 PM, stefan kersten wrote:
> 
> >on 2004-11-23 16:45:18 -0300, Charlls Quarra wrote:
> >>I see in SCUM_Prim.cpp that you define some primitives
> >>as "_SCUM_View_DoSomething". Is this simply a naming
> >>convention or the _ are translated as some member
> >>operator into the sc language? I see a similar pattern
> >>in the LangPrimSource
> >
> >just a naming convention.
> 
> An identifier with a preceeding underscore is parsed as a primitive 
> call. So it is a required syntax.

oops, yes.

> There is a document on writing primitives:   
> SuperCollider3/doc/Primitives.rtf

... which you can open in emacs if you have scel installed. 

<sk>