- Timestamp:
- 10/28/08 13:25:27 (2 months ago)
- Location:
- v6/smop/SMOP
- Files:
-
- 2 modified
-
SMOP.xs (modified) (2 diffs)
-
lib/SMOP.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
v6/smop/SMOP/SMOP.xs
r22795 r22796 22 22 SMOP__Object* object = (SMOP__Object*)SvIV(value); 23 23 SMOP_RELEASE(SMOP__GlobalInterpreter,object); 24 SMOP_DISPATCH(SMOP__GlobalInterpreter, SMOP_RI(SMOP__GlobalInterpreter), 25 SMOP__ID__loop, SMOP__NATIVE__capture_create(SMOP__GlobalInterpreter, 26 SMOP_REFERENCE(SMOP__GlobalInterpreter, SMOP__GlobalInterpreter), 27 NULL, NULL)); 24 28 25 29 SV* … … 67 71 SV* value = SvRV(self); 68 72 SMOP__Object* object = (SMOP__Object*)SvIV(value); 69 if (SMOP_RI(object) == SMOP__NATIVE__int) {73 if (SMOP_RI(object) == (SMOP__ResponderInterface*)SMOP__NATIVE__int) { 70 74 RETVAL = SMOP__NATIVE__int_fetch(object); 71 75 } else { -
v6/smop/SMOP/lib/SMOP.pm
r22794 r22796 13 13 1; 14 14 __END__ 15 # Below is stub documentation for your module. You'd better edit it!16 15 17 16 =head1 NAME … … 29 28 my $mold = SMOP::Mold->create([$int, $true, $fals],[1,2,3,1,2,3,1,2,3]); 30 29 my $frame = SMOP::MoldFrame->create($mold); 31 my $result = SMOP::Interpreter-> goto($frame);30 my $result = SMOP::Interpreter->run($frame); 32 31 33 32 =head1 DESCRIPTION
