| 33 | } |
| 34 | |
| 35 | int func_new_basic(const char* type, double c) |
| 36 | { |
| 37 | try { |
| 38 | return FuncCabinet::add(newFunc1(type, c)); |
| 39 | } catch (...) { |
| 40 | return handleAllExceptions(-1, ERR); |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | int func_new_advanced(const char* type, size_t lenp, const double* params) |
| 45 | { |