src/halide_load_raw.h
char *readLine(char *buf, int maxlen) {
        char *status;
        do {
            status = fgets(buf, maxlen, f);
        } while(status && buf[0] == '#');
        return(status);
    }
// read a line of data skipping lines that begin with '#"

read a line of data skipping lines that begin with '#"
read a line of data skipping lines that begin with ' # "
char *readLine(char *buf, int maxlen) {
        char *status;
        do {
            status = fgets(buf, maxlen, f);
        } while(status && buf[0] == '#');
        return(status);
    }
char * readLine ( char * buf , int maxlen ) { char * status ; do { status = fgets ( buf , maxlen , f ) ; } while ( status && buf [ 0 ] == ' ' ) ; return ( status ) ; }
read a line of data skipping lines that begin with '#"
read a line of data skipping lines that begin with ' # "