| 200 { |
201 { |
| 201 /* XXX This would be much faster if I didn't create a new |
202 /* XXX This would be much faster if I didn't create a new |
| 202 * PerlInterpreter every time I probed a plugin */ |
203 * PerlInterpreter every time I probed a plugin */ |
| 203 PerlInterpreter *prober = perl_alloc(); |
204 PerlInterpreter *prober = perl_alloc(); |
| 204 char *argv[] = {"", plugin->path }; |
205 char *argv[] = {"", plugin->path }; |
| 205 int count; |
|
| 206 gboolean status = TRUE; |
206 gboolean status = TRUE; |
| 207 HV *plugin_info; |
207 HV *plugin_info; |
| 208 |
208 |
| 209 perl_construct(prober); |
209 perl_construct(prober); |
| 210 perl_parse(prober, xs_init, 2, argv, NULL); |
210 perl_parse(prober, xs_init, 2, argv, NULL); |