Logo Search packages:      
Sourcecode: csound version File versions  Download package

PUBLIC int csoundQueryInterface ( const char *  name,
void **  iface,
int *  version 
)

Returns a pointer to the requested interface, if available, in the interface argument, and its version number, in the version argument. Returns 0 for success and 1 for failure.

Definition at line 83 of file csound.c.

  {
    if(strcmp(name, "CSOUND") == 0)
      {
        *interface = csoundCreate(0);
        *version = csoundGetVersion();
        return 0;
      }
    return 1;
  }


Generated by  Doxygen 1.6.0   Back to index