Skip to content

Commit

Permalink
remove wchar_t type
Browse files Browse the repository at this point in the history
  • Loading branch information
Sife-shuo committed Aug 20, 2023
1 parent b554a10 commit 0229668
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ int TYPESIZE::g(string h){
else if(h=="f"){return sizeof(float);}
else if(h=="d"){return sizeof(double);}
else if(h=="ld"){return sizeof(long double);}
else if(h=="w"){return sizeof(wchar_t);}
//else if(h=="w"){return sizeof(wchar_t);}
else{
throw("Wrong TypeName");
}
Expand Down Expand Up @@ -178,9 +178,9 @@ void TYPESIZE::char_to_X(TYPE d,string totype){
printv(i,times_a,times_b,*((double*)(d.main+i*times_b)));
}else if(totype=="ld"){
printv(i,times_a,times_b,*((long double*)(d.main+i*times_b)));
}else if(totype=="w"){
}/*else if(totype=="w"){
printv(i,times_a,times_b,*((wchar_t*)(d.main+i*times_b)));
}
}*/
}
return ;
};
Expand Down

0 comments on commit 0229668

Please sign in to comment.