diff options
Diffstat (limited to '')
| -rw-r--r-- | lua_cjson.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lua_cjson.c b/lua_cjson.c index 3a40e9a..e458fc3 100644 --- a/lua_cjson.c +++ b/lua_cjson.c | |||
| @@ -344,13 +344,6 @@ static int json_cfg_refuse_invalid_numbers(lua_State *l) | |||
| 344 | return 1; | 344 | return 1; |
| 345 | } | 345 | } |
| 346 | 346 | ||
| 347 | static int json_update_locale(lua_State *l) | ||
| 348 | { | ||
| 349 | fpconv_update_locale(); | ||
| 350 | |||
| 351 | return 0; | ||
| 352 | } | ||
| 353 | |||
| 354 | static int json_destroy_config(lua_State *l) | 347 | static int json_destroy_config(lua_State *l) |
| 355 | { | 348 | { |
| 356 | json_config_t *cfg; | 349 | json_config_t *cfg; |
| @@ -1284,7 +1277,6 @@ static int lua_cjson_new(lua_State *l) | |||
| 1284 | { "encode_number_precision", json_cfg_encode_number_precision }, | 1277 | { "encode_number_precision", json_cfg_encode_number_precision }, |
| 1285 | { "encode_keep_buffer", json_cfg_encode_keep_buffer }, | 1278 | { "encode_keep_buffer", json_cfg_encode_keep_buffer }, |
| 1286 | { "refuse_invalid_numbers", json_cfg_refuse_invalid_numbers }, | 1279 | { "refuse_invalid_numbers", json_cfg_refuse_invalid_numbers }, |
| 1287 | { "update_locale", json_update_locale }, | ||
| 1288 | { "new", lua_cjson_new }, | 1280 | { "new", lua_cjson_new }, |
| 1289 | { NULL, NULL } | 1281 | { NULL, NULL } |
| 1290 | }; | 1282 | }; |
