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.

Definition at line 1066 of file csound.c.

References csoundQueryInterface().

Referenced by csoundQueryInterface().

  {
    if (strcmp(name, "CSOUND") != 0)
      return 1;
    *iface = csoundCreate(NULL);
    *version = csoundGetAPIVersion();
    return 0;
  }


Generated by  Doxygen 1.6.0   Back to index