typedef struct myOpcode
{
OPDS h;
MYFLT *iFileName;
} myOpcode;
int myOpcode_init(CSOUND *csound, myOpcode *p)
{
char name[1024] = {0};
csound->strarg2name(csound, name, p->iFileName, "myOpcode.",
p->XSTRCODE);
return OK;
}
int myOpcode_process(CSOUND *csound, myOpcode *p)
{
return OK;
}
static OENTRY localops[] = {
{
"myOpcode",
sizeof(myOpcode),
3,
"S",
"S",
(SUBR)myOpcode_init,
(SUBR)myOpcode_process,
NULL
}
};