mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-25 08:06:49 +03:00
fix kolibri.h--
git-svn-id: svn://kolibrios.org@2239 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
aec194c6f0
commit
be325e41ec
@ -269,19 +269,6 @@ inline fastcall dword StrToInt()
|
||||
}
|
||||
|
||||
|
||||
/*int strcmp(char* string1, char* string2)
|
||||
{
|
||||
loop ()
|
||||
{
|
||||
IF (*string1<*string2) RETURN -1;
|
||||
IF (*string1>*string2) RETURN 1;
|
||||
IF (*string1=='\0') RETURN 0;
|
||||
string1++;
|
||||
string2++;
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
inline fastcall int strcmp(ESI, EDI)
|
||||
{
|
||||
loop()
|
||||
@ -306,21 +293,6 @@ inline fastcall unsigned int find_symbol(ESI,BL)
|
||||
}
|
||||
|
||||
|
||||
dword StrToCol(char* htmlcolor)
|
||||
{
|
||||
dword j=1, color=0; char ch=0x00;
|
||||
IF (ESBYTE[htmlcolor]<>'#') RETURN;
|
||||
FOR (;j<7;j++)
|
||||
{
|
||||
ch=ESBYTE[htmlcolor+j];
|
||||
IF ((ch>='0') && (ch<='9')) ch -= '0';
|
||||
IF ((ch>='A') && (ch<='F')) ch -= 'A'-10;
|
||||
IF ((ch>='a') && (ch<='f')) ch -= 'a'-10;
|
||||
color = color*0x10 + ch;
|
||||
}
|
||||
EAX=color;
|
||||
}
|
||||
|
||||
inline fastcall dword upcase(dword ESI)
|
||||
{
|
||||
do{
|
||||
|
Loading…
Reference in New Issue
Block a user