1.1 --- a/core/smn_float.cpp Mon Feb 26 08:32:20 2007 +0000
1.2 +++ b/core/smn_float.cpp Mon Feb 26 08:50:25 2007 +0000
1.3 @@ -163,19 +163,6 @@
1.4 return static_cast<int>(val);
1.5 }
1.6
1.7 -static cell_t sm_FloatStr(IPluginContext *pCtx, const cell_t *params)
1.8 -{
1.9 - char *str;
1.10 -
1.11 - pCtx->LocalToString(params[1], &str);
1.12 - if (!strlen(str))
1.13 - {
1.14 - return 0;
1.15 - }
1.16 -
1.17 - return sp_ftoc((float)atof(str));
1.18 -}
1.19 -
1.20 static cell_t sm_FloatFraction(IPluginContext *pCtx, const cell_t *params)
1.21 {
1.22 float val = sp_ctof(params[1]);
1.23 @@ -244,7 +231,6 @@
1.24 REGISTER_NATIVES(floatnatives)
1.25 {
1.26 {"float", sm_float},
1.27 - {"FloatStr", sm_FloatStr},
1.28 {"FloatMul", sm_FloatMul},
1.29 {"FloatDiv", sm_FloatDiv},
1.30 {"FloatAdd", sm_FloatAdd},