| 267 | |
| 268 | template <typename RetT> |
| 269 | duk_ret_t eval_safe(duk_context* ctx, void* udata) |
| 270 | { |
| 271 | SafeEvalData<RetT>* data = (SafeEvalData<RetT>*) udata; |
| 272 | |
| 273 | duk_eval_string(ctx, data->str); |
| 274 | dukglue_read(ctx, -1, data->out); |
| 275 | return 1; |
| 276 | } |
| 277 | |
| 278 | } |
| 279 | } |
nothing calls this directly
no test coverage detected