| 176 execute_perl(const char *function, int argc, char **args) |
176 execute_perl(const char *function, int argc, char **args) |
| 177 { |
177 { |
| 178 int count = 0, i, ret_value = 1; |
178 int count = 0, i, ret_value = 1; |
| 179 SV *sv_args[argc]; |
179 SV *sv_args[argc]; |
| 180 STRLEN na; |
180 STRLEN na; |
| 181 |
181 PERL_SET_CONTEXT(my_perl); |
| 182 /* |
182 /* |
| 183 * Set up the perl environment, push arguments onto the |
183 * Set up the perl environment, push arguments onto the |
| 184 * perl stack, then call the given function |
184 * perl stack, then call the given function |
| 185 */ |
185 */ |
| 186 dSP; |
186 dSP; |