- Timestamp:
- 05/27/05 02:35:11 (4 years ago)
- svk:copy_cache_prev:
- 5515
- Location:
- src/perl5
- Files:
-
- 2 modified
-
perl5.c (modified) (3 diffs)
-
pugsembed.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/perl5/perl5.c
r3938 r3939 135 135 136 136 exitstatus = perl_parse(my_perl, xs_init, argc, argv, (char **)NULL); 137 fprintf(stderr, "hello, perl5: %d\n", exitstatus);138 137 139 138 if (exitstatus == 0) … … 204 203 perl5_apply(SV *sub, SV *inv, SV** args, SV *env, int cxt) 205 204 { 206 SV * arg;205 SV **arg; 207 206 SV *rv; 208 207 SV *sv; … … 223 222 XPUSHs(inv); 224 223 } 225 for (arg = args; arg != NULL; arg++) {226 XPUSHs( arg);224 for (arg = args; *arg != NULL; arg++) { 225 XPUSHs(*arg); 227 226 } 228 227 PUTBACK; -
src/perl5/pugsembed.c
r3938 r3939 27 27 fprintf(stderr, "got a code!!\n"); 28 28 stack[0] = sv; 29 stack[1] = NULL; 29 30 sv = perl5_apply(newSVpv("code", 0), newSVpv("pugs::guts", 0), stack, NULL, G_SCALAR); 30 31 }
