unicoderange.cpp revision 377fd5102d85dccc43bb9596827730ab5c2afcde
#include "unicoderange.h"
#include <stdlib.h>
#include <string.h>
static unsigned int hex2int(char* s){
int res=0;
int i=0, mul=1;
while(s[i+1]!='\0') i++;
while(i>=0){
i--;
mul*=16;
}
return res;
}
if (!value) return;
while(val[0] != '\0'){
} else {
val++;
}
//skip spaces or commas
}
}
Urange r;
int i=0, count=0;
i++;
}
r.start[i] = '\0';
val+=i;
count+=i;
i=0;
if (val[0]=='-'){
val++;
r.end[i] = '\0';
// val+=i;
count+=i;
} else {
}
return count+1;
}
return true;
}
}
unsigned int unival;
for (unsigned int i=7; unival>0; i--){
}
bool found;
if (r.end){
} else {
found = true;
int p=0;
while (r.start[p]!='\0') p++;
p--;
}
if (found) return true;
}
}
return false;
}
unsigned int i;
}
}
return result;
}
//This could be better
return unichars[0];
return (gunichar) ' ';
}