Problematic template functions

merge-requests/60/head
archshift 2014-04-27 22:23:58 +07:00
parent 48deb45624
commit b9fc729928
1 changed files with 0 additions and 15 deletions

@ -83,15 +83,6 @@ template<u32 func(int, void *)> void WrapU_IV() {
RETURN(retval); RETURN(retval);
} }
template<float func()> void WrapF_V() {
RETURNF(func());
}
// TODO: Not sure about the floating point parameter passing
template<float func(int, float, u32)> void WrapF_IFU() {
RETURNF(func(PARAM(0), PARAMF(0), PARAM(1)));
}
template<u32 func(u32)> void WrapU_U() { template<u32 func(u32)> void WrapU_U() {
u32 retval = func(PARAM(0)); u32 retval = func(PARAM(0));
RETURN(retval); RETURN(retval);
@ -127,12 +118,6 @@ template<int func(u32, u32)> void WrapI_UU() {
RETURN(retval); RETURN(retval);
} }
template<int func(u32, float, float)> void WrapI_UFF() {
// Not sure about the float arguments.
int retval = func(PARAM(0), PARAMF(0), PARAMF(1));
RETURN(retval);
}
template<int func(u32, u32, u32)> void WrapI_UUU() { template<int func(u32, u32, u32)> void WrapI_UUU() {
int retval = func(PARAM(0), PARAM(1), PARAM(2)); int retval = func(PARAM(0), PARAM(1), PARAM(2));
RETURN(retval); RETURN(retval);