| 285 | } |
| 286 | |
| 287 | int CLua::execstring(const char *s, const char *context, int nresults) |
| 288 | { |
| 289 | int err = 0; |
| 290 | if ((err = loadstring(s, context))) |
| 291 | return err; |
| 292 | |
| 293 | err = pcall(0, nresults); |
| 294 | set_error(err); |
| 295 | return err; |
| 296 | } |
| 297 | |
| 298 | bool CLua::is_path_safe(string s, bool trusted) |
| 299 | { |
no outgoing calls
no test coverage detected