Logo Search packages:      
Sourcecode: csound version File versions

HET_MAIN.C

#include <stdio.h>
#include "../../cs.h"
#include "../../ustub.h"

char *scorename = "Hetro";
char *orchname  = "Hetro";

int main(int argc, char **argv)
{
    hetro(argc,argv);
}

#ifndef CWIN
#include <stdarg.h>

void dribble_printf(char *fmt, ...)
{
    va_list a;
    va_start(a, fmt);
    vprintf(fmt, a);
    va_end(a);
    if (dribble != NULL) {
        va_start(a, fmt);
        vfprintf(dribble, fmt, a);
        va_end(a);
    }
}

void err_printf(char *fmt, ...)
{
    va_list a;
    va_start(a, fmt);
    vfprintf(stderr, fmt, a);
    va_end(a);
    if (dribble != NULL) {
        va_start(a, fmt);
        vfprintf(dribble, fmt, a);
        va_end(a);
    }
}
#endif


Generated by  Doxygen 1.6.0   Back to index